.auth-body {
    background: #FAFAFA;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.auth-container {
    width: 100%;
    max-width: 360px;
    padding: 32px 24px;
    text-align: center;
}

.auth-logo {
    height: 42px;
    margin-bottom: 28px;
}

.auth-container h1 {
    font-family: "rl-folklor", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.auth-container p {
    font-size: 14px;
    color: #6E6E73;
    margin-bottom: 28px;
}

.auth-container form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-container input {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    font-size: 15px;
    background: #FFFFFF;
}

.auth-container input:focus {
    outline: none;
    border-color: #221723;
}

.auth-container button {
    margin-top: 10px;
    padding: 14px;
    border-radius: 999px;
    border: none;
    background: #221723;
    color: white;
    font-size: 15px;
    font-weight: 600;
}

.auth-link {
    display: block;
    margin-top: 20px;
    font-size: 13px;
    color: #6E6E73;
}

.auth-link a {
    color: #221723;
    font-weight: 600;
    text-decoration: none;
}

/* TERMS CHECKBOX */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    cursor: pointer;
    padding: 4px 0;
    -webkit-user-select: none;
    user-select: none;
}

.terms-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.terms-checkbox .checkmark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid rgba(0,0,0,0.15);
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.terms-checkbox .checkmark::after {
    content: '';
    display: none;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -1px;
}

.terms-checkbox input[type="checkbox"]:checked ~ .checkmark {
    background: #221723;
    border-color: #221723;
}

.terms-checkbox input[type="checkbox"]:checked ~ .checkmark::after {
    display: block;
}

.terms-checkbox input[type="checkbox"]:focus-visible ~ .checkmark {
    box-shadow: 0 0 0 3px rgba(34, 23, 35, 0.2);
}

.terms-checkbox.error .checkmark {
    border-color: #E53935;
}

.terms-text {
    font-size: 12.5px;
    color: #6E6E73;
    line-height: 1.45;
}

.terms-text a {
    color: #221723;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(34, 23, 35, 0.3);
    text-underline-offset: 2px;
}

/* FORM ERROR MESSAGE */
.form-error {
    font-size: 13px;
    color: #E53935;
    text-align: left;
    min-height: 0;
    overflow: hidden;
    transition: min-height 0.2s ease;
}

.form-error:empty {
    display: none;
}

/* LEGAL LINKS (LOGIN PAGE FOOTER) */
.auth-legal-links {
    margin-top: 24px;
    font-size: 12px;
    color: #AEAEB2;
}

.auth-legal-links a {
    color: #AEAEB2;
    text-decoration: none;
    transition: color 0.15s ease;
}

.auth-legal-links a:active {
    color: #6E6E73;
}

.legal-sep {
    margin: 0 6px;
    opacity: 0.5;
}