/* Common Authentication Pages Styling */

/* Page Background */
.auth-page {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Card Styling */
.auth-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Icon Container */
.auth-icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 117, 252, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.auth-icon i {
    font-size: 2.5rem;
    color: #2575fc;
}

/* Form Elements */
.form-label {
    font-weight: 600;
    color: #344767;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #2575fc;
    box-shadow: 0 0 0 0.2rem rgba(37, 117, 252, 0.25);
}

.input-group-text {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-right: none;
    color: #6c757d;
}

.input-group .form-control {
    border-left: none;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #2575fc;
    border: none;
}

.btn-primary:hover {
    background: #1a5fd4;
    transform: translateY(-2px);
}

.btn-warning {
    background: #ffc107;
    border: none;
    color: #000;
}

.btn-warning:hover {
    background: #ffb300;
    transform: translateY(-2px);
}

/* Links */
.auth-link {
    color: #2575fc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.auth-link:hover {
    color: #1a5fd4;
    text-decoration: underline;
}

/* OTP Input */
.otp-input {
    letter-spacing: 0.5rem;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .auth-card {
        margin: 1rem;
    }
    
    .auth-icon {
        width: 60px;
        height: 60px;
    }
    
    .auth-icon i {
        font-size: 2rem;
    }
}
