
        /* Fullscreen glass overlay */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(8px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 20;
        }

        .popup {
            background: rgba(255, 255, 255, 0.8);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
            text-align: center;
            animation: scaleUp 0.5s ease forwards;
        }

        @keyframes scaleUp {
            from {
                transform: scale(0.7);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        /* Fancy glowing loader */
        .loader {
            width: 70px;
            height: 70px;
            border: 6px solid rgba(0, 0, 0, 0.1);
            border-top: 6px solid #007BFF;
            border-radius: 50%;
            animation: spin 1s linear infinite, glow 1.2s ease-in-out infinite alternate;
            margin: auto;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes glow {
            from {
                box-shadow: 0 0 10px #007BFF;
            }

            to {
                box-shadow: 0 0 25px #007BFF;
            }
        }

        /* Success checkmark */
        .checkmark {
            display: none;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: #28a745;
            margin: auto;
            position: relative;
            box-shadow: 0 0 20px rgba(40, 167, 69, 0.6);
            animation: popIn 0.5s ease forwards;
        }

        @keyframes popIn {
            from {
                transform: scale(0.5);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .checkmark::after {
            content: '';
            position: absolute;
            left: 24px;
            top: 18px;
            width: 18px;
            height: 40px;
            border: solid white;
            border-width: 0 6px 6px 0;
            transform: rotate(45deg);
        }

        /* Confetti effect */
        .confetti {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
            z-index: 25;
        }

        .otp-container {
            max-width: 400px;
            background: white;
            padding: 25px;
            border-radius: 16px;
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
            text-align: center;
            opacity: 0;
            transform: translateY(40px) scale(0.95);
            transition: all 0.6s ease;
        }

        .otp-container.show {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        button {
            margin-top: 20px;
            padding: 12px 20px;
            background: #007BFF;
            border: none;
            color: white;
            font-size: 16px;
            border-radius: 10px;
            cursor: pointer;
            transition: background 0.3s ease, transform 0.2s ease;
        }

        button:hover {
            background: #0056b3;
            transform: translateY(-2px);
        }