html, body {
    font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.01em;
}

a, .btn-link {
    color: var(--club-primary);
    text-decoration-color: rgba(0, 91, 187, 0.35);
}

.content {
    padding-top: 1.2rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.login-shell {
    min-height: calc(100vh - 7rem);
    display: grid;
    place-items: center;
    padding: 1rem;
    position: relative;
}

.login-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(130deg, rgba(0, 91, 187, 0.15), rgba(0, 91, 187, 0) 45%),
        repeating-linear-gradient(
            -35deg,
            rgba(255, 255, 255, 0.25) 0,
            rgba(255, 255, 255, 0.25) 12px,
            rgba(255, 255, 255, 0.1) 12px,
            rgba(255, 255, 255, 0.1) 24px
        );
    border-radius: 20px;
    pointer-events: none;
}

.login-card {
    width: min(100%, 480px);
    position: relative;
    overflow: hidden;
}

.login-card::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 193, 0, 0.3), rgba(242, 193, 0, 0));
}

.hero-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 12px 20px rgba(0, 46, 110, 0.2));
}

.blazor-error-boundary {
    background: #7f1d1d;
    padding: 1rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "Ein Fehler ist aufgetreten.";
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

h1, h2, h3, .navbar-brand, .top-title {
    font-family: "Barlow Condensed", "Source Sans 3", Arial, sans-serif;
    letter-spacing: 0.02em;
}

.btn-icon {
    margin-right: 0.45rem;
    font-size: 0.9em;
}

.btn-icon-end {
    margin-right: 0;
    margin-left: 0.45rem;
}

.btn-icon-only {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-sm.btn-icon-only {
    width: 1.9rem;
    height: 1.9rem;
}

.month-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.month-status,
.overview-status {
    display: inline-flex;
}

.btn-export {
    background: #1f8a5b;
    border-color: #1f8a5b;
    color: #ffffff;
}

.btn-export:hover,
.btn-export:focus {
    background: #18724c;
    border-color: #18724c;
    color: #ffffff;
}

.btn-export:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(31, 138, 91, 0.3);
}

.currency-input {
    position: relative;
}

.currency-input::after {
    content: "€";
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    color: #1a3e87;
    font-weight: 700;
    pointer-events: none;
}

.currency-input .form-control {
    padding-right: 1.7rem;
    text-align: right;
}

.currency-input input[type="number"] {
    appearance: textfield;
}

.currency-input input[type="number"]::-webkit-outer-spin-button,
.currency-input input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"],
.form-control[type="number"] {
    text-align: right;
}

.nav-menu.nav-open .nav-scrollable {
    display: block;
}

.nav-menu.nav-open .navbar-toggler {
    background:
        linear-gradient(180deg, rgba(242, 193, 0, 0.6), rgba(242, 193, 0, 0.28)),
        linear-gradient(#0b2a55, #0b2a55),
        linear-gradient(#0b2a55, #0b2a55),
        linear-gradient(#0b2a55, #0b2a55);
}

.nav-menu .nav-item:not(.nav-sub-item) .nav-link.active {
    background: linear-gradient(120deg, rgba(242, 193, 0, 0.92), rgba(224, 176, 0, 0.92)) !important;
    color: #153164 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.nav-menu .nav-item.nav-sub-item .nav-link.active {
    background: linear-gradient(120deg, rgba(132, 206, 255, 0.95), rgba(88, 170, 245, 0.95)) !important;
    color: #0b2a55 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
