/* Fontlar css/fonts.css dosyasından yüklenir */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --login-teal: #00b894;
    --login-teal-deep: #0a7a62;
    --login-teal-ink: #065f4c;
    --login-forest: #0f3d34;
    --login-mint: #d8f5ec;
    --login-blue: #1d6fd8;
    --login-slate: #2f4a63;
    --login-amber: #d97706;
    --login-surface: #ffffff;
    --login-ink: #14231f;
    --login-muted: #5b6b66;
}

body {
    font-family: "SF Pro Display", sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.login-page {
    color: var(--login-ink);
    background: #e8f4ef;
}

.login-shell {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 32px 16px;
    overflow-x: hidden;
    overflow-y: auto;
}

.login-atmosphere {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(160deg, #0c332c 0%, #0a7a62 48%, #0f9a7c 100%);
}

.login-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.7;
    will-change: transform;
    pointer-events: none;
}

.login-orb--a {
    width: min(72vw, 520px);
    height: min(72vw, 520px);
    left: -12%;
    top: -18%;
    background: radial-gradient(circle, rgba(0, 184, 148, 0.75) 0%, rgba(0, 184, 148, 0) 70%);
    animation: loginOrbA 18s ease-in-out infinite;
}

.login-orb--b {
    width: min(58vw, 420px);
    height: min(58vw, 420px);
    right: -10%;
    top: 8%;
    background: radial-gradient(circle, rgba(26, 155, 126, 0.55) 0%, rgba(26, 155, 126, 0) 70%);
    animation: loginOrbB 22s ease-in-out infinite;
}

.login-orb--c {
    width: min(64vw, 460px);
    height: min(64vw, 460px);
    left: 28%;
    bottom: -22%;
    background: radial-gradient(circle, rgba(8, 122, 100, 0.65) 0%, rgba(8, 122, 100, 0) 70%);
    animation: loginOrbC 26s ease-in-out infinite;
}

.login-atmosphere::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 76%);
    pointer-events: none;
}

@keyframes loginOrbA {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40% { transform: translate(12%, 10%) scale(1.08); }
    70% { transform: translate(4%, 18%) scale(0.96); }
}

@keyframes loginOrbB {
    0%, 100% { transform: translate(0, 0) scale(1); }
    35% { transform: translate(-14%, 12%) scale(1.1); }
    65% { transform: translate(-6%, -8%) scale(0.94); }
}

@keyframes loginOrbC {
    0%, 100% { transform: translate(0, 0) scale(1); }
    45% { transform: translate(-10%, -14%) scale(1.06); }
    75% { transform: translate(8%, -6%) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
    .login-orb {
        animation: none;
    }
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.login-container {
    position: relative;
    z-index: 1;
    flex: 0 1 auto;
    width: 100%;
    max-width: 520px;
    padding: 28px 28px 30px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 10px 28px rgba(6, 40, 32, 0.18),
        0 1px 0 rgba(255, 255, 255, 0.4) inset;
    backdrop-filter: blur(12px);
}

/* .container ile birlikte kullanıldığında dar max-width ezilmesin */
.container.login-container {
    max-width: 520px;
}

.login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.85rem;
}

.login-brand .logo {
    margin-bottom: 0;
}


.login-mode-step {
    width: 100%;
    margin-bottom: 0.5rem;
}

.login-mode-layout {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.login-mode-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.login-mode-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 118px;
    padding: 16px 10px 14px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: #f3f7f5;
    cursor: pointer;
    font-family: "SF Pro Display", sans-serif;
    color: var(--login-ink);
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.login-mode-card--featured {
    min-height: 136px;
    padding: 22px 20px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    text-align: left;
    background: linear-gradient(145deg, #12c4a0 0%, #0a8f74 55%, #087a64 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 160, 133, 0.22);
}

.login-mode-card--featured .login-mode-card-copy {
    gap: 4px;
}

.login-mode-card--featured .login-mode-card-desc {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.82);
}

.login-mode-card--featured .login-mode-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.login-mode-card--featured .login-mode-card-icon svg {
    width: 28px;
    height: 28px;
}

.login-mode-card--featured .login-mode-card-label {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.015em;
    line-height: 1.2;
}

.login-mode-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 61, 52, 0.1);
}

.login-mode-card--featured:hover {
    box-shadow: 0 10px 26px rgba(0, 160, 133, 0.28);
}

.login-mode-card:active {
    transform: translateY(0);
}

.login-mode-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #fff;
    flex-shrink: 0;
}

.login-mode-card-icon svg {
    width: 26px;
    height: 26px;
}

.login-mode-card--yonetici .login-mode-card-icon,
.login-mode-chip--yonetici .login-mode-chip-icon {
    background: #00b894;
    color: #fff;
}

.login-mode-card--calisan .login-mode-card-icon,
.login-mode-chip--calisan .login-mode-chip-icon {
    background: #1d6fd8;
    color: #fff;
}

.login-mode-card--avukat .login-mode-card-icon,
.login-mode-chip--avukat .login-mode-chip-icon {
    background: #2f4a63;
    color: #fff;
}

.login-mode-card--daire_sakini .login-mode-card-icon,
.login-mode-chip--daire_sakini .login-mode-chip-icon {
    background: #d97706;
    color: #fff;
}

.login-mode-card--saha_personel .login-mode-card-icon,
.login-mode-chip--saha_personel .login-mode-chip-icon {
    background: #fff7ed;
    color: #c2410c;
}

.login-mode-card--dis_firma .login-mode-card-icon,
.login-mode-chip--dis_firma .login-mode-chip-icon {
    background: #eef2ff;
    color: #4338ca;
}

.login-mode-card-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.login-mode-card-label {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.login-mode-card-desc {
    font-size: 11px;
    font-weight: 500;
    color: var(--login-muted);
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.login-mode-row .login-mode-card-desc {
    display: none;
}

.login-mode-chip-wrap {
    margin-bottom: 1.25rem;
}

.login-mode-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 10px;
    border: 1px solid #dce8e3;
    border-radius: 999px;
    background: #f3faf7;
    color: var(--login-teal-ink);
    font-family: "SF Pro Display", sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.login-mode-chip:hover {
    border-color: #9dccb8;
    background: #e7f8f1;
    transform: translateX(-1px);
}

.login-mode-chip-back {
    flex-shrink: 0;
    opacity: 0.75;
}

.login-mode-chip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    color: #fff;
    flex-shrink: 0;
}

.login-mode-chip-icon svg {
    width: 15px;
    height: 15px;
}

.login-mode-chip:hover .login-mode-chip-back,
.login-mode-chip:hover .login-mode-chip-icon {
    opacity: 1;
}

.login-form-inner {
    width: 100%;
}

.daire-picker-fields {
    width: 100%;
}

.daire-picker-fields[hidden] {
    display: none !important;
}

#username-input-group[hidden] {
    display: none !important;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--login-teal);
    display: inline-flex;
    pointer-events: none;
    z-index: 1;
}

.input-with-icon .input-field {
    padding-left: 44px;
}

.daire-picker-fields .input-field {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%2300b894'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.portal-home-note {
    width: 100%;
    margin-bottom: 1.5rem;
    padding: 14px 16px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #fafafa;
    color: #555;
    font-size: 14px;
    text-align: center;
}

.portal-logout-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

/* Mobil: aynı düzen, daha küçük yazı / buton */
@media (max-width: 640px) {
    .login-mode-layout,
    .login-mode-row {
        gap: 8px;
    }

    .login-mode-card {
        min-height: 84px;
        padding: 12px 8px 10px;
        gap: 8px;
        border-radius: 12px;
    }

    .login-mode-card--featured {
        min-height: 108px;
        padding: 16px 14px;
        gap: 12px;
    }

    .login-mode-card-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .login-mode-card-icon svg {
        width: 18px;
        height: 18px;
    }

    .login-mode-card--featured .login-mode-card-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .login-mode-card--featured .login-mode-card-icon svg {
        width: 22px;
        height: 22px;
    }

    .login-mode-card-label {
        font-size: 11px;
    }

    .login-mode-card--featured .login-mode-card-label {
        font-size: 18px;
        font-weight: 700;
    }

    .login-mode-card-desc {
        font-size: 10px;
    }

    .login-mode-card--featured .login-mode-card-desc {
        font-size: 11px;
        font-weight: 500;
    }

    .login-mode-row .login-mode-card-desc {
        display: none;
    }
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    margin-bottom: 3rem;
}

.logo-image {
    width: auto;
    height: 64px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.login-brand .logo-image {
    height: 64px;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #00b894;
    line-height: 1.35;
    max-width: 100%;
}

.welcome-section {
    text-align: center;
    margin-bottom: 1.1rem;
}

.welcome-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--login-ink);
    margin-bottom: 0.3rem;
}

.welcome-subtitle {
    font-size: 13px;
    font-weight: 500;
    color: var(--login-muted);
    line-height: 1.45;
}

.login-form {
    width: 100%;
    margin-bottom: 0.5rem;
}

.input-group {
    margin-bottom: 1.15rem;
}

.input-label {
    display: block;
    font-size: 13px;
    color: var(--login-ink);
    margin-bottom: 0.45rem;
    font-weight: 700;
}

.input-field {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #d7e5df;
    border-radius: 12px;
    font-size: 14px;
    font-family: "SF Pro Display", sans-serif;
    background-color: #f4faf7;
    color: var(--login-ink);
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.input-field:focus {
    outline: none;
    border-color: #00b894;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 184, 148, 0.14);
}

.input-field.found {
    border-color: #00b894 !important;
    background-color: #e8f5e8 !important;
    color: #00b894 !important;
    animation: foundPulse 0.6s ease;
}

@keyframes foundPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 184, 148, 0.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 184, 148, 0);
    }
}

.continue-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #00b894 0%, #0a7a62 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: "SF Pro Display", sans-serif;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.18s ease, filter 0.18s ease;
    box-shadow: 0 8px 20px rgba(0, 184, 148, 0.28);
}

.continue-btn:hover {
    filter: brightness(1.04);
    box-shadow: 0 10px 24px rgba(0, 184, 148, 0.36);
}

.continue-btn:active {
    transform: translateY(1px);
}

.error-message {
    background-color: #fff1f1;
    color: #b42318;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border: 1px solid #fecaca;
    width: 100%;
}

.success-message {
    background-color: #ecfdf3;
    color: #067647;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border: 1px solid #abefc6;
    width: 100%;
}

.login-yazilim-borc {
    width: 100%;
    margin: 0 0 1.25rem;
    padding: 18px 16px 16px;
    border-radius: 14px;
    background: #fff8f1;
    border: 1px solid #fdc9a0;
    color: #7a2e0e;
}

.login-yazilim-borc[hidden] {
    display: none !important;
}

.login-yazilim-lead {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.login-yazilim-tutar {
    margin: 0 0 14px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111;
}

.login-yazilim-months {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-yazilim-months li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    color: #111;
    font-size: 13px;
}

.login-yazilim-borc .continue-btn {
    width: 100%;
}

.login-yazilim-summary[hidden],
.login-yazilim-wait[hidden] {
    display: none !important;
}

.login-yazilim-done {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 11px 14px;
    border: 1px solid #fdc9a0;
    border-radius: 10px;
    background: #fff;
    color: #7a2e0e;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.login-yazilim-done:disabled {
    opacity: 0.6;
    cursor: default;
}

.login-yazilim-wait {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.45;
    color: #7a2e0e;
}

.login-yazilim-hint {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #7a2e0e;
}

.login-yazilim-hint.is-error {
    color: #b42318;
    font-weight: 700;
}

.login-yazilim-frame {
    margin-top: 12px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.login-yazilim-frame[hidden] {
    display: none !important;
}

.login-yazilim-frame iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
    background: #fff;
}

.login-yazilim-frame iframe.is-loading {
    min-height: 0;
    height: 0;
    visibility: hidden;
}

.login-legal {
    width: 100%;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 61, 52, 0.1);
}

.login-legal-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-style: normal;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--login-muted);
}

.login-legal-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.login-legal-line svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--login-teal-deep);
}

a.login-legal-line:hover {
    color: var(--login-teal-ink);
}

.login-legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 4px;
    margin-top: 12px;
}

.login-legal-link {
    appearance: none;
    background: none;
    border: 0;
    padding: 0 8px 0 0;
    margin: 0;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--login-teal-deep);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-legal-link:not(:last-child)::after {
    content: "·";
    display: inline-block;
    margin-left: 8px;
    color: #9aa8a3;
    text-decoration: none;
    pointer-events: none;
}

.login-legal-link:hover {
    color: var(--login-teal-ink);
}

.login-legal-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 14px;
    background: rgba(8, 28, 24, 0.52);
    backdrop-filter: blur(4px);
}

.login-legal-overlay[hidden] {
    display: none !important;
}

body.login-legal-open {
    overflow: hidden;
}

.login-legal-panel {
    width: min(640px, 100%);
    max-height: min(82vh, 720px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(6, 40, 32, 0.28);
}

.login-legal-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid #e6eeeb;
}

.login-legal-panel-head h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    color: var(--login-forest);
}

.login-legal-close {
    appearance: none;
    border: 0;
    background: rgba(15, 61, 52, 0.06);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 22px;
    line-height: 1;
    color: var(--login-forest);
    cursor: pointer;
    flex-shrink: 0;
}

.login-legal-close:hover {
    background: rgba(15, 61, 52, 0.12);
}

.login-legal-panel-body {
    overflow: auto;
    padding: 16px 18px 20px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #31443f;
}

.login-legal-panel-body h4 {
    margin: 14px 0 6px;
    font-size: 14px;
    color: var(--login-forest);
}

.login-legal-panel-body p,
.login-legal-panel-body ul {
    margin: 0 0 8px;
}

.login-legal-panel-body ul {
    padding-left: 1.15rem;
}

.email-display,
.username-display {
    margin-bottom: 1.25rem;
}

.email-badge,
.username-badge {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e8faf3 0%, #dff5ec 100%);
    border: 1px solid #9fd9c5;
    border-radius: 14px;
    padding: 12px 14px;
    position: relative;
}

.email-initial,
.username-initial {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #00b894 0%, #0a7a62 100%);
    color: white;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
}

.email-text,
.username-text {
    color: var(--login-teal-ink);
    font-weight: 700;
    font-size: 14px;
    flex: 1;
}

.change-email,
.change-username {
    background: rgba(15, 61, 52, 0.06);
    border: none;
    color: var(--login-forest);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.change-email:hover,
.change-username:hover {
    background-color: rgba(15, 61, 52, 0.12);
    color: #111;
}

/* Giriş karşılama bildirimi (panel toast ile aynı) */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
    border-left: 4px solid #00b894;
    font-family: "SF Pro Display", sans-serif;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success { border-left-color: #00b894; }

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: rgba(0, 184, 148, 0.1);
    color: #00b894;
}

.toast-content { flex: 1; }

.toast-message {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #666;
}

@media (max-width: 480px) {
    .container {
        padding: 0.75rem;
    }

    .login-shell {
        padding: 16px 12px;
        align-items: center;
    }

    .login-container {
        max-width: 100%;
        padding: 18px 16px 20px;
        border-radius: 14px;
    }

    .login-brand .logo-image {
        height: 56px;
    }

    .welcome-title {
        font-size: 20px;
    }

    .login-legal-panel {
        max-height: 88vh;
        border-radius: 14px;
    }

    .login-legal-nav {
        flex-direction: column;
        gap: 8px;
    }

    .login-legal-link:not(:last-child)::after {
        display: none;
    }

    .toast {
        min-width: 0;
        left: 12px;
        right: 12px;
        max-width: none;
    }
}
