    :root {
            --primary: #0284c7;
            --primary-hover: #0369a1;
            --bg-dark: #0f172a;
            --card-bg: #1e293b;
            --border-clr: #334155;
        }

        body {
            background-color:white;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            margin: 5px;
            padding: 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            color: #ffffff;
        }

        .container {
            width: 110%;
            max-width: 450px;
            margin: 0 auto;
        }

        .portal-card {
            background-color:white; 
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
            text-align: center;
            margin-bottom: 20px;
        }

        .subtitle {
            font-size: 13px;
            color: #94a3b8;
            margin-top: 2px;
            margin-bottom: 2px;
        }

      
.package-grid {
    display: grid;
    /* 💡 CHANGED: Automatically creates exactly 3 equal columns per row frame */
    grid-template-columns: repeat(3, 1fr); 
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
}


        .package-card {
            border: 2px solid #e2e8f0;
            background: #f8fafc;
            border-left: 4px solid #3498db;
            border-radius: 8px;
            padding: 16px;
            cursor: pointer;
            transition: all 0.2s ease-in-out;
            text-align: left;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .package-card:hover {
            border-color: var(--primary);
            background: lightblue;
            transform: translateY(-1px);
        }

        .card-price {
            font-size: 15px;
            font-weight: bold;
            color: darkblue;
        }
        .card-price1 {
            font-size: 14px;
            font-weight: bold;
            color: darkblue;
        }
        .card-time {
            font-size: 12px;
            font-weight: bold;
            color: black;
        }

        .card-data {
            font-size: 8px;
            color: #94a3b8;
            font-weight: bold;
        }

        /* 🌫️ PREMIUM FULL-SCREEN GLASS LOADING OVERLAY OVERRIDE */
        .loader-overlay {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            background-color: rgba(15, 23, 42, 0.75) !important;
            backdrop-filter: blur(8px) !important;
            -webkit-backdrop-filter: blur(8px) !important;
            display: none;
            flex-direction: column !important;
            justify-content: center !important;
            align-items: center !important;
            z-index: 99999 !important;
        }

        /* 🌀 THE CHASING 10-DOT CIRCLE RADIUS ENGINE */
        .chasing-spinner {
            position: relataive !important;
            width: 100px !important;
            height: 100px !important;
            margin-bottom: 25px !important;
        }

        .chasing-spinner div {
            position: absolute !important;
            top: 50% !important;
            left: 50% !important;
            width: 12px !important;
            height: 12px !important;
            background-color: var(--primary) !important;
            border-radius: 50% !important;
            animation: sequentialLightUp 1s linear infinite !important;
            transform-origin: center center !important;
        }

        /* Spaced fanned circle transformation loops */
        .chasing-spinner div:nth-child(1)  { transform: translate(-50%, -50%) rotate(0deg) translate(0, -45px) !important; animation-delay: 0s !important; }
        .chasing-spinner div:nth-child(2)  { transform: translate(-50%, -50%) rotate(36deg) translate(0, -45px) !important; animation-delay: -0.1s !important; }
        .chasing-spinner div:nth-child(3)  { transform: translate(-50%, -50%) rotate(72deg) translate(0, -45px) !important; animation-delay: -0.2s !important; }
        .chasing-spinner div:nth-child(4)  { transform: translate(-50%, -50%) rotate(108deg) translate(0, -45px) !important; animation-delay: -0.3s !important; }
        .chasing-spinner div:nth-child(5)  { transform: translate(-50%, -50%) rotate(144deg) translate(0, -45px) !important; animation-delay: -0.4s !important; }
        .chasing-spinner div:nth-child(6)  { transform: translate(-50%, -50%) rotate(180deg) translate(0, -45px) !important; animation-delay: -0.5s !important; }
        .chasing-spinner div:nth-child(7)  { transform: translate(-50%, -50%) rotate(216deg) translate(0, -45px) !important; animation-delay: -0.6s !important; }
        .chasing-spinner div:nth-child(8)  { transform: translate(-50%, -50%) rotate(252deg) translate(0, -45px) !important; animation-delay: -0.7s !important; }
        .chasing-spinner div:nth-child(9)  { transform: translate(-50%, -50%) rotate(288deg) translate(0, -45px) !important; animation-delay: -0.8s !important; }
        .chasing-spinner div:nth-child(10) { transform: translate(-50%, -50%) rotate(324deg) translate(0, -45px) !important; animation-delay: -0.9s !important; }

        @keyframes sequentialLightUp {
            0% { opacity: 1; background-color: #38bdf8; box-shadow: 0 0 15px #0284c7; scale: 1.3; }
            100% { opacity: 0.15; background-color: var(--primary); box-shadow: none; scale: 1; }
        }

        .loading-text {
            font-size: 18px !important;
            font-weight: bold !important;
            letter-spacing: 0.5px !important;
             text-align: center;
            color: #94a3b8 !important;
            animation: textFlickerPulse 1.5s ease-in-out infinite !important;
        }

        @keyframes textFlickerPulse {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; color: #ffffff; }
        }

        /* 📋 MODAL OVERLAY STYLES */
        .modal-overlay {
            position: fixed;
            top: 0; left: 0; width: 100vw; height: 100vh;
            background: rgba(15, 23, 42, 0.85);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 999;
        }

        .modal-card {
            background: #ffffff;
            color: #1e293b;
            border-radius: 12px;
            width: 80%;
            max-width: 380px;
            padding: 24px;
            position: relative;
            box-shadow: 0 20px 25px -5px rgba(0,0,0,0.5);
          
        }

        .close-btn {
            position: absolute;
            top: 12px; right: 16px;
            font-size: 24px; cursor: pointer; color: #64748b;
        }

        .form-group {
            margin-top: 15px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .input-class {
            padding: 12px;
            border: 2px solid #cbd5e1;
            border-radius: 6px;
            font-size: 16px;
            text-align: center;
            font-weight: bold;
            color: #1e293b;
            max-width: 40%;
            box-sizing: border-box;
            border: 1px solid #ccc;

        }

        .btn-popup-pay {
            background-color: #f15a24;
            color: white;
            border: none;
            padding: 14px;
            font-size: 16px;
            font-weight: bold;
            border-radius: 6px;
            cursor: pointer;
            transition: background 0.2s;
            margin-top: 10px;
            min-width: 50%;
        }


        .badge-footer {
            margin-top: 25px;
            border-top: 1px solid #334155;
            padding-top: 15px;
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 11px;
            color: #94a3b8;
        }

.btn-submit { border: 1px solid #334155; 
             min-width: 35%; 
             padding: 14px; 
             font-color: black; 
             font-size: 14px; 
             font-weight: bold; 
             border-radius: 6px; 
             cursor: pointer; 
             transition: all 0.3s ease; }