/* body {
    zoom: 1.1;
} */

/* Mobile lesson calendar cards */
.lesson_calendar_cards {
    max-height: 50rem;
    overflow-y: auto;
    padding: 0.5rem;
}

.mobile-cards-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-timeslot-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-timeslot-header {
    font-weight: 600;
    font-size: 0.85rem;
    color: #7E8299;
    padding: 0.25rem 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-lesson-card {
    display: block;
    background: #fff;
    border-radius: 8px;
    padding: 0.75rem;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease;
}

.mobile-lesson-card:active {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.mobile-lesson-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.mobile-lesson-trainer {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.mobile-lesson-type {
    font-size: 0.8rem;
    font-weight: 500;
    color: #3F4254;
}

.mobile-lesson-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-lesson-customer {
    font-size: 0.85rem;
    color: #7E8299;
    font-weight: 500;
}

.mobile-lesson-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-status-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.mobile-status-complete {
    background: #C9F7F5;
    color: #1BC5BD;
}

.mobile-status-pending {
    background: #FFE2E5;
    color: #F64E60;
}

.mobile-riders-count {
    font-size: 0.75rem;
    color: #B5B5C3;
    font-weight: 500;
}

.mobile-cards-empty {
    text-align: center;
    padding: 2rem;
    color: #B5B5C3;
    font-size: 0.9rem;
}

label.invalid {
    width: 100% !important;
    margin-top: 0.50rem !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #F64E60 !important;
}

input.invalid, select.invalid, textarea.invalid {
    border-color: #F64E60 !important;
    padding-right: calc(1.5em + 1.3rem);
    background-image: url('../images/invalid.svg');
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.325rem) center;
    background-size: calc(0.75em + 0.65rem) calc(0.75em + 0.65rem);
}

select.invalid {
    background-position: right calc(0.975em + 0.325rem) center
}

input[type="file"] {
    padding: 0.40rem 0.70rem !important;
}

.datepicker-days .disabled {
    cursor: not-allowed !important;
}

input[type="file"] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* .select2-container {
    width: 100% !important;
}

.select2-container .select2-search__field {
    width: 100% !important;
} */

.arabic_text {
    letter-spacing: 2px;
    font-family: 'Amiri', sans-serif;
}

.product_listing td {
    vertical-align: middle !important;
}

.individual_inventory_html td {
    padding: 0.25rem 0.75rem !important;
    vertical-align: middle !important;
}

.individual_inventory_html .form-control {
    height: 30px;
    margin: 2px 0;
}

.hidden {
    display: none;
}

.fc-unthemed .fc-event.fc-start .fc-content:before, .fc-unthemed .fc-event-dot.fc-start .fc-content:before {
    display: none;
}

.fc-unthemed .fc-event .fc-content, .fc-unthemed .fc-event-dot .fc-content {
    padding: 0.5rem;
}

.aside-minimize .brand .brand-logo span {
    display: none;
}

.calories_container {
    height: 50px;
    display: flex;
    flex-flow: row wrap;
    position: relative;
}

.calories_item {
    border: 1px solid #EBEDF3;
    background: transparent;
    flex: 0 1 calc(20%); /* <-- adjusting for margin */
    text-align: center;
    display: flex;
    flex-direction: column;
    padding-top: 5px;
}

.swal2-container .swal2-html-container {
    max-height: 350px;
}

.custom_subscription_detail.dropdown-menu.dropdown-menu-sm {
    width: 240px;
}

.form-label {
    font-weight: 500 !important;
}

.individual_menu_builder_html .card-label {
    font-size: 1.10rem !important;
}

.logo {
    position: absolute;
    left: 25px;
    top: 25px;
    z-index: 9;
}

.left_card_form {
    width: 75%;
    z-index: 0;
}
.left_card {
    width: 75%;
}
.left_card, .right_card{
    z-index: 2;
    pointer-events: all;
}

/* .background_card {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
<<<<<<< HEAD
<<<<<<< Updated upstream
    height: 100%;
    width: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
=======
    width: 35%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--primary);
    background-size: cover;
    border-left: 5px solid var(--secondary) !important;
    border: 3px solid var(--secondary);
    border-right: none;
    border-radius: 80px 0 0 80px;
    overflow: hidden;
    box-shadow: var(--shadow-elevation-high);
    height: 80vh;
    margin: auto;
} */

.background_card {
    position: fixed;
    top: 0;
    right: 5%;
    bottom: 0;
    width: 40%;
    border-radius: 50px;
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: center;
    background-size: contain;
    overflow: hidden;
    box-shadow: none;
    height: 80vh;
    margin: auto;
    filter: var(--shadow-svg);
}

.background_layer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-fade);
    backdrop-filter: blur(3px) brightness(0.75) grayscale(1);
    z-index: 0;
}

.datepicker table tr td.disabled, .datepicker table tr td.disabled:hover {
    background: #ffeded !important;
}

.menu-link {
    align-items: center !important;
}

.aside-menu .menu-nav {
    padding: 0 0 60px 0 !important;
}

/*.aside-menu .menu-nav > .menu-item > .menu-link .menu-text,*/
/*.aside-menu .menu-nav > .menu-item .menu-submenu .menu-item > .menu-link .menu-text,*/
/*.aside-menu .menu-nav > .menu-section > .menu-text*/
/*{*/
/*    font-weight: 600;*/
/*    font-size: 15px;*/
/*}*/

.blinking {
    animation: blinkingText 1s infinite;
    color: #fc030b;
}

/* Specifies the animation and transparency for the blinking text */
@keyframes blinkingText {
    0% {
        opacity: 0;
    }
    50% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}

@media print {
    .hide_print {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .left_card {
        width: 100% !important;
    }

    .left_card_form {
        width: calc(100% - 2rem);
        margin: 0 1rem;
    }

    .right_card {
        display: none;
    }

    .logo {
        display: block !important;
    }
}

@media (min-width: 992px) {
    .header-fixed.subheader-fixed.subheader-enabled .wrapper {
        padding-top: 100px;
    }
}

/* Mobile header: hide topbar icons until user toggle is clicked */
@media (max-width: 991.98px) {
    .header-mobile-fixed .topbar {
        display: none;
    }

    .topbar-mobile-on.header-mobile-fixed .topbar {
        display: flex;
    }

    /* Make topbar buttons icon-only on mobile */
    .topbar .btn-outline-primary {
        padding: 0 !important;
        font-size: 0 !important;
        line-height: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 35px !important;
        height: 35px !important;
    }

    .topbar .btn-outline-primary i {
        font-size: 1.1rem !important;
        margin: 0 !important;
    }

    .topbar .topbar-item .btn.btn-icon {
        padding: 0 !important;
    }

    /* Hide user name text in mobile topbar */
    .topbar .text-muted,
    .topbar .text-dark-50 {
        display: none;
    }

    /* Align user icon with hamburger icon in mobile header */
    .header-mobile .d-flex.align-items-center .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        line-height: 24px;
    }

    .header-mobile .d-flex.align-items-center .btn .svg-icon svg {
        display: block;
    }

    .select2-container {
        width: 100% !important;
    }

    .select2-container--open {
        left: 0.5rem !important;
        width: calc(100% - 1rem) !important;
    }

    .select2-container--open .select2-dropdown {
        width: 100% !important;
    }

    .header-mobile-fixed .header-mobile {
        background-color: #fff !important;
    }

    .topbar-mobile-on .topbar {
        justify-content: flex-start !important;
    }

    .topbar-mobile-on .topbar .topbar-item:has(#kt_quick_panel_toggle) {
        margin-left: auto !important;
    }

    .daterangepicker.show-calendar .ranges {
        height: 0px !important;
    }

    /* DataTables responsive child rows */
    table.dataTable > tbody > tr.child ul.dtr-details {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
        width: 100%;
    }

    table.dataTable > tbody > tr.child ul.dtr-details > li {
        display: flex;
        align-items: flex-start;
        padding: 0.5rem 0;
        border-bottom: 1px solid #EBEDF3;
    }

    table.dataTable > tbody > tr.child ul.dtr-details > li:last-child {
        border-bottom: none;
    }

    table.dataTable > tbody > tr.child .dtr-title {
        font-weight: 600;
        min-width: 80px;
        max-width: 40%;
        color: #7E8299;
        font-size: 0.8rem;
        padding-right: 0.75rem;
        flex-shrink: 0;
    }

    table.dataTable > tbody > tr.child .dtr-data {
        flex: 1;
        font-size: 0.85rem;
        color: #3F4254;
        word-break: break-word;
    }

    table.dataTable > tbody > tr.child td.child {
        padding: 0.75rem 1rem !important;
        border: none !important;
        overflow: hidden;
    }

    /* Wrap action buttons in responsive child rows */
    table.dataTable > tbody > tr.child .dtr-data .btn-toolbar {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    table.dataTable > tbody > tr.child .dtr-data .btn-group {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    table.dataTable > tbody > tr.child .dtr-data .btn-group .btn {
        padding: 0.25rem 0.4rem !important;
        font-size: 0.7rem !important;
    }

    table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control,
    table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control {
        position: relative;
    }

    table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before {
        top: 50%;
        left: 0.25rem;
        height: 14px;
        width: 14px;
        margin-top: -7px;
    }
}

