/* Common Auth Pages CSS - Login, Register, Forgot Password */

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container, .auth-container {
    max-width: 450px;
    width: 100%;
    padding: 20px;
}

.login-card, .auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.login-header, .auth-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.login-header h2, .auth-header h2 {
    margin: 0;
    font-weight: 600;
    font-size: 28px;
}

.login-header p, .auth-header p {
    margin: 10px 0 0 0;
    opacity: 0.9;
    font-size: 14px;
}

.login-body, .auth-body {
    padding: 40px;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.input-group-text {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-right: none;
    border-radius: 10px 0 0 10px;
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.input-group:focus-within .input-group-text {
    border-color: #667eea;
}

.btn-login, .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-login:hover, .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 10px;
    padding: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background: #667eea;
    color: white;
}

.register-link, .auth-link {
    text-align: center;
    margin-top: 20px;
    color: #6c757d;
    font-size: 14px;
}

.register-link a, .auth-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover, .auth-link a:hover {
    text-decoration: underline;
}

.back-link {
    text-align: center;
    margin-top: 20px;
    color: #6c757d;
    font-size: 14px;
}

.back-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.back-link a:hover {
    text-decoration: underline;
}

.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
}

.language-selector a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
    font-size: 14px;
    opacity: 0.9;
}

.language-selector a:hover {
    opacity: 1;
    text-decoration: underline;
}

.step-indicator {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #6c757d;
    margin: 0 10px;
    transition: all 0.3s;
}

.step.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.step.completed {
    background: #28a745;
    color: white;
}

.step-line {
    width: 50px;
    height: 2px;
    background: #e9ecef;
}

.step-line.active {
    background: #667eea;
}

.hidden {
    display: none;
}

.back-btn {
    color: #667eea;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 15px;
    display: inline-block;
}

.back-btn:hover {
    text-decoration: underline;
}

.alert {
    border-radius: 10px;
    border: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e9ecef;
}

.divider span {
    padding: 0 15px;
    color: #6c757d;
    font-size: 14px;
}

/* OTP Timer */
#otpTimer {
    font-size: 14px;
    color: #6c757d;
    margin-top: 10px;
}

/* Form Labels */
.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
}

.form-check-label {
    font-size: 14px;
    color: #6c757d;
}

/* Toast */
.toast {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.toast-body {
    padding: 15px;
    font-size: 14px;
    font-weight: 500;
}

/* Google Button */
.btn-google {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
    width: 100%;
    color: #333;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #333;
}

.google-icon {
    width: 20px;
    height: 20px;
}

