/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffff;
    color: #333;
    scroll-behavior: smooth; /* Smooth scrolling */
}

/* Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader img {
    width: 100px;
    height: 100px;
    animation: spin 10s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
header {
    background-color: #1a73e8; /* Blue background */
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

header h1 {
    font-size: 24px;
    margin: 0;
    color: #ffffff; /* White text */
}

.timer {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff; /* White text */
}

/* Main Content */
main {
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.amount-payable {
    text-align: center;
    margin: 30px 0;
}

.amount-payable p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.amount {
    font-size: 36px;
    color: #1a73e8;
    margin: 10px 0;
    font-weight: bold;
}

.qr-instruction {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
}
.qr-instruction-HDFC {
    font-size: 14px;
    color: red; /* Red color */
    font-weight: bold; /* Bold text */
    margin: 10px 0;
}

.qr-code {
    text-align: center;
    margin: 20px 0;
}

.qr-code img {
    width: 170px;
    height: 170px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    background-color: #ffffff;
}

.payment-method {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.payment-method p {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold; /* Bold text */
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-btn {
    display: flex;
    align-items: center;
    background-color: #ffff;
    border: 2px solid #1a73e8; /* Blue border */
    border-radius: 8px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.payment-btn:hover {
    background-color: #e0e0e0;
}

.payment-btn img {
    width: 24px;
    height: 24px;
    border-radius: 50%; /* Rounded logo */
    margin-right: 10px;
}

.payment-details {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.payment-details p {
    font-size: 16px;
    color: #333;
    margin: 0;
    font-weight: bold; /* Bold text */
}

.guide-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px; /* Space below Guide button */
}

.guide-btn {
    background-color: #f4f4f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.guide-btn:hover {
    background-color: #e0e0e0;
}

.utr-input {
    width: 96%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 10px; /* Space below UTR input */
}

.submit-btn {
    width: 100%;
    background-color: #1a73e8;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #1557b0;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    margin-top: 20px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-content img {
    width: 30px;
}

footer p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}

.modal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.close-btn {
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    cursor: pointer;
    margin-top: 10px;
}

.close-btn:hover {
    background-color: #1557b0;
}

/* Responsive Design */
@media (max-width: 480px) {
    header h1 {
        font-size: 20px;
    }

    .timer {
        font-size: 16px;
    }

    .amount {
        font-size: 28px;
    }

    .payment-btn {
        font-size: 14px;
        padding: 12px;
    }

    .submit-btn {
        padding: 12px;
        font-size: 14px;
    }
}

/* Manual Transfer Styles */
.manual-transfer {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.manual-transfer h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.manual-transfer p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.upi-id-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.upi-id-container input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background-color: #f4f4f9;
    color: #333;
}

.upi-id-container button {
    background-color: #1a73e8;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.upi-id-container button:hover {
    background-color: #1557b0;
}

.alert-box {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.alert-box button {
    margin-left: 20px;
    background-color: #721c24;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}