/* Auth Page Styles */
.auth-body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-section {
    padding: 40px 30px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
}

.auth-header h2 i {
    color: #1e3c72;
    margin-right: 10px;
}

.auth-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.auth-message {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
    animation: slideIn 0.3s ease;
}

.auth-message.error {
    background: #fee;
    color: #d63031;
    border: 1px solid #fab1a0;
}

.auth-message.success {
    background: #e8f8f5;
    color: #00b894;
    border: 1px solid #55efc4;
}

.auth-message.info {
    background: #e3f2fd;
    color: #0984e3;
    border: 1px solid #74b9ff;
}

.auth-message i {
    margin-right: 10px;
    font-size: 16px;
}

.auth-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    z-index: 1;
}

.auth-form input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.auth-form input:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.auth-form input::placeholder {
    color: #aaa;
}

.input-hint {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.auth-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 60, 114, 0.3);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-btn i {
    font-size: 16px;
}

.auth-switch {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.auth-switch p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.switch-btn {
    background: none;
    border: none;
    color: #1e3c72;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.3s ease;
}

.switch-btn:hover {
    color: #2a5298;
}

/* Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    .auth-container {
        padding: 10px;
    }
    
    .auth-section {
        padding: 30px 20px;
    }
    
    .auth-header h2 {
        font-size: 24px;
    }
    
    .auth-form input {
        font-size: 14px;
        padding: 12px 12px 12px 40px;
    }
    
    .auth-btn {
        font-size: 14px;
        padding: 12px;
    }
}

/* Form validation styles */
.auth-form input:invalid {
    border-color: #d63031;
}

.auth-form input:valid {
    border-color: #00b894;
}

/* Loading state */
.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.auth-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Password strength indicator */
.password-strength {
    margin-top: 5px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.password-strength-bar.weak {
    background: #d63031;
    width: 33%;
}

.password-strength-bar.medium {
    background: #fdcb6e;
    width: 66%;
}

.password-strength-bar.strong {
    background: #00b894;
    width: 100%;
}
