
@charset "utf-8";
/**css reset*/

html, body, div, input, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    transition: all 0.4s ease-in-out;
}

body {
    direction: rtl;
    font-family: IRANSans;
    font-size: 10pt;
    line-height: 20pt;
    box-sizing: border-box;
    cursor: default;
    color: #012970;
    background-color: #F6F9FF;
}

hr {
    border: 0;
    height: 1px;
    margin: 10px 0 10px 0;
    box-sizing: content-box;
}

a {
    cursor: pointer;
    text-decoration: none;
}

i {
    vertical-align: middle;
}

.clear {
    clear: both;
}

.container {
    width: calc(100% - 100px);
    max-width: 1260px;
    margin: auto;
}

.main_holder {
    /*width: calc(100% - 220px);*/
    width: calc(100% - 208px);
    vertical-align: top;
    float: left;
    margin-top: 20px;
    padding: 0 30px;
    box-sizing: border-box;
}

.main_holder .section_title {
    margin: 5px 0 28px 0;
    padding: 0 0 8px;
    font-weight: bold;
    font-size: 14pt;
    color: #012970;
    border-bottom: 2px solid #012970;
}

.main_panel_holder, .main_panel_box {
    vertical-align: top;
    display: inline-block;
    border-radius: 15px;
    margin-bottom: 30px;
}

.main_panel_holder {
    width: 100%;
    min-height: 72vh;
    /*padding: 15px 20px 0;*/
}

.main_panel_box {
    background: #FFFFFF;
    box-shadow: 0px 0px 30px 5px #0129701a;
    padding: 10px 20px 20px;
    width: 100%;
    font-size: 10pt;
    height: 90%;
}

.main_panel_box .status_title, .section .status_title {
    color: #012970;
    font-size: 15px;
    border-bottom: 1px solid rgba(1, 41, 112, 0.23);
    padding-bottom: 5px;
    margin-bottom: 10px;
    text-align: right;
}

.main_panel_box .status_title i, .section .status_title i {
    font-size: 16px;
    padding-left: 5px;
}

.main_panel_box .status_title h1, .section .status_title h1 {
    display: inline-block;
}

.main_panel_box .dataTable_container, .section .dataTable_container {
    text-align: right;
    display: flex;
    flex-direction: column;
    color: #012970;
    max-height: 70vh;
}

.main_panel_box .dataTable_container th, .section .dataTable_container th {
    text-align: right;
    font-weight: normal;
    padding-bottom: 10px;
}

.main_panel_box .dataTable_container tr:last-child th, .section .dataTable_container tr:last-child th {
    padding-bottom: 0;
}

.section .dataTable_container td {
    text-align: left;
}

.main_panel_box .dataTable_container td {
    text-align: center;
}

.main_panel_box .dataList_container {
    color: #012970;
    padding: 0 20px;
}

.main_panel_box .dataList_container li {
    margin-top: 15px;
    padding-right: 5px;
}

.main_panel_holder_flex #system_status, .main_panel_holder_flex #visit_count2,
.main_panel_holder_flex #download_count {
    flex: 0 0 auto;
    width: 27%;
}

/* popup */
.section .popup_holderr {
    box-shadow: 0px 0px 30px 5px #0129701a;
    border-radius: 15px;
    margin-bottom: 30px;
    padding: 15px 25px 20px;
    font-size: 10pt;
    /*visibility: hidden;*/
    width: 420px;
    color: #555;


    top: 50%;
    left: 50%;
    margin-left: -25%;
    margin-top: -50px;
    /* margin-left: -50px; */
    /* width: 200px; */
    /* height: 200px; */
}

.popup_holder {
    text-align: center;
    background: rgba(100, 100, 100, 0.6);
    position: fixed;
    display: none;
    z-index: 9999;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    transition: all 0.4s;
}

.popup_holder .wrapper {
    max-width: 600px;
    width: 70%;
    position: fixed;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    background: #FFFFFF;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.4);
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

/* .popup_holder.inner_popup_holder {
    border-radius: 10px;
} */

.section .popup_holder .btn-group #deleteDist_btn {
    background-color: #ee3638;
}

.section .btn-group .cancel_btn {
    background-color: #777777;
}

.section .status_title .cancel_btn_times {
    all: unset;
    cursor: pointer;
    float: left;
    width: 13px;
    overflow: hidden;
}

.section .popup_holder .dataTable_container i {
    color: #38bc50;
    font-size: 32px;
    text-align: center;
    margin: 10px 0;
}

.section .popup_holder .dataTable_container span {
    text-align: center;
}

.section .popup_holder.inner_popup_holder .dataTable_container th {
    font-weight: bold;
}

.section .popup_holder.inner_popup_holder .dataTable_container td,
.section .popup_holder.inner_popup_holder .dataTable_container th {
    text-align: center;
}

.section .popup_holder.inner_popup_holder .dataTable_container td button {
    text-align: center;
}

.section .popup_holder.inner_popup_holder .dataTable_container tr td:first-child,
.section .popup_holder.inner_popup_holder .dataTable_container tr th:first-child {
    text-align: right;
}

.section .popup_holder.inner_popup_holder .dataTable_container tr td:last-child,
.section .popup_holder.inner_popup_holder .dataTable_container tr th:last-child {
    text-align: left;
}

.section.distributions .popup_holder.inner_popup_holder .dataTable_container button {
    margin: 25px 0 10px;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.main_holder .copy_right {
    font-family: inherit;
    color: #012970;
    text-align: left;
    padding: 8px;
    /* margin: 0 0 20px; */
    border-top: 1px solid #01297029;
}

.toggle-sidebar-btn-responsive {
    margin-left: 10px;
}

.toggle-sidebar-btn-responsive i {
    font-size: 21px;
    font-weight: 400;
    color: #012970;
    display: none;
}

.toggle-sidebar-btn {
    width: 28px;
    /*height: 28px;*/
    cursor: pointer;
    color: #012970;
    position: absolute;
    left: 0px;
    bottom: 85px;
}

.toggle-sidebar-btn i {
    color: #F6F9FF;
    font-size: 23px;
    justify-content: center;
    align-self: center;
    margin: auto;
    padding: 0;
}

/*** toggle side panel ***/
.side_holder a:not(:first-child) {
    display: none;
}

.side_holder a.toggle-sidebar-btn {
    /*float: right;*/
    display: block;
    padding: 2px;
    background-color: #012970;
    border-radius: 50%;
}

.side_holder.responsive a.toggle-sidebar-btn {
    padding: 4px 10px 4px 17px;
    width: 100%;
}

.side_holder.responsive .toggle-sidebar-btn i {
    color: #F6F9FF;
    /*font-weight: 400;*/
}

.side_holder.responsive {
    width: 60px;
    animation: 1s ease-in-out;
}

.side_holder.responsive .toggle-sidebar-btn {
    position: absolute;
    /*right: 0;*/
    /*top: 0;*/
    /*left: 15px;*/
    border-radius: unset;
}

.side_holder.responsive a {
    float: none;
    /*display: block;*/
    text-align: left;
}

.side_holder.responsive .top_side p,
.side_holder.responsive span {
    display: none;
    /*transition: 2s ease-in-out;*/
}

.side_holder.responsive .top_side img {
    width: 60px;
    object-fit: contain;
    padding: 20px 10px;
}

.toggle-sidebar .main_holder {
    width: calc(100% - 60px);
}


/*** packages + programming languages pages ***/
.main_panel_holder #home {
    text-align: center;
    color: #012970;
    padding: 16px 40px;
}

.main_panel_holder #home tr {
    color: #012970;
}

.main_panel_holder #home tbody tr {
    border-bottom: 1px solid rgba(1, 41, 112, 0.15);
}

.main_panel_holder #home tbody tr:last-child {
    border-bottom: none;
}

.main_panel_holder #home tbody th {
    font-weight: normal;
}

.main_panel_holder #home thead tr {
    border-bottom: 2px solid #012970;
}

.main_panel_holder .table tr button {
    all: unset;
    border-radius: 20px;
    background-color: #012970;
    color: #ffffff;
    padding: 0 30px;
    font-size: 12px;
    box-shadow: 0px 0px 20px 5px rgba(1, 41, 112, 0.1);
}

.main_panel_holder .nav-tabs {
    border: none;
}

.main_panel_holder .nav-tabs .nav-link {
    border: none;
    color: rgba(1, 41, 112, 0.38);
    font-weight: bold;
}

.main_panel_holder .nav-tabs .nav-link.active {
    color: #012970;
}

/* popup */
.btn-group {
    text-align: center;
}

.form-control {
    font-size: 0.8rem;
}


/** USER REQUEST PAGE **/
.text-left {
    text-align: left;
    font-size: 12px;
}

.space-items {
    justify-content: space-around;
}

.section.user_requests {
    margin-top: 125px;
    transition: none;
}

.section.user_requests .container-fluid {
    width: 56%;
}

.section.user_requests input::placeholder {
    color: rgba(0, 0, 0, .32);
}

.section.user_requests.main_panel_holder {
    padding: 15px 0;
}

.section.user_requests .col-lg-3 label {
    text-align: right;
}

.section.user_requests .nav-tabs .nav-link {
    border: none;
    color: rgba(1, 41, 112, 0.38);
    font-weight: bold;
    transition: none;
}

.section.user_requests .nav-tabs .nav-link.active {
    color: #012970;
    border: 1px solid #012970;
    border-bottom: none;
    border-radius: 15px 15px 0 0;
    box-shadow: 0px 3px 0px -1.5px white;
    position: relative;
    z-index: 2;
}

.section.user_requests .main_panel_box {
    width: 100%;
    padding: 10px 35px 30px;
    border-radius: 15px;
    margin: 0 auto;
    transition: none;
    border: 2px solid #012970;
    /* border-top: none; */
    box-shadow: 0px 0px 0px 2px white;
}

.user_requests hr {
    border-top: 2px solid #012970;
    margin: 20px 0;
}

.section.user_requests .main_panel_box#new_distribution {
    border-top-right-radius: 0;
}

.section.user_requests .main_panel_box#new_package {
    border-top-left-radius: 0;
}

.user_requests .user_requests_btn {
    text-align: left;
    margin-top: 1rem;
}

.user_requests .user_requests_btn button {
    text-align: center;
}

.section.user_requests .tab-content .status_title {
    border: none;
    margin-bottom: 20px;
    margin-top: 15px;
    font-weight: 500;
}

.section.user_requests .status_title h1 {
    font-weight: bold;
}

.section.user_requests .popup_holder .dataTable_container i {
    color: #012970;
}

.section.user_requests .popup_holder .enter_phone_text {
    margin-bottom: 10px;
}

.section.user_requests .tab-content {
    text-align: -webkit-center;
}

.section.user_requests .nav-tabs {
    /* position: absolute; */
    /* right: 137px; */
    justify-content: center;
}

.confirm_message {
    font-family: inherit;
    font-size: 13px;
    color: #920a0a;
    margin-right: 15px;
    line-height: 45px;
}

button {
    border-width: 0;
    border-radius: 20px;
    background-color: #012970;
    color: #ffffff;
    padding: 5px 22px;
    min-width: 70px;
    font-size: 12px;
    cursor: pointer;
    position: relative;
    display: inline-block;
    text-align: center;
    box-shadow: 0px 3px 10px 3px rgba(1, 41, 112, 0.06);
}

.form-control:focus {
    box-shadow: none;
}

/************RESPONSIVE************/

@media (max-width: 1100px) {

}

@media (max-width: 992px) {

}

@media screen and (max-width: 700px) {

}


@media screen and (max-width: 500px) {
    .container {
        width: calc(100% - 50px);
    }

    .section.user_requests .main_panel_box {
        width: 100%;
    }
}

footer #contact p {
    margin-right: 50px;
}

.acc-btn {
    background: #F6F8FE;
    color: #0F2F63;
    padding: 12px 40px 12px 12px;
    font-weight: bold;
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: none !important;
    border: none;
}
/*آیکن در حالت بسته*/
.acc-btn .icon::before {
    content: "\f107"; /* فلش پایین */
    font-family: "FontAwesome";
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s;
}
/* وقتی باز شد */
.acc-btn[aria-expanded="true"] .icon::before {
    content: "\f106"; /* فلش بالا */
}

.card-header {
    background: #f8f9fa;
    padding: 0;
}

#accordion-distro,
#accordion-language,
#accordion-package {
    width: 100%;
}

#accordion-distro .card,
#accordion-distro .card-header,
#accordion-distro .card-body,
#accordion-language .card,
#accordion-language .card-header,
#accordion-language .card-body,
#accordion-package .card,
#accordion-package .card-header,
#accordion-package .card-body {
    border: none !important;
    box-shadow: none !important;
}

#accordion-distro .card-body,
#accordion-language .card-body,
#accordion-package .card-body {
    padding: 1.25rem;
    text-align: right;
}

#accordion .card-header,
#accordion-language .card-header,
#accordion-package .card-header {
    background: #f8f9fa;
    padding: 0;
    box-shadow: none !important;
}

/* فاصله بین آیتم‌ها */
#accordion-distro .card,
#accordion-language .card,
#accordion-package .card {
    margin-bottom: 10px;
    background: transparent;
}

#accordion-distro label,
#accordion-language label,
#accordion-package label {
    color: #0F2F63;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    margin-top: 5px;
    display: block;
}

#accordion-distro, #accordion-language, #accordion-package {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}

label {
    color: #0F2F63;
    font-size: 14px;
    font-weight: 500;
}

.section.user_requests .tab-content .form-control {
    text-align: right;
    color: #0F2F63;
    border: 1px solid #01579B;
    border-radius: 8px;
    /*padding: 10px 12px;*/
}

.section.user_requests .tab-content .form-control:focus {
    border-color: #01579B;
    box-shadow: 0 0 0 2px rgba(1, 87, 155, 0.15);
}

.section.user_requests .tab-content .form-control::placeholder {
    text-align: right;
    color: #0F2F63;
    opacity: 0.5;
    font-size: 10px;
}

#accordion-distro .btn.btn-primary,
#accordion-language .btn.btn-primary,
#accordion-package .btn.btn-primary,
#new_language .btn.btn-primary {
    width: 180px;
    background-color: #01579B;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    padding: 8px 0;
    display: block;
    margin-top: 8px;
    margin-right: auto; /* چسبیده به چپ */
    text-align: center;
}
.icon-btn {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    background-color: #01579B;
    color: white;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.icon-btn:hover {
    background-color: #013a63;
}
.icon-btn i {
    display: flex;
}
.add-package-btn {
    width: 120px;
    background-color: #01579B;
    color: white;
    border-radius: 10px;
    font-size: 16px;
    padding: 8px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    border: none;
    font-weight: 400;
    min-width: 140px;
    justify-content: center;
}
.add-package-btn i {
    display: flex;
}
/*.add-package-btn i {*/
/*    font-size: 12px;*/
/*}*/
.add-package-btn i, .add-package-btn .fa {
    font-size: 14px;
}
.add-package-btn:hover {
    background-color: #013a63;
}
.package-row {
    margin-bottom: 15px;
}
/* استایل دکمه‌ی  - */
.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 0;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    padding-top:32px;
}
.icon-plus {
    background-color: #01579B;
    color: white;
}
.icon-plus:hover {
    background-color: #013a63;
}
.icon-minus {
    background-color: #dc3545;
    color: white;
}
.icon-minus:hover {
    background-color: #bb2d3b;
}
.package-header-row{
    display:flex;
    align-items:flex-start;
}

.add-btn-wrapper {
    display: flex;
    align-items: flex-start;
    padding-top:32px;
    height:auto;
}
.add-btn-wrapper button {
    margin-bottom: 0;
}
.package-row {
    margin-bottom: 15px;
}

.tab-content input.form-control {
    height: 38px; /* یا هر ارتفاع ثابت */
}
/* هم‌تراز کردن دکمه افزودن بسته با فیلد نام توزیع */
.row.align-items-end .col-6:first-child {
    display: flex;
    flex-direction: column;
}
.row.align-items-end .col-6:last-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* ================== FIX TABS ================== */
.section.user_requests .nav-tabs {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.section.user_requests .nav-tabs .nav-link {
    margin-bottom: -1px;
    border-radius: 10px 10px 0 0 !important;
}

.section.user_requests .nav-tabs .nav-link.active {
    background-color: #fff;
    border: 2px solid #012970;
    border-bottom: none !important;
    z-index: 2;
}
.tab-pane {
    height: auto !important;
    min-height: auto !important;
}

/* باکس زیر تب */
.main_panel_box {
    border: 2px solid #012970;
    border-radius: 15px;
    background: #fff;
    position: relative;
    top: -1px;
    height: auto !important;
    min-height: auto;
    overflow: visible !important;
    display: block !important;
}

/* جلوگیری از بریدگی */
.tab-content {
    overflow: visible !important;
}

/* حذف هرگونه محدودیت ارتفاع */
.section.user_requests .tab-pane,
.section.user_requests .tab-content {
    max-height: none !important;
    min-height: auto !important;
}

/* ================== FIX HEADER OVERLAP ================== */
.section.user_requests {
    margin-top: 140px !important;
}

/* ================== ACCORDION FIX ================== */
/*.collapse {*/
/*    transition: height 0.35s ease;*/
/*}*/
.card {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}

.card-body {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}

.action-col{
    display:flex;
    justify-content:center;
    align-items:flex-start;
}
/* ================== TABLET ================== */
@media screen and (max-width: 1024px) {

    .section.user_requests .container-fluid {
        width: 85% !important;
        padding: 0 15px;
    }

    .section.user_requests .main_panel_box {
        padding: 12px !important;
    }

    .section.user_requests .tab-content .form-control {
        font-size: 13px !important;
        height: 35px !important;
        padding: 6px 10px !important;
    }

    .section.user_requests label {
        font-size: 13px !important;
        margin-bottom: 3px !important;
        display: block !important;
    }

    .section.user_requests .row .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 12px !important;
    }

    .section.user_requests .row {
        margin: 0 -8px !important;
    }

    .section.user_requests .row > div {
        padding: 0 8px !important;
    }

    .section.user_requests .btn-primary {
        width: 40% !important;
        margin-top: 0px;
        margin-bottom: 8px;
        font-size: 12px !important;
        padding: 6px 10px !important;
    }

    .section.user_requests {
        margin-top: 120px !important;
    }

    .add-package-btn {
        padding: 8px 16px !important;
        font-size: 13px !important;
        justify-content: center;
    }

    .action-buttons {
        margin-top: 0 !important;
        justify-content: flex-start !important;
        gap: 6px !important;
    }

    .icon-btn {
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        border-radius: 6px !important;
        font-size: 14px !important;
    }

    .icon-btn:hover,
    button.icon-btn:hover,
    .action-buttons .icon-btn:hover,
    .icon-btn:focus,
    button.icon-btn:focus,
    .action-buttons .icon-btn:focus {
        border-radius: 6px !important;
        width: 36px !important;
        height: 36px !important;
    }
}

/* ================== MOBILE (576px و کمتر) ================== */
@media screen and (max-width: 576px) {

    .section.user_requests .row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin: 0 -8px!important;
    }

    .section.user_requests .row > div {
        width: calc(32% - 4px) !important;
        max-width: calc(32% - 4px) !important;
        flex: 0 0 auto !important;
        margin-bottom: 0 !important;
        padding: 0 4px !important;
    }

    .section.user_requests .row .col-6 {
        flex: 0 0 32%;
        max-width: 32%;
        margin-bottom: 12px !important;
    }

    .section.user_requests .tab-content .form-control {
        height: 35px !important;
        font-size: 13px !important;
        padding: 6px 6px !important;
    }

    .section.user_requests label {
        font-size: 13px !important;
        margin-bottom: 1px !important;
        display: block !important;
    }

    .add-package-btn {
        width: auto !important;
        white-space: nowrap !important;
        font-size: 11px !important;
        padding: 5px 10px !important;
    }

    .action-buttons {
        margin-top: 0 !important;
        justify-content: flex-start !important;
        gap: 2px !important;
    }

    .icon-btn {
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        border-radius: 6px !important;
        font-size: 14px !important;
    }

    .icon-btn:hover,
    button.icon-btn:hover,
    .action-buttons .icon-btn:hover,
    .icon-btn:focus,
    button.icon-btn:focus,
    .action-buttons .icon-btn:focus {
        border-radius: 6px !important;
        width: 36px !important;
        height: 36px !important;
    }

    .section.user_requests .btn-primary {
        width: 32% !important;
        min-width: 130px !important;
        margin-top: 0 !important;
        margin-bottom: 8px !important;
        font-size: 12px !important;
        padding: 6px 10px !important;
    }

    .section.user_requests .container-fluid {
        width: 95% !important;
        padding: 0 10px !important;
    }

    .section.user_requests .main_panel_box {
        padding: 12px !important;
    }

    .card {
        margin-bottom: 8px !important;
    }

    .card-body {
        padding: 0.75rem !important;
    }

    .mb-3 {
        margin-bottom: 8px !important;
    }

    .section.user_requests .nav-tabs {
        gap: 4px !important;
        margin-bottom: 0 !important;
    }

    .section.user_requests .nav-tabs .nav-link {
        font-size: 9px !important;
        padding: 6px 10px !important;
    }

    .add-btn-wrapper {
        margin-top: 0 !important;
        height: auto !important;
    }
}

/* ================== SMALL MOBILE (425px و کمتر) ================== */
@media screen and (max-width: 425px) {

    .section.user_requests .container-fluid {
        width: 100% !important;
        padding: 0 8px !important;
    }

    .section.user_requests .main_panel_box {
        padding: 12px !important;
    }

    .section.user_requests .row {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin: 0 !important;
    }

    .section.user_requests .row > div {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }

    .section.user_requests .row .col-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 0 !important;
    }

    .section.user_requests .nav-tabs {
        gap: 4px !important;
    }

    .section.user_requests .nav-tabs .nav-link {
        font-size: 9px !important;
        padding: 5px 6px !important;
    }

    .section.user_requests .tab-content .form-control {
        height: 44px !important;
        font-size: 13px !important;
        padding: 8px 10px !important;
    }

    .section.user_requests label {
        font-size: 12px !important;
    }

    .section.user_requests .btn-primary {
        font-size: 13px !important;
        padding: 8px 0 !important;
        width: 100% !important;
    }

    /* دکمه‌های + و - به شکل مربع */
    .icon-btn,
    button.icon-btn,
    .action-buttons .icon-btn {
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        border-radius: 6px !important;
        font-size: 18px !important;
        font-weight: bold !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        line-height: 1 !important;
        border: none !important;
        box-shadow: none !important;
    }

    .icon-btn:hover,
    button.icon-btn:hover,
    .action-buttons .icon-btn:hover,
    .icon-btn:focus,
    button.icon-btn:focus,
    .action-buttons .icon-btn:focus {
        border-radius: 6px !important;
        width: 36px !important;
        height: 36px !important;
    }

    .action-buttons {
        gap: 10px !important;
        padding-top:5px;
        padding-bottom:15px;
        margin-top: 0 !important;
        justify-content: flex-start !important;
    }

    .add-package-btn {
        padding: 10px 14px !important;
        font-size: 13px !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .add-btn-wrapper{
        padding-top:5px;
        padding-bottom:15px;
    }

    .action-col {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 4px 0 !important;
    }

    .main_panel_box,
    .tab-pane,
    .card,
    .card-body {
        height: auto !important;
        min-height: auto !important;
    }

    .card-body {
        padding: 0.75rem !important;
    }

    .mb-3 {
        margin-bottom: 0.5rem !important;
    }
}

/* ================== EXTRA SMALL (375px و کمتر) - دکمه‌های بسیار کوچک مربعی ================== */
@media screen and (max-width: 375px) {

    .section.user_requests .container-fluid {
        width: 100% !important;
        padding: 0 !important;
    }

    .section.user_requests .main_panel_box {
        padding: 8px !important;
    }

    .section.user_requests .tab-content .form-control {
        height: 40px !important;
        font-size: 12px !important;
        padding: 6px 8px !important;
    }

    .section.user_requests label {
        font-size: 11px !important;
        margin-bottom: 4px !important;
    }

    .section.user_requests .nav-tabs .nav-link {
        font-size: 8px !important;
        padding: 4px 2px !important;
        text-align: center !important;
    }

    .section.user_requests .nav-tabs {
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .section.user_requests .btn-primary {
        padding: 6px 0 !important;
        font-size: 11px !important;
        width: 100% !important;
        margin-top: 8px !important;
    }

    /* دکمه‌های + و - مربعی کوچک */
    .icon-btn,
    button.icon-btn,
    .action-buttons .icon-btn {
        width: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        border-radius: 4px !important;
        font-size: 16px !important;
        font-weight: bold !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        border: none !important;
    }

    .icon-btn:hover,
    button.icon-btn:hover,
    .action-buttons .icon-btn:hover {
        border-radius: 4px !important;
    }

    .action-buttons {
        gap: 6px !important;
        margin-top: 0 !important;
        justify-content: flex-start !important;
    }

    .add-package-btn {
        width: 100% !important;
        justify-content: center !important;
        font-size: 11px !important;
        padding: 6px 10px !important;
        min-width: unset !important;
    }

    .action-col {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 2px 0 !important;
    }

    .section.user_requests .row {
        gap: 8px !important;
        margin: 0 !important;
    }

    .section.user_requests .row > div {
        padding: 0 !important;
    }

    .card-body {
        padding: 0.5rem !important;
    }

    .mb-3 {
        margin-bottom: 0.5rem !important;
    }
}


/* ================== MEDIUM MOBILE (بین 576 و 768) ================== */
@media screen and (min-width: 576px) and (max-width: 768px) {

    .section.user_requests .row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin: 0 -8px!important;
    }

    .section.user_requests .row > div {
        width: calc(32% - 4px) !important;
        max-width: calc(32% - 4px) !important;
        flex: 0 0 auto !important;
        margin-bottom: 0 !important;
        padding: 0 4px !important;
    }

    .section.user_requests .row .col-6 {
        flex: 0 0 32%;
        max-width: 32%;
        margin-bottom: 12px !important;
    }

    .section.user_requests .tab-content .form-control {
        height: 35px !important;
        font-size: 13px !important;
        padding: 6px 6px !important;
    }

    .section.user_requests label {
        font-size: 13px !important;
        margin-bottom: 1px !important;
        display: block !important;
    }

    .add-package-btn {
        width: auto !important;
        white-space: nowrap !important;
        font-size: 11px !important;
        padding: 5px 10px !important;
    }

    .action-buttons {
        margin-top: 0 !important;
        justify-content: flex-start !important;
        gap: 2px !important;
    }

    .icon-btn {
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        border-radius: 6px !important;
        font-size: 14px !important;
    }

    .icon-btn:hover,
    button.icon-btn:hover,
    .action-buttons .icon-btn:hover,
    .icon-btn:focus,
    button.icon-btn:focus,
    .action-buttons .icon-btn:focus {
        border-radius: 6px !important;
        width: 36px !important;
        height: 36px !important;
    }

    .section.user_requests .btn-primary {
        width: 32% !important;
        min-width: 130px !important;
        margin-top: 0px !important;
        margin-bottom: 8px !important;
        font-size: 12px !important;
        padding: 6px 10px !important;
    }

    .section.user_requests .container-fluid {
        width: 95% !important;
        padding: 0 10px !important;
    }

    .section.user_requests .main_panel_box {
        padding: 12px !important;
    }

    .card {
        margin-bottom: 8px !important;
    }

    .card-body {
        padding: 0.75rem !important;
    }

    .mb-3 {
        margin-bottom: 8px !important;
    }

    .section.user_requests .nav-tabs .nav-link {
        font-size: 11px !important;
        padding: 6px 12px !important;
    }

    .section.user_requests .nav-tabs {
        gap: 4px !important;
        margin-bottom: 0 !important;
    }

    .add-btn-wrapper {
        margin-top: 0 !important;
        height: auto !important;
    }
}




/* ================== تنظیمات عمومی (برای همه سایزها) ================== */

.section.user_requests .tab-content .tab-pane {
    display: none !important;
}

.section.user_requests .tab-content .tab-pane.active {
    display: block !important;
}

.section.user_requests .tab-content .form-control:focus {
    transform: none !important;
    transition: none !important;
}

.add-package-btn {
    width: auto !important;
    min-width: 100px !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    padding: 6px 12px !important;
}

.package-row-container {
    display:flex;
    align-items:flex-start !important;
}

.section.user_requests .main_panel_box {
    padding: 12px !important;
}

.section.user_requests .tab-content .form-control {
    font-size: 13px !important;
    height: 35px !important;
    padding: 6px 10px !important;
}

.section.user_requests label {
    font-size: 13px !important;
    margin-bottom: 3px !important;
    display: block !important;
}

.section.user_requests .row {
    margin: 0 -8px !important;
}

.section.user_requests .row > div {
    padding: 0 8px !important;
}

.section.user_requests {
    margin-top: 120px !important;
}