* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background: radial-gradient(circle at center, #1a1a3d 0%, #0a0a1f 100%);
            overflow-x: hidden;
            position: relative;
        }

        /* Toast Notification Styles */
        .toast-notification-container {
            position: fixed !important;
            top: 30px !important;
            right: 30px !important;
            z-index: 9999999 !important;
            pointer-events: none;
        }

        .toast-notification {
            width: 400px;
            height: 100px;
            background: #ffffff !important;
            border-radius: 16px !important;
            padding: 20px 24px !important;
            margin-bottom: 15px;
            box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35) !important;
            display: flex !important;
            align-items: center !important;
            gap: 18px !important;
            pointer-events: auto !important;
            border-left: 6px solid;
            position: relative;
            overflow: hidden;
            animation: slideInToast 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
        }

        .toast-notification::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            height: 5px;
            width: 100%;
            animation: progressBar 5s linear forwards;
        }

        .toast-notification.success {
            border-left-color: #10b981;
        }

        .toast-notification.success::after {
            background: linear-gradient(90deg, #10b981, #34d399);
        }

        .toast-notification.error {
            border-left-color: #ef4444;
        }

        .toast-notification.error::after {
            background: linear-gradient(90deg, #ef4444, #f87171);
        }

        .toast-notification.warning {
            border-left-color: #f59e0b;
        }

        .toast-notification.warning::after {
            background: linear-gradient(90deg, #f59e0b, #fbbf24);
        }

        .toast-icon-wrapper {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 24px;
        }

        .toast-notification.success .toast-icon-wrapper {
            background: linear-gradient(135deg, #10b981, #34d399);
            color: #ffffff;
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
        }

        .toast-notification.error .toast-icon-wrapper {
            background: linear-gradient(135deg, #ef4444, #f87171);
            color: #ffffff;
            box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
        }

        .toast-notification.warning .toast-icon-wrapper {
            background: linear-gradient(135deg, #f59e0b, #fbbf24);
            color: #ffffff;
            box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
        }

        .toast-text-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 6px;
        }

        .toast-title-text {
            font-size: 17px;
            font-weight: 600;
            color: #111827;
            line-height: 1.3;
            margin: 0;
        }

        .toast-message-text {
            font-size: 14px;
            font-weight: 400;
            color: #6b7280;
            line-height: 1.5;
            margin: 0;
        }

        .toast-close-btn {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            background: rgba(0, 0, 0, 0.06);
            border: none;
            color: #6b7280;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            flex-shrink: 0;
            font-size: 18px;
        }

        .toast-close-btn:hover {
            background: rgba(0, 0, 0, 0.12);
            color: #111827;
        }

        @keyframes slideInToast {
            from {
                transform: translateX(500px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOutToast {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(500px);
                opacity: 0;
            }
        }

        @keyframes progressBar {
            from {
                width: 100%;
            }
            to {
                width: 0%;
            }
        }

        .toast-notification.hiding {
            animation: slideOutToast 0.4s ease forwards;
        }

        /* Loader Styles */
        .loader-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(26, 26, 61, 0.95), rgba(10, 10, 31, 0.95));
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 10001;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            backdrop-filter: blur(8px);
        }

        .loader-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .loader-content {
            text-align: center;
            transform: translateY(20px);
            opacity: 0;
            transition: all 0.3s ease 0.2s;
        }

        .loader-overlay.show .loader-content {
            transform: translateY(0);
            opacity: 1;
        }

        .modern-spinner {
            width: 60px;
            height: 60px;
            border: 3px solid rgba(92, 92, 255, 0.2);
            border-top: 3px solid #5c5cff;
            border-radius: 50%;
            position: relative;
            animation: spin 1s linear infinite;
            margin-bottom: 20px;
            box-shadow: 0 0 20px rgba(92, 92, 255, 0.3);
        }

        .modern-spinner::before,
        .modern-spinner::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 3px solid transparent;
            border-radius: 50%;
            border-top-color: rgba(255, 92, 214, 0.4);
        }

        .modern-spinner::before {
            animation: spin 1s linear infinite reverse;
            border-top-color: rgba(92, 92, 255, 0.4);
            transform: rotate(120deg);
        }

        .modern-spinner::after {
            animation: spin 1s linear infinite;
            border-top-color: rgba(255, 92, 214, 0.4);
            transform: rotate(240deg);
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loader-text {
            color: #ffffff;
            font-size: 16px;
            font-weight: 500;
            letter-spacing: 0.5px;
            text-shadow: 0 2px 4px rgba(0, 0, 50, 0.5);
        }

        .loader-subtext {
            color: rgba(226, 232, 240, 0.8);
            font-size: 14px;
            margin-top: 8px;
            font-weight: 400;
        }

        /* Main Content Styles */
        .main-content {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            width: 100%;
            position: relative;
            z-index: 1;
            padding: 20px;
        }

        .container {
            width: 100%;
            max-width: 480px;
            background: rgba(20, 20, 50, 0.75);
            border-radius: 24px;
            padding: 40px 35px;
            backdrop-filter: blur(16px);
            box-shadow: 0 8px 32px rgba(0, 0, 50, 0.5), 0 0 0 1px rgba(100, 100, 255, 0.3);
            transform: perspective(1000px) translateZ(0);
            transition: transform 0.3s ease;
        }

        .container:hover {
            transform: perspective(1000px) translateZ(20px);
        }

        .login-heading {
            text-align: center;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 35px;
            text-shadow: 0 2px 4px rgba(0, 0, 50, 0.5);
            font-size: 1.75rem;
            letter-spacing: -0.5px;
        }

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

        .form-group label {
            color: #e2e8f0;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 8px;
            display: block;
            letter-spacing: 0.3px;
        }

        .form-control {
            background: rgba(50, 50, 100, 0.5);
            border: 2px solid rgba(100, 100, 255, 0.2);
            border-radius: 12px;
            color: #ffffff;
            padding: 12px 16px;
            box-shadow: inset 0 2px 5px rgba(0, 0, 50, 0.2);
            transition: all 0.3s ease;
            font-size: 15px;
            width: 100%;
            font-weight: 400;
        }

        .form-control:focus {
            background: rgba(70, 70, 120, 0.6);
            border-color: rgba(92, 92, 255, 0.6);
            box-shadow: 0 0 0 4px rgba(92, 92, 255, 0.15), inset 0 2px 5px rgba(0, 0, 50, 0.2);
            outline: none;
            color: #ffffff;
        }

        .form-control::placeholder {
            color: rgba(200, 200, 255, 0.5);
            font-size: 14px;
        }

        .input-group {
            position: relative;
            display: flex;
            align-items: center;
        }

        .input-group .form-control {
            padding-right: 45px;
        }

        .input-group .btn {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: transparent;
            border: none;
            color: rgba(200, 200, 255, 0.7);
            cursor: pointer;
            padding: 6px;
            z-index: 2;
            font-size: 18px;
            transition: color 0.2s ease;
        }

        .input-group .btn:hover {
            color: #ffffff;
        }

        .form-check {
            display: flex;
            align-items: center;
            margin-bottom: 24px;
        }

        .form-check-input {
            width: 18px;
            height: 18px;
            margin-right: 10px;
            cursor: pointer;
            border-radius: 4px;
        }

        .form-check-label {
            color: #e2e8f0 !important;
            text-shadow: none;
            font-size: 14px;
            font-weight: 400;
            cursor: pointer;
            user-select: none;
        }

        .btn-success {
            background: linear-gradient(135deg, #5c5cff, #ff5cd6);
            border: none;
            border-radius: 12px;
            padding: 13px 24px;
            font-weight: 600;
            color: #ffffff;
            box-shadow: 0 6px 20px rgba(92, 92, 255, 0.4);
            transition: all 0.3s ease;
            width: 100%;
            font-size: 16px;
            letter-spacing: 0.5px;
            position: relative;
            overflow: hidden;
        }

        .btn-success::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .btn-success:hover::before {
            left: 100%;
        }

        .btn-success:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(92, 92, 255, 0.6);
            background: linear-gradient(135deg, #ff5cd6, #5c5cff);
        }

        .btn-success:active {
            transform: translateY(0);
        }

        .btn-success:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        a {
            color: #818cf8;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s ease;
            font-size: 14px;
        }

        a:hover {
            color: #ff5cd6;
            text-decoration: none;
        }

        .form-group p {
            color: #cbd5e1;
            font-size: 14px;
            font-weight: 400;
            margin: 0;
        }

        .form-group p:hover {
            color: #e2e8f0;
        }

        #particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        /* Security Alert Banner */
        .security-alert {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(135deg, #dc2626, #991b1b);
            color: white;
            padding: 15px 20px;
            text-align: center;
            z-index: 10000;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
            display: none;
            animation: slideDown 0.3s ease;
        }

        .security-alert.show {
            display: block;
        }

        @keyframes slideDown {
            from {
                transform: translateY(-100%);
            }
            to {
                transform: translateY(0);
            }
        }

        .security-alert i {
            margin-right: 10px;
            font-size: 20px;
        }

        .security-alert-text {
            font-weight: 600;
            font-size: 15px;
        }

        /* Responsive Styles */
        @media (max-width: 576px) {
            .toast-notification-container {
                top: 15px !important;
                right: 15px !important;
                left: 15px !important;
            }

            .toast-notification {
                width: 100% !important;
                height: 95px !important;
                padding: 18px 20px !important;
            }

            .toast-icon-wrapper {
                width: 45px !important;
                height: 45px !important;
                font-size: 22px !important;
            }

            .toast-title-text {
                font-size: 16px !important;
            }

            .toast-message-text {
                font-size: 13px !important;
            }

            .toast-close-btn {
                width: 32px !important;
                height: 32px !important;
                font-size: 16px !important;
            }

            .main-content {
                padding: 15px;
            }

            .container {
                padding: 30px 25px;
            }

            .login-heading {
                font-size: 1.5rem;
                margin-bottom: 28px;
            }

            .form-group {
                margin-bottom: 20px;
            }

            .form-group label {
                font-size: 13px;
                margin-bottom: 6px;
            }

            .form-control {
                padding: 11px 14px;
                font-size: 14px;
                border-radius: 10px;
            }

            .form-control::placeholder {
                font-size: 13px;
            }

            .input-group .btn {
                font-size: 16px;
                right: 10px;
            }

            .btn-success {
                padding: 12px 20px;
                font-size: 15px;
                border-radius: 10px;
            }

            .form-check-input {
                width: 16px;
                height: 16px;
            }

            .form-check-label, a, .form-group p {
                font-size: 13px;
            }

            .modern-spinner {
                width: 50px;
                height: 50px;
            }

            .loader-text {
                font-size: 15px;
            }

            .loader-subtext {
                font-size: 13px;
            }

            .security-alert {
                padding: 12px 15px;
            }

            .security-alert-text {
                font-size: 13px;
            }
        }

        @media (min-width: 577px) and (max-width: 768px) {
            .container {
                max-width: 450px;
                padding: 35px 30px;
            }

            .login-heading {
                font-size: 1.65rem;
            }

            .form-control {
                font-size: 14.5px;
            }

            .btn-success {
                font-size: 15.5px;
            }

            .toast-notification {
                width: 380px;
            }
        }

        @media (min-width: 769px) and (max-width: 1024px) {
            .container {
                max-width: 470px;
            }
        }

        @media (min-width: 1920px) {
            .container {
                max-width: 540px;
                padding: 50px 45px;
            }

            .login-heading {
                font-size: 2rem;
                margin-bottom: 40px;
            }

            .form-control {
                padding: 14px 18px;
                font-size: 16px;
            }

            .btn-success {
                padding: 15px 28px;
                font-size: 17px;
            }

            .toast-notification {
                width: 450px;
                height: 110px;
            }

            .modern-spinner {
                width: 70px;
                height: 70px;
            }

            .loader-text {
                font-size: 18px;
            }
        }