/* Forget Password Page Specific Styles */


/* Alert styles */

.forget-alert-danger {
    border: none;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-radius: 0.8rem;
}

.forget-alert-success {
    border: none;
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    border-radius: 0.8rem;
}


/* Hero section styles */

.hero {
    min-height: 100vh !important;
    padding-top: 80px !important;
    background: linear-gradient(90deg, #46b8da, #5bc0de, #0d6efd);
}


/* Forget password card styles */

.forget-card {
    margin: 50px 10px !important;
    padding: 20px 15px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 1.5rem !important;
    border: none !important;
    box-shadow: 0 15px 35px rgba(70, 184, 218, 0.2) !important;
    backdrop-filter: blur(10px) !important;
}

.gradient-border {
    padding: 15px !important;
    margin-top: 20px !important;
    background-image: url('../images/sky_high.webp');
    background-repeat: repeat;
    background-size: auto;
}


/* Ensure proper column ordering on mobile */

.forget-form-container {
    order: 1;
}

.welcome-section {
    order: 2;
}

@media (min-width: 769px) {
    .forget-form-container {
        order: 0;
    }
    .welcome-section {
        order: 0;
    }
}


/* Mobile responsive adjustments for forget password page */

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0 !important;
        min-height: auto !important;
    }
    .forget-card .card-body {
        padding: 2rem 1.5rem !important;
    }
    .forget-card h3 {
        font-size: 1.5rem !important;
    }
    .welcome-section {
        padding: 1rem !important;
        margin-top: 2rem !important;
        order: 2;
    }
    .welcome-section h2 {
        font-size: 1.8rem !important;
    }
    .welcome-section p {
        font-size: 1rem !important;
    }
    .welcome-section .gradient-border {
        margin-top: 15px !important;
        padding: 20px 15px !important;
    }
    .welcome-section-logo {
        width: 80px !important;
        margin-bottom: 15px !important;
    }
    .welcome-section .gradient-border h4 {
        font-size: 1.2rem !important;
        margin-bottom: 15px !important;
    }
    .welcome-section .gradient-border p {
        font-size: 0.9rem !important;
    }
    /* Make forget form appear first on mobile */
    .forget-form-container {
        order: 1;
    }
    /* Ensure form inputs are properly sized on mobile */
    .forget-form-control {
        font-size: 16px !important;
        /* Prevents zoom on iOS */
    }
    /* Adjust button padding for mobile */
    .btn {
        padding: 12px 16px !important;
        font-size: 1rem !important;
    }
    /* Reduce margins for mobile */
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
}


/* Custom focus states for better accessibility */

.forget-form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(70, 184, 218, 0.25) !important;
    outline: none !important;
}


/* Enhanced button hover effects */

.forget-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(70, 184, 218, 0.4);
}

.forget-back-btn:hover {
    transform: translateY(-1px);
}


/* Smooth transitions for all interactive elements */

.forget-submit-btn,
.forget-back-btn,
.forget-form-control,
.forget-card {
    transition: all 0.3s ease !important;
}


/* Loading state for form submission */

.btn-primary:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}


/* English text alignment */

.form-label {
    text-align: left;
}

.alert {
    text-align: left;
}


/* Ensure proper layout */

.text-center {
    text-align: center !important;
}


/* Logo styles */

.forget-logo {
    width: 60px;
    margin-bottom: 20px;
}


/* Card title styles */

.forget-card-title {
    color: var(--primary);
    font-weight: 700;
}


/* Form label styles */

.forget-form-label {
    color: var(--dark);
    font-weight: 600;
}


/* Form control styles */

.forget-form-control {
    border-radius: 0.8rem;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.forget-form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(70, 184, 218, 0.25) !important;
    outline: none !important;
}


/* Submit button styles */

.forget-submit-btn {
    border-radius: 0.8rem;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
}

.forget-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(70, 184, 218, 0.4);
}


/* Back to login section */

.forget-additional-links {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.forget-back-btn {
    border-radius: 0.8rem;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.forget-back-btn:hover {
    transform: translateY(-1px);
}


/* Welcome section styles */

.welcome-section-title {
    color: rgb(200, 239, 255);
}

.welcome-section-text {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0.5px 0.5px 0.5px rgb(0, 0, 0);
}

.welcome-section-logo {
    width: 120px;
    margin-bottom: 20px;
}

.welcome-section-subtitle {
    color: rgb(200, 239, 255);
    margin-bottom: 20px;
}

.welcome-section-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}


/* Custom scrollbar for webkit browsers */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}


/* Remove footer transitions on forget password page */

footer {
    transition: none !important;
}

footer * {
    transition: none !important;
}

footer a {
    transition: none !important;
}