* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
    
body {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Arial', sans-serif;

  
  /* Background with a high-tech gradient */
  background: linear-gradient(-45deg, #00c6ff, #ac59ff, #ff66cc, #88f7b6);
  background-size: 400% 400%;
  
  /* Animation for smooth background gradient transition */
  animation: gradientAnimation 25s ease infinite, glowEffect 15s ease-in-out infinite;
  overflow: auto;
}

/* Animate the gradient movement */
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 0% 50%;
  }
  75% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


       .loader-container {
            position: absolute;
            top: 35px;
            left: 0;
            width: 100%;
            height: 100%;
            /*background: rgba(255, 255, 255, 0.7);*/
            /*backdrop-filter: blur(15px);*/
            align-content: center;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            z-index: 9999;
            transition: opacity 1s ease-in-out;
        }
        .loader-logo {
            font-size: 24px;
            font-weight: bold;
            color: #FF4500;
            animation: fadeIn 1.5s ease-in-out infinite alternate;
        }
        .loader img {
            width: 150px;
            height: 150px;
        }
        .loader-text {
            margin-top: 5px;
            font-size: 18px;
            font-weight: bold;
            color: #333;
            animation: fadeIn 1.5s ease-in-out infinite alternate;
        }
        .powered-by {
            transition: opacity 1s ease-in-out;
        }
        @keyframes fadeIn {
            0% { opacity: 0.5; }
            100% { opacity: 1; }
        }  
        .powered-by {
            transition: opacity 1s ease-in-out;
        }


.container {
    width: 850px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: auto;
    max-width: 350px;
    justify-content: center;
    align-items: center;
    /*transition: max-height 0.8s ease-out;*/
    transition: max-width 0.8s ease-out, filter 0.2s ease-in-out;
}
.container.open{
    max-width: 95%;
}


    .instruction {
        margin-top: 0px;
        font-size: 10px;
        color: #a80000;
    }

    /*.instruction i {*/
    /*    cursor: pointer;*/
    /*    margin-left: 5px;*/
    /*    font-size: 50px;*/
    /*    color: #4caf50;*/
    /*}*/

.qr-section {
    border: 1px solid gray;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 5px;
    display: flex;
    /*flex-direction: column;*/
    align-items: center;
    justify-content: center;
    /*min-height: 100vh;*/
}

.qr-section img {
    width: 180px;
    height: 180px;
    border-radius: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.qr-section .center {
    text-align: center;
}

.qr-section .center span {
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 10px;
}

.qr-section .center .upi-icons {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.qr-section .center .upi-icons img {
    width: 20px;
    height: 20px;
    border-radius: 50%; /* Make icons round */
}

.qr-section img:hover {
    transform: scale(1.05);
}

.upi-form form { display: flex; align-items: center; gap: 0px;} .upi-form input { flex: 1; padding: 10px; font-size: 16px; border: 1px solid #ccc; max-width:58%;} .upi-form button { padding: 10px 20px; font-size: 16px;  border: none; background-color: #007bff; color: #fff; cursor: pointer; } .upi-form button:hover { background-color: #0056b3; }

.cncl-btn {
    z-index: 5000;
    /*position: fixed;*/
    /*right: 4px;*/
    /*bottom: 4px;*/
    background-color: #d33; /* लाल रंग */
    color: white; /* टेक्स्ट का रंग */
    border: 1px solid black;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cncl-btn:hover {
    background-color: #a00; /* गहरा लाल */
    transform: scale(1.05); /* हल्का बड़ा */
}

.cncl-btn:active {
    background-color: #800; /* और गहरा लाल */
    transform: scale(0.95); /* छोटा */
}

.cncl-btn:disabled {
    background-color: #ccc; /* ग्रे कलर */
    cursor: not-allowed;
}

.timeout-section {
    text-align: center;
    margin-bottom: 0px;
}

#timeout {
    font-weight: 600;
    color: #e74c3c;
}



.footer {
    background-color: #8119ff;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.powered-by {
    font-size: 14px;
    color: white;
}

.powered-by span {
    font-weight: 600;
    color: #73ff00;
}
        .success-bg {
            background: linear-gradient(135deg, #00C851, #007E33);
        }
        .failure-bg {
            background: linear-gradient(135deg, #FF4444, #CC0000);
        }
        .timeout-bg {
        background-color: #ffebee; /* Light red for timeout */
        transition: background-color 0.5s ease-in-out;
        }
        .bg-yellow-500 {
            background-color: #FFB300;
            animation: pulse 1.5s infinite;
        }
        .bg-green-500 {
            background-color: #00C851;
        }
        .bg-red-500 {
            background-color: #FF4444;
        }
        .bg-brown-500 {
            background: linear-gradient(135deg, #8B4513, #A0522D);
        }
        .spinner {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 3px solid #FFD700;
            border-top: 3px solid transparent;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        .warning-icon {
            display: inline-block;
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 14px solid #8B4513;
            animation: bounce 1s infinite;
        }
        .animate-shake {
            animation: shake 0.5s ease-in-out;
        }
        .animate-fadeIn {
            animation: fadeIn 0.5s ease-in;
        }
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.7; }
            100% { opacity: 1; }
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-5px); }
        }
        @keyframes shake {
            0% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            50% { transform: translateX(5px); }
            75% { transform: translateX(-5px); }
            100% { transform: translateX(0); }
        }
        @keyframes fadeIn {
            0% { opacity: 0; }
            100% { opacity: 1; }
        }

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    .container {
        border-radius: 5px;
        /*max-width: 380px;*/
        /*min-width: 100vh;*/
        /*width: 100vh;*/
        max-width: 95%;
    }
    .content-left{
        display: none; !important
    }


    .header {
        padding: 5px;
    }

    .header img {
        width: 40px;
    }
    .trusted-business img {
    width: 12px;
    }

    .company-info h1 {
        font-size: 16px;
    }

    .content {
        padding: 5px;
        max-height: 400px;
    }

    .qr-section img {
        width: 150px;
        height: 150px;
    }

    .share-button {
        font-size: 14px;
        padding: 4px 8px;
    }

    .payment-details p {
        font-size: 12px;
        
    }

    .button-section {
        flex-direction: column;
    }

    .share-button, .download-button {
        width: 100%;
        justify-content: center;
    }
    .paybyupiappsbtn {
    display: inline-block;
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    background: #f5f5f5;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.paybyupiappsbtn img {
    width: 120px; /* Adjust as needed */
    height: auto;
    display: block;
}

.paybyupiappsbtn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.paybyupiappsbtn:active {
    transform: scale(0.95);
}

.progress-section{
    max-height: 20px;
}


}