*{
    box-sizing: border-box;
}
html{
    min-height: 100%;
    width: 100%;
}
html,body{
    margin: 0;
    min-height: 100%;
    height: auto;
    /*background-color: #020b1a;*/
    /*background-image:*/
    /*        radial-gradient(rgba(0, 170, 255, 0.2) 1px, transparent 1px),*/
    /*        radial-gradient(rgba(0, 170, 255, 0.08) 1px, transparent 1px),*/
    /*        linear-gradient(180deg, #031428 0%, #020b1a 100%);*/
    /*background-size: 30px 30px, 15px 15px, 100% 100%;*/
    background-color: #f8fafc !important;
    font-family: "Montserrat",'Cairo', sans-serif !important;
    direction: rtl !important;
    -webkit-tap-highlight-color: transparent;
}
.light_theme{
    --border-radius: 10px;
    --blur: blur(12px);
    --border-color: #e2e8f0;
    --modal-bg: #ffffff;
    --box-bg: #030712;
    --box-border-color: #303135;
    --normal-color: #0072ff;
    --gradient-blue: linear-gradient(135deg, #00c6ff, #0072ff);
    --gradient-green: linear-gradient(135deg, #00bf76, #00c757);
    --gradient-red: linear-gradient(135deg, #ff2253, #fb2a3a);
    --gradient-orange: linear-gradient(135deg, #ff9400, #ff6f00);
    --gradient-purple: linear-gradient(135deg, #a940ff, #9918fb);
    --master-colors: #ed1f24;
    --master-colors-hover: #b20a0e;
    --master-colors-disabled: #e37376;
    --text-color: black;
}
.vh100{
    height: 100vh;
}
/**Login**/
.login_container{
    width: 100%;
    padding: 40px;
    border-radius: var(--border-radius);
    background: var(--modal-bg);
    backdrop-filter: var(--blur);
    border: 1px solid var(--border-color);
    box-shadow:
            0 0 40px rgba(190, 190, 190, 0.25),
            inset 0 0 20px rgba(130, 130, 130, 0.1);
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-direction: column;
}
.login_logo{
    display: flex;
    justify-content: center;
    align-items: center;
}
.login_logo img{
    width: 80%;
}
.login_data{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
}
.login_input{
    display: flex;
    align-items: center;
    flex-grow: 1;
    position: relative;
    width: 100%;
}
.login_input .login_icon {
    position: absolute;
    top: 50%;
    transform: translateY(-70%);
    width: 1.5rem;
    height: 1rem;
    color: #67686a;
}
.login_icon.left{
    left: 12px;
}
.login_icon.right {
    right: 12px;
    cursor: pointer;
}
.login_data label{
    font-size: 14px;
    margin-left: 2px;
    color: var(--text-color);
    font-weight: 600;
}
.login_input input{
    width: 100%;
    padding: 10px 40px 10px 40px;
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    outline: none;
    color: black;
}
.login_input input:focus{
    border: 1px solid var(--master-colors);
}
.sys_btn{
    width: 100%;
    border-radius: 15px;
    padding: 10px;
    border: 0;
    outline: none;
    color: white;
    font-weight: 600;
    background: linear-gradient(
            135deg,
            #ed1f24,
            #bc0a0f
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all ease 0.2s;
}
.sys_btn:hover{
    background: linear-gradient(
            135deg,
            #bc0a0f,
            #ed1f24
    );
}
.login_footer_data{
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    color: #7f8db3;
    font-size: 12px;
    opacity: 0.8;
}
.neoveers{
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}
.neoveers img{
    max-width: 150px;
}
.login_error{
    background: #d9d9d9;
    width: 100%;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #91212f;
    color: #ed5e62;
    font-weight: 700;
}
/**=====TOP-BAR=====**/
.topbar{
    background-color: white;
    height: 60px;
    width: 100%;
    box-shadow: 0 0 40px rgb(0 0 0 / 20%);
    border-bottom: 1px solid #e2e8f0;
}
.sidebar{
    height: 100vh;
    width: 100%;
    background-color: #1a1627;
    color: white !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    overflow-x: hidden;
}
.menu_header{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.mobile_menu_close_btn{
    display: none;
    position: absolute;
    left: 14px;
    top: 14px;
    background: transparent;
    border: 0;
    color: #94a3b8;
    font-size: 22px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.mobile_menu_close_btn:hover{
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}
.pwa_install_item{
    margin-top: 12px;
    padding: 0 5px;
}
.pwa_install_action_btn{
    width: 100%;
    background: linear-gradient(135deg, rgba(237, 31, 36, 0.18), rgba(237, 31, 36, 0.08));
    border: 1px solid rgba(237, 31, 36, 0.45);
    color: #ff6b6e;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: right;
    font-family: inherit;
}
.pwa_install_action_btn:hover{
    background: var(--master-colors);
    color: #ffffff;
    border-color: var(--master-colors);
}
.mobile_pwa_install_btn{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ed1f24, #c81318);
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.mobile_pwa_install_btn:hover{
    background: var(--master-colors-hover);
}
.menu_logo{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.menu_logo img{
    width: 60%;
}
.main_menu{
    width: 100%;
    padding: 10px;
}
.main_menu ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.main_menu ul li a{
    color: #c0bebe;
    text-decoration: none;
    font-size: 18px;
    width: 100%;
    display: flex;
    padding: 10px;
    justify-content: start;
    align-items: center;
    gap: 15px;
    border-radius: 10px;
}
.main_menu ul li a:hover{
    color: white;
    background-color: #252238;
}
.main_menu ul li a.active_link{
    background-color: var(--master-colors);
    color: white;
}
.user_info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
}
.user_data{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.user_img img{
    width: 50px;
    border: 2px solid white;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.logout_btn a{
    color: var(--master-colors);
}
.main_section{
    padding: 20px;
}
.top_section{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.section_title{
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
}
.section_title h4{
    font-weight: 900;
}
.section_title .subtitle{
    font-weight: 600;
    color: #696969;
}
.main_add_btn{
    background: var(--master-colors);
    direction: ltr;
    padding: 10px 20px;
    color: white;
    border-radius: 10px;
    border: 0;
    transition: all ease 0.3s;
}
.main_add_btn:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 20px 0 var(--master-colors);
}
.stock_edit_btn{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all .2s ease;
}
.stock_edit_btn:hover{
    border-color: var(--master-colors);
    background: #fff5f5;
    color: var(--master-colors);
}
.custom_modal_body{
    padding: 30px !important;
    direction: rtl;
}
.custom_modal_body .modal_title{
    font-weight: 600;
    margin: 0;
}
.modal_input_with_label{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}
.label_req:after{
    content: "*";
    margin-left: 4px;
    color: var(--master-colors);
}
.sys_modal_input{
    width: 100%;
    padding: 10px 15px;
    border-radius: 10px;
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    outline: none;
}
.sys_modal_input:focus{
    border: 2px solid var(--master-colors);
}
.sys_modal_textarea{
    min-height: 100px;
    resize: vertical;
    max-height: 200px;
}
.sys_modal_submit_btn{
    background-color: var(--master-colors);
    width: 100%;
    padding: 7px 14px;
    border-radius: 10px;
    color: white;
}
.sys_modal_submit_btn:hover{
    background-color: var(--master-colors-hover);
}
.sys_modal_submit_btn:disabled{
    cursor: no-drop;
    background-color: var(--master-colors-disabled);
}
.sys_modal_cancel_btn{
    background-color: #e2e8f0;
    width: 100%;
    padding: 7px 14px;
    border-radius: 10px;
    color: black;
}
.form_valid_error{
    color: var(--master-colors);
}
.status_box{
    display: flex;
    padding: 15px;
    align-items: center;
    gap: 10px;
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 15px;
}
.status_box .icon{
    padding: 10px;
    width: 45px;
    height: 45px;
    display: flex;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
}
.status_box .icon.blue{
    background: var(--gradient-blue);
    color: white;
}
.status_box .icon.green{
    background: var(--gradient-green);
    color: white;
}
.status_box .icon.red{
    background: var(--gradient-red);
    color: white;
}
.status_box .icon.purple{
    background: var(--gradient-purple);
    color: white;
}
.status_box .status_data{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 5px;
}
.status_box .status_data .title{
    line-height: 1;
    color: var(--bs-gray);
    font-weight: 500;
}
.status_box .status_data .counter{
    color: black;
    font-weight: 700;
    line-height: 1;
}
.table_section table{
    width: 100%;
    background: white;
    border-collapse: collapse;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}
.table_section{
    border: 2px solid var(--border-color);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}
.table_section table{
    border: 0;
    border-radius: 0;
}
.table_section .header{
    background: var(--border-color);
}
.table_section table th,
.table_section table td{
    padding: 15px;
}
.table_section tbody tr{
    border-bottom: 1px solid var(--border-color);
}
.table_section tbody tr a{
    text-decoration: none;
    color: var(--master-colors);
}
.table_actions ul{
    padding: 0;
    margin: 0;
    display: inline-flex;
}
.table_actions ul a{
    padding: 10px;
    border-radius: 10px;
    transition: all 0.2s ease;
}
.table_actions ul a:hover{
    background-color: var(--border-color);
}
.danger_opt_style{
    color: var(--master-colors) !important;
}
.normal_opt_style{
    color: var(--normal-color) !important;
}
.success_opt_style{
    color: #00a63e !important;
}
.disabled_opt_style{
    opacity: 0.35;
    pointer-events: none;
    cursor: not-allowed;
}
.steps_timeline{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.steps_timeline .step_number{
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaebeb;
    border-radius: 50%;
    font-weight: 700;
    color: black;
}
.steps_timeline .step_number.active{
    background: var(--master-colors);
    color: white;
}
.steps_timeline .step_line{
    height: 3px;
    background: #eaebeb;
    flex: 1;
    max-width: 120px;
}
.steps_timeline .step_line.active{
    background: var(--master-colors);
}
.equipment_list{
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.equipment_card{
    width: 200px;
    max-width: 100%;
    min-height: 160px;
    border: 1px solid #d9dce3;
    border-radius:14px;
    background:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    transition:.25s;
}
.equipment_card:hover{
    border-color:var(--master-colors);
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}
.equipment_icon{
    font-size:42px;
    color:#8a8a8a;
    margin-bottom:18px;
}
.equipment_card h5{
    margin:0;
    font-size:20px;
    font-weight:700;
}
.equipment_card span{
    margin-top:8px;
    font-size:14px;
    color:#8a8a8a;
}
/* عند الاختيار */
input[type=radio]:checked + .equipment_card{
    border:2px solid var(--master-colors);
    background:#f6f9ff;
    box-shadow:0 0 0 4px rgba(51,102,255,.12);
}
input[type=radio]:checked + .equipment_card .equipment_icon{
    color:var(--master-colors);

}
.steps_btn{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.step_btn{
    padding: 7px 14px;
    border-radius: 10px;
}
.step_btn.next{
    background-color: var(--master-colors);
    color: white;
}
.step_btn.back{
    background-color: #e6e7e7;;
    color: black;
}
.step_btn.back:disabled{
    cursor: no-drop;
}
.order_sum{
    background: #f5f6f7;
    padding: 20px;
    border-radius: 10px;
    text-align: right;
}
.order_sum h6{
    font-weight: 700;
}
.order_sum .sum_item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    color: #64748b;
}
.order_sum .sum_data{
    color: #000;
    font-weight: 600;
}
.price_sum{
    padding: 20px;
    border-radius: 10px;
    text-align: right;
    background-color: #eff6ff;
    border: 1px solid #bedbff;
}
.price_sum h6{
    font-weight: 700;
    color: #193cb8;
}
.price_item{
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
}
.price_item .item_title,
.price_item .item_price{
    font-weight: 500;
    color: #193cb8;
}
.price_item .item_subtitle{
    color: #64748b;
    font-size: 14px;
}
.final_sum{
    padding: 20px;
    border-radius: 10px;
    text-align: right;
    background-color: #eff6ff;
    border: 1px solid #bedbff;
}
.final_sum h6{
    color: black;
    font-weight: 700;
}
.modal_input_with_label span{
    font-weight: 700;
}
.final_total{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.final_total .final_title{
    color: #64748b;
}
.final_total .total_price{
    font-weight: 700;
    color: #fb2c36;
}
.client_alert{
    padding: 20px;
    border-radius: 10px;
    text-align: right;
    background-color: #fef2f2;
    border: 1px solid #ffc9c9;
}
.alert_title{
    display: flex;
    gap: 5px;
    align-items: center;
    color: #c1082c;
    font-weight: 700;
}
.alert_title .icon{
    font-size: 20px;
}
.subtitle{
    font-size: 14px;
    color: #c1082c;
    font-weight: 500;
}
.client_debt_list{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.client_debt_item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #991b1b;
}
.client_debt_item > div{
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.client_debt_item span{
    color: #9f5b5b;
    font-size: 12px;
}
.orders_filters{ padding:16px; margin-bottom:16px; border:1px solid var(--border-color); border-radius:16px; background:#fff; }
.orders_filters label{ display:block; margin-bottom:5px; color:#475569; font-size:13px; font-weight:700; }
.filter_btn,.filter_reset_btn{ display:inline-flex; align-items:center; justify-content:center; gap:7px; min-width:125px; padding:9px 15px; border-radius:10px; font-weight:700; text-decoration:none; }
.filter_btn{ border:0; background:var(--master-colors); color:#fff; }
.filter_reset_btn{ background:#f1f5f9; color:#475569; }
.orders_table tbody tr{ transition:background-color .2s ease; }
.orders_table tbody tr:hover{ background:#fff8f8; }
.booking_countdown{ display:flex; align-items:center; gap:6px; width:fit-content; margin-top:8px; padding:6px 9px; border-radius:8px; background:#eff6ff; color:#1d4ed8; font-size:12px; font-weight:700; }
.booking_countdown.is_finished{ background:#fef2f2; color:#b91c1c; }
.treasury_filters,
.cashflow_chart,
.expense_group{
    background:#fff;
    border:1px solid var(--border-color);
    border-radius:16px;
}
.treasury_filters{ padding:16px; }
.treasury_filters label{ display:block; margin-bottom:5px; color:#475569; font-size:13px; font-weight:700; }
.cashflow_chart{ padding:18px; }
.cashflow_chart_head{ display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:12px; }
.cashflow_chart_head h5{ margin:0; font-weight:800; }
.cashflow_chart_head span{ color:#64748b; font-size:13px; }
.chart_legend{ display:flex; gap:12px; font-size:13px; color:#475569; }
.chart_legend span::before{ content:''; display:inline-block; width:9px; height:9px; margin-left:5px; border-radius:50%; }
.income_dot::before{ background:#10b981; }
.expense_dot::before{ background:var(--master-colors); }
#cashflowChart{ display:block; width:100%; max-width:100%; }
.expense_group{ height:100%; overflow:hidden; }
.expense_group h5{ margin:0; padding:14px 15px; border-bottom:1px solid var(--border-color); font-size:15px; font-weight:800; }
.expense_group_table{ overflow-x:auto; }
.expense_group table{ width:100%; min-width:340px; border-collapse:collapse; }
.expense_group th,.expense_group td{ padding:11px 12px; border-bottom:1px solid #eef2f7; font-size:13px; }
.expense_group tr:last-child td{ border-bottom:0; }
@media (max-width: 575.98px){ .cashflow_chart_head{ align-items:flex-start; flex-direction:column; } }
.invoice_head{
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 20px;
}
.invoice_head h3{
    color: #2563eb;
    font-weight: 600;
}
.invoice_client .cx{
    display: flex;
    flex-direction: column;
    align-items: start;
    font-size: 14px;
    font-weight: 600;
}
.invoice_client,
.total_invoice{
    background-color:#f5f6f7;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}
.cx .tx{
    color: #64748b;
    font-weight: 500;
}
.txx{
    display: flex;
    font-weight: 700;
}
.invoice_table table th,
.invoice_table table td{
    padding: 15px;
}
.invoice_table table{
    width: 100%;
    margin-bottom: 10px;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}
.invoice_table table thead{
    background: #e5e6e8;
}
.invoice_table table tbody{
    border-bottom: 1px solid #e5e6e8;
}
.invoice_table table thead tr:first-child > *:first-child{ border-top-right-radius: 14px; }
.invoice_table table thead tr:first-child > *:last-child{ border-top-left-radius: 14px; }
.invoice_table table tbody tr:last-child > *:first-child{ border-bottom-right-radius: 14px; }
.invoice_table table tbody tr:last-child > *:last-child{ border-bottom-left-radius: 14px; }
.band{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 15px;
}
.band.green{
    color: #00a63e;
}
.final_value{
    color: #c1082c;
    font-size: 20px;
}
.dir_ltr{
    direction: ltr!important;
}
.order_name{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.order_name .event{
    color: var(--master-colors);
}
.event_date{
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 15px;
    color: #64748b;
}
.event_q{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    color: #3b82f6;
    background: #3b82f620;
    padding: 10px;
    border-radius: 10px;
    width: fit-content;
    border: 1px solid;
}
.event_p{
    display: flex;
    flex-direction: column;
    font-size: 14px;
    gap: 5px;
}
.event_p .rp{
    color: var(--master-colors);
    font-size: 12px;
}
.status_blue{
    font-size: 14px;
    color: #2563eb;
}
.status_yellow{
    font-size: 14px;
    color: #ff6f00;
}
.status_green{
    font-size: 14px;
    color: #00a63e;
}
.status_red{
    font-size: 14px;
    color: var(--master-colors);
}

/* ===== Responsive layout ===== */
.mobile_menu_bar,
.mobile_menu_overlay{
    display: none;
}
.table_section{
    max-width: 100%;
    overflow: hidden;
}
.table_section .table-responsive{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table_section table{
    min-width: 750px;
}
.stock-tabs .nav-link{
    color: var(--master-colors);
    font-weight: 600;
}
.stock-tabs .nav-link.active{
    color: #111827;
}
.table-responsive::-webkit-scrollbar,
.calendar_wrap::-webkit-scrollbar,
.expense_group_table::-webkit-scrollbar{
    height: 6px;
    width: 6px;
}
.table-responsive::-webkit-scrollbar-track,
.calendar_wrap::-webkit-scrollbar-track,
.expense_group_table::-webkit-scrollbar-track{
    background: #f1f5f9;
}
.table-responsive::-webkit-scrollbar-thumb,
.calendar_wrap::-webkit-scrollbar-thumb,
.expense_group_table::-webkit-scrollbar-thumb{
    background: #cbd5e1;
    border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-thumb:hover,
.calendar_wrap::-webkit-scrollbar-thumb:hover,
.expense_group_table::-webkit-scrollbar-thumb:hover{
    background: #94a3b8;
}

/* Desktop Fixed Sticky Sidebar */
@media (min-width: 1200px) {
    .sidebar_column{
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        height: 100vh !important;
        max-height: 100vh !important;
        align-self: flex-start !important;
        z-index: 1020 !important;
    }
    .sidebar{
        height: 100vh !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    .sidebar::-webkit-scrollbar{
        width: 5px;
    }
    .sidebar::-webkit-scrollbar-track{
        background: transparent;
    }
    .sidebar::-webkit-scrollbar-thumb{
        background: rgba(255, 255, 255, 0.18);
        border-radius: 4px;
    }
    .sidebar::-webkit-scrollbar-thumb:hover{
        background: rgba(255, 255, 255, 0.35);
    }
}

/* Mobile & Tablet Drawer Navigation */
@media (max-width: 1199.98px){
    /* Keep mobile controls clear of the iPhone status bar/notch in standalone mode. */
    html, body{
        min-height: 100%;
        height: auto;
    }
    .sidebar_column{
        position: static !important;
        width: 0 !important;
        height: 0 !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        flex: 0 0 0 !important;
        border: 0 !important;
        overflow: visible !important;
    }
    .sidebar{
        position: fixed !important;
        z-index: 1060;
        top: 0;
        right: 0;
        width: min(300px, 86vw);
        height: 100dvh;
        max-height: 100dvh;
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background-color: #1a1627;
        transform: translateX(105%);
        transition: transform .28s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -12px 0 36px rgba(0, 0, 0, 0.45);
        overflow-y: auto;
        overflow-x: hidden;
    }
    .mobile_menu_close_btn{
        display: inline-flex !important;
    }
    .mobile_menu_bar{
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 1040;
        width: 100%;
        padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px;
        background: #ffffff;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    }
    .mobile_bar_brand{
        display: flex;
        align-items: center;
    }
    .mobile_bar_logo{
        height: 38px;
        width: auto;
        object-fit: contain;
    }
    .mobile_bar_actions{
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .mobile_menu_toggle{
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 0;
        border-radius: 10px;
        padding: 8px 14px;
        background: #1a1627;
        color: #fff;
        font-weight: 700;
        font-size: 14px;
        cursor: pointer;
        transition: background .2s ease;
    }
    .mobile_menu_toggle:hover{
        background: #27223b;
    }
    .mobile_menu_overlay{
        position: fixed;
        z-index: 1050;
        inset: 0;
        background: rgba(15, 23, 42, .6);
        backdrop-filter: blur(4px);
    }
    body.menu_open{
        overflow: hidden !important;
    }
    body.menu_open .sidebar{
        transform: translateX(0);
    }
    body.menu_open .mobile_menu_overlay{
        display: block;
    }
    .main_section{
        padding: 16px;
    }
}

@media (max-width: 767.98px){
    .top_section,
    .calendar_header{
        align-items: stretch;
        flex-direction: column;
    }
    .top_section .top_btn,
    .top_section .top_btn.d-flex{
        width: 100%;
        flex-wrap: wrap;
    }
    .top_section .main_add_btn{
        width: 100%;
        text-align: center;
    }
    .section_title h4{
        font-size: 1.25rem;
    }
    .section_title .subtitle{
        font-size: .85rem;
    }
    .status_box{
        padding: 13px;
    }
    .status_box .status_data .counter{
        font-size: .95rem;
    }
    .modal-dialog{
        margin: .75rem;
    }
    .custom_modal_body{
        padding: 20px !important;
    }
    .calendar_nav{
        width: 100%;
        justify-content: space-between;
    }
    .calendar_nav h5{
        min-width: 0;
        font-size: 1rem;
    }
    .calendar_wrap{
        padding: 8px;
        overflow-x: auto;
    }
    .calendar_weekdays,
    .calendar_grid{
        min-width: 650px;
    }
    .equipment_list{
        overflow-x: auto;
        padding-bottom: 8px;
    }
    .equipment_card{
        flex: 0 0 190px;
    }
    .steps_timeline .step_line{
        width: 18%;
    }
    .invoice_client,
    .total_invoice,
    .order_sum,
    .price_sum,
    .final_sum{
        padding: 14px;
    }
}

@media (max-width: 575.98px){
    .main_section{
        padding: 12px 8px;
    }
    .vh100{
        min-height: 100vh;
        height: auto;
        padding: 24px 0;
    }
    .login_container{
        padding: 24px 18px;
        gap: 16px;
    }
    .login_logo img{
        width: 70%;
        max-width: 180px;
    }
    .login_footer_data{
        position: static;
        margin-top: 10px;
    }
    .neoveers{
        position: static;
        transform: none;
        margin: 18px auto 0;
        text-align: center;
    }
    .steps_btn{
        gap: 10px;
    }
    .step_btn{
        flex: 1;
        text-align: center;
    }
    .band,
    .final_total,
    .price_item{
        gap: 8px;
        align-items: flex-start;
        flex-direction: column;
    }
    .modal-dialog{
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    .custom_modal_body{
        padding: 16px 12px !important;
    }
    .status_box{
        padding: 10px 12px;
        gap: 8px;
    }
    .status_box .counter{
        font-size: 0.95rem;
    }
    .top_section .main_add_btn{
        padding: 8px 14px;
        font-size: 14px;
    }
    .filter_btn, .filter_reset_btn{
        flex: 1;
        min-width: 100px;
        padding: 8px 10px;
        font-size: 13px;
    }
}

/** Calendar **/
.calendar_page{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.calendar_header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}
.calendar_nav{
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px 16px;
}
.calendar_nav h5{
    margin: 0;
    min-width: 140px;
    text-align: center;
    font-weight: 700;
}
.calendar_nav_btn{
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.calendar_nav_btn:hover{
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.calendar_wrap{
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.calendar_weekdays{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 8px;
    min-width: 650px;
}
.calendar_weekday{
    text-align: center;
    font-weight: 700;
    color: #64748b;
    font-size: 14px;
    padding: 8px 4px;
}
.calendar_grid{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    min-width: 650px;
}
.calendar_day{
    min-height: 120px;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 8px;
    background: #fafbfc;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.calendar_day_empty{
    background: transparent;
    border-color: transparent;
}
.calendar_day_number{
    font-weight: 700;
    color: #334155;
    font-size: 14px;
}
.calendar_events{
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    overflow: hidden;
}
.calendar_event{
    border: 0;
    border-radius: 8px;
    padding: 6px 8px;
    text-align: center;
    color: #fff;
    font-size: 11px;
    line-height: 1.4;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.calendar_event:hover{
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}
.calendar_event_green{
    background: #10b981;
}
.calendar_event_orange{
    background: #f59e0b;
}
.calendar_event .event_client{
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.calendar_event .event_name,
.calendar_event .event_status{
    opacity: 0.95;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.booking_details_grid{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.detail_row{
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}
.detail_row:last-child{
    border-bottom: 0;
}
.detail_label{
    color: #64748b;
    font-weight: 600;
    min-width: 120px;
}
.detail_value{
    font-weight: 700;
    text-align: left;
    flex: 1;
}
@media (max-width: 992px){
    .calendar_day{
        min-height: 90px;
    }
    .calendar_event{
        font-size: 10px;
        padding: 4px;
    }
}
@media (max-width: 768px){
    .calendar_grid,
    .calendar_weekdays{
        gap: 4px;
    }
    .calendar_day{
        min-height: 70px;
        padding: 4px;
    }
    .calendar_weekday{
        font-size: 11px;
    }
}
