body {
    background: var(--tblr-white);
}

:root {
    --rz-primary: #12b886 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: white !important;
}

h2#swal2-title {
    color: black !important;
    opacity: 70%;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 9999;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.breadcrumb li,
.breadcrumb li a {
    font-size: 12px;
    opacity: .8 !important;
}

.border-dashed {
    border-style: dashed !important;
}

.vh-85 {
    height: 85vh;
}

/* =========================
   Preloader
========================= */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--tblr-body-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .4s ease, visibility .4s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-inner img {
    width: 150px;
}


/* ======================
   Light Theme
====================== */
:root,
[data-bs-theme=light] {
    --theme-primary: #1BAA9B;
    --theme-primary-rgb: 27, 170, 155;
    --theme-cyan: #00ACC1;
    --theme-cyan-rgb: 0, 172, 193;
    --theme-cyan-dark: #00838F;
    --theme-cyan-dark-rgb: 0, 131, 143;
    --theme-cyan-dark-dark: #016069;
    --theme-cyan-dark-dark-rgb: 1, 96, 105;
    --theme-cyan-darker: #005970;
    --theme-cyan-darker-rgb: 0, 89, 112;
    --theme-purple: #7279AF;
    --theme-purple-rgb: 114, 121, 175;
    --theme-border-color-translucent: rgba(27, 170, 155, 0.14);
    --theme-box-shadow-input: 0 1px 1px rgba(var(--theme-body-color-rgb), 0.06);
    --theme-body-color: #1a2c2a;
    --theme-body-color-rgb: 26, 44, 42;
    --theme-pagination-active-bg: rgba(var(--theme-primary-rgb), .1);
    --theme-pagination-active-border-color: var(--theme-primary);
    --theme-box-shadow: rgba(var(--theme-cyan-rgb), 0.04) 0 2px 4px 0;
    --theme-form-disabled: #e8e8e8;
    --theme-form-readonly: #FAFAFB;
    --tblr-secondary-lt: #F4F6FA;
    --tblr-secondary-lt-rgb: 244, 246, 250;
    --tblr-primary: #1BAA9B;
    --tblr-secondary: #666666;
    --tblr-success: #2fb344;
    --tblr-info: #4299e1;
    --tblr-warning: #ff9f45;
    --tblr-danger: #d63939;
    --tblr-light: #f7f7f7;
    --tblr-dark: #182433;
    --tblr-muted: #667382;
    --tblr-primary-rgb: 0, 84, 166;
    --tblr-secondary-rgb: 102, 102, 102;
    --tblr-success-rgb: 47, 179, 68;
    --tblr-info-rgb: 66, 153, 225;
    --tblr-warning-rgb: 255, 159, 69;
    --tblr-danger-rgb: 214, 57, 57;
    --tblr-light-rgb: 252, 253, 254;
    --tblr-dark-rgb: 24, 36, 51;
    --tblr-muted-rgb: 102, 115, 130;
    --tblr-blue-rgb: 0, 84, 166;
    --tblr-azure-rgb: 66, 153, 225;
    --tblr-indigo-rgb: 66, 99, 235;
    --tblr-purple-rgb: 174, 62, 201;
    --tblr-pink-rgb: 214, 51, 108;
    --tblr-red-rgb: 214, 57, 57;
    --tblr-orange-rgb: 247, 103, 7;
    --tblr-yellow-rgb: 245, 159, 0;
    --tblr-lime-rgb: 116, 184, 22;
    --tblr-green-rgb: 47, 179, 68;
    --tblr-teal-rgb: 12, 166, 120;
    --tblr-cyan-rgb: 23, 162, 184;
    --tblr-facebook-rgb: 24, 119, 242;
    --tblr-twitter-rgb: 29, 161, 242;
    --tblr-linkedin-rgb: 10, 102, 194;
    --tblr-google-rgb: 220, 78, 65;
    --tblr-youtube-rgb: 255, 0, 0;
    --tblr-vimeo-rgb: 26, 183, 234;
    --tblr-dribbble-rgb: 234, 76, 137;
    --tblr-github-rgb: 24, 23, 23;
    --tblr-instagram-rgb: 228, 64, 95;
    --tblr-pinterest-rgb: 189, 8, 28;
    --tblr-vk-rgb: 99, 131, 168;
    --tblr-rss-rgb: 255, 165, 0;
    --tblr-flickr-rgb: 0, 99, 220;
    --tblr-bitbucket-rgb: 0, 82, 204;
    --tblr-tabler-rgb: 0, 84, 166;
    --tblr-primary-text-emphasis: #002242;
    --tblr-secondary-text-emphasis: #292e34;
    --tblr-success-text-emphasis: #13481b;
    --tblr-info-text-emphasis: #1a3d5a;
    --tblr-warning-text-emphasis: #632903;
    --tblr-danger-text-emphasis: #561717;
    --tblr-light-text-emphasis: #3a4859;
    --tblr-dark-text-emphasis: #3a4859;
    --tblr-primary-bg-subtle: #ccdded;
    --tblr-secondary-bg-subtle: #e0e3e6;
    --tblr-success-bg-subtle: #d5f0da;
    --tblr-info-bg-subtle: #d9ebf9;
    --tblr-warning-bg-subtle: #fde1cd;
    --tblr-danger-bg-subtle: #f7d7d7;
    --tblr-light-bg-subtle: #fbfcfd;
    --tblr-dark-bg-subtle: #bbc3cd;
    --tblr-primary-border-subtle: #99bbdb;
    --tblr-secondary-border-subtle: #c2c7cd;
    --tblr-success-border-subtle: #ace1b4;
    --tblr-info-border-subtle: #b3d6f3;
    --tblr-warning-border-subtle: #fcc29c;
    --tblr-danger-border-subtle: #efb0b0;
    --tblr-light-border-subtle: #eef1f4;
    --tblr-dark-border-subtle: #929dab;
    --tblr-white-rgb: 255, 255, 255;
    --tblr-black-rgb: 0, 0, 0;
    --tblr-font-sans-serif: -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
    --tblr-font-monospace: Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
    --tblr-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --tblr-body-font-family: var(--tblr-font-sans-serif);
    --tblr-body-font-size: 0.875rem;
    --tblr-body-font-weight: 400;
    --tblr-body-line-height: 1.4285714286;
    --tblr-body-color: #182433;
    --tblr-body-color-rgb: 24, 36, 51;
    --tblr-body-bg: #f6f8fb;
    --tblr-body-bg-rgb: 246, 248, 251;
    --tblr-emphasis-color: #182433;
    --tblr-emphasis-color-rgb: 24, 36, 51;
    --tblr-secondary-color: rgba(24, 36, 51, 0.75);
    --tblr-secondary-color-rgb: 24, 36, 51;
    --tblr-secondary-bg: #eef1f4;
    --tblr-secondary-bg-rgb: 238, 241, 244;
    --tblr-tertiary-color: rgba(24, 36, 51, 0.5);
    --tblr-tertiary-color-rgb: 24, 36, 51;
    --tblr-tertiary-bg: #f6f8fb;
    --tblr-tertiary-bg-rgb: 246, 248, 251;
    --tblr-heading-color: inherit;
    --tblr-link-color: #0054a6;
    --tblr-link-color-rgb: 0, 84, 166;
    --tblr-link-decoration: none;
    --tblr-link-hover-color: #004385;
    --tblr-link-hover-color-rgb: 0, 67, 133;
    --tblr-link-hover-decoration: underline;
    --tblr-code-color: var(--tblr-gray-600);
    --tblr-highlight-bg: #fdeccc;
    --tblr-border-width: 1px;
    --tblr-border-style: solid;
    --tblr-border-color: #E8E8E8;
    --tblr-border-color-translucent: rgba(4, 32, 69, 0.14);
    --tblr-border-radius: 4px;
    --tblr-border-radius-sm: 2px;
    --tblr-border-radius-lg: 8px;
    --tblr-border-radius-xl: 1rem;
    --tblr-border-radius-xxl: 2rem;
    --tblr-border-radius-2xl: var(--tblr-border-radius-xxl);
    --tblr-border-radius-pill: 100rem;
    --tblr-box-shadow: rgba(var(--tblr-body-color-rgb), 0.04) 0 2px 4px 0;
    --tblr-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --tblr-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --tblr-box-shadow-inset: 0 0 transparent;
    --tblr-focus-ring-width: 0.25rem;
    --tblr-focus-ring-opacity: 0.25;
    --tblr-focus-ring-color: rgba(var(--tblr-primary-rgb), 0.25);
    --tblr-form-valid-color: #2fb344;
    --tblr-form-valid-border-color: #2fb344;
    --tblr-form-invalid-color: #d63939;
    --tblr-form-invalid-border-color: #d63939;
}

.bg-primary {
    background-color: var(--theme-primary) !important;
}

.bg-cyan-darker {
    background-color: var(--theme-cyan-darker) !important;
}

.bg-muted-lt {
    background-color: rgba(var(--tblr-secondary-lt-rgb), var(--tblr-bg-opacity)) !important;
}


.text-primary {
    color: var(--theme-primary) !important;
}

.text-cyan {
    color: var(--theme-cyan) !important;
}

.text-cyan-dark {
    color: var(--theme-cyan-dark) !important;
}

.text-cyan-dark-dark {
    color: var(--theme-cyan-dark-dark) !important;
}

/* ======================
   Dark Theme
====================== */
:root[data-bs-theme="dark"] {}



/* ====================
Font Style 
====================*/
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-bottom: 0;
}

p {
    color: var(--tblr-dark);
}


/* ====================
Font Size 
====================*/
a {
    font-size: .8rem;
}

.small-8 {
    font-size: .8rem;
}

.small-7 {
    font-size: .7rem;
}

.small-65 {
    font-size: .65rem;
}

.small-6 {
    font-size: .6rem;
}

/* ====================
Login
====================*/
.login-bg {
    background: #11665D;
    background: linear-gradient(180deg, rgba(17, 102, 93, 1) 0%, rgba(28, 167, 153, 1) 100%);
}

/* ====================
Button
====================*/
.btn {
    margin: .25rem .125rem;
}

.btn-primary {
    --tblr-btn-color: var(--tblr-primary-fg);
    --tblr-btn-bg: var(--theme-primary);
    --tblr-btn-hover-color: var(--tblr-primary-fg);
    --tblr-btn-hover-bg: rgba(var(--theme-primary-rgb), .8);
    --tblr-btn-active-color: var(--tblr-primary-fg);
    --tblr-btn-active-bg: rgba(var(--theme-primary-rgb), .8);
    --tblr-btn-disabled-bg: var(--theme-primary);
    --tblr-btn-disabled-color: var(--tblr-primary-fg);
    --tblr-btn-box-shadow: var(--tblr-box-shadow-input);
    border: 0;
}

.btn-inverse-primary {
    --tblr-btn-color: var(--theme-primary);
    --tblr-btn-bg: rgba(var(--theme-primary-rgb), .1);
    --tblr-btn-hover-color: var(--theme-primary);
    --tblr-btn-hover-bg: rgba(var(--theme-primary-rgb), .15);
    --tblr-btn-active-color: var(--theme-primary);
    --tblr-btn-active-bg: rgba(var(--theme-primary-rgb), .15);
    --tblr-btn-disabled-bg: rgba(var(--theme-primary-rgb), .1);
    --tblr-btn-disabled-color: var(--theme-primary);
    --tblr-btn-box-shadow: rgba(var(--theme-primary-rgb), .15);
    border: 0;
}

.btn-inverse-secondary {
    --tblr-btn-color: var(--tblr-secondary);
    --tblr-btn-bg: rgba(var(--tblr-secondary-rgb), .1);
    --tblr-btn-hover-color: var(--tblr-secondary);
    --tblr-btn-hover-bg: rgba(var(--tblr-secondary-rgb), .15);
    --tblr-btn-active-color: var(--tblr-secondary);
    --tblr-btn-active-bg: rgba(var(--tblr-secondary-rgb), .15);
    --tblr-btn-disabled-bg: rgba(var(--tblr-secondary-rgb), .1);
    --tblr-btn-disabled-color: var(--tblr-secondary);
    --tblr-btn-box-shadow: rgba(var(--tblr-secondary-rgb), .15);
    border: 0;
}

.btn-inverse-danger {
    --tblr-btn-color: var(--tblr-danger);
    --tblr-btn-bg: rgba(var(--tblr-danger-rgb), .1);
    --tblr-btn-hover-color: var(--tblr-danger);
    --tblr-btn-hover-bg: rgba(var(--tblr-danger-rgb), .15);
    --tblr-btn-active-color: var(--tblr-danger);
    --tblr-btn-active-bg: rgba(var(--tblr-danger-rgb), .15);
    --tblr-btn-disabled-bg: rgba(var(--tblr-danger-rgb), .1);
    --tblr-btn-disabled-color: var(--tblr-danger);
    --tblr-btn-box-shadow: rgba(var(--tblr-danger-rgb), .15);
    border: 0;
}

.btn-inverse-success {
    --tblr-btn-color: var(--tblr-success);
    --tblr-btn-bg: rgba(var(--tblr-success-rgb), .1);
    --tblr-btn-hover-color: var(--tblr-success);
    --tblr-btn-hover-bg: rgba(var(--tblr-success-rgb), .15);
    --tblr-btn-active-color: var(--tblr-success);
    --tblr-btn-active-bg: rgba(var(--tblr-success-rgb), .15);
    --tblr-btn-disabled-bg: rgba(var(--tblr-success-rgb), .1);
    --tblr-btn-disabled-color: var(--tblr-success);
    --tblr-btn-box-shadow: rgba(var(--tblr-success-rgb), .15);
    border: 0;
}

.btn-inverse-light {
    --tblr-btn-color: var(--theme-primary);
    --tblr-btn-bg: var(--tblr-white);
    --tblr-btn-hover-color: var(--theme-primary);
    --tblr-btn-hover-bg: rgba(var(--tblr-light-rgb), .95);
    --tblr-btn-active-color: var(--theme-primary);
    --tblr-btn-active-bg: var(--tblr-secondary-bg);
    --tblr-btn-disabled-bg: var(--tblr-white);
    --tblr-btn-disabled-color: rgba(var(--theme-primary-rgb), .50);
    --tblr-btn-box-shadow: rgba(var(--theme-primary-rgb), .15);
    border: 0;
}

.btn-outline-primary {
    --tblr-btn-color: var(--theme-primary);
    --tblr-btn-bg: transparent;
    --tblr-btn-hover-color: var(--theme-primary);
    --tblr-btn-hover-bg: rgba(var(--theme-primary-rgb), .05);
    --tblr-btn-active-color: var(--theme-primary);
    --tblr-btn-active-bg: rgba(var(--theme-primary-rgb), .1);
    --tblr-btn-disabled-bg: transparent;
    --tblr-btn-disabled-color: rgba(var(--theme-primary-rgb), .5);
    --tblr-btn-box-shadow: rgba(var(--theme-primary-rgb), .15);
    border: 1px solid var(--theme-primary);
}


.btn-check:checked+.btn.btn-inverse-primary {
    border: 1px solid var(--theme-primary);
}

.btn-group {
    box-shadow: none;
}

/* ====================
Background Style
====================*/
.card.title-bg {
    background-image: url(../img/background/title-bg.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 100px;
    height: 100%;
    border: none;
    border-radius: 8px;
    color: white;
    overflow: hidden;
}

.card.title-bg p {
    color: white !important;
}

.card.title-bg .card-body {
    position: relative;
    z-index: 1;
}

/* ====================
Form
====================*/
.form-label {
    margin-bottom: .5rem;
    font-size: .8rem;
}

.form-control,
.form-select,
.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    font-size: .8rem;
    box-shadow: none !important;
}

.form-check-input:checked {
    background-color: var(--theme-primary);
    border-color: var(--theme-border-color-translucent);
}

.form-check-input:focus,
.form-control:focus,
.form-select:focus,
.input-group-flat:focus-within,
.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    box-shadow: 0 0 0 .25rem rgba(var(--theme-primary-rgb), .25);
    border-color: #80d3c4;
}

.form-control[readonly],
.form-select[readonly] {
    background-color: var(--theme-form-readonly) !important;
    opacity: .7;
}

.form-control[disabled],
.form-control:disabled,
.form-select[disabled],
.form-select:disabled {
    background-color: var(--theme-form-disabled) !important;
    opacity: 1;
    color: #808080;
}

.input-icon-addon-end {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    color: var(--tblr-icon-color);
    pointer-events: none;
    font-size: 1.2em;
}


.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    background-color: #1BAA9B;
    color: white;
    font-size: .8rem;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove,
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove:hover {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50% / .75rem auto no-repeat;
    cursor: pointer;
}

div.tagsinput {
    border: var(--tblr-border-width) solid var(--tblr-border-color);
    border-radius: var(--tblr-border-radius);
    padding: 5px;
    overflow-y: auto;
}

div.tagsinput span.tag {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .25rem .5rem;
    font-size: .8rem;
    line-height: 1.4;
    background-color: var(--theme-primary);
    border: 0;
    color: white;
    border-radius: .375rem;
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
}

div.tagsinput span.tag a {
    cursor: pointer;
    color: white;
    font-weight: 400;
    font-size: .8rem;
}

div.tagsinput input {
    padding: 5px;
    margin: 0 5px 5px 0;
    border: 1px solid transparent;
    background: transparent;
    outline: 0;
    font-size: .8rem;
    width: 80px;
}

div.tagsinput div {
    display: block;
    float: left;
}

.tags_clear {
    clear: both;
    width: 100%;
    height: 0;
}

.tags-readonly+.tagsinput .tag a {
    display: none !important;
    pointer-events: none;
}

.tags-readonly+.tagsinput {
    background-color: var(--theme-form-readonly) !important;
}

/* ====================
Icon style
====================*/
.icon-wrap {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-wrap img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* SHAPES */
.icon-wrap.round {
    border-radius: 50%;
}

.icon-wrap.square {
    border-radius: 10px;
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====================
Navbar style
====================*/
.navbar-nav .nav-item .nav-link {
    min-width: 130px;
}

.navbar-actions .nav-item .nav-link {
    min-width: auto !important;
    padding-left: .5rem;
    padding-right: .5rem;
}

/* ====================
Map style
====================*/
/* .map-wrapper {
    height: 85vh;
} */

/* Map */
#map {
    height: 100%;
    width: 100%;
    border-radius: .8rem;
}

.map-info {
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    width: calc(22% - 10px);
    height: calc(100% - 30px);
    border-radius: 0.8rem;
    z-index: 800;
}


.map-info .card-body {
    height: 100%;
}

.map-info.card {
    background: rgba(var(--tblr-light-rgb), 0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(8px);
}

.map-info.card.card-dark {
    background: rgba(var(--tblr-dark-rgb), 0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
}

.leaflet-overlay-pane svg {
    z-index: 200;
}

.marker-with-fa {
    display: flex;
    align-items: center;
    flex-direction: row;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.marker-icon-stack {
    position: relative;
    width: 2.5em;
    height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.marker-icon-stack .fa-circle {
    color: #087D8D;
    font-size: 2.2em;
    position: absolute;
    transition: color 0.3s ease;
}

.marker-icon-stack .fa-location-dot {
    font-size: 1em;
    position: relative;
    color: #ffffff;
}

.marker-with-fa:hover .marker-icon-stack .fa-circle {
    color: var(--theme-primary, #007bff) !important;
    /* Changes to primary color */
}

.marker-icon-wrapper {
    width: 22px;
    height: 22px;
    background-color: #363B64;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: auto;
    border: 1.5px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.marker-icon-wrapper i {
    color: white;
    font-size: 10px;
}

.marker-label {
    background: var(--theme-cyan-darker);
    color: white;
    padding: 2px 10px 2px 15px;
    border-radius: 0 8px 8px 0;
    font-size: 12px;
    margin-left: -28px;
    white-space: nowrap;
}

.map-label {
    background: var(--theme-cyan-darker);
    color: white;
    padding: 2px 10px 2px 15px;
    border-radius: 0 8px 8px 0;
    font-size: 12px;
    margin-left: -10px;
    white-space: nowrap;
}

.marker-with-fa .fasa-label {
    background: var(--theme-purple);
    color: white;
    padding: 2px 10px 2px 14px;
    border-radius: 0 12px 12px 0;
    font-size: 11px;
    font-weight: 500;
    margin-left: -11px;
    white-space: nowrap;
    z-index: 1;
    pointer-events: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.marker-with-fa .petak-label {
    background: #16a34a !important;
}

.leaflet-marker-icon {
    z-index: 500 !important;
}

#mapBackBtn,
#mapHomeBtn {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    color: #1d1d1d;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 13px;
    cursor: pointer;
}

#mapHomeBtn {
    left: 52px;
}

#mapBackBtn:hover,
#mapHomeBtn:hover {
    background: rgba(255, 255, 255, 0.9);
}

#mapResetViewBtn {
    position: absolute;
    top: 136px;
    left: 17px;
    z-index: 1000;
    background: #fff;
    color: #000;
    border: none;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    border-radius: 3px;
    width: 30px;
    height: 30px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mapResetViewBtn:hover {
    background-color: #f4f4f4;
    color: #111;
}

.leaflet-top.leaflet-left {
    top: 50px;
    left: 5px
}

.leaflet-coords {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .95);
    padding: 6px 8px;
    font-size: 12px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.coord-text {
    line-height: 1.2;
}

.coord-copy {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    padding: 2px;
}

.coord-copy:hover {
    opacity: .7;
}

.map-middle-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(var(--tblr-dark-rgb), .7);
    color: #fff;
    padding: 8px 16px;
    border-radius: .5rem;
    font-size: 1rem;
    z-index: 501;
    white-space: normal;
    text-align: center;
    max-width: 90%;
    width: max-content;
    pointer-events: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: .8;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: .8;
    }
}

.map-middle-label {
    animation: pulse 2s infinite;
}



/* ====================
Card Style
====================*/
.card.card-opacity-70 {
    background-color: rgb(255, 255, 255, .7);
}

/* ====================
Settings
====================*/
.setting-card-width {
    width: 75%;
}

.border-settings {
    border: 3px solid rgba(8, 125, 141, 0.6);
    width: 60px;
    border-radius: 1rem;
    transition: all .4s;
}

.bg-settings:hover>.border-settings {
    border: 3px solid rgba(114, 121, 175, 1);
    width: 90px;
}

.bg-settings {
    position: relative;
    background-color: var(--tblr-dark);
    overflow: hidden;
    min-height: 230px;
}

.bg-settings::before {
    content: "";
    position: absolute;
    top: 70%;
    left: 10%;
    width: 150px;
    height: 10px;
    background: var(--theme-primary);
    border-radius: 1rem;
    transform: translate(-50%, -50%) scale(50);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    z-index: 0;
}

.bg-settings:hover::before {
    transform: translate(-50%, -50%) scale(0);
}

.bg-settings>* {
    position: relative;
    z-index: 1;
}

.settings-icon {
    position: absolute;
    top: 30%;
    right: 10px;
    width: 80px;
    height: 100px;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 2;
    transform: scale(2);
    transition: all .3s;
}

.bg-settings:hover>.settings-icon {
    transform: scale(3);
}

.bg-settings-1 .settings-icon {
    background-image: url(../img/icons/settings-1.png);
}

.bg-settings-2 .settings-icon {
    background-image: url(../img/icons/settings-2.png);
}

.bg-settings-3 .settings-icon {
    background-image: url(../img/icons/settings-3.png);
}

.table th {
    text-transform: capitalize !important;
}

.table td {
    text-wrap: nowrap;
    font-size: smaller;
    min-width: 130px;
}

#accordionStok .table td {
    text-wrap: nowrap;
    font-size: smaller;
    min-width: 70px !important;
}

/* #maklumatKontrak {
  table-layout: fixed;
  width: 100%;
} */

.dt-type-numeric {
    text-align: left !important;
}

.table td:last-child,
.table th:last-child,
.table.table-mw-auto td {
    text-wrap: nowrap;
    font-size: smaller;
    min-width: 90px;
}

.card-disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    filter: grayscale(0.5);
}

/* ====================
Data Table
====================*/
/* .table-footer {
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: center;
} */

.custom-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    margin-top: 2rem;
}

div.dt-scroll-body {
    border-bottom: none !important;
}

.dt-search {
    margin-bottom: 10px;
}

.active>.page-link,
.page-link.active {
    z-index: 3;
    color: var(--theme-primary);
    background-color: var(--theme-pagination-active-bg);
    border: 1px solid var(--theme-pagination-active-border-color);
}

.page-link:focus {
    box-shadow: 0 0 0 .25rem rgba(var(--theme-primary-rgb), .0);
}

table.dataTable thead span.dt-column-order::before,
table.dataTable thead span.dt-column-order::after {
    opacity: 0 !important;
}

table.dataTable th .dt-column-order {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('/assets/img/tabler-icons/outline/arrows-sort.svg') no-repeat center center;
    background-size: contain;
}

table.dataTable th.dt-ordering-asc .dt-column-order {
    background: url('/assets/img/tabler-icons/outline/chevron-up.svg') no-repeat center center;
    background-size: contain;
}

table.dataTable th.dt-ordering-desc .dt-column-order {
    background: url('/assets/img/tabler-icons/outline/chevron-down.svg') no-repeat center center;
    background-size: contain;
}

th.no-sort span.dt-column-order {
    display: none !important;
}

/* table.dataTable thead th .dt-column-header {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
} */

table.dataTable thead th .dt-column-header span.dt-column-order {
    order: -1;
}

table.dataTable thead>tr>th.dt-orderable-asc:hover,
table.dataTable thead>tr>th.dt-orderable-desc:hover,
table.dataTable thead>tr>td.dt-orderable-asc:hover,
table.dataTable thead>tr>td.dt-orderable-desc:hover,
table.dataTable thead>tr>th:focus,
table.dataTable thead>tr>td:focus {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ============================================
   Global DataTables Custom Styling
   ============================================ */

/* Remove default DataTables styling */
.dataTable {
    border-collapse: collapse !important;
    width: 100% !important;
}

/* Table headers */
.dataTable thead th {
    background-color: var(--tblr-secondary-lt) !important;
    color: var(--tblr-secondary) !important;
    border: none !important;
    font-weight: 600 !important;
}

/* Keep DataTables default sorting icons - just style them */
.dataTable thead th.sorting,
.dataTable thead th.sorting_asc,
.dataTable thead th.sorting_desc {
    cursor: pointer !important;
    padding-right: 30px !important;
    /* Make room for the icon */
}

/* Style the sorting icons */
.dataTable thead th.sorting_asc,
.dataTable thead th.sorting_desc {
    background-color: var(--tblr-secondary-lt) !important;
}

/* Remove cursor pointer on non-sortable columns */
.dataTable thead th.sorting_disabled {
    cursor: default !important;
}

/* Table body rows */
.dataTable tbody tr {
    border-bottom: 1px solid #e9ecef;
}

.dataTable tbody td {
    padding: 0.75rem !important;
}

/* Hover effect */
.dataTable tbody tr:hover {
    background-color: #f8f9fa !important;
}

/* DataTables wrapper */
.dataTables_wrapper {
    width: 100%;
}

/* Pagination styling */
.dataTables_wrapper .dataTables_paginate {
    padding-top: 1rem;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    padding: 1rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.375rem 0.75rem;
    margin: 0 0.25rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background: white;
    color: #495057;
    cursor: pointer;
    display: inline-block;
}

.dataTables_wrapper .dataTables_paginate.paging_full_numbers {
    padding: 1rem;
    /* top/bottom left/right */
}

/* Hide the default text and show only icons */
.dataTables_wrapper .dataTables_paginate .paginate_button.first,
.dataTables_wrapper .dataTables_paginate .paginate_button.last,
.dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    font-size: 0;
    /* Hide the text */
}

/* Super specific selector to override DataTables */
.dataTables_wrapper .dataTables_paginate span .paginate_button.current,
.dataTables_wrapper .dataTables_paginate span .paginate_button.current:hover,
.dataTables_wrapper .dataTables_paginate span .paginate_button.current:active,
.dataTables_wrapper .dataTables_paginate span .paginate_button.current:focus {
    background: #1baa9b !important;
    background-color: #1baa9b !important;
    color: white !important;
    border-color: #1baa9b !important;
}

/* Show icons with proper font size */
.dataTables_wrapper .dataTables_paginate .paginate_button.first:before {
    content: "«";
    font-size: 1rem;
    /* Restore font size for icon */
    margin-right: 0.25rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.last:after {
    content: "»";
    font-size: 1rem;
    margin-left: 0.25rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous:before {
    content: "‹";
    font-size: 1rem;
    margin-right: 0.25rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.next:after {
    content: "›";
    font-size: 1rem;
    margin-left: 0.25rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.first:before {
    content: "« ";
}

.dataTables_wrapper .dataTables_paginate .paginate_button.last:after {
    content: " »";
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous:before {
    content: "‹ ";
}

.dataTables_wrapper .dataTables_paginate .paginate_button.next:after {
    content: " ›";
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    color: #495057;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--tblr-primary) !important;
    color: white !important;
    border-color: var(--tblr-primary) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Also ensure the wrapper takes full width */
.dataTables_wrapper {
    width: 100%;
}

/* Make sure the pagination container is centered */
.dataTables_wrapper .dataTables_paginate span {
    display: inline-block;
}

/* Search box styling (if you enable it later) */
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    margin-left: 0.5rem;
}

/* Length menu styling (if you enable it later) */
.dataTables_wrapper .dataTables_length select {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    margin: 0 0.5rem;
}

/* Info text styling (if you enable it later) */
.dataTables_wrapper .dataTables_info {
    padding-top: 1rem;
    color: #6c757d;
}

/* Loading/Processing message */
.dataTables_wrapper .dataTables_processing {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 1rem;
}

/* Scrolling tables */
.dataTables_wrapper .dataTables_scroll {
    width: 100%;
}

.dataTables_wrapper .dataTables_scrollBody {
    border: none !important;
}



/* ====================
Upload File
====================*/
.upload-zone {
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: rgba(var(--theme-primary-rgb), .3);
    background: rgba(var(--theme-primary-rgb), .1);
    ;
}

.file-icon {
    font-size: 2rem;
}

/* ====================
Alert
====================*/
.alert {
    font-size: .75rem;
    --tblr-alert-color: var(--tblr-body-color);
    --tblr-alert-bg: color-mix(in srgb, var(--tblr-alert-color) 10%, transparent);
    --tblr-alert-padding-x: 0.75rem;
    --tblr-alert-padding-y: 0.5rem;
    --tblr-alert-margin-bottom: 1rem;
    --tblr-alert-border-color: color-mix(in srgb, var(--tblr-alert-color) 20%, transparent);
    --tblr-alert-border: var(--tblr-border-width) solid var(--tblr-alert-border-color);
    --tblr-alert-border-radius: var(--tblr-border-radius);
    --tblr-alert-link-color: inherit;
    --tblr-alert-heading-font-weight: var(--tblr-font-weight-medium);
    position: relative;
    padding: var(--tblr-alert-padding-y) var(--tblr-alert-padding-x);
    margin-bottom: var(--tblr-alert-margin-bottom);
    background-color: color-mix(in srgb, var(--tblr-alert-bg), var(--tblr-bg-surface));
    border-radius: var(--tblr-alert-border-radius);
    border: var(--tblr-border-width) var(--tblr-border-style) var(--tblr-alert-border-color);
    display: flex;
    flex-direction: row;
    gap: 1rem;
    box-shadow: rgba(24, 36, 51, .0) 0 2px 4px 0;
}

/* .alert-icon {
    color: var(--tblr-alert-color);
} */

.alert-warning {
    --tblr-alert-color: var(--tblr-warning);
}

.alert-success {
    --tblr-alert-color: var(--tblr-success);
}

.alert-danger {
    --tblr-alert-color: var(--tblr-danger);
}

.alert-info {
    --tblr-alert-color: var(--tblr-info);
}

/* ====================
Navpill
====================*/
#primary-pills-tab .nav-item .nav-link.active {
    --tblr-nav-pills-border-radius: 5rem;
    --tblr-nav-pills-link-active-color: var(--tblr-light);
    --tblr-nav-pills-link-active-bg: var(--tblr-primary);
}

/* ====================
Media
====================*/

@media (min-width: 991.98px) {
    .navbar-nav.nav-pill {
        background-color: var(--tblr-gray-200);
        border-radius: 999px;
    }

    /* .navbar-expand-lg .nav-item.active:after {
        border: 1px solid rgb(var(--theme-primary-rgb),.8);
        bottom: 2px;
        border-radius: 2rem;
    } */
}


@media (max-width: 1399.98px) {
    .map-info {
        width: calc(30% - 10px);
    }
}

@media (max-width: 991.98px) {
    .map-wrapper {
        height: 85vh;
    }

    .map-info {
        width: 100%;
        height: 60%;
        bottom: 0;
        top: auto;
        right: 0;
        border-radius: .8rem;
    }

    .leaflet-bottom.leaflet-left {
        bottom: 60%;
    }

    .leaflet-coords {
        display: none !important;
    }

    .setting-card-width {
        width: 100% !important;
    }

    .map-middle-label {
        top: 30%;
        font-size: 0.85rem;
        padding: 12px 18px;
        max-width: calc(100vw - 3rem);
        width: auto;
    }

    #setD10-1 {
        width: 100% !important;
        table-layout: fixed;
    }

    #setD10-1 td {
        white-space: normal !important;
        vertical-align: top;
    }

    #setD10-1 .badge {
        font-size: 0.65rem;
        padding: 2px 5px;
    }
}

/* Map Tooltip */
.map-tooltip {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 10px;
    font-family: 'Inter', sans-serif;
    color: #182433;
    line-height: 1.5;
    min-width: 180px;
}

.map-tooltip b {
    color: var(--theme-primary);
    font-size: 1.1em;
    display: block;
    margin-bottom: 4px;
    border-bottom: 1px solid #eee;
    padding-bottom: 4px;
}

.leaflet-tooltip {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#mapLayerBackBtn {
    transition: all 0.3s ease;
    border-radius: 20px !important;
    padding: 6px 15px !important;
    font-weight: 500;
    border: 1px solid #ddd !important;
}

#mapLayerBackBtn:hover {
    background-color: var(--theme-primary) !important;
    color: white !important;
    border-color: var(--theme-primary) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Add New Set Button styled as Tab */
.btn-add-new-set {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--tblr-primary);
    padding: 0.75rem 1.25rem;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.btn-add-new-set:hover {
    color: var(--tblr-primary);
    border-bottom-color: var(--tblr-primary);
    background: rgba(var(--tblr-primary-rgb), 0.05);
}

.btn-add-new-set:active {
    transform: translateY(1px);
}


.custom-tabs-wrapper {
    position: relative;
}

.custom-tabs-wrapper .rz-tabview-nav {
    display: inline-flex !important;
}

.custom-tabs-wrapper .btn-add-new-set {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
}

.kawasan-label-top {
    background: rgba(99, 102, 241, 0.9);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
    white-space: nowrap;
    z-index: 1000;
}

.fasa-label-container {
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.marker-with-fa {
    display: flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    color: white;
    font-weight: bold;
    transform: translate(-50%, -50%);
}

.marker-icon-wrapper {
    margin-right: 6px;
}

.ant-picker {
    height: 65% !important;
    border-radius: 5px !important;
}

.modal-title {
    color: black !important;
}

.form-switch .custom-switch-teal {
    width: 2.2rem;
    height: 1.1rem;
    background-color: #fff;
    border-color: #dee2e6;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23d0d4d9'/%3e%3c/svg%3e");
    transition: background-position .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.custom-switch-teal:checked {
    background-color: #1BAA9B !important;
    border-color: #1BAA9B !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
}

.form-switch .custom-switch-teal:focus {
    border-color: #80d3c4;
    box-shadow: 0 0 0 .25rem rgba(27, 170, 155, .25);
}

.custom-label-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.kawasan-label-top {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    transform: translate(-50%, -100%);
    display: inline-block;
}

/* ====================
Gantt Chart
====================*/
/* Card */
.gantt-wrapper {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow-x: auto;
    padding: 20px;
    display: grid;
    /* ⭐ 必须 */
}

.gantt-bg,
.gantt {
    grid-area: 1 / 1;
    /* ⭐ 关键 */
}

/* Grid */
.gantt {
    display: grid;
    min-width: 1200px;
    position: relative;
    z-index: 1;
}

/* Row */
.gantt-row {
    display: grid;
    grid-template-columns: 180px repeat(30, 1fr);
    margin-bottom: 10px;
}

/* Header */
.gantt-days {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    background: #f8fafc;
}

.gantt-days div {
    text-align: center;
    padding: 12px 0;
}

/* Label */
.gantt-label {
    padding-left: 15px;
    font-weight: 500;
    color: #343a40;
}

/* Day cell lines */
.gantt-row>div:not(.gantt-label) {
    border-right: 1px solid #f2f2f2;
}

/* Bars container */
.gantt-bars {
    grid-column: 2 / span 30;
    display: grid;
    grid-template-columns: repeat(30, 1fr);
}

/* Bar */
.gantt-bar {
    height: 18px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
}

.bar-group {
    display: grid;
    grid-template-rows: repeat(3, 18px);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 2px;
}

/* Colors */
.bar-cyan {
    background: var(--theme-cyan);
}

.bar-cyan-dark {
    background: var(--theme-cyan-dark);
}

.bar-cyan-darker {
    background: var(--theme-body-color);
}

.gantt-bar:hover {
    transform: scale(1.03);
    transition: 0.2s ease;
}


.popover {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    background: rgba(var(--tblr-light-rgb), 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(8px);
}


.popover-header {
    display: none;
}

.gantt-bg {
    display: grid;
    grid-template-columns: 180px repeat(30, 1fr);
    pointer-events: none;
    z-index: 2;
}

.gantt-column-grey {
    background: rgba(0, 0, 0, 0.06);
}

.filter-popup {
    border: 1px solid rgba(0, 0, 0, 0.08);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================
RFID Modal
====================*/
.modal-rfid-width {
    max-width: 450px;
    margin: 1.75rem auto;
}

@media (max-width: 576px) {
    .modal-rfid-width {
        max-width: 90vw !important;
        margin: 0.5rem auto !important;
    }
}

.rfid-icon-container {
    background: #f8fbff;
    border-radius: 2rem;
    padding: 2rem;
    display: inline-block;
    border: 1px dashed #e1e8f0;
}

.last-border-0:last-child {
    border-bottom: 0 !important;
}

.rfid-list-container::-webkit-scrollbar {
    width: 6px;
}

.rfid-list-container::-webkit-scrollbar-thumb {
    background: #e1e8f0;
    border-radius: 10px;
}

.rfid-list-container::-webkit-scrollbar-track {
    background: transparent;
}

/* ====================
Filter Pop Up
====================*/
.filter-popup {
    width: 420px;
    z-index: 2000;
    cursor: default;
}

@media (max-width: 576px) {
    .filter-popup {
        width: 92vw !important;
        left: 4vw !important;
        right: 4vw !important;
        top: 15% !important;
        position: fixed !important;
        max-height: 80vh;
        overflow-y: auto;
    }
}


/* ====================
Dashboard
====================*/
@media (max-width: 768px) {
    .leaflet-bottom.leaflet-right {
        z-index: 0 !important;
    }
}

.map-info {
    display: flex !important;
    flex-direction: column !important;
}

.map-info-dropdown {
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.map-info .card-body {
    flex: 1 !important;
    min-height: 0 !important;
    height: auto !important;
}

@media (max-width: 991.98px) {
    .map-info {
        transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

        .map-info.panel-collapsed {
            height: 76px !important;
            overflow: hidden;
        }

    .mobile-panel-handle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 14px 6px;
        cursor: pointer;
        touch-action: manipulation;
        user-select: none;
        min-height: 38px;
        flex-shrink: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mobile-panel-chevron {
        transition: transform 0.3s ease;
    }

    .map-info.panel-collapsed .mobile-panel-chevron {
        transform: rotate(180deg);
    }

    .mobile-panel-pill {
        width: 32px;
        height: 4px;
        background: rgba(255, 255, 255, 0.25);
        border-radius: 2px;
    }
}

@media (min-width: 992px) {
    .mobile-panel-handle {
        display: none;
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
/* Loading overlay */
.pointer-events-none {
    pointer-events: none;
}

/* ─── FullCalendar Custom Toolbar Buttons ────────── */
.fc-nav-btn {
    background-color: #1BAA9B;
    border-color: #1BAA9B;
    color: #fff;
    border-radius: 8px !important;
    padding: 6px 10px;
}
.fc-nav-btn:hover, .fc-nav-btn:focus {
    background-color: #16988A;
    border-color: #16988A;
    color: #fff;
}
.fc-today-btn {
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: #182433;
    border-radius: 100rem !important;
    padding: 5px 14px;
}
.fc-today-btn:hover {
    background-color: #f4f6fa;
    border-color: #c8cdd2;
    color: #182433;
}
.fc-view-btn {
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: #182433;
    border-radius: 100rem !important;
    padding: 5px 14px;
}
.fc-view-btn:hover {
    background-color: #f4f6fa;
    color: #182433;
}
.fc-view-active-btn {
    background-color: #1BAA9B;
    border-color: #1BAA9B;
    color: #fff;
    border-radius: 100rem !important;
    padding: 5px 14px;
}
.fc-view-active-btn:hover {
    background-color: #16988A;
    border-color: #16988A;
    color: #fff;
}

/* ─── FullCalendar Theme ─────────────────────────── */
:root {
    --fc-button-bg-color: #f4f6fa;
    --fc-button-border-color: #f4f6fa;
    --fc-button-hover-bg-color: #16988A;
    --fc-button-hover-border-color: #16988A;
    --fc-button-active-bg-color: #128478;
    --fc-button-active-border-color: #128478;
    --fc-today-bg-color: rgba(27, 170, 155, 0.08);
}

.fc .fc-button-primary {
    background-color: var(--fc-button-bg-color);
    border-color: var(--fc-button-border-color);
    color: #182433;
    box-shadow: none !important;
}

.fc .fc-button-primary:hover {
    background-color: var(--fc-button-hover-bg-color);
    border-color: var(--fc-button-hover-border-color);
    color: #fff;
}

.fc .fc-button-primary:not(:disabled):active,
.fc .fc-button-primary:not(:disabled).fc-button-active {
    background-color: var(--fc-button-active-bg-color);
    border-color: var(--fc-button-active-border-color);
    color: #fff;
}

.fc .fc-prev-button,
.fc .fc-next-button,
.fc .fc-today-button {
    background-color: #1BAA9B !important;
    border-color: #1BAA9B !important;
    color: #fff !important;
}

.fc .fc-prev-button:hover,
.fc .fc-next-button:hover,
.fc .fc-today-button:hover {
    background-color: #16988A !important;
    border-color: #16988A !important;
}

.fc .fc-today-button:disabled {
    background-color: #1BAA9B !important;
    border-color: #1BAA9B !important;
    opacity: 0.65;
}

.fc .fc-col-header-cell {
    background-color: #1baa9b;
}

.fc .fc-col-header-cell-cushion {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 4px;
}

.fc .fc-toolbar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #182433;
}

.fc .fc-daygrid-day-number {
    color: #182433;
    text-decoration: none;
}

.fc .fc-daygrid-day.fc-day-today {
    background-color: var(--fc-today-bg-color);
}

.fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
    background-color: #1BAA9B;
    color: #fff;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.fc .fc-more-link {
    color: #1BAA9B;
    font-weight: 600;
}

/* Custom styling for Next & Prev grouped buttons */
.fc-nav-arrow-btn {
    background-color: #1BAA9B !important;
    border: none !important;
    color: #fff !important;
    border-radius: 10px; /* Base radius, btn-group handles the corners */
    transition: background-color 0.2s;
}

    .fc-nav-arrow-btn:hover {
        background-color: #16988A !important;
        color: #fff !important;
    }

/* "Bulan Ini" Pill design */
.fc-today-pill-btn {
    background-color: #E8F7F5 !important;
    border: none !important;
    color: #1BAA9B !important;
    font-weight: 500;
    border-radius: 10px !important;
    font-size: 0.9rem;
}

    .fc-today-pill-btn:hover {
        background-color: #D3F0EC !important;
    }

/* Container encapsulation for Bulan/Minggu/Hari buttons */
.fc-view-group {
    background-color: #F4F6FA;
    border-radius: 30px !important; /* Makes the wrapper a complete pill capsule */
}

/* Active state styles mimicking the screenshot */
.fc-view-active-btn {
    background-color: #1BAA9B !important;
    color: #fff !important;
    border-radius: 30px !important; /* Keeps the internal active item completely round */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
