/* =============================================================================
   CV Builder — Auth Pages Stylesheet
   ============================================================================= */

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 60px);
    padding: 40px 20px;
    background: linear-gradient(135deg, #f0fdf4, #f8f9fa);
}

.auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 40px;
    max-width: 420px;
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 16px 0 8px;
}

.auth-header p {
    color: #6c757d;
    font-size: 14px;
}

.auth-email {
    direction: ltr;
    color: #198754;
    font-weight: 600;
    font-size: 15px;
    margin-top: 4px;
}

.auth-form {
    margin-bottom: 20px;
}

.auth-field {
    margin-bottom: 16px;
}

.auth-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-wrap svg {
    position: absolute;
    right: 12px;
    pointer-events: none;
}

.auth-input-wrap input {
    width: 100%;
    padding: 12px 40px 12px 12px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Cairo', sans-serif;
    transition: 0.2s ease;
    outline: none;
}

.auth-input-wrap input:focus {
    border-color: #198754;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1);
}

/* OTP Input */
.otp-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.otp-digit {
    width: 60px;
    height: 64px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    font-family: 'Cairo', monospace;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    outline: none;
    transition: 0.2s ease;
    color: #198754;
}

.otp-digit:focus {
    border-color: #198754;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1);
}

.auth-footer {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #f1f3f5;
}

.auth-footer p {
    color: #adb5bd;
    font-size: 13px;
    margin-bottom: 8px;
}

.auth-footer a {
    color: #6c757d;
    font-size: 13px;
    transition: 0.2s;
}
.auth-footer a:hover {
    color: #198754;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 28px 20px;
    }
    
    .otp-digit {
        width: 52px;
        height: 56px;
        font-size: 24px;
    }
    
    .otp-inputs {
        gap: 8px;
    }
}

/* Terms Agreement */
.auth-terms {
    margin-bottom: 16px;
}

.auth-terms__label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #6c757d;
    cursor: pointer;
    line-height: 1.5;
}

.auth-terms__label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #198754;
    cursor: pointer;
    flex-shrink: 0;
}

.auth-terms__label a {
    color: #198754;
    font-weight: 600;
    text-decoration: underline;
}

.auth-terms__label a:hover {
    color: #146c43;
}
