.gln_sms_credit_settings {
    .container__radio .radio:after {
        left: inherit !important;
        top: auto !important;
    }

    .table__wrapper table {
        min-width: 100px !important;
    }

    /* Table */

    table {
        width: 100%;
        border-collapse: collapse;
    }

    th,
    td {
        padding: 12px !important;
        border-bottom: 1px solid #eee;
        text-align: left;
        font-size: 14px;
    }

    th {
        background: #fafafa;
    }

    th.credit_per_workroom {
        width: 280px;
        text-wrap: auto;
    }

    .add-new-card-div a {
        font-size: 14px;
    }

    .config-card {
        display: flex;
        flex-direction: column;
    }

    .config-footer {
        margin-top: auto;
        /* padding-top: 20px; */
    }

    .red-border {
        border: 1px solid red !important;
    }

    .th_payment_card {
        min-width: 190px;
    }

    #gln_sms_credit_settings_overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.7);
        z-index: 1000;
        cursor: not-allowed;
    }

    .overlay-active {
        display: block !important;
        pointer-events: auto !important;
    }

    .overlay-inactive {
        display: none !important;
        pointer-events: none !important;
    }
}

#modal_setup_stripe_payment {
    .gln-modal-body {
        min-height: 90px;
        position: relative;
    }

    #gln_card_form {
        margin-top: 15px;
        /* display: flex; */
    }

    #gln_card_element {
        width: 100%;
        display: block;
        /* margin: auto; */
        margin-top: 25px;
        border: 1px solid #D1D5DB;
        padding: 15px;
        margin-bottom: 10px;
        border-radius: 8px;
        background-color: rgb(255, 255, 255) !important;
        height: 50px;
    }

    #gln_cardholder_name {
        height: 50px !important;
        margin-bottom: 0px !important;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px;
}

h1 {
    margin-bottom: 5px;
}

.subtitle {
    color: #777;
    margin-bottom: 25px;
}

/* Cards */

.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.card-title {
    font-weight: bold;
    margin-bottom: 15px;
}

/* Grid */

.grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

/* Credit Bar */

.credit-bar {
    height: 16px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 12px 0;
}

.credit-bar-fill {
    /* width: 65%; */
    height: 100%;
    /* background: #4CAF50; */
    background: #1C45C2;
}

/* Buttons */

button {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 10px;
}

.btn-primary {
    background: #4CAF50;
    color: #fff;
}

.btn-secondary {
    background: #e0e0e0;
}

/* Inputs */

input,
select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* Chart placeholder */

.chart {
    height: 180px;
    background: repeating-linear-gradient(to top,
            #eee,
            #eee 1px,
            transparent 1px,
            transparent 40px);
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 10px;
}

.bar {
    width: 20px;
    background: #888;
}



/* Filters */

.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

/* Responsive */

@media(max-width:900px) {

    .grid {
        grid-template-columns: 1fr;
    }

    .topbar {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.sms_credit_cards_list_container {
    /* padding-bottom: 1px; */

    .sms_credit_card {
        display: flex;
        justify-content: flex-start;
        margin: 12px 0;
    }



    .card_number {
        min-width: 200px;
        font-size: 14px;
    }

    .card_select_input {
        display: flex;
        column-gap: 5px;
        align-items: center;
        justify-content: flex-start;
    }

    .card_select_input input {
        cursor: pointer;
        margin: 0;
        padding: 0;
    }
}

.distribution-type-input-container {
    display: flex;
    column-gap: 10px;
    align-items: center;
}

.distribution-type-input-div {
    display: flex;
    column-gap: 20px;
    align-items: center;
}

.default-payment-card-label {
    padding: 1px 6px;
    border-radius: 5px;
    font-size: 10px;
    background-color: #E9ECFB;
    color: #1C45C2 !important;
}

p.input-label {
    font-size: 15px;
}

.input-radio-label {
    font-size: 14px;
    padding-left: 10px;
}

#modal_add_more_sms_credits {
    z-index: 1120 !important;
}

#modal_setup_stripe_payment {
    z-index: 2112 !important;
}

.sms_credit_transaction_table {
    span.text-sms_old_new {
        color: #6B7280;
        width: 34px;
        display: inline-block;
        font-size: 13px;
    }

    .text-amt_symbol {
        color: #6B7280;
        font-size: 13px;
    }
}

.sms_credit_transaction_filters {
    display: flex;
    align-items: center;
    column-gap: 15px;

    #filter_sms_credit_txn_type {
        height: 43px;
    }
}