/* Login page layout */
.login-page {
    background: #f5f8fc;
}

.auth-wrap {
    display: block;
    width: min(560px, calc(100% - 32px));
    margin: 48px auto;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 65px rgba(15, 23, 42, .09);
}

/* Left introduction */
.auth-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(32px, 5vw, 65px);
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%,
            rgba(52, 211, 153, .19), transparent 40%),
        linear-gradient(145deg, #142d45, #0b1729);
}

.auth-intro .eyebrow {
    color: #86efac;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero-heading {
    margin: 45px 0 22px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.05em;
    color: #fff;
}

.hero-heading span {
    color: #86efac;
}

.hero-description {
    max-width: 430px;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.8;
}

/* Approval steps */
.auth-steps {
    display: grid;
    gap: 27px;
    margin: 42px 0;
    padding: 0;
    list-style: none;
}

.auth-steps li {
    display: flex;
    align-items: flex-start;
    gap: 17px;
}

.step-number {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    height: 42px;
    border: 1px solid rgba(134, 239, 172, .3);
    border-radius: 12px;
    background: rgba(134, 239, 172, .1);
    color: #86efac;
    font-size: 13px;
    font-weight: 800;
}

.auth-steps strong {
    color: #fff;
    font-size: 15px;
}

.auth-steps p {
    margin: 6px 0 0;
    color: #a8bacd;
    font-size: 13px;
    line-height: 1.6;
}

.auth-intro-note {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.13);
    color: #b3c4d6;
    font-size: 13px;
}

/* Right login panel */
.auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 5vw, 65px);
    background: #fff;
    border: none;
    box-shadow: none;
}

.login-page .auth-panel {
    width: 100%;
}

.auth-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 26px;
    border-radius: 16px;
    background: #ecfdf5;
    color: #15803d;
    font-size: 27px;
}

.auth-panel .eyebrow {
    color: #15803d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.auth-panel h1 {
    margin: 10px 0;
    color: #0f172a;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

.auth-panel .muted {
    margin-bottom: 32px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

/* Form styling */
.auth-panel form {
    display: grid;
    gap: 21px;
}

.auth-panel .field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.auth-panel label {
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.auth-panel input[type="text"],
.auth-panel input[type="password"] {
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid #dbe3ed;
    border-radius: 11px;
    background: #f8fafc;
    color: #0f172a;
    font: inherit;
    font-size: 14px;
    box-sizing: border-box;
    transition: .2s ease;
}

.auth-panel input:focus {
    outline: none;
    border-color: #16a34a;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(22,163,74,.1);
}

.auth-panel .btn.primary.full {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    margin-top: 6px;
    border: none;
    border-radius: 11px;
    background: #15803d;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.auth-panel .btn.primary.full:hover {
    background: #166534;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(21,128,61,.2);
}

.auth-account-note {
    margin: 30px 0 0;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

.auth-security-note {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
}

/* Small screens */
@media (max-width: 850px) {
    .auth-wrap {
        width: calc(100% - 32px);
        margin: 16px auto;
        min-height: auto;
    }

    .auth-intro {
        padding: 32px;
    }

    .hero-heading {
        margin: 24px 0 14px;
        font-size: 2.5rem;
    }

    .auth-steps {
        margin: 25px 0;
        gap: 18px;
    }

    .auth-panel {
        padding: 40px 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-panel * {
        transition: none !important;
    }
}
