 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
        }

        /* Animated Background with Email Icons */
        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 15% 85%, rgba(255, 182, 193, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 85% 15%, rgba(173, 216, 230, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(221, 160, 221, 0.2) 0%, transparent 50%);
            animation: gentleFloat 30s ease-in-out infinite;
        }

        @keyframes gentleFloat {
            0%, 100% { transform: translateY(0px) translateX(0px); }
            25% { transform: translateY(-15px) translateX(10px); }
            50% { transform: translateY(0px) translateX(-10px); }
            75% { transform: translateY(15px) translateX(5px); }
        }

        .login-container {
            min-height: 100vh;
            position: relative;
            z-index: 1;
            animation: pageEntrance 1.4s ease-out;
        }

        @keyframes pageEntrance {
            from { opacity: 0; transform: scale(0.98) rotate(0.5deg); }
            to { opacity: 1; transform: scale(1) rotate(0deg); }
        }

        .forgot-card {
            background: rgba(255, 255, 255, 0.96);
            border: none;
            border-radius: 32px;
            backdrop-filter: blur(30px);
            box-shadow: 
                0 35px 70px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            animation: cardMaterialization 1.2s ease-out 0.2s both;
            position: relative;
            overflow: hidden;
        }

        .forgot-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: conic-gradient(from 0deg, transparent, rgba(102, 126, 234, 0.05), transparent, rgba(118, 75, 162, 0.05), transparent);
            animation: cardRotate 20s linear infinite;
            pointer-events: none;
        }

        @keyframes cardRotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes cardMaterialization {
            from { 
                opacity: 0; 
                transform: translateY(80px) scale(0.85) rotateX(10deg); 
            }
            to { 
                opacity: 1; 
                transform: translateY(0) scale(1) rotateX(0deg); 
            }
        }

        .forgot-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 
                0 50px 100px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
        }

        .forgot-card-body {
            padding: 4rem 3.5rem;
            position: relative;
            z-index: 1;
        }

        .forgot-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 2rem;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: iconPulse 2s ease-in-out infinite;
            position: relative;
        }

        .forgot-icon::before {
            content: '📧';
            font-size: 2rem;
            filter: brightness(0) invert(1);
        }

        .forgot-icon::after {
            content: '';
            position: absolute;
            inset: -10px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea, #764ba2);
            opacity: 0.3;
            animation: iconRipple 2s ease-in-out infinite;
        }

        @keyframes iconPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        @keyframes iconRipple {
            0% { transform: scale(0.8); opacity: 0.3; }
            100% { transform: scale(1.4); opacity: 0; }
        }

        .forgot-title {
            color: #1a202c;
            font-weight: 700;
            font-size: 2.4rem;
            margin-bottom: 1rem;
            text-align: center;
            position: relative;
            animation: titleSlideIn 1s ease-out 0.6s both;
        }

        @keyframes titleSlideIn {
            from { opacity: 0; transform: translateY(-30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .forgot-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 3px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 2px;
            animation: titleUnderline 1s ease-out 1.2s both;
        }

        @keyframes titleUnderline {
            to { width: 100px; }
        }

        .forgot-description {
            color: #718096;
            text-align: center;
            margin-bottom: 3rem;
            font-weight: 400;
            font-size: 1.1rem;
            line-height: 1.6;
            animation: descriptionFade 1s ease-out 0.8s both;
        }

        @keyframes descriptionFade {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .form-floating {
            position: relative;
            margin-bottom: 2rem;
            animation: formSlideIn 0.8s ease-out 1s both;
        }

        @keyframes formSlideIn {
            from { opacity: 0; transform: translateX(-40px); }
            to { opacity: 1; transform: translateX(0); }
        }

        .form-floating .form-control {
            background: rgba(255, 255, 255, 0.95);
            border: 2px solid transparent;
            border-radius: 20px;
            padding: 1.4rem 1.8rem;
            font-size: 1.1rem;
            color: #2d3748;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            height: auto;
            min-height: 66px;
            position: relative;
        }

        .form-floating .form-control::placeholder {
            color: transparent;
        }

        .form-floating .form-control:focus {
            background: rgba(255, 255, 255, 1);
            border-color: #667eea;
            box-shadow: 
                0 0 0 5px rgba(102, 126, 234, 0.12),
                0 10px 30px rgba(102, 126, 234, 0.1);
            transform: translateY(-4px) scale(1.02);
        }

        .form-floating .form-control:valid {
            border-color: #48bb78;
            box-shadow: 
                0 0 0 3px rgba(72, 187, 120, 0.1),
                0 5px 20px rgba(72, 187, 120, 0.1);
        }

        .form-floating label {
            color: #718096;
            font-weight: 500;
            font-size: 1.05rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            padding-left: 1.8rem;
        }

        .form-floating .form-control:focus ~ label,
        .form-floating .form-control:not(:placeholder-shown) ~ label {
            color: #667eea;
            transform: scale(0.85) translateY(-1rem) translateX(0.3rem);
            font-weight: 600;
        }

        .btn-forgot {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            border-radius: 20px;
            padding: 1.4rem;
            font-size: 1.2rem;
            font-weight: 600;
            color: white;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            animation: buttonMaterialize 0.8s ease-out 1.2s both;
        }

        @keyframes buttonMaterialize {
            from { opacity: 0; transform: translateY(40px) scale(0.9); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        .btn-forgot::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
            transition: left 0.7s ease;
        }

        .btn-forgot::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, #5a6fd8 0%, #6b4190 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        .btn-forgot:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 
                0 25px 50px rgba(102, 126, 234, 0.4),
                0 0 30px rgba(102, 126, 234, 0.2);
        }

        .btn-forgot:hover::before {
            left: 100%;
        }

        .btn-forgot:hover::after {
            opacity: 1;
        }

        .btn-forgot:active {
            transform: translateY(-3px) scale(1.02);
        }

        .btn-forgot:disabled {
            opacity: 0.8;
            cursor: not-allowed;
            transform: none;
        }

        .btn-forgot span {
            position: relative;
            z-index: 1;
        }

        .alert {
            border: none;
            border-radius: 16px;
            font-weight: 500;
            padding: 1.2rem 1.8rem;
            margin-bottom: 2rem;
            animation: alertSlideDown 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            position: relative;
            overflow: hidden;
        }

        .alert::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            animation: alertShine 2s ease-in-out infinite;
        }

        @keyframes alertShine {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        @keyframes alertSlideDown {
            0% { opacity: 0; transform: translateY(-30px) scale(0.95); }
            50% { transform: translateY(5px) scale(1.02); }
            100% { opacity: 1; transform: translateY(0) scale(1); }
        }

        .alert-success {
            background: linear-gradient(135deg, #48bb78, #38a169);
            color: white;
            box-shadow: 0 10px 30px rgba(72, 187, 120, 0.3);
        }

        .alert-danger {
            background: linear-gradient(135deg, #f56565, #e53e3e);
            color: white;
            box-shadow: 0 10px 30px rgba(245, 101, 101, 0.3);
        }

        .alert-info {
            background: linear-gradient(135deg, #4299e1, #3182ce);
            color: white;
            box-shadow: 0 10px 30px rgba(66, 153, 225, 0.3);
        }

        .back-link-container {
            text-align: center;
            margin-top: 2.5rem;
            animation: linkFadeIn 0.8s ease-out 1.4s both;
        }

        @keyframes linkFadeIn {
            from { opacity: 0; transform: translateY(25px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .link-back {
            color: #667eea;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.05rem;
            transition: all 0.3s ease;
            position: relative;
            display: inline-block;
            padding: 0.5rem 1rem;
            border-radius: 12px;
        }

        .link-back::before {
            content: '←';
            margin-right: 0.5rem;
            transition: transform 0.3s ease;
        }

        .link-back::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .link-back:hover {
            color: #5a6fd8;
            background: rgba(102, 126, 234, 0.05);
            transform: translateY(-2px);
        }

        .link-back:hover::before {
            transform: translateX(-3px);
        }

        .link-back:hover::after {
            width: 80%;
        }

        .spinner-border-sm {
            width: 1.2rem;
            height: 1.2rem;
        }

        /* Loading Animation */
        .loading-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.95);
            display: none;
            align-items: center;
            justify-content: center;
            border-radius: 32px;
            z-index: 10;
            backdrop-filter: blur(15px);
        }

        .loading-spinner {
            width: 60px;
            height: 60px;
            border: 6px solid #e2e8f0;
            border-top: 6px solid #667eea;
            border-radius: 50%;
            animation: spinLoader 1s linear infinite;
            position: relative;
        }

        .loading-spinner::after {
            content: '';
            position: absolute;
            inset: 10px;
            border: 3px solid transparent;
            border-top: 3px solid #764ba2;
            border-radius: 50%;
            animation: spinLoader 1.5s linear infinite reverse;
        }

        @keyframes spinLoader {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Success State Animation */
        .success-state {
            text-align: center;
            animation: successAppear 0.8s ease-out;
        }

        @keyframes successAppear {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }

        .success-icon {
            width: 100px;
            height: 100px;
            margin: 0 auto 2rem;
            background: linear-gradient(135deg, #48bb78, #38a169);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: successPulse 1.5s ease-in-out infinite;
        }

        .success-icon::before {
            content: '✓';
            font-size: 3rem;
            color: white;
            font-weight: bold;
        }

        @keyframes successPulse {
            0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(72, 187, 120, 0.3); }
            50% { transform: scale(1.1); box-shadow: 0 0 40px rgba(72, 187, 120, 0.5); }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .forgot-card-body {
                padding: 3rem 2.5rem;
            }
            
            .forgot-title {
                font-size: 2rem;
            }
            
            .forgot-description {
                font-size: 1rem;
            }
            
            .form-floating .form-control {
                min-height: 60px;
                padding: 1.2rem 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .forgot-card-body {
                padding: 2.5rem 2rem;
            }
            
            .forgot-title {
                font-size: 1.8rem;
            }
            
            .forgot-icon {
                width: 60px;
                height: 60px;
            }
            
            .forgot-icon::before {
                font-size: 1.5rem;
            }
        }

        /* Email validation animation */
        .email-valid {
            animation: emailSuccess 0.5s ease-out;
        }

        @keyframes emailSuccess {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        /* Focus indicators */
        .form-control:focus {
            outline: none;
        }

        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 4px;
        }