

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f5f7;
    margin: 0;
    color: #1d1d1f;
}

.auth-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #006edc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 28px;
    align-items: stretch;
}

.auth-copy h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.auth-copy p {
    max-width: 760px;
    margin: 18px 0 0;
    color: #6e6e73;
    font-size: 18px;
    line-height: 1.75;
}

.auth-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.highlight-box,
.auth-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.highlight-box {
    padding: 18px;
}

.highlight-box strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.highlight-box p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
}

.auth-card {
    padding: 28px;
}

.auth-card h2 {
    margin: 0 0 8px;
    font-size: 32px;
}

.auth-subtext {
    margin: 0 0 20px;
    color: #6e6e73;
}

.auth-subtext-secondary {
    margin-top: -6px;
    font-size: 14px;
}

.auth-error {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fdeaea;
    border: 1px solid #f2b2b2;
    color: #a62222;
    font-weight: 600;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-form label {
    font-size: 14px;
    font-weight: 700;
}

.auth-form input,
.auth-form select {
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    font-size: 15px;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form input:focus,
.auth-form select:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.password-row {
    position: relative;
}

.password-row input {
    width: 100%;
    padding-right: 52px;
}

.toggle-password-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #6e6e73;
    font-weight: 700;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 10px;
}

.toggle-password-btn:hover {
    background: #f3f4f6;
    color: #111111;
}

.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.remember-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #4b5563;
}

.auth-button {
    min-height: 52px;
    border: none;
    border-radius: 999px;
    padding: 0 20px;
    background: #111111;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, background 0.2s ease;
}

.auth-button:hover {
    background: #2a2a2a;
    transform: translateY(-1px);
}

.auth-footer {
    margin-top: 18px;
    color: #6e6e73;
}

.auth-footer a,
.forgot-link {
    color: #d93542;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover,
.forgot-link:hover {
    text-decoration: underline;
}

@media (max-width: 960px) {
    .auth-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .auth-page {
        padding: 24px 16px 60px;
    }

    .auth-card {
        padding: 22px 18px;
    }

    .auth-button {
        width: 100%;
    }
}


.auth-success {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #e8f7ec;
    border: 1px solid #b7e4c7;
    color: #1f7a37;
    font-weight: 600;
}

.password-strength,
.password-match {
    margin-top: -4px;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.password-strength {
    color: #6e6e73;
}

.strength-weak {
    color: #c62828;
}

.strength-medium {
    color: #9a6700;
}

.strength-strong {
    color: #1f7a37;
}

.password-match {
    color: #6e6e73;
}

.match-success {
    color: #1f7a37;
}

.match-error {
    color: #c62828;
}

.auth-terms-row {
    margin-top: 6px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.04);
    line-height: 1.6;
}

.auth-terms-row input {
    min-height: auto;
    width: auto;
    margin: 0;
}