/* Authentication Pages Styles */

.auth-main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-container {
    width: 100%;
    max-width: 500px;
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-header p {
    color: #7f8c8d;
    font-size: 1rem;
}

/* Form Styles */
.auth-form {
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group input::placeholder {
    color: #95a5a6;
}

/* Phone Input Group */
.phone-input-group {
    display: flex;
    gap: 10px;
}

.phone-input-group select {
    flex: 0 0 120px;
    padding-right: 8px;
}

.phone-input-group input {
    flex: 1;
}

/* Verification Group */
.verification-group {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.verification-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.verification-input-group input {
    flex: 1;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.verification-timer {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

.verification-status {
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
}

.verification-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.verification-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e1e8ed;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #3498db;
    border-color: #3498db;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.forgot-password {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Button Styles */
.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Notice Styles */
.auth-notice {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notice-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.auth-notice p {
    margin: 0;
    color: #1565c0;
    font-size: 0.9rem;
}

.auth-notice a {
    color: #1565c0;
    font-weight: 600;
    text-decoration: none;
}

.auth-notice a:hover {
    text-decoration: underline;
}

/* Footer */
.auth-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e1e8ed;
}

.auth-footer p {
    color: #7f8c8d;
    margin: 0;
}

.auth-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Success Message Styles */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-message h2 {
    color: #27ae60;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.success-message > p {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Approval Process */
.approval-process {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    text-align: left;
}

.approval-process h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 5px;
}

.step-content p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Approval Notice */
.approval-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.approval-notice .notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.approval-notice p {
    color: #856404;
    margin: 0;
    line-height: 1.5;
}

.approval-notice strong {
    color: #533f03;
}

#registeredEmail {
    font-weight: 600;
    color: #533f03;
}

/* Success Actions */
.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.success-actions .btn {
    min-width: 150px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-main {
        padding: 20px 15px;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 20px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .phone-input-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .phone-input-group select {
        flex: none;
    }
    
    .verification-input-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .process-steps {
        gap: 25px;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .success-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .auth-header h1 {
        font-size: 1.6rem;
    }
    
    .success-message h2 {
        font-size: 1.5rem;
    }
    
    .approval-process {
        padding: 20px;
    }
}

/* Active state for auth buttons in navigation */
.auth-buttons .btn.active {
    background: #2980b9;
    color: white;
    border-color: #2980b9;
}

.auth-buttons .btn-outline.active {
    background: #333;
    color: white;
    border-color: #333;
}
