﻿/* Background */
.modalBackground {
    background-color: rgba(0, 0, 0, 0.60);
    opacity: 1 !important;
    z-index: 9998 !important;
}


/* Main Modal */
.preview-modal {
    position: fixed !important;
    width: 700px;
    max-width: 94vw;
    max-height: 90vh;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.35);
    overflow: hidden;
    z-index: 9999 !important;
    box-sizing: border-box;
}


/* Header */
.preview-modal-header {
    background: #0379BD;
    color: #ffffff;
    padding: 14px 18px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    position: relative;
}


/* Modal body */
.preview-modal-body {
    max-height: calc(90vh - 55px);
    overflow-x: auto;
    overflow-y: auto;
    padding: 15px;
    box-sizing: border-box;
}


/* Table wrapper */
.preview-table-wrapper {
    width: 100%;
    min-width: 0;
}


/* Table */
.preview-table {
    width: 100% !important;
    margin: 0 !important;
    table-layout: fixed;
    border-collapse: collapse;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}


    /* Cells */
    .preview-table td {
        padding: 10px 8px;
        vertical-align: top;
        border-bottom: 1px solid #e5e5e5;
        word-break: break-word;
        overflow-wrap: anywhere;
        box-sizing: border-box;
    }


        /* First column */
        .preview-table td.preview-label {
            width: 35%;
            font-weight: 600;
            color: #333;
            white-space: normal;
        }


        /* Second column */
        .preview-table td.preview-value {
            width: 65%;
            color: #555;
            word-break: break-word;
            overflow-wrap: anywhere;
        }


/* Inputs */
.preview-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}


/* Captcha */
.captcha-image {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin-top: 8px;
}


/* Resend OTP */
.resend-otp {
    display: inline-block;
    margin-top: 5px;
}


/* Buttons */
.preview-buttons {
    text-align: right !important;
    padding-top: 15px !important;
    white-space: normal;
}


    .preview-buttons .btn {
        margin-left: 5px;
        margin-bottom: 5px;
    }


/* =========================
       TABLET
    ========================= */
@media screen and (max-width: 768px) {

    .preview-modal {
        width: 92vw;
        max-width: 92vw;
        max-height: 88vh;
    }

    .preview-modal-header {
        font-size: 18px;
        padding: 12px;
    }

    .preview-modal-body {
        max-height: calc(88vh - 50px);
        padding: 10px;
    }

    .preview-table td {
        padding: 8px 6px;
        font-size: 14px;
    }

        .preview-table td.preview-label {
            width: 38%;
        }

        .preview-table td.preview-value {
            width: 62%;
        }
}


/* =========================
       MOBILE
    ========================= */
@media screen and (max-width: 480px) {

    .preview-modal {
        width: 96vw;
        max-width: 96vw;
        max-height: 92vh;
        border-radius: 6px;
    }


    .preview-modal-header {
        font-size: 17px;
        padding: 11px;
    }


    .preview-modal-body {
        max-height: calc(92vh - 48px);
        padding: 8px;
    }


    .preview-table {
        font-size: 13px;
    }


        .preview-table td {
            padding: 8px 5px;
        }


            .preview-table td.preview-label {
                width: 40%;
            }


            .preview-table td.preview-value {
                width: 60%;
            }


    .preview-buttons {
        text-align: center !important;
    }


        .preview-buttons .btn {
            display: inline-block;
            margin: 3px;
            min-width: 100px;
        }


    .captcha-image {
        max-width: 120px;
    }
}


/* =========================
       VERY SMALL MOBILE
    ========================= */
@media screen and (max-width: 360px) {

    .preview-modal {
        width: 98vw;
        max-width: 98vw;
    }


    .preview-table {
        font-size: 12px;
    }


        .preview-table td.preview-label {
            width: 42%;
        }


        .preview-table td.preview-value {
            width: 58%;
        }


    .preview-buttons .btn {
        width: 100%;
        margin: 4px 0;
    }
}

.or-text {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin: 0 4px;
    display: inline-flex;
    align-items: center;
}

.submit-row {
    grid-column: 2;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .submit-row {
        grid-column: 1;
    }
}

.fadePanel {
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 10px;
    /*  overflow-y: auto;
    overflow-x: hidden;*/
}

.InnerPopup {
    margin-top: 1px;
    min-width: 80px;
    min-height: 20px;
    background-color: #ffffff;
    padding: 7px;
    border-radius: 25px;
    border: 1px solid #000000;
}

.modal-content {
    max-width: 100%;
    box-sizing: border-box;
}

.jk-modal-container {
    width: 95%;
    max-width: 1100px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
}

.jk-modal-body {
    padding: 15px;
}

.jk-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.jk-field-group {
    min-width: 0;
}



.jk-input-box .form-control {
    width: 100%;
    box-sizing: border-box;
}

.jk-btn-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.jk-captcha-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.jk-captcha-input {
    min-width: 250px;
}

.jk-captcha-badge img {
    max-width: 180px;
    height: auto;
}

.modal-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .modal-table td {
        padding: 8px;
        vertical-align: middle;
        word-break: break-word;
    }

        .modal-table td:first-child {
            width: 35%;
            font-weight: bold;
        }

        .modal-table td:nth-child(2) {
            width: 55%;
        }

        .modal-table td:last-child {
            width: 10%;
        }

@media (max-width: 768px) {
    .jk-grid-3 {
        grid-template-columns: 1fr;
    }

    .jk-captcha-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .jk-captcha-input {
        width: 100%;
        min-width: 0;
    }

    .jk-modal-container {
        width: 98%;
        margin: 10px auto;
    }

    .modal-table {
        table-layout: auto;
    }

        .modal-table td {
            display: block;
            width: 100% !important;
            box-sizing: border-box;
        }
}

/* =========================================================
   FORGET PASSWORD
   ========================================================= */
.forgot-password-wrapper {
    width: 100%;
    padding: 30px 15px 50px;
    background: #f5f9fc;
}

.forgot-password-container {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}


/* =========================================================
   CARD
   ========================================================= */

.forgot-password-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d5dfe8;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,.08);
}


/* =========================================================
   HEADER
   ========================================================= */

.forgot-password-header {
    background: #087bbd;
    color: #fff;
    padding: 15px 20px;
    text-align: center;
}

    .forgot-password-header h4 {
        margin: 0;
        color: #fff;
        font-size: 21px;
        font-weight: 600;
    }


/* =========================================================
   LANGUAGE BUTTONS
   ========================================================= */

.language-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    margin-bottom: 15px;
}

.language-button {
    min-width: 70px;
    padding: 6px 12px;
    background: #087bbd;
    color: #fff;
    border: 1px solid #087bbd;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

    .language-button:hover {
        background: #066da8;
    }

    .language-button.active {
        background: #ffffff;
        color: #087bbd;
    }


/* =========================================================
   BODY
   ========================================================= */

.forgot-password-body {
    padding: 25px 40px 35px;
}


/* =========================================================
   MANDATORY
   ========================================================= */

.mandatory-text {
    text-align: center;
    margin-bottom: 25px;
}

    .mandatory-text span {
        color: red;
        font-family: Verdana, Arial, sans-serif;
        font-size: 11px;
        font-weight: bold;
    }


/* =========================================================
   FORM ROW
   LABEL + INPUT SAME ROW
   ========================================================= */

.forgot-form-group {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 18px;
}


/* =========================================================
   LABEL
   ========================================================= */

.forgot-form-label {
    width: 190px;
    min-width: 190px;
    padding-right: 20px;
    line-height: 20px;
    font-weight: 700;
    font-size: 0.88rem;
    color: #1b1d1f;
}


/* =========================================================
   INPUT AREA
   ========================================================= */

.forgot-input-group {
    display: flex;
    flex: 1;
    width: calc(100% - 190px);
    min-width: 0;
}


/* =========================================================
   ICON
   ========================================================= */

.forgot-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 44px;
    background: #f1f5f9;
    border: 1px solid #ced7e0;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    color: #087bbd;
    font-size: 16px;
}


/* =========================================================
   TEXTBOX / DROPDOWN
   ========================================================= */

.forgot-input-group .form-control {
    width: 100%;
    height: 38px;
    padding: 8px 12px;
    border: 1px solid #d0d8e0;
    border-radius: 0 5px 5px 0;
    background: #fff;
    color: #333;
    font-size: 0.88rem;
    outline: none;
    box-shadow: none;
}

    .forgot-input-group .form-control:focus {
        border-color: #087bbd;
        box-shadow: 0 0 0 2px rgba(8,123,189,.12);
    }


/* =========================================================
   CAPTCHA
   IMAGE + INPUT SAME ROW
   ========================================================= */

.captcha-control {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    width: calc(100% - 190px);
    min-width: 0;
}


/* CAPTCHA IMAGE */

.captcha-image-box {
    background: #0072bc;
    color: #fff;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 1rem;
    height: 38px;
    display: flex;
    align-items: center;
    cursor: pointer;
    letter-spacing: 2px;
}

    .captcha-image-box img {
        display: block;
        max-width: 100%;
        max-height: 38px;
        width: auto;
        height: auto;
    }


/* CAPTCHA TEXTBOX */

.captcha-input {
    flex: 1;
    height: 44px;
    min-width: 0;
    padding: 8px 13px;
    border: 1px solid #ced7e0;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
}

    .captcha-input:focus {
        border-color: #087bbd;
        box-shadow: 0 0 0 2px rgba(8,123,189,.12);
    }


/* =========================================================
   VALIDATOR
   ========================================================= */

.forgot-validator {
    display: block;
    margin-left: 190px;
    margin-top: -10px;
    margin-bottom: 12px;
    color: #d00000 !important;
    font-size: 12px !important;
}


/* =========================================================
   HELP BUTTON
   ========================================================= */

.forgot-help {
    display: inline-block;
    margin-left: 190px;
    margin-top: -5px;
    margin-bottom: 15px;
    padding: 5px 12px;
    background: #28a745;
    color: #fff !important;
    border-radius: 4px;
    text-decoration: none;
    font-size: 11px !important;
}


/* =========================================================
   ALL BUTTONS
   CENTERED + SAME ROW
   ========================================================= */

.forgot-button-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    margin: 25px auto 5px;
}


/* =========================================================
   BUTTON
   ========================================================= */

.forgot-button {
    min-width: 110px;
    min-height: 42px;
    padding: 9px 20px;
    background: #28a745;
    border: 1px solid #28a745;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

    .forgot-button:hover {
        background: #218838;
        border-color: #218838;
    }


/* =========================================================
   OTP BUTTON ROW
   ========================================================= */

.otp-button-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    margin: 25px auto 5px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:768px) {

    .forgot-password-wrapper {
        padding: 15px 10px 30px;
    }

    .forgot-password-body {
        padding: 25px 20px 30px;
    }

    .forgot-form-label {
        width: 150px;
        min-width: 150px;
    }

    .forgot-input-group {
        width: calc(100% - 150px);
    }

    .captcha-control {
        width: calc(100% - 150px);
    }

    .forgot-validator {
        margin-left: 150px;
    }

    .forgot-help {
        margin-left: 150px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media(max-width:600px) {

    .forgot-password-body {
        padding: 20px 12px 25px;
    }

    .forgot-password-header h4 {
        font-size: 18px;
    }

    .language-buttons {
        justify-content: center;
    }


    /* KEEP LABEL + INPUT SAME ROW */

    .forgot-form-label {
        width: 105px;
        min-width: 105px;
        padding-right: 8px;
        font-size: 12px;
        line-height: 16px;
    }


    .forgot-input-group {
        width: calc(100% - 105px);
    }


    .forgot-input-icon {
        width: 38px;
        min-width: 38px;
        height: 40px;
        font-size: 14px;
    }


    .forgot-input-group .form-control {
        height: 38px;
        padding: 8px 12px;
        font-size: 0.88rem;
    }


    /* CAPTCHA */

    .captcha-control {
        width: calc(100% - 105px);
        gap: 5px;
    }

    .captcha-image-box {
        min-width: 100px;
        height: 40px;
        padding: 3px 5px;
    }

        .captcha-image-box img {
            max-height: 34px;
        }

    .captcha-input {
        height: 40px;
        padding: 7px 8px;
        font-size: 12px;
    }


    /* Validators */

    .forgot-validator {
        margin-left: 105px;
    }


    /* Help */

    .forgot-help {
        margin-left: 105px;
    }


    /* BUTTONS */

    .forgot-button-row,
    .otp-button-row {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 6px;
        margin-top: 20px;
    }

    .forgot-button {
        min-width: 90px;
        padding: 8px 10px;
        font-size: 12px;
    }
}


/* =========================================================
   VERY SMALL PHONE
   ========================================================= */

@media(max-width:380px) {

    .forgot-password-body {
        padding: 15px 8px 20px;
    }

    .forgot-form-label {
        width: 90px;
        min-width: 90px;
        font-size: 11px;
    }

    .forgot-input-group {
        width: calc(100% - 90px);
    }

    .captcha-control {
        width: calc(100% - 90px);
    }

    .forgot-validator {
        margin-left: 90px;
    }

    .forgot-help {
        margin-left: 90px;
    }

    .forgot-button {
        min-width: 80px;
        padding: 7px 7px;
        font-size: 11px;
    }

    .captcha-image-box {
        min-width: 85px;
    }
}



.notice-box-top {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.notice-item {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
}

    .notice-item a {
        color: var(--blue);
        text-decoration: underline;
        font-weight: 700;
    }

.submit-row {
    grid-column: 2;
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .submit-row {
        grid-column: 1;
    }
}


/* Modal */
.message-modal {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Blue Header */
.message-header {
    background-color: #007bff;
    color: #fff;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    border: none;
}

/* Message title */
.message-title {
    font-size: 18px;
    font-weight: 600;
}

/* Close button */
.message-close {
    color: #fff !important;
    background: transparent;
    border: none;
    text-decoration: none !important;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    padding: 0 5px;
    cursor: pointer;
}

    .message-close:hover {
        color: #e6e6e6 !important;
        text-decoration: none !important;
    }

/* Body */
.message-body {
    padding: 20px;
    background-color: #fff;
}

.message-text {
    font-size: 15px;
    color: #333;
    word-wrap: break-word;
}

/* Mobile responsive */
@media (max-width: 576px) {

    .message-modal {
        width: calc(100% - 20px);
        max-width: none;
        margin: 10px;
    }

    .message-header {
        padding: 10px 12px;
        min-height: 45px;
    }

    .message-title {
        font-size: 16px;
    }

    .message-close {
        font-size: 22px;
    }

    .message-body {
        padding: 15px;
    }

    .message-text {
        font-size: 14px;
    }
}

/* =========================================================
   JALKAL PAYMENT PAGE
   UNIQUE PREFIX: jkx-
   
   IMPORTANT:
   - Existing DIV IDs are NOT changed
   - Existing ASP.NET IDs are NOT changed
   - Textbox height remains 38px
   - Button height remains 38px
   ========================================================= */


/* =========================================================
   GLOBAL
   ========================================================= */

.jkx-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px;
    color: #263238;
    font-family: Arial, Helvetica, sans-serif;
}

    .jkx-page *,
    .jkx-page *::before,
    .jkx-page *::after {
        box-sizing: border-box;
    }


/* =========================================================
   NOTICE
   ========================================================= */

.jkx-notice {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 42px;
    margin-bottom: 18px;
    padding: 7px 12px;
    border: 1px solid #ffe08a;
    border-radius: 7px;
    background: #fff8dc;
    color: #dc3545;
    overflow: hidden;
}

.jkx-notice-icon {
    flex: 0 0 32px;
    font-size: 19px;
    text-align: center;
}

.jkx-notice-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: #dc3545 !important;
    font-size: 14px;
    font-weight: 700;
}

    .jkx-notice-text marquee {
        width: 100%;
        color: #dc3545 !important;
    }


/* =========================================================
   PANEL
   ========================================================= */

.jkx-panel {
    width: 100%;
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid #e1e7ec;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
}

.jkx-panel-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 17px;
    padding-bottom: 11px;
    border-bottom: 1px solid #e8edf2;
    color: #1565c0;
    font-size: 18px;
    font-weight: 700;
}

.jkx-panel-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e8f1ff;
    font-size: 16px;
}


/* =========================================================
   LABEL
   ========================================================= */

.jkx-label {
    display: block;
    margin: 0;
    color: #263238;
    font-size: 14px;
    font-weight: 700;
    line-height: 38px;
}


/* =========================================================
   TEXTBOX
   EXACT HEIGHT = 38PX
   ========================================================= */

.jkx-control {
    display: block;
    width: 100%;
    min-width: 0;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 6px 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    background: #ffffff;
    color: #263238;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 24px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .jkx-control:focus {
        border-color: #1565c0;
        box-shadow: 0 0 0 3px rgba(21, 101, 192, .10);
    }

    .jkx-control::placeholder {
        color: #8a969f;
        opacity: 1;
    }


/* =========================================================
   CONTROL WRAPPER
   EXACT HEIGHT = 38PX
   ========================================================= */

.jkx-control-wrap {
    display: flex;
    width: 100%;
    min-width: 0;
    height: 38px;
}

.jkx-control-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    border: 1px solid #ced4da;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    background: #f3f6f9;
    font-size: 15px;
}

.jkx-control-wrap .jkx-control {
    flex: 1 1 auto;
    width: auto;
    border-radius: 0 5px 5px 0;
}


/* =========================================================
   BUTTON
   EXACT HEIGHT = 38PX
   ========================================================= */

.jkx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 6px 15px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: all .2s ease;
}

    .jkx-btn:hover {
        transform: translateY(-1px);
    }


/* =========================================================
   BLUE
   ========================================================= */

.jkx-btn-blue {
    background: #0072bc;
    border-color: #0072bc;
    color: #ffffff;
}

    .jkx-btn-blue:hover {
        background: #0d47a1;
        border-color: #0d47a1;
        color: #ffffff;
    }


/* =========================================================
   GREEN
   ========================================================= */

.jkx-btn-green {
    background: #3e9e4e;
    border-color: #198754;
    color: #ffffff;
}

    .jkx-btn-green:hover {
        background: #146c43;
        border-color: #146c43;
        color: #ffffff;
    }


/* =========================================================
   PRIMARY
   ========================================================= */

.jkx-btn-primary {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
}

    .jkx-btn-primary:hover {
        background: #0b5ed7;
        border-color: #0a58ca;
        color: #ffffff;
    }


/* =========================================================
   SUCCESS
   ========================================================= */

.jkx-btn-success {
    background: #198754;
    border-color: #198754;
    color: #ffffff;
}

    .jkx-btn-success:hover {
        background: #146c43;
        border-color: #146c43;
        color: #ffffff;
    }


/* =========================================================
   DANGER
   ========================================================= */

.jkx-btn-danger {
    background: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
}


/* =========================================================
   MAIN SEARCH
   LABEL + TEXTBOX + BUTTON SAME ROW
   ========================================================= */

.jkx-main-search {
    display: grid;
    grid-template-columns: 225px minmax(250px, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 4px;
    width: 100%;
}

    .jkx-main-search .jkx-field {
        display: contents;
    }

    .jkx-main-search .jkx-label {
        grid-column: 1;
        line-height: 38px;
    }

    .jkx-main-search .jkx-control-wrap {
        grid-column: 2;
    }

    .jkx-main-search .jkx-error {
        grid-column: 2;
    }

.jkx-main-buttons {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: auto;
}

    .jkx-main-buttons .jkx-btn {
        width: auto;
    }


/* =========================================================
   MAIN CAPTCHA
   LABEL + IMAGE + TEXTBOX + SUBMIT SAME ROW
   ========================================================= */

.jkx-captcha-main-row {
    display: grid;
    grid-template-columns: 90px 190px minmax(220px, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 4px;
    width: 100%;
}

    .jkx-captcha-main-row .jkx-label {
        grid-column: 1;
        line-height: 38px;
    }

    .jkx-captcha-main-row .jkx-captcha-image-box {
        grid-column: 2;
    }

    .jkx-captcha-main-row .jkx-captcha-input {
        grid-column: 3;
    }

    .jkx-captcha-main-row .jkx-captcha-submit {
        grid-column: 4;
    }


/* =========================================================
   CAPTCHA INPUT
   ========================================================= */

.jkx-captcha-input {
    width: 100%;
    min-width: 0;
}

    .jkx-captcha-input > .jkx-control {
        width: 100%;
    }


/* =========================================================
   CAPTCHA IMAGE BOX
   BLUE BACKGROUND
   CLEAR IMAGE
   NO BLUR
   ========================================================= */

.jkx-captcha-image-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    overflow: hidden;
    border: 1px solid #1565c0;
    border-radius: 5px;
    /*
       Strong blue background
       so transparent captcha images remain visible.
    */
    background-color: #1565c0;
    /*
       Prevent browser/filter blur.
    */
    filter: none !important;
    backdrop-filter: none !important;
}


/*
   Existing captchaCode DIV
*/

#captchaCode {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 38px;
    overflow: hidden;
    background: #0072bc;
    color: #fff;
}


/*
   Captcha image itself
*/

.jkx-captcha-image {
    display: block;
    width: auto !important;
    /*
       Keep original aspect ratio.
       Do NOT stretch the image.
    */
    height: 36px !important;
    max-width: 100% !important;
    max-height: 36px !important;
    object-fit: contain;
    /*
       No blur / no filter.
    */
    filter: none !important;
    image-rendering: auto;
    opacity: 1 !important;
}


/* =========================================================
   ERROR
   ========================================================= */

.jkx-error {
    display: block;
    margin-top: 3px;
    color: #dc3545 !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}


/* =========================================================
   MESSAGE
   ========================================================= */

.jkx-message {
    width: 100%;
    margin: 8px 0;
    color: #dc3545;
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   SAVE AS PDF
   RED LINK BUTTON
   ========================================================= */

/* =========================================================
   SAVE AS PDF - LINK LOOKS LIKE BUTTON
   NO BLINK
   ========================================================= */

.jkx-print-area {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin: 10px 0 15px;
}

/* LINK BUTTON */
.jkx-print-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 38px !important;
    min-height: 38px !important;
    padding: 6px 18px;
    border: 1px solid #dc3545 !important;
    border-radius: 5px;
    background-color: #dc3545 !important;
    color: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

    /* HOVER */
    .jkx-print-link:hover {
        background-color: #bb2d3b !important;
        border-color: #b02a37 !important;
        color: #ffffff !important;
        text-decoration: none !important;
        transform: none !important;
    }

    /* ACTIVE */
    .jkx-print-link:active {
        background-color: #a52834 !important;
        border-color: #a52834 !important;
        color: #ffffff !important;
        text-decoration: none !important;
    }

    /* FOCUS */
    .jkx-print-link:focus {
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.20);
        color: #ffffff !important;
        text-decoration: none !important;
    }



/* =========================================================
   SAVE PDF BLINK
   ========================================================= */

@keyframes jkxSavePdfBlink {

    0% {
        opacity: 1;
    }

    50% {
        opacity: .45;
    }

    100% {
        opacity: 1;
    }
}


/* =========================================================
   BILL PREVIEW
   ========================================================= */

.jkx-bill-preview {
    width: 100%;
    margin-top: 15px;
    overflow: hidden;
}

.jkx-bill-content {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

    .jkx-bill-content table {
        max-width: 100%;
    }


/* =========================================================
   PAYMENT BUTTON CENTER
   ========================================================= */

.jkx-payment-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 18px;
    text-align: center;
}

    .jkx-payment-action .jkx-btn {
        width: auto;
    }


/* =========================================================
   OTP GRID
   ========================================================= */

.jkx-otp-grid {
    display: grid;
    grid-template-columns: 180px minmax(250px, 1fr);
    column-gap: 18px;
    row-gap: 12px;
    align-items: center;
    width: 100%;
}

.jkx-otp-label {
    color: #263238;
    font-size: 14px;
    font-weight: 700;
    line-height: 38px;
}


/* =========================================================
   OTP CAPTCHA
   ========================================================= */

.jkx-otp-captcha-row {
    display: grid;
    grid-template-columns: 190px minmax(220px, 1fr);
    align-items: center;
    gap: 10px;
    width: 100%;
}


/* =========================================================
   OTP CONTROL
   ========================================================= */

.jkx-otp-control {
    width: 100%;
    min-width: 0;
}


/* =========================================================
   OTP VERIFY BUTTON
   SAME ROW
   ========================================================= */

.jkx-otp-action {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

    .jkx-otp-action .jkx-btn {
        width: auto;
    }


/* =========================================================
   ALERT
   ========================================================= */

.jkx-alert-box {
    width: 100%;
    margin-bottom: 15px;
    padding: 11px 14px;
    border: 1px solid #f5c2c7;
    border-radius: 6px;
    background: #f8d7da;
    color: #842029;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}


/* =========================================================
   CHECKBOX
   ========================================================= */

.jkx-checkbox-area {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

    .jkx-checkbox-area input[type="checkbox"] {
        width: 19px;
        height: 19px;
        cursor: pointer;
    }


/* =========================================================
   MOBILE FORM
   ========================================================= */

.jkx-mobile-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}


/* =========================================================
   PRIMARY MOBILE
   LABEL + TEXTBOX SAME ROW
   ========================================================= */

.jkx-primary-mobile-row {
    display: grid;
    grid-template-columns: 225px minmax(250px, 1fr);
    align-items: center;
    gap: 10px;
    width: 100%;
}

    .jkx-primary-mobile-row .jkx-label {
        line-height: 38px;
    }


/* =========================================================
   MOBILE CAPTCHA
   LABEL + IMAGE + TEXTBOX + SEND OTP SAME ROW
   ========================================================= */

.jkx-mobile-captcha-row {
    display: grid;
    grid-template-columns: 225px 190px minmax(220px, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 4px;
    width: 100%;
}

    .jkx-mobile-captcha-row .jkx-label {
        grid-column: 1;
        line-height: 38px;
    }

    .jkx-mobile-captcha-row .jkx-captcha-image-box {
        grid-column: 2;
    }

    .jkx-mobile-captcha-row .jkx-captcha-input {
        grid-column: 3;
    }

    .jkx-mobile-captcha-row .jkx-mobile-action {
        grid-column: 4;
        display: flex;
        align-items: center;
    }

.jkx-mobile-action .jkx-btn {
    width: auto;
}


/* =========================================================
   EXISTING MOBILE OTP
   LABEL + IMAGE + TEXTBOX + BUTTON SAME ROW
   ========================================================= */

.jkx-existing-otp-row {
    display: grid;
    grid-template-columns: 120px 190px minmax(220px, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 4px;
    width: 100%;
}

    .jkx-existing-otp-row .jkx-label {
        line-height: 38px;
    }

.jkx-existing-otp-button {
    display: flex;
    align-items: center;
}

    .jkx-existing-otp-button .jkx-btn {
        width: auto;
    }


/* =========================================================
   VERIFY MOBILE OTP
   LABEL + TEXTBOX + VERIFY/RESET SAME ROW
   ========================================================= */

.jkx-verify-otp-row {
    display: grid;
    grid-template-columns: 225px minmax(250px, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 4px;
    width: 100%;
}

    .jkx-verify-otp-row .jkx-label {
        line-height: 38px;
    }

.jkx-verify-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

    .jkx-verify-buttons .jkx-btn {
        width: auto;
    }


/* =========================================================
   RECEIPT
   ========================================================= */

.jkx-receipt-grid {
    display: grid;
    grid-template-columns: 180px minmax(250px, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 4px;
    width: 100%;
}

.jkx-receipt-label {
    color: #263238;
    font-size: 14px;
    font-weight: 700;
    line-height: 38px;
}

.jkx-receipt-control {
    width: 100%;
    min-width: 0;
}

.jkx-receipt-reset {
    display: flex;
    align-items: center;
}

    .jkx-receipt-reset .jkx-btn {
        width: auto;
    }


/* =========================================================
   RECEIPT CAPTCHA
   LABEL + IMAGE + TEXTBOX + SEND OTP SAME ROW
   ========================================================= */

.jkx-receipt-captcha {
    display: grid;
    grid-template-columns: 90px 190px minmax(220px, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 4px;
    width: 100%;
}

    .jkx-receipt-captcha .jkx-label {
        grid-column: 1;
        line-height: 38px;
    }

    .jkx-receipt-captcha .jkx-captcha-image-box {
        grid-column: 2;
    }

    .jkx-receipt-captcha .jkx-captcha-input {
        grid-column: 3;
    }

.jkx-receipt-send {
    grid-column: 4;
    display: flex;
    align-items: center;
}

    .jkx-receipt-send .jkx-btn {
        width: auto;
    }


/* =========================================================
   RECEIPT OTP
   LABEL + TEXTBOX + VERIFY SAME ROW
   ========================================================= */

.jkx-receipt-otp-row {
    display: grid;
    grid-template-columns: 225px minmax(250px, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 4px;
    width: 100%;
    margin:10px;
}

    .jkx-receipt-otp-row .jkx-label {
        line-height: 38px;
    }

.jkx-receipt-verify {
    display: flex;
    align-items: center;
}

    .jkx-receipt-verify .jkx-btn {
        width: auto;
    }


/* =========================================================
   RECEIPT NOTE
   ========================================================= */

.jkx-receipt-note {
    margin-top: 18px;
    padding: 11px 14px;
    border-radius: 6px;
    background: #fff3cd;
    color: #664d03;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}


/* =========================================================
   COMMON ACTION
   ========================================================= */

.jkx-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
}


/* =========================================================
   SPACING
   ========================================================= */

.jkx-mt-10 {
    margin-top: 10px;
}

.jkx-mt-20 {
    margin-top: 20px;
}

.jkx-mb-10 {
    margin-bottom: 10px;
}

.jkx-mb-20 {
    margin-bottom: 20px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .jkx-page {
        padding: 15px;
    }

    .jkx-panel {
        padding: 16px;
    }


    /* MAIN SEARCH */

    .jkx-main-search {
        grid-template-columns: 180px minmax(200px, 1fr) auto;
    }


    /* MAIN CAPTCHA */

    .jkx-captcha-main-row {
        grid-template-columns: 80px 170px minmax(180px, 1fr) auto;
    }


    /* PRIMARY MOBILE */

    .jkx-primary-mobile-row {
        grid-template-columns: 180px minmax(200px, 1fr);
    }


    /* MOBILE CAPTCHA */

    .jkx-mobile-captcha-row {
        grid-template-columns: 180px 170px minmax(180px, 1fr) auto;
    }


    /* EXISTING MOBILE OTP */

    .jkx-existing-otp-row {
        grid-template-columns: 100px 170px minmax(180px, 1fr) auto;
    }


    /* VERIFY OTP */

    .jkx-verify-otp-row {
        grid-template-columns: 180px minmax(200px, 1fr) auto;
    }


    /* RECEIPT CAPTCHA */

    .jkx-receipt-captcha {
        grid-template-columns: 80px 170px minmax(180px, 1fr) auto;
    }


    /* RECEIPT OTP */

    .jkx-receipt-otp-row {
        grid-template-columns: 180px minmax(200px, 1fr) auto;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .jkx-page {
        width: 100%;
        margin: 0;
        padding: 8px;
    }

    .jkx-panel {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 8px;
    }


    /* PANEL TITLE */

    .jkx-panel-title {
        margin-bottom: 13px;
        font-size: 16px;
    }

    .jkx-panel-title-icon {
        width: 29px;
        height: 29px;
        font-size: 14px;
    }


    /* NOTICE */

    .jkx-notice {
        min-height: 40px;
        margin-bottom: 12px;
        padding: 6px 8px;
    }

    .jkx-notice-text {
        font-size: 12px;
    }


    /* =====================================================
       MAIN SEARCH
       ===================================================== */

    .jkx-main-search {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

        .jkx-main-search .jkx-field {
            display: block;
        }

        .jkx-main-search .jkx-label {
            display: block;
            margin-bottom: 4px;
            line-height: 20px;
        }

    .jkx-main-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 7px;
    }

        .jkx-main-buttons .jkx-btn {
            width: 100%;
        }


    /* =====================================================
       MAIN CAPTCHA
       ===================================================== */

    .jkx-captcha-main-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

        .jkx-captcha-main-row .jkx-label {
            line-height: 20px;
        }

        .jkx-captcha-main-row .jkx-captcha-image-box {
            width: 190px;
        }

        .jkx-captcha-main-row .jkx-captcha-input {
            width: 100%;
        }

        .jkx-captcha-main-row .jkx-captcha-submit {
            width: 100%;
        }

            .jkx-captcha-main-row .jkx-captcha-submit .jkx-btn {
                width: 100%;
            }


    /* =====================================================
       CAPTCHA IMAGE
       ===================================================== */

    .jkx-captcha-image-box {
        width: 190px;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
    }


    /* =====================================================
       ALL BUTTONS
       ===================================================== */

    .jkx-btn {
        width: 100%;
    }


    /* =====================================================
       SAVE PDF
       ===================================================== */

    .jkx-print-area {
        width: 100%;
    }

    .jkx-print-link {
        width: 100%;
    }


    /* =====================================================
       PRIMARY MOBILE
       ===================================================== */

    .jkx-primary-mobile-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

        .jkx-primary-mobile-row .jkx-label {
            line-height: 20px;
        }


    /* =====================================================
       MOBILE CAPTCHA
       ===================================================== */

    .jkx-mobile-captcha-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

        .jkx-mobile-captcha-row .jkx-label {
            line-height: 20px;
        }

        .jkx-mobile-captcha-row .jkx-captcha-image-box {
            width: 190px;
        }

        .jkx-mobile-captcha-row .jkx-captcha-input {
            width: 100%;
        }

    .jkx-mobile-action {
        width: 100%;
    }

        .jkx-mobile-action .jkx-btn {
            width: 100%;
        }


    /* =====================================================
       EXISTING MOBILE OTP
       ===================================================== */

    .jkx-existing-otp-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

        .jkx-existing-otp-row .jkx-label {
            line-height: 20px;
        }

        .jkx-existing-otp-row .jkx-captcha-image-box {
            width: 190px;
        }

    .jkx-existing-otp-button {
        width: 100%;
    }

        .jkx-existing-otp-button .jkx-btn {
            width: 100%;
        }


    /* =====================================================
       OTP
       ===================================================== */

    .jkx-otp-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

    .jkx-otp-label {
        width: 100%;
        line-height: 20px;
    }

    .jkx-otp-captcha-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

        .jkx-otp-captcha-row .jkx-captcha-image-box {
            width: 190px;
        }

    .jkx-otp-action {
        width: 100%;
        margin-top: 5px;
    }

        .jkx-otp-action .jkx-btn {
            width: 100%;
        }


    /* =====================================================
       VERIFY MOBILE OTP
       ===================================================== */

    .jkx-verify-otp-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

        .jkx-verify-otp-row .jkx-label {
            line-height: 20px;
        }

    .jkx-verify-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 7px;
    }

        .jkx-verify-buttons .jkx-btn {
            width: 100%;
        }


    /* =====================================================
       RECEIPT
       ===================================================== */

    .jkx-receipt-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

    .jkx-receipt-label {
        line-height: 20px;
    }

    .jkx-receipt-grid .jkx-btn {
        width: 100%;
    }


    /* =====================================================
       RECEIPT CAPTCHA
       ===================================================== */

    .jkx-receipt-captcha {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

        .jkx-receipt-captcha .jkx-label {
            line-height: 20px;
        }

        .jkx-receipt-captcha .jkx-captcha-image-box {
            width: 190px;
        }

    .jkx-receipt-send {
        width: 100%;
    }

        .jkx-receipt-send .jkx-btn {
            width: 100%;
        }


    /* =====================================================
       RECEIPT OTP
       ===================================================== */

    .jkx-receipt-otp-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

        .jkx-receipt-otp-row .jkx-label {
            line-height: 20px;
        }

    .jkx-receipt-verify {
        width: 100%;
    }

        .jkx-receipt-verify .jkx-btn {
            width: 100%;
        }


    /* =====================================================
       BILL
       ===================================================== */

    .jkx-bill-content {
        overflow-x: auto;
    }

        .jkx-bill-content table {
            min-width: 600px;
        }


    /* =====================================================
       ALERT
       ===================================================== */

    .jkx-alert-box {
        font-size: 12px;
        padding: 9px;
    }


    /* =====================================================
       PAYMENT
       ===================================================== */

    .jkx-payment-action {
        justify-content: center;
    }

        .jkx-payment-action .jkx-btn {
            width: 100%;
        }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .jkx-page {
        padding: 5px;
    }

    .jkx-panel {
        padding: 10px;
    }

    .jkx-label {
        font-size: 13px;
    }

    /*
       DO NOT CHANGE TEXTBOX HEIGHT
    */

    .jkx-control,
    .jkx-control-icon,
    .jkx-btn,
    .jkx-captcha-image-box {
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
    }

    .jkx-control {
        font-size: 13px;
    }

    .jkx-btn {
        font-size: 12px;
    }

    .jkx-panel-title {
        font-size: 15px;
    }
}


/* =========================================================
   EXTRA SMALL
   ========================================================= */

@media (max-width: 360px) {

    .jkx-page {
        padding: 4px;
    }

    .jkx-panel {
        padding: 8px;
    }

    .jkx-notice-text {
        font-size: 11px;
    }

    .jkx-label {
        font-size: 12px;
    }

    .jkx-control {
        font-size: 12px;
    }

    .jkx-btn {
        font-size: 11px;
    }
}





/* =========================================================
   RESPONSIVE PAYMENT / TAX DETAILS
   No ID or ASP.NET control changes required
   ========================================================= */

.payment-responsive-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
}

    .payment-responsive-page *,
    .payment-responsive-page *::before,
    .payment-responsive-page *::after {
        box-sizing: border-box;
    }

/* =========================
   SEARCH / DETAIL PANELS
   ========================= */

.payment-search-panel,
.payment-detail-panel {
    width: 100%;
    max-width: 100%;
}

/* =========================
   PAYMENT FIELD
   ========================= */

.payment-field {
    width: 80%;
    margin: 0 auto 20px;
}

    .payment-field label {
        display: block;
        width: 100%;
        margin-bottom: 7px;
        font-weight: 600;
        color: #333;
    }

/* =========================
   INPUT GROUP
   ========================= */

.payment-input-group {
    display: flex;
    width: 100%;
    align-items: stretch;
}

    .payment-input-group .input-group-addon {
        flex: 0 0 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .payment-input-group .form-control {
        width: 100%;
        min-width: 0;
        height: 38px;
    }

/* =========================
   BUTTONS
   ========================= */

.payment-button-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px;
}

.payment-submit-btn {
    width: 30%;
    min-width: 150px;
}

.payment-action-btn {
    min-width: 180px;
    margin: 5px;
}

/* =========================
   FIELDSET
   ========================= */

.payment-fieldset {
    width: 100%;
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
}

    .payment-fieldset legend {
        width: auto;
        padding: 5px 15px;
        margin: 0;
        border: 1px solid #ddd;
        border-radius: 4px;
        background: #fff;
        font-size: 17px;
        font-weight: 600;
        color: #333;
    }

/* =========================
   TABLE
   ========================= */

.payment-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.payment-table {
    width: 100%;
    margin-bottom: 0;
    table-layout: fixed;
    /* Table border */
    border-collapse: collapse;
    border: 1px solid #ddd;
}

    /* Table header and cells */
    .payment-table th,
    .payment-table td {
        border: 1px solid #ddd;
        padding: 9px 10px;
        vertical-align: middle;
    }

    /* Cell text wrapping */
    .payment-table td {
        word-break: normal;
        overflow-wrap: anywhere;
    }

        /* First and third columns */
        .payment-table td:nth-child(1),
        .payment-table td:nth-child(3) {
            width: 25%;
            font-weight: 600;
        }

        /* Second and fourth columns */
        .payment-table td:nth-child(2),
        .payment-table td:nth-child(4) {
            width: 25%;
        }

    /* Form controls inside table */
    .payment-table .form-control {
        width: 100%;
        max-width: 100%;
    }

/* =========================
   FORM TABLE
   ========================= */

.payment-table-form {
    table-layout: fixed;
}

    .payment-table-form td:first-child {
        width: 35%;
    }

    .payment-table-form td:last-child {
        width: 65%;
    }

/* =========================
   REQUIRED NOTE
   ========================= */

.payment-required-note {
    margin: 0;
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ff0000;
    text-decoration: underline;
}

/* =========================
   CAPTCHA
   ========================= */

.payment-captcha-image {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

    .payment-captcha-image img {
        max-width: 180px;
        width: 100%;
        height: auto;
    }

/* =========================
   OTP / CANCEL
   ========================= */

.payment-ots-cancel {
    text-align: center;
    color: red;
    padding: 12px !important;
}

.payment-otp-btn {
    width: 30%;
    min-width: 150px;
}

.payment-main-btn {
    width: 30%;
    min-width: 180px;
}

/* =========================
   GENERAL RESPONSIVE ITEMS
   ========================= */

.payment-responsive-page .img-responsive {
    max-width: 100%;
    height: auto;
}

.payment-responsive-page input,
.payment-responsive-page select,
.payment-responsive-page textarea {
    max-width: 100%;
}

.payment-responsive-page .addressbox1 {
    vertical-align: middle;
}

.payment-responsive-page .conf2 {
    vertical-align: middle;
    font-weight: 400;
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 991px) {

    .payment-responsive-page {
        padding: 12px;
    }

    .payment-field {
        width: 90%;
    }

    .payment-table {
        font-size: 14px;
    }

    .payment-submit-btn,
    .payment-main-btn {
        width: 40%;
    }

    .payment-otp-btn {
        width: 40%;
    }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {

    .payment-responsive-page {
        width: 100%;
        padding: 10px;
    }

    .payment-field {
        width: 100%;
        margin-bottom: 15px;
    }

    .payment-fieldset {
        padding: 8px;
        margin-top: 15px;
    }

        .payment-fieldset legend {
            font-size: 15px;
            padding: 5px 10px;
        }

    /* Mobile table */
    .payment-table {
        width: 100%;
        min-width: 0;
        font-size: 13px;
        table-layout: auto;
        /* Keep table border */
        border-collapse: collapse;
        border: 1px solid #ddd;
    }

        /*
       Convert table into responsive blocks
    */
        .payment-table,
        .payment-table tbody,
        .payment-table tr,
        .payment-table td {
            display: block;
            width: 100% !important;
        }

            /* Each row becomes a bordered card */
            .payment-table tr {
                margin-bottom: 10px;
                border: 1px solid #ddd;
                border-radius: 5px;
                overflow: hidden;
            }

            /* Mobile table cells */
            .payment-table td {
                border: 1px solid #ddd;
                padding: 9px 10px;
            }

                /* Label cells */
                .payment-table td:nth-child(1),
                .payment-table td:nth-child(3) {
                    background: #f5f7f9;
                    font-weight: 700;
                    color: #333;
                }

                /* Value cells */
                .payment-table td:nth-child(2),
                .payment-table td:nth-child(4) {
                    background: #fff;
                }

                /* Colspan cells */
                .payment-table td[colspan] {
                    width: 100% !important;
                }

    /* Form table */
    .payment-table-form td:first-child,
    .payment-table-form td:last-child {
        width: 100% !important;
    }

    /* Input group */
    .payment-input-group {
        width: 100%;
    }

        .payment-input-group .input-group-addon {
            flex: 0 0 42px;
        }

        .payment-input-group .form-control {
            height: 38px;
            font-size: 14px;
        }

    /* Buttons */
    .payment-submit-btn,
    .payment-main-btn,
    .payment-otp-btn {
        width: 100%;
        min-width: 0;
        margin: 5px 0;
    }

    .payment-action-btn {
        width: 100%;
        min-width: 0;
        margin: 4px 0;
    }

    .payment-radio-cell {
        text-align: center;
    }

        .payment-radio-cell .jkx-control-wrap,
        .payment-radio-cell table,
        .payment-radio-cell td {
            border: none !important;
            box-shadow: none !important;
        }



    .payment-top-buttons {
        display: block;
    }

    .payment-button-row {
        text-align: center !important;
        border: none !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 5px;
    }

    /* CAPTCHA */
    .payment-captcha-image {
        justify-content: flex-start;
    }

        .payment-captcha-image img {
            max-width: 160px;
        }
}

/* =========================
   SMALL MOBILE
   ========================= */

@media (max-width: 480px) {

    .payment-responsive-page {
        padding: 6px;
    }

    .payment-fieldset {
        padding: 5px;
        border-radius: 4px;
    }

        .payment-fieldset legend {
            font-size: 14px;
            padding: 4px 8px;
        }

    .payment-table {
        font-size: 12px;
    }

        .payment-table td {
            padding: 8px;
            border: 1px solid #ddd;
        }

    .payment-input-group .input-group-addon {
        flex: 0 0 38px;
        padding: 5px;
    }

    .payment-input-group .form-control {
        height: 36px;
        font-size: 13px;
    }

    .payment-captcha-image img {
        max-width: 140px;
    }

    .payment-responsive-page .btn {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* =========================
   EXTRA SMALL MOBILE
   ========================= */

@media (max-width: 360px) {

    .payment-responsive-page {
        padding: 4px;
    }

    .payment-fieldset {
        padding: 3px;
    }

    .payment-table {
        font-size: 11px;
    }

        .payment-table td {
            padding: 7px;
        }

    .payment-fieldset legend {
        font-size: 13px;
    }
}

.jkx-control input[type="radio"] {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
/*online bill print**/


/* =========================================
       NORMAL SCREEN
       ========================================= */

#myDiv,
#myDiv1 {
    box-sizing: border-box;
}


/* =========================================
       PRINT / SAVE AS PDF
       ========================================= */

@media print {

    /* Remove browser/page scrolling */
    html,
    body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: auto !important;
        overflow: hidden !important;
    }

        /* Hide everything on the page */
        body * {
            visibility: hidden !important;
        }

    /* Show only myDiv */
    #myDiv,
    #myDiv * {
        visibility: visible !important;
    }

    /* Print area */
    #myDiv {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        box-sizing: border-box !important;
    }

    /* Show only myDiv1 when required */
    #myDiv1,
    #myDiv1 * {
        visibility: visible !important;
    }

    #myDiv1 {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        box-sizing: border-box !important;
    }

        /* Remove scrolling from child elements */
        #myDiv *,
        #myDiv1 * {
            overflow: visible !important;
        }

        /* Prevent table from creating unnecessary horizontal scrolling */
        #myDiv table,
        #myDiv1 table {
            max-width: 100% !important;
            overflow: visible !important;
        }

    /* Prevent links/buttons from appearing in print if required */
    .no-print {
        display: none !important;
    }

    /* Prevent unnecessary page margins */
    @page {
        margin: 10mm;
    }
}