#upiPaymentPage {
    position: relative;
    z-index: 100000;

    min-height: 100vh;
    padding: 30px 20px;
    box-sizing: border-box;
    margin-bottom: -50px;
}



.upi-payment-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

/* HEADER */

.upi-payment-header {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 5px;
}

.upi-payment-header h2 {
    color: #1a1a1a;
    font-size: 26px;
    font-weight: 750;
    margin: 0 0 8px;
}

.upi-payment-header p {
    color: #777;
    font-size: 14px;
    margin: 0;
}

/* SELECTED PLAN */

.upi-plan-card {
    grid-column: 1 / -1;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    background: #ffffff;
    border: 1px solid #f1e4e8;
    border-radius: 16px;
    padding: 20px 24px;

    box-shadow: 0 5px 20px rgba(245, 71, 110, 0.06);
}

.upi-label {
    display: block;
    color: #777;
    font-size: 13px;
    margin-bottom: 6px;
}

.upi-plan-card h3 {
    color: #1a1a1a;
    font-size: 19px;
    font-weight: 700;
    margin: 0;
}

.upi-amount {
    color: #f5476e;
    font-size: 26px;
    font-weight: 800;
    white-space: nowrap;
}

/* UPI DETAILS CARD */

.upi-details-card {
    grid-column: 1;

    background: #ffffff;
    border: 1px solid #f1e4e8;
    border-radius: 18px;
    padding: 24px;

    box-shadow: 0 6px 24px rgba(245, 71, 110, 0.07);
    min-width: 0;
}

.upi-details-card h3,
.upi-submit-card h3 {
    color: #1a1a1a;
    font-size: 19px;
    font-weight: 750;
    margin: 0 0 10px;
}

.upi-instruction {
    color: #777;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 20px;
}

/* QR CODE */

.upi-qr-placeholder {
    background: #fff5f8;
    border: 1px solid #ffe0e9;
    border-radius: 16px;

    padding: 22px 15px;
    text-align: center;
    margin-bottom: 20px;
}

#upiQrCode {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 12px;
    min-height: 180px;
}

#upiQrCode img,
#upiQrCode canvas {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.upi-qr-placeholder p {
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 700;
    margin: 8px 0 4px;
}

.upi-qr-placeholder small {
    color: #777;
    font-size: 12px;
}

/* UPI ID BOX */

.upi-id-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;

    background: #fff5f8;
    border: 1px solid #ffe0e9;
    border-radius: 12px;
    padding: 14px;
    min-width: 0;
}

.upi-id-box div {
    min-width: 0;
}

.upi-id-box span {
    display: block;
    color: #777;
    font-size: 12px;
    margin-bottom: 5px;
}

.upi-id-box strong {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

#copyMyraUpiBtn {
    border: none;
    border-radius: 9px;
    padding: 10px 13px;

    background: #ffe4ed;
    color: #e0357f;

    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s ease;
}

#copyMyraUpiBtn:hover {
    background: #ffd6e5;
}

/* SUBMIT PAYMENT CARD */

.upi-submit-card {
    grid-column: 2;

    background: #ffffff;
    border: 1px solid #f1e4e8;
    border-radius: 18px;
    padding: 24px;

    box-shadow: 0 6px 24px rgba(245, 71, 110, 0.07);
    min-width: 0;
}

.upi-submit-card p {
    color: #777;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 22px;
}

.upi-submit-card label {
    display: block;
    color: #333;
    font-size: 13px;
    font-weight: 650;
    margin-bottom: 9px;
}

#upiUtrInput {
    width: 100%;
    box-sizing: border-box;

    padding: 14px 15px;
    border: 1px solid #f1dce3;
    border-radius: 11px;

    background: #fffafb;
    color: #1a1a1a;

    font-size: 14px;
    outline: none;
    transition: 0.2s ease;
}

#upiUtrInput:focus {
    border-color: #f5476e;
    box-shadow: 0 0 0 3px rgba(245, 71, 110, 0.10);
}

#upiUtrInput::placeholder {
    color: #aaa;
}

#submitUpiPaymentBtn {
    width: 100%;
    border: none;
    border-radius: 11px;

    padding: 15px;
    margin-top: 18px;

    background: linear-gradient(135deg, #ff5ea3 0%, #ec4899 100%);
    color: #ffffff;

    font-size: 15px;
    font-weight: 750;
    cursor: pointer;

    box-shadow: 0 5px 14px rgba(236, 72, 153, 0.20);
    transition: 0.2s ease;
}

#submitUpiPaymentBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(236, 72, 153, 0.27);
}

#submitUpiPaymentBtn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

#upiPaymentMessage {
    margin-top: 15px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* SECURITY NOTE */

.upi-security-note {
    grid-column: 1 / -1;
    text-align: center;

    color: #888;
    font-size: 12px;
    line-height: 1.6;

    margin: 0;
    padding: 5px 10px 15px;
}

/* TABLET */

@media (max-width: 768px) {

    #upiPaymentPage {
    padding: 84px 14px 140px;
}

    .upi-payment-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .upi-payment-header,
    .upi-plan-card,
    .upi-details-card,
    .upi-submit-card,
    .upi-security-note {
        grid-column: 1;
    }

    .upi-payment-header h2 {
        font-size: 23px;
    }

    .upi-details-card,
    .upi-submit-card {
        padding: 20px;
    }
}

/* SMALL MOBILE */

@media (max-width: 480px) {

    #upiPaymentPage {
    padding: 84px 12px 140px;
}

    .upi-payment-header h2 {
        font-size: 21px;
    }

    .upi-plan-card {
        padding: 16px;
    }

    .upi-plan-card h3 {
        font-size: 16px;
    }

    .upi-amount {
        font-size: 23px;
    }

    .upi-details-card,
    .upi-submit-card {
        padding: 17px;
        border-radius: 15px;
    }

    .upi-id-box {
        padding: 12px;
    }

    .upi-id-box strong {
        font-size: 12px;
    }

    #copyMyraUpiBtn {
        padding: 9px 10px;
        font-size: 12px;
    }
}

/* PAYMENT STATUS BOX */

#upiPaymentStatus {
    margin-top: 18px;
    padding: 18px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #f0dce5;
    text-align: center;
}

.upi-status-badge {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.upi-status-badge.pending {
    background: #fff3d6;
    color: #a66a00;
}

.upi-status-badge.approved {
    background: #dcfce7;
    color: #15803d;
}

.upi-status-badge.rejected {
    background: #fee2e2;
    color: #dc2626;
}

#upiStatusText {
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    margin: 8px 0 14px;
}

#upiStatusOkBtn {
    background: #e94475;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 32px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

#upiStatusOkBtn:hover {
    background: #d83265;
}

#upiStatusOkBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Premium Status Capsules */

.upi-status-badge.pending {
    background: #fff5dc;
    color: #a66a00;
    border: 1px solid #e8bd58;
    box-shadow: 0 2px 8px rgba(166, 106, 0, 0.10);
}

.upi-status-badge.rejected {
    background: #fff0f1;
    color: #cf3048;
    border: 1px solid #ed9aa5;
    box-shadow: 0 2px 8px rgba(207, 48, 72, 0.10);
}

.upi-status-badge.approved {
    background: #edfff3;
    color: #168044;
    border: 1px solid #83d6a1;
    box-shadow: 0 2px 8px rgba(22, 128, 68, 0.10);
}
#upiStatusOkBtn {
    display: block;
    margin: 14px auto 0;
}

@media (max-width: 500px) {
    #upiPaymentPage {
        background-color: white;
    }}