/* ============================================================
   OFFLINE PAYMENT PAGE
============================================================ */

.offline-payment-page {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #f7f9fc 0%,
            #ffffff 45%,
            #f8fafc 100%
        );
    min-height: 100vh;
}


/* ============================================================
   BACKGROUND SHAPES
============================================================ */

.payment-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}

.payment-bg-shape-one {
    width: 500px;
    height: 500px;
    top: -200px;
    left: -180px;
    background: rgba(13, 110, 253, .07);
}

.payment-bg-shape-two {
    width: 450px;
    height: 450px;
    right: -150px;
    top: 250px;
    background: rgba(255, 193, 7, .08);
}


/* ============================================================
   HERO
============================================================ */

.payment-hero {
    position: relative;
}

.payment-hero-icon {
    width: 105px;
    height: 105px;
    margin: auto auto 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-main-icon {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        #2563eb,
        #7c3aed
    );
    color: #fff;
    font-size: 36px;
    box-shadow:
        0 18px 40px
        rgba(37, 99, 235, .25);
    z-index: 2;
}

.payment-icon-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, .15);
}

.ring-one {
    width: 95px;
    height: 95px;
}

.ring-two {
    width: 110px;
    height: 110px;
}

.payment-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 50px;
    background: #eef4ff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.payment-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow:
        0 0 0 5px
        rgba(34, 197, 94, .1);
}

.payment-hero-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
}

.payment-hero-description {
    max-width: 620px;
    margin: auto;
    color: #6b7280;
    font-size: 16px;
}


/* ============================================================
   PROGRESS
============================================================ */

.payment-progress-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-progress-item {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: .55;
}

.payment-progress-item.active {
    opacity: 1;
}

.payment-progress-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    font-size: 19px;
}

.payment-progress-item.active
.payment-progress-number {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.payment-progress-item strong {
    display: block;
    font-size: 13px;
}

.payment-progress-item small {
    color: #9ca3af;
    font-size: 11px;
}

.payment-progress-line {
    height: 2px;
    width: 50px;
    margin: 0 14px;
    background: #e5e7eb;
}

.payment-progress-line.active {
    background: #2563eb;
}


/* ============================================================
   CARDS
============================================================ */

.payment-order-card,
.payment-details-card,
.payment-submission-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #edf0f5;
    box-shadow:
        0 10px 40px
        rgba(15, 23, 42, .05);
}

.payment-order-card,
.payment-details-card {
    padding: 30px;
}

.payment-submission-card {
    padding: 32px;
}

.payment-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.payment-section-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.payment-card-top h4 {
    margin: 0;
    font-weight: 750;
}

.payment-section-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5ff;
    color: #2563eb;
    font-size: 22px;
}


/* ============================================================
   ORDER INFO
============================================================ */

.order-info-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed #e5e7eb;
}

.order-info-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #64748b;
}

.order-info-box small {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 1px;
}

.order-info-box strong {
    font-size: 14px;
}


/* ============================================================
   AMOUNT
============================================================ */

.payment-amount-box {
    margin-top: 25px;
    padding: 25px;
    border-radius: 20px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            #1d4ed8,
            #6d28d9
        );
}

.payment-amount-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    opacity: .75;
}

.payment-amount {
    margin-top: 8px;
    font-size: 34px;
    font-weight: 800;
}

.payment-amount span {
    font-size: 22px;
}

.payment-amount-note {
    margin-top: 8px;
    font-size: 12px;
    opacity: .9;
}


/* ============================================================
   SECURITY
============================================================ */

.payment-security-box {
    margin-top: 20px;
    padding: 15px;
    display: flex;
    gap: 12px;
    background: #f0fdf4;
    border-radius: 16px;
}

.payment-security-icon {
    font-size: 24px;
    color: #16a34a;
}

.payment-security-box strong {
    font-size: 13px;
}

.payment-security-box p {
    margin: 3px 0 0;
    font-size: 11px;
    color: #64748b;
}


/* ============================================================
   PAYMENT METHOD
============================================================ */

.payment-method-box,
.upi-payment-box {
    height: 100%;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid #edf0f5;
    background: #fcfdff;
}

.payment-method-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-method-header h5 {
    margin: 0;
    font-weight: 700;
    font-size: 15px;
}

.payment-method-header span {
    font-size: 11px;
    color: #94a3b8;
}

.payment-method-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.payment-method-icon.bank {
    background: #eef4ff;
    color: #2563eb;
}

.payment-method-icon.upi {
    background: #ecfdf5;
    color: #16a34a;
}


/* ============================================================
   PAYMENT DATA
============================================================ */

.payment-data-row {
    padding: 15px 0;
    border-bottom: 1px solid #edf0f5;
}

.payment-data-row:last-child {
    border-bottom: none;
}

.payment-data-row span {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 1px;
}

.payment-data-row strong {
    display: block;
    margin-top: 3px;
    font-size: 14px;
}

.copy-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy-payment-btn {
    border: 0;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    transition: .2s;
}

.copy-payment-btn:hover {
    background: #2563eb;
    color: #fff;
}


/* ============================================================
   QR
============================================================ */

.qr-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.qr-image {
    width: 170px;
    height: 170px;
    object-fit: contain;
    padding: 10px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.qr-text {
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 10px;
}

.upi-id-box {
    margin-top: 15px;
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upi-id-box small {
    display: block;
    font-size: 9px;
    color: #94a3b8;
}

.upi-id-box strong {
    font-size: 12px;
}


/* ============================================================
   INSTRUCTIONS
============================================================ */

.payment-instructions {
    padding: 20px;
    border-radius: 18px;
    background: #fffaf0;
    border: 1px solid #fde7b2;
}

.instructions-header {
    display: flex;
    gap: 12px;
    align-items: center;
}

.instructions-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #f59e0b;
    font-size: 20px;
}

.instructions-header h6 {
    margin: 0;
    font-weight: 700;
}

.instructions-header span {
    font-size: 11px;
    color: #a16207;
}

.instructions-content {
    margin-top: 15px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.8;
}


/* ============================================================
   SUBMISSION
============================================================ */

.submission-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.submission-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.submission-icon {
    width: 52px;
    height: 52px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    color: #2563eb;
    font-size: 24px;
}

.submission-header span {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #94a3b8;
    font-weight: 700;
}

.submission-header h4 {
    margin: 3px 0 0;
    font-weight: 750;
}

.submission-security {
    padding: 8px 12px;
    border-radius: 50px;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 11px;
    font-weight: 600;
}


/* ============================================================
   FORM
============================================================ */

.premium-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 9px;
}

.premium-label span {
    font-size: 9px;
    padding: 3px 7px;
    border-radius: 5px;
    color: #dc2626;
    background: #fef2f2;
}

.premium-input {
    height: 54px;
    display: flex;
    align-items: center;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 0 15px;
    transition: .2s;
}

.premium-input:focus-within {
    border-color: #2563eb;
    box-shadow:
        0 0 0 4px
        rgba(37, 99, 235, .08);
}

.premium-input i {
    color: #94a3b8;
    font-size: 18px;
    margin-right: 10px;
}

.premium-input input,
.premium-input select {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
}


/* ============================================================
   UPLOAD
============================================================ */

.payment-upload-zone {
    position: relative;
    min-height: 220px;
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    transition: .2s;
    cursor: pointer;
}

.payment-upload-zone:hover {
    border-color: #2563eb;
    background: #f5f8ff;
}

.payment-upload-zone input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

#uploadPlaceholder {
    text-align: center;
}

.upload-main-icon {
    width: 55px;
    height: 55px;
    margin: auto auto 12px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf0ff;
    color: #2563eb;
    font-size: 27px;
}

#uploadPlaceholder h5 {
    margin-bottom: 5px;
    font-size: 15px;
}

#uploadPlaceholder p {
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 4px;
}

#uploadPlaceholder small {
    color: #64748b;
    font-size: 10px;
}


/* ============================================================
   PREVIEW
============================================================ */

#proofPreviewContainer {
    position: relative;
    z-index: 6;
}

.proof-preview-image {
    max-height: 250px;
    max-width: 100%;
    border-radius: 14px;
}

.pdf-preview-box {
    padding: 30px;
    text-align: center;
}

.pdf-preview-box i {
    display: block;
    font-size: 50px;
    color: #dc2626;
}

.pdf-preview-box strong {
    display: block;
    margin-top: 10px;
    font-size: 13px;
}

.remove-proof-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    color: #fff;
    background: #dc2626;
}


/* ============================================================
   SUBMIT
============================================================ */

.submit-payment-btn {
    width: 100%;
    min-height: 60px;
    border: none;
    border-radius: 16px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            #2563eb,
            #6d28d9
        );
    font-size: 15px;
    font-weight: 650;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .25s;
}

.submit-payment-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 15px 30px
        rgba(37, 99, 235, .25);
}

.submit-arrow {
    transition: .2s;
}

.submit-payment-btn:hover
.submit-arrow {
    transform: translateX(4px);
}

.submit-note {
    text-align: center;
    margin: 12px 0 0;
    font-size: 11px;
    color: #94a3b8;
}


/* ============================================================
   PENDING
============================================================ */

.verification-pending-box {
    padding: 22px;
    border-radius: 18px;
    background: #fffaf0;
    border: 1px solid #fde68a;
    display: flex;
    align-items: center;
    gap: 16px;
}

.verification-pending-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #f59e0b;
    font-size: 26px;
}

.verification-pending-box h5 {
    margin: 0 0 5px;
}

.verification-pending-box p {
    font-size: 12px;
    color: #78716c;
}

.verification-status-badge {
    margin-left: auto;
    padding: 8px 13px;
    border-radius: 30px;
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    color: #d97706;
}

.verification-status-badge span {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f59e0b;
    margin-right: 5px;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 991px) {

    .payment-progress-wrapper {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
    }

    .payment-progress-item {
        min-width: 160px;
    }

}

@media (max-width: 576px) {

    .offline-payment-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .payment-hero-title {
        font-size: 28px;
    }

    .payment-order-card,
    .payment-details-card,
    .payment-submission-card {
        padding: 20px;
        border-radius: 18px;
    }

    .submission-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .verification-pending-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .verification-status-badge {
        margin-left: 0;
    }

}