/* Admin login — layout + card (builds on landing-public.css) */

.login-admin-body {
    background: #e8f0f8 !important;
    background-image: linear-gradient(165deg, #eef4fb 0%, #e8f0f8 40%, #f4f8fc 100%) !important;
}

.login-admin-body .sw-nav {
    background: #ffffff;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: none;
}

.hero.hero-login {
    align-items: center;
    padding-top: 48px;
    padding-bottom: 64px;
    gap: 48px;
}

/* —— Left column —— */
.login-hero-copy {
    max-width: 32rem;
}

.login-hero-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.login-hero-eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.login-hero-title.hero-title {
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f172a;
    margin-bottom: 14px;
}

.login-hero-subtitle.hero-subtitle {
    max-width: none;
    font-size: 15px;
    line-height: 1.65;
    color: #64748b;
    margin-bottom: 28px;
}

.login-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.login-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(219, 234, 254, 0.95), rgba(191, 219, 254, 0.5));
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.login-feature-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.login-feature-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
}

/* —— Card —— */
.login-card-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 24px 48px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 32px 32px 28px;
}

.login-card-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin: 0 0 6px;
}

.login-card-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 24px;
    line-height: 1.5;
}

.auth-success {
    background: #ecfdf5;
    color: #065f46;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #a7f3d0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.error.auth-error,
.auth-error {
    background: #fef2f2;
    color: #991b1b;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #fecaca;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.login-form .login-form-group {
    margin-bottom: 0;
}

.login-field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 8px;
}

.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-input {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 44px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    font-family: inherit;
    color: #0f172a;
    background-color: #f8fafc;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.login-input::placeholder {
    color: #94a3b8;
}

.login-input:focus {
    border-color: #3b82f6;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.login-input-wrap--password .login-input--password {
    padding-right: 48px;
}

.login-forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    margin-bottom: 18px;
}

.forgot-link {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

.login-input-wrap--password .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    padding: 6px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease;
}

.login-input-wrap--password .toggle-password:hover {
    color: #0f172a;
    background: rgba(148, 163, 184, 0.12);
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 22px;
    cursor: pointer;
    font-size: 13px;
    color: #475569;
    user-select: none;
}

.login-remember input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.login-remember-ui {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-remember input:focus-visible + .login-remember-ui {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.login-remember input:checked + .login-remember-ui {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-color: #2563eb;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

.login-remember input:checked + .login-remember-ui::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translateY(-1px);
}

.login-submit-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #0ea5e9 100%);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.login-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.42);
}

.login-submit-btn:active {
    transform: translateY(0);
}

.login-help-text {
    margin-top: 22px;
    font-size: 13px;
    color: #94a3b8;
    text-align: center;
    line-height: 1.55;
}

.login-help-text strong {
    color: #64748b;
    font-weight: 700;
}

@media (max-width: 960px) {
    .hero.hero-login {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
        padding-top: 32px;
    }

    .login-card-wrapper {
        justify-content: center;
    }

    .login-hero-copy {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-submit-btn {
        transition: none;
    }

    .login-submit-btn:hover {
        transform: none;
    }
}
