/* Custom styles for forgot password page */
    :root {
        --primary-color: #8a42ff;
        --primary-light: #9d5eff;
        --primary-dark: #6a2fd4;
        --secondary-color: #2b2b36;
        --accent-color: #00d4aa;
        --accent-light: #4dffd9;
        --danger-color: #ff4757;
        --warning-color: #ffa502;
        --success-color: #2ed573;
        --info-color: #1e90ff;
        --bg-light: #f8f9fa;
        --bg-dark: #1a1a24;
        --text-dark: #2d3748;
        --text-light: #718096;
        --text-white: #ffffff;
        --border-radius: 12px;
        --border-radius-sm: 8px;
        --box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
        --box-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
        --transition: all 0.3s ease;
    }

    .forgot-password-page {
        min-height: 100vh;
        background: linear-gradient(135deg, #1a237e 0%, #311b92 100%);
        padding: 80px 0;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .forgot-password-page::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600" opacity="0.05"><path fill="%23ffffff" d="M0,0V600H1200V0ZM600,300A300,300,0,1,1,300,600,300,300,0,0,1,600,300Z"/></svg>');
        background-size: cover;
    }

    .forgot-password-section {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .forgot-password-card {
        background: white;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow-lg);
        overflow: hidden;
        transform: translateY(0);
        transition: var(--transition);
        border: 1px solid rgba(0, 0, 0, 0.05);
        animation: slideInFromBottom 0.6s ease-out;
    }

    .forgot-password-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    }

    .forgot-header {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
        color: white;
        padding: 40px;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .forgot-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" opacity="0.1"><path fill="%23ffffff" d="M0,64L80,58.7C160,53,320,43,480,48C640,53,800,75,960,74.7C1120,75,1280,53,1360,42.7L1440,32L1440,120L1360,120C1280,120,1120,120,960,120C800,120,640,120,480,120C320,120,160,120,80,120L0,120Z"/></svg>');
        background-size: cover;
        background-position: bottom;
    }

    .forgot-logo {
        font-size: 2rem;
        font-weight: 800;
        color: white;
        text-decoration: none;
        display: block;
        margin-bottom: 25px;
        position: relative;
        z-index: 2;
        transition: var(--transition);
    }

    .forgot-logo:hover {
        transform: scale(1.05);
        color: rgba(255, 255, 255, 0.9);
    }

    .forgot-icon-container {
        position: relative;
        margin-bottom: 25px;
    }

    .forgot-icon-circle {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        animation: pulse-forgot 2s infinite;
    }

    .forgot-icon-circle::before {
        content: '';
        position: absolute;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.3);
        animation: ripple-forgot 2s infinite;
    }

    .forgot-icon {
        font-size: 35px;
        color: white;
        position: relative;
        z-index: 2;
    }

    .forgot-title {
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 10px;
        position: relative;
        z-index: 2;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .forgot-subtitle {
        font-size: 1rem;
        opacity: 0.9;
        position: relative;
        z-index: 2;
        max-width: 400px;
        margin: 0 auto;
    }

    .forgot-content {
        padding: 40px;
    }

    .forgot-description {
        font-size: 1rem;
        color: var(--text-light);
        line-height: 1.6;
        margin-bottom: 30px;
        text-align: center;
    }

    .forgot-form {
        margin-bottom: 30px;
    }

    .form-group {
        margin-bottom: 25px;
        position: relative;
    }

    .form-label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--text-dark);
        font-size: 0.95rem;
    }

    .input-container {
        position: relative;
    }

    .form-input {
        width: 100%;
        padding: 15px 20px 15px 50px;
        border: 2px solid #e2e8f0;
        border-radius: var(--border-radius-sm);
        font-size: 1rem;
        color: var(--text-dark);
        transition: var(--transition);
        background: white;
    }

    .form-input:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(138, 66, 255, 0.1);
    }

    .form-input::placeholder {
        color: #a0aec0;
    }

    .input-icon {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #a0aec0;
        font-size: 1.1rem;
    }

    .forgot-btn {
        width: 100%;
        padding: 16px 32px;
        border-radius: var(--border-radius-sm);
        font-weight: 600;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: var(--transition);
        border: none;
        cursor: pointer;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
        color: white;
        font-size: 1rem;
        position: relative;
        overflow: hidden;
    }

    .forgot-btn:hover:not(:disabled) {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(138, 66, 255, 0.3);
    }

    .forgot-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .forgot-btn i {
        transition: var(--transition);
    }

    .forgot-btn:hover i {
        transform: translateX(5px);
    }

    .forgot-btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 5px;
        height: 5px;
        background: rgba(255, 255, 255, 0.5);
        opacity: 0;
        border-radius: 100%;
        transform: scale(1, 1) translate(-50%);
        transform-origin: 50% 50%;
    }

    .forgot-btn:focus:not(:active)::after {
        animation: ripple 1s ease-out;
    }

    .cooldown-info {
        text-align: center;
        margin-top: 15px;
        font-size: 0.85rem;
        color: var(--text-light);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .cooldown-info i {
        color: var(--warning-color);
    }

    .forgot-alert {
        padding: 15px 20px;
        border-radius: var(--border-radius-sm);
        margin-bottom: 25px;
        font-size: 0.95rem;
        animation: slideInFromTop 0.3s ease-out;
        border-left: 4px solid transparent;
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .forgot-alert-success {
        background: linear-gradient(135deg, rgba(46, 213, 115, 0.1), rgba(46, 213, 115, 0.05));
        border-color: var(--success-color);
        color: #0f5132;
    }

    .forgot-alert-danger {
        background: linear-gradient(135deg, rgba(255, 71, 87, 0.1), rgba(255, 71, 87, 0.05));
        border-color: var(--danger-color);
        color: #842029;
    }

    .forgot-alert i {
        margin-top: 2px;
    }

    .help-section {
        background: linear-gradient(135deg, rgba(138, 66, 255, 0.05), rgba(0, 212, 170, 0.05));
        border-radius: var(--border-radius-sm);
        padding: 20px;
        margin-bottom: 25px;
    }

    .help-title {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .help-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .help-list li {
        font-size: 0.85rem;
        color: var(--text-light);
        padding: 6px 0;
        padding-left: 20px;
        position: relative;
    }

    .help-list li:before {
        content: '•';
        color: var(--accent-color);
        position: absolute;
        left: 0;
        font-weight: bold;
    }

    .forgot-links {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #e2e8f0;
    }

    .back-link {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: var(--transition);
    }

    .back-link:hover {
        color: var(--primary-dark);
        transform: translateX(-3px);
    }

    .login-link {
        color: var(--text-light);
        text-decoration: none;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: var(--transition);
    }

    .login-link:hover {
        color: var(--primary-color);
    }

    /* Animations */
    @keyframes slideInFromBottom {
        from {
            transform: translateY(50px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    @keyframes slideInFromTop {
        from {
            transform: translateY(-20px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    @keyframes pulse-forgot {
        0% {
            box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
        }
        70% {
            box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        }
    }

    @keyframes ripple-forgot {
        0% {
            transform: scale(1);
            opacity: 1;
        }
        100% {
            transform: scale(1.3);
            opacity: 0;
        }
    }

    @keyframes ripple {
        0% {
            transform: scale(0, 0);
            opacity: 0.5;
        }
        20% {
            transform: scale(25, 25);
            opacity: 0.3;
        }
        100% {
            opacity: 0;
            transform: scale(40, 40);
        }
    }

    /* Responsive */
    @media (max-width: 768px) {
        .forgot-password-page {
            padding: 40px 20px;
        }

        .forgot-password-section {
            max-width: 100%;
        }

        .forgot-header {
            padding: 30px 20px;
        }

        .forgot-content {
            padding: 30px 20px;
        }

        .forgot-title {
            font-size: 1.5rem;
        }

        .forgot-links {
            flex-direction: column;
            gap: 15px;
            align-items: flex-start;
        }
    }

    @media (max-width: 576px) {
        .forgot-title {
            font-size: 1.3rem;
        }

        .forgot-icon-circle {
            width: 70px;
            height: 70px;
        }

        .forgot-icon {
            font-size: 30px;
        }

        .forgot-logo {
            font-size: 1.7rem;
        }
    }
    /* Header Styles */
        .main-header {
            background: white;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            transition: var(--transition);
        }

        .main-header.scrolled {
            padding: 10px 0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .navbar {
            padding: 20px 0;
        }

        .navbar-brand {
            display: flex;
            align-items: center;
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary-color);
        }

        .navbar-brand .logo-icon {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            color: white;
        }

        .nav-link {
            font-weight: 500;
            padding: 10px 20px !important;
            margin: 0 5px;
            border-radius: var(--border-radius-sm);
            transition: var(--transition);
        }

        .nav-link:hover, .nav-link.active {
            background: rgba(138, 66, 255, 0.1);
            color: var(--primary-color);
        }

        .navbar-toggler {
            border: none;
            padding: 8px 10px;
            border-radius: var(--border-radius-sm);
        }

        .navbar-toggler:focus {
            box-shadow: none;
        }

        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28138, 66, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }
    /* Footer */
        .main-footer {
            background: var(--bg-dark);
            color: white;
            padding: 80px 0 30px;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            font-size: 1.8rem;
            font-weight: 800;
            color: white;
            margin-bottom: 20px;
        }

        .footer-logo .logo-icon {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            color: white;
        }

        .footer-about {
            opacity: 0.8;
            margin-bottom: 25px;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-link {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .social-link:hover {
            background: var(--primary-color);
            transform: translateY(-3px);
        }

        .footer-heading {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-heading::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--accent-color);
            border-radius: 3px;
        }

        .footer-links {
            list-style: none;
            padding: 0;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--accent-color);
            padding-left: 5px;
        }

        .footer-contact li {
            display: flex;
            align-items: flex-start;
            margin-bottom: 15px;
            color: rgba(255, 255, 255, 0.8);
        }

        .footer-contact li i {
            margin-right: 10px;
            color: var(--accent-color);
            margin-top: 5px;
        }

        .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            margin-top: 50px;
            text-align: center;
            opacity: 0.7;
            font-size: 0.9rem;
        }

