/*========================================================================================================================= 
header */
.navbar {
    height: 70px;
    background: #ffffff;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
}

.dock-optimizer-container .dropdown-toggle::after {
    display: none !important;
}

.dock-optimizer-container .dropdown .btn:not(:disabled):not(.disabled).active,
.dock-optimizer-container .dropdown .btn:not(:disabled):not(.disabled):active,
.dock-optimizer-container nav .dropdown .btn {
    background: linear-gradient(95.25deg, #70c059 0%, #72cac8 99.46%);
    border-radius: 6px;
    width: 176px;
    height: 48px;
    font-weight: 800;
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase;
    color: #ffffff;
    /* margin-left: 150px; */
}

.nav-menu-title,
.log-btn-text {
    padding-right: 8px !important;
}

.dock-optimizer-container .dropdown .fas {
    padding-right: 2px !important;
}

.dock-optimizer-container .dropdown-menu {
    padding: 0 !important;
}

.dock-optimizer-container .dropdown-item:hover {
    background-color: #b8d8b0 !important;
}

.dock-optimizer-container .log-btn:not(:disabled):not(.disabled).active,
.dock-optimizer-container .log-btn:not(:disabled):not(.disabled):active,
.dock-optimizer-container .log-btn {
    box-shadow: none !important;
    width: 147px;
    height: 48px;
    background: linear-gradient(95.25deg, #70c059 0%, #72cac8 99.46%);
    border-radius: 6px;
    font-weight: 800 !important;
    font-size: 16px !important;
    line-height: 19px !important;
    color: #ffffff !important;
    /* margin-right: 150px; */
}

.logo .logo-top-img {
    width: 66px !important;
    height: 66px !important;
}

/*=================================================================================================================================
 Hero-Main */
.hero-main-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin: 2% 0%;
    background: #cdcccc;
    padding: 1%;
    border-radius: 5px;
}

.d-flex-left {
    display: flex;
    flex: 1 1 0;
}

.d-flex-right {
    display: flex;
    flex: 1 1 0;
    justify-content: center;
}

.simple-text-box {
    flex: 1 1 0;
}

/* Radio btn */
/*.radio-btn {
    display: flex;
    color: #22201a;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 20px;
}

.form-check-input {
    background-image: none !important;
    position: relative !important;
    margin-top: 3.5% !important;
}

.radio-btn input {
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    background-color: pink;
}

.radio-btn .check-not-available {
    background-color: #d9d9d9;
}

.radio-btn .check-available {
    background-color: #70c059;
}

.form-check .form-check-input {
    margin-left: 1rem !important;
    float: right !important;
}

.radio-btn-color-gray {
    display: inline-block;
    width: 20px;
    height: 11px;
    background-color: #d9d9d9;
    position: relative;
}

.radio-btn-color-green {
    display: inline-block;
    width: 20px;
    height: 11px;
    background-color: #70c160;
    position: relative;
}*/
/* The container */
.hero-main-title .radio-btn {
    margin-top: 5px;
}

.custom-radio-btn {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.custom-radio-btn .text-radio {
    font-size: 16px;
}

/* Hide the browser's default radio button */
.custom-radio-btn input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}


.facility-left-dropdown {
    padding-left: 0;
}

.facility-left-dropdown .facility-left-dropdown-select {
    margin-top: -6px;
}

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #ddd;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.custom-radio-btn:hover input~.checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.custom-radio-btn input:checked~.checkmark {
    background-color: #2c68d5;
}

.custom-radio-btn input:checked~.checkmark1 {
    background-color: #0000ff;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.custom-radio-btn input:checked~.checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.custom-radio-btn .checkmark:after {
    top: 9px;
    left: 9px;
    /* width: 8px;
    height: 8px;*/
    border-radius: 50%;
    background: white;
}

span.text-radio {}

.dock-title .dropdown-toggle::after {
    display: none !important;
}

.dock-title .btn span svg {
    padding: 0 !important;
}

.dock-title .btn span {
    color: #70C059;
    font-size: 19px;
    position: relative;
    top: 3px;
    display: inline-block;
    width: 35px;
    border: 2px solid #70C059;
    border-radius: 6px;
}

/* Dock-titles */
/*.dock-title #DefaultFacility {
    font-size: 1.5rem;
    background-color: #70c059;
    color: #fff;
    padding: 5px;
    border-radius: 6px;
    border: none;
}

    .dock-title #DefaultFacility option {
        border: 5px solid;
    }

.dock-title .btn {
    border: none;
    font-size: 20px;
    font-weight: 700;
}*/

.dockOptimizer-hero .dropdown .btn {
    background: #ffffff;
    color: #101c2d;
    font-size: 20px;
}

.dockOptimizer-hero .dropdown .btn span {
    padding-left: 10px;
}

.dock-optimizer-container .dropdown-toggle::after {
    display: none !important;
}

.dock-title .fa-chevron-down:before {
    padding: 5px;
    width: 12px;
    height: 12px;
    border-radius: 5px;
    border: #70c059 solid 2px;
    color: #70c059;
}

.dock-optimizer-container .dropdown-menu {
    min-width: 100% !important;
    width: fit-content !important;
}

.dockOptimizer-hero .dropdown .btn:not(:disabled):not(.disabled).active,
.dockOptimizer-hero .dropdown .btn:not(:disabled):not(.disabled):active {
    background: none !important;
    color: #22201a;
    font-size: 20px;
    font-weight: 700;
    text-transform: none;
    width: fit-content;
    height: fit-content;
    line-height: inherit;
}

.dock-optimizer-container .dropdown .btn:focus,
.dock-optimizer-container .dropdown .btn:active {
    outline: none !important;
    box-shadow: none !important;
}

/* time-range */
.time-range {
    /* flex: 1 1 0px; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.time-range a {
    display: block;
    color: #70c059;
    font-weight: 600;
    font-size: 16px;
    text-transform: capitalize;
    text-decoration: none;
}

.time-range a:hover {
    color: #70c059;
    text-decoration: none;
}

.time-date {
    width: 90px;
    height: 31px;
    background: #ffffff;
    border: 2px solid #70c059;
    border-radius: 6px 0px 0px 6px;
}

.time-week {
    width: 90px;
    height: 31px;
    background: #ffffff;
    border: 2px solid #70c059;
}

.time-month {
    width: 90px;
    height: 31px;
    background: #ffffff;
    border: 2px solid #70c059;
}

.time-year {
    width: 90px;
    height: 31px;
    background: #ffffff;
    border: 2px solid #70c059;
    border-radius: 0px 6px 6px 0px;
}

.time-range .active {
    background: linear-gradient(105.23deg, #70c059 0%, #72cac8 100%) !important;
    color: #ffffff !important;
}

/* CARD */
.hero-main .row {
    justify-content: center;
}

.dockOptimizer-hero .row>* {}

.cardDock {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    border: #0000005c solid 3px !important;
    margin-bottom: 1rem;
    border-radius: 0 !important;
    padding: 10px !important;
    max-height: 150px;
    height: 150px;
    width: 250px;
    /*width: 170px;*/
    overflow-y: auto;
}

.cardDock-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /*margin-bottom: 5px;*/
    margin: auto 0 0 0;
}

.cardDock-title h2 {
    font-size: 20px;
    font-weight: 500;
}

.round-display {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-left: 10px;
    background-color: green;
}

.display-active {
    background-color: #70c059;
}

.display-inactive {
    background-color: #dc3545;
}

.cardDock-img {
    margin: 10px 0 auto 0;
}

.cardDock-img img {
    display: none;
}

.cardDock-img img:hover,
.cardDock-img img:focus,
.cardDock-img img:active,
.cardDock-img img:focus-visible {
    border: none;
    outline: none;
}

.cardDock-decs p {
    text-align: center;
    font-size: 20px;
    font-weight: 400;
}

.opacity-is-half {
    /*opacity: 0.5;*/
    width: fit-content;
}

.opacity-is-half .round-display {
    background-color: #ff00008a;
}

.opacity-is-half .cardDock {
    padding-bottom: 0;
    /*border-color: #000000c4 !important;*/
}

.opacity-is-half .cardDock button {
    margin: 0;
}

.opacity-is-half .openDoor-btn {
    border-top: 3px solid #000000c4;
    width: 100%;
}

.opacity-is-half .openDoor-btn .btn {
    color: black;
    font-weight: 500;
    transition: all .2s ease-in-out;
    border: none;
}

.opacity-is-half .openDoor-btn .btn:hover {
    border: none;
}

/* responsive breakpoints */
@media screen and (max-width: 1201px) {

    .radio-btn,
    .time-range {
        flex-direction: column;
    }

    .time-date,
    .time-year {
        border-radius: 0;
    }
}

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

    .hero-main-title,
    .live-view-titles {
        flex-direction: column;
    }

    .radio-btn,
    .time-range {
        flex-direction: row;
    }

    .time-range,
    .dock-title {
        margin-top: 10px;
    }

    .time-date {
        border-radius: 6px 0px 0px 6px;
    }

    .time-year {
        border-radius: 0px 6px 6px 0px;
    }
}

@media screen and (max-width: 565px) {
    .dockOptimizer-nav .dropdown .nav-menu-title {
        display: none !important;
    }

    .dock-optimizer-container .dropdown .dropdown-toggle,
    .dock-optimizer-container .log-btn {
        width: min-content !important;
    }

    .log-btn-text {
        display: none !important;
    }

    .dock-optimizer-container .dropdown .btn,
    .log-btn {
        width: fit-content;
    }

    i {
        padding-right: 5px !important;
    }

    .radio-btn {
        font-size: 1rem;
        flex-direction: column;
    }
}

/* ======================================================================================
========================== Modal ======================================== */
#demo-1 .modal-header,
#demo-2 .modal-header,
#demo-1 .modal-footer,
#demo-2 .modal-footer {
    border: none;
}

#demo-1 .modal-content,
#demo-2 .modal-content {
    background-color: #ffffff !important;
}

#demo-1 .modal-body,
#demo-2 .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#demo-1 .close,
#demo-2 .close {
    opacity: 1;
}

#demo-1 .modal-body h4,
#demo-2 .modal-body h4 {
    font-family: monospace;
    font-weight: 800;
    font-size: 24px;
    margin: 0;
    padding-left: 10px;
}

/**/
#demo-2 .modal-body #drpEventType,
#demo-2 .modal-body #drpMainEvent {
    margin-top: 13px;
    padding: 5px;
    border-radius: 6px;
}

/*background-color: #70c059;
color: #fff;*/
#demo-1 p,
#demo-2 p {
    font-weight: 400;
    font-size: 16px;
    padding: 0;
    margin: 0;
    color: #000;
}

#demo-2 p {
    margin-bottom: 10px;
}

#demo-1 .demo-1-modal-body-title,
#demo-2 .demo-2-modal-body-title {
    display: flex;
}

#demo-1 .modal-footer {
    justify-content: center;
}

#demo-1 .modal-footer .btn,
#demo-2 .modal-footer .save-btn {
    background: #70c160;
    border-radius: 16px;
    color: #ffffff;
    min-width: 100px;
    height: 45px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.buttons-print,
.buttons-excel,
.buttons-pdf {
    color: #000 !important;
    background: linear-gradient(95.25deg, #72CAC8 0%, #70C059 99.46%) !important;
    border: 2px solid #70C059 !important;
    margin-right: 8px;
    margin-left: 8px;
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: #212529;
    --bs-btn-bg: transparent;
    --bs-btn-border-width: 1px;
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: 0.375rem;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    -moz-user-select: none;
    user-select: none;
    border-radius: var(--bs-btn-border-radius);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

div.dt-buttons {
    margin-left: 95%;
}

#demo-1 .modal-footer .close,
#demo-2 .modal-footer .close {
    background: red;
    border-radius: 16px;
    color: #ffffff;
    min-width: 100px;
    height: 45px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    border: none;
    transition: all .1s ease-in-out;
}

#demo-1 .modal-footer .close:hover,
#demo-2 .modal-footer .close:hover {
    scale: .98;
}


#demo-2 form {
    margin-top: 20px !important;
    width: 70%;
    margin: auto;
}

#demo-2 form label {
    display: grid;
    place-content: start;
    font-weight: 500;
    font-size: 14px;
}

#demo-2 .form2-save-btn {
    display: grid !important;
    place-content: center !important;
}

#demo-2 .modal-footer {
    justify-content: center;
    padding-top: 0;
}

.hero-main #DivDoorList .modal-body {}

/* =============================================================================
CLOSE BUTTON
*/
.close-btn {
    border: none !important;
    outline: none !important;
    background-color: #70c059 !important;
    border-radius: 10px;
    color: #ffffff !important;
    margin: 0 0 0 auto !important;
    font-size: 2rem !important;
    padding: 0px 10px 2px 10px !important;
    font-weight: 500 !important;
}

.close-btn span {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    bottom: 1px;
    color: #000;
}

/* =========================================================================================
live-view-titles
*/
.live-view-titles {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 1rem;
}

/* live-view-text */
.live-view-text {
    display: flex;
}

.live-view-text h2 {
    font-weight: 400;
    font-size: 20px;
    color: #22201a;
    padding-right: 10px;
}

.live-view-text .live-view-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #70c160;
}

/* date live view */
.date-live-view {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.date-live-view .text {
    margin: 0;
    padding-right: 10px;
    font-size: 20px;
    line-height: 24px;
    color: #000000;
    font-weight: 500;
}

.prev-next-btn {
    display: flex;
}

.prev-next-btn .previous {
    display: inline-block;
    background: #ffffff;
    border: 2px solid #70c059;
    border-radius: 6px 0px 0px 6px;
    padding: 0.5rem;
    color: #70c160;
}

.prev-next-btn .next {
    display: inline-block;
    background: #ffffff;
    border: 2px solid #70c059;
    border-radius: 0px 6px 6px 0px;
    padding: 0.5rem;
    color: #70c160;
}

.prev-next-btn .time-mid {
    color: #70c059;
    text-decoration: none;
    height: 40px;
    display: grid;
    align-items: center;
    font-weight: 500;
    font-size: 1rem;
}

/* ================================================================ */
/* live-view-row */
.live-view-row {
    justify-content: space-between;
    align-items: center;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    padding: 10px;
    border: 2px solid #dde4ee;
    border-radius: 12px;
    margin-bottom: 10px;
}

.live-view-row-left {
    display: flex;
    align-items: center;
}

.zone-name {
    margin-top: 10px;
    padding-right: 10px;
}

.use-or-not {
    font-weight: 700;
    font-size: 21px;
}

.use-or-not p {
    margin-bottom: 0;
}

.in-use-time {
    font-weight: 400;
    font-size: 16px;
}

.use-or-not .use_event_name {
    font-weight: 700;
}

.use-or-not p {
    color: black;
    font-weight: 400;
}

.live-view-row-left .zone-name p {
    min-width: 250px;
    width: fit-content;
    height: 44px;
    background: linear-gradient(95.25deg, #70c059 0%, #72cac8 99.46%);
    border-radius: 10px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-or-not {
    display: flex;
    flex-direction: column;
}

.in-use-time {
    width: fit-content !important;
}

.truck-no p {
    font-weight: 700;
    font-size: 21px;
    margin: 0;
    background: #edebeb;
    border-radius: 4px;
    padding: 14px;
    text-align: center;
}

.text-center #calendar {}

.hero-main-banner-title {
    text-align: center !important;
}


/*=============== Simple text box =====================*/
.simple-text-box {
    display: flex;
    align-content: center;
    justify-content: end;
    text-align: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
}

.simple-text-box .red-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ff00008a;
    display: block !important;
}


.simple-text-box .green-circle {
    display: block !important;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #00800094;
    margin-left: 10px;
}


.text-booked {
    font-size: 1rem;
    color: black;
    padding: 0 5px;
    margin: 0;
}

.text-avaliable {
    font-size: 1rem;
    color: black;
    margin: 0;
    padding-left: 5px;
}

.text-blocked {
    font-size: 1rem;
    color: #856404;
    margin: 0;
    padding-left: 5px;
}

/* Mobile improvements for Door Manager legend */
@media (max-width: 768px) {
    .simple-text-box {
        justify-content: center;
        gap: 4px;
        padding: 6px;
    }

    .simple-text-box .red-circle,
    .simple-text-box .green-circle,
    .simple-text-box .yellow-circle {
        width: 12px !important;
        height: 12px !important;
        margin-left: 6px;
    }

    .text-booked,
    .text-avaliable,
    .text-blocked {
        font-size: 0.75rem;
        padding: 0 3px;
    }

    .simple-text-box .btn-sm {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
}

#DoorBookHistoryList_wrapper .dt-button a span {
    color: #fff !important;
}

.nav-title-header {
    display: flex;
    flex: 1 1 0px;
    justify-content: flex-end;
}

#navbarSupportedContent {
    flex: 1 1 0px;
}

.custom-datatable a.dt-button.buttons-excel.buttons-html5 {
    display: none;
}

/* Calendar Event Hover Tooltip - Finalized */
.calendar-event-tooltip {
    position: absolute;
    background: linear-gradient(105.23deg, #70C059 0%, #72CAC8 100%);
    color: #000;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 6px 20px rgba(112, 192, 89, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    min-width: 200px;
    max-width: 320px;
    white-space: normal;
    word-wrap: break-word;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.calendar-event-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.calendar-event-tooltip::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right: 6px solid #70C059;
}

.calendar-event-tooltip small {
    opacity: 0.8;
    font-size: 12px;
    font-weight: 400;
}

/* Preview Questions Styling */
.calendar-event-tooltip .tooltip-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.calendar-event-tooltip .tooltip-questions {
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 8px;
}

.calendar-event-tooltip .question-item {
    margin-bottom: 10px;
    padding: 6px 0;
}

.calendar-event-tooltip .question-label {
    font-weight: 600;
    font-size: 10px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3px;
    display: block;
}

.calendar-event-tooltip .question-answer {
    font-weight: 500;
    font-size: 13px;
    display: block;
    color: white;
    line-height: 1.3;
    word-wrap: break-word;
    max-width: 200px;
}

.calendar-event-tooltip .question-separator {
    margin: 6px 0;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0.5;
}

/* Status badge styles for real-time tracking */
.calendar-event-tooltip .status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.badge-ongoing {
    background: rgba(243, 156, 18, 0.2);
    color: #000;
    border: 1px solid rgba(243, 156, 18, 0.5);
}

.status-badge.badge-completed {
    background: rgba(46, 204, 113, 0.2);
    color: #000;
    border: 1px solid rgba(46, 204, 113, 0.5);
}

.status-badge.badge-checkedin {
    background: rgba(52, 152, 219, 0.2);
    color: #000;
    border: 1px solid rgba(52, 152, 219, 0.5);
}

/* Tooltip separator for sections */
.calendar-event-tooltip .tooltip-separator {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 12px 0;
}

/* Info row styling for calendar tooltip */
.calendar-event-tooltip .info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
    line-height: 1.4;
}

.calendar-event-tooltip .info-label {
    font-weight: 600;
    margin-right: 8px;
    white-space: nowrap;
    opacity: 0.9;
    font-size: 12px;
}

.calendar-event-tooltip .info-value {
    text-align: right;
    flex: 1;
    font-weight: 400;
    word-wrap: break-word;
    font-size: 12px;
}

#DivDoorList .clsunbookd {
    width: fit-content;
}

#DoorList .ibtnDel {
    background: linear-gradient(95.25deg, #72CAC8 0%, #70C059 99.46%) !important;
    color: #000 !important;
}

#Add {
    background: linear-gradient(95.25deg, #72CAC8 0%, #70C059 99.46%) !important;
    color: #000 !important;
}

#datepicker {
    margin-bottom: 0 !important;
}

.jconfirm-box-container {
    width: 400px !important;
}

.custom-datatable a.dt-button.buttons-excel.buttons-html5 {
    display: none;
}

/* Global mobile-friendly inputs inside modals to avoid iOS zoom and tiny tap targets */
.modal select,
.modal input,
.modal textarea {
    font-size: 16px !important;
}

/* Mobile: pad modal headers below iOS status bar / Dynamic Island.
   Bootstrap appends modals directly to <body> with their own absolute layout,
   so body-level / #content-level safe-area padding doesn't reach them — modal
   headers can draw under the iPhone notch on tall modals. Adds the inset on
   top of the existing 16px Bootstrap padding. env() returns 0 on devices
   without insets, so this is a no-op on Android / older iOS / desktop. */
@media (max-width: 767.98px) {
    .modal .modal-header {
        padding-top: calc(1rem + env(safe-area-inset-top)) !important;
    }
}

/* FullCalendar event title clipping — keep titles inside their event boxes
   when two/more events share a slot (esp. on mobile widths where each event
   gets ~45% of the column). Default FC styles only set overflow:hidden but
   omit max-width / text-overflow, so long carrier names bleed across. */
.fc-timegrid-event,
.fc-daygrid-event,
.fc-h-event,
.fc-v-event {
    overflow: hidden !important;
}
.fc-timegrid-event .fc-event-main,
.fc-timegrid-event .fc-event-main-frame,
.fc-timegrid-event .fc-event-title-container,
.fc-timegrid-event .fc-event-title,
.fc-timegrid-event .fc-event-time,
.fc-daygrid-event .fc-event-main,
.fc-daygrid-event .fc-event-title,
.fc-h-event .fc-event-title,
.fc-h-event .fc-event-time,
.fc-v-event .fc-event-title,
.fc-v-event .fc-event-time {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    min-width: 0 !important;
}
/* iOS Safari fullscreen-modal viewport fix.
   Bootstrap's `modal-fullscreen-sm-down` sizes content to `height: 100%` resolved
   against the LARGE viewport (incl. URL bar). When the on-screen keyboard opens
   (e.g. autofocus on a textarea), the `.modal-footer` ends up below the keyboard
   AND below the visible area, so users can't see Cancel/Save buttons.
   Switch to `100dvh` (dynamic viewport height) which iOS shrinks for keyboard,
   and pad for the bottom safe-area inset on notched devices. */
@media (max-width: 575.98px) {
    .modal-fullscreen-sm-down,
    .modal-fullscreen-sm-down .modal-content {
        height: 100dvh;
        max-height: 100vh;
    }
    .modal-fullscreen-sm-down .modal-footer {
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    }
}
