/*
.header-wrapper{
    background-color: #e6e5db !important;
}

.sidebar-wrapper {
    background-color: #e6e5db !important;
}
*/

.sidebar-header {
    background-color: #073D30 !important;
}

.sidebar-body {
    background-color: #ecf7eb !important;
}

.upgrade-banner {
    background-color: #073D30 !important;
}

.tab-content {
    min-height: 600px;
}

.setttings-tab-header {
    display: grid;
    align-items: center;
    font-size: 19px !important;
}

.table-btn-bg-success {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 0.2px;
    font-family: "Urbanist";
    padding: 5px 12px;
    border-radius: 8px;
    background: #22c55f;
    color: #FFF;
}

.table-btn-bg-danger {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 0.2px;
    font-family: "Urbanist";
    padding: 5px 12px;
    border-radius: 8px;
    background: #e2373d;
    color: #FFF;
}

.table-btn-bg-warning {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 0.2px;
    font-family: "Urbanist";
    padding: 5px 12px;
    border-radius: 8px;
    background: #eab308;
    color: #FFF;
}

.table-btn-bg-default {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 0.2px;
    font-family: "Urbanist";
    padding: 5px 12px;
    border-radius: 8px;
    background: #918d8d;
    color: #FFF;
}

.table-btn-bg-primary {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 0.2px;
    font-family: "Urbanist";
    padding: 5px 12px;
    border-radius: 8px;
    background: #115cbe;
    color: #FFF;
}

.me-2 button {
    background-color: transparent !important;
}

/* Flowbite progress bar */
.bg-green-600 {
    background-color: #059669;
}

.bg-blue-600 {
    background-color: #2563eb;
}

.bg-red-600 {
    background-color: #dc2626;
}

.bg-yellow-600 {
    background-color: #fbbf24;
}

.bg-gray-600 {
    background-color: #4b5563;
}

.bg-gray-400 {
    background-color: #b8b8b8;
}

.table-content {
    /* padding-bottom: 50px; */
}

/* Map */
#add-field-nodal-map {
    height: 400px;
    width: 100%;
    border-radius: 0.75rem;
    margin-top: 0.5rem;
    z-index: 1;
}

/* Sidebar Map Styles */
#main-map {
    height: 300px !important;
    width: 100% !important;
    border-radius: 0.75rem;
    z-index: 1;
    position: relative;
}

/* Ensure map container has proper dimensions */
.leaflet-container {
    height: 100% !important;
    width: 100% !important;
    border-radius: 0.75rem;
}

/* Fix map controls positioning */
/*
.leaflet-control-container .leaflet-control {
    margin: 10px;
}
*/

/* Ensure map tiles load properly */
.leaflet-tile-pane {
    opacity: 1;
}

/* Fix map attribution positioning */
.leaflet-control-attribution {
    font-size: 9px;
    padding: 2px 4px;
}

/* Ensure proper stacking context */
.leaflet-pane {
    z-index: 400;
}

.leaflet-control {
    z-index: 800;
}

.leaflet-top,
.leaflet-bottom {
    z-index: 1000;
}

/* Leaflet GeoSearch Controller */
.leaflet-touch .leaflet-geosearch-bar form {
    display: flex;
}

.leaflet-control-geosearch.active form {
    /* display: flex; */
    min-height: 30px;
}

.leaflet-control-geosearch.active .reset {
    display: none;
}

.leaflet-control-geosearch a.leaflet-bar-part:before {
    top: 17px;
    left: 13px;
    width: 9px;
    border-top: 3px solid #555;
    transform: rotateZ(45deg);
}

.leaflet-control-geosearch a.leaflet-bar-part:after {
    top: 8px;
    left: 8px;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    border: 3px solid #555;
}

.leaflet-control-geosearch form input {
    min-width: 200px;
    width: 100%;
    outline: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
    height: 30px;
    border: none;
    border-radius: 0px;
    text-indent: 8px;
}

/* Calendar Widget */
.calendar__header {
    background-color: #079669 !important;
    padding-bottom: 15px !important;
}

.color-calendar.glass .calendar__body {
    border-radius: 0px !important;
}

.calendar__monthyear {
    font-size: 20px !important;
}

.calendar__weekdays {
    color: #079669 !important;
}

.calendar__days {
    font-size: 13px !important;
}

/* Login Page Background Slider */
.background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  .background-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
  }
  .slick-slide {
    height: 100%;
  }
  .slick-list, .slick-track {
    height: 100%;
  }
  .slick-slider {
    height: 100%;
  }
  

/* DATATABLES CUSTOM CSS */
.datatable-top {
    display: none;
}

.datatable-container {
    margin-bottom: 10px !important;
}

.datatable-pagination ul {
    margin: 0;
    padding-left: 0;
}

.datatable-pagination li {
    list-style: none;
    float: left;
}

.datatable-pagination li.datatable-hidden {
    visibility: hidden;
}

.datatable-pagination a,
.datatable-pagination button {
    border: 1px solid transparent;
    float: left;
    margin-left: 2px;
    padding: 6px 12px;
    position: relative;
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

.datatable-pagination a:hover,
.datatable-pagination button:hover {
    background-color: #d9d9d9;
}

.datatable-pagination .datatable-active a,
.datatable-pagination .datatable-active a:focus,
.datatable-pagination .datatable-active a:hover,
.datatable-pagination .datatable-active button,
.datatable-pagination .datatable-active button:focus,
.datatable-pagination .datatable-active button:hover {
    background-color: #d9d9d9;
    cursor: default;
}

.datatable-pagination .datatable-ellipsis a,
.datatable-pagination .datatable-disabled a,
.datatable-pagination .datatable-disabled a:focus,
.datatable-pagination .datatable-disabled a:hover,
.datatable-pagination .datatable-ellipsis button,
.datatable-pagination .datatable-disabled button,
.datatable-pagination .datatable-disabled button:focus,
.datatable-pagination .datatable-disabled button:hover {
    pointer-events: none;
    cursor: default;
}

.datatable-pagination .datatable-disabled a,
.datatable-pagination .datatable-disabled a:focus,
.datatable-pagination .datatable-disabled a:hover,
.datatable-pagination .datatable-disabled button,
.datatable-pagination .datatable-disabled button:focus,
.datatable-pagination .datatable-disabled button:hover {
    cursor: not-allowed;
    opacity: 0.4;
}

.datatable-pagination .datatable-pagination a,
.datatable-pagination .datatable-pagination button {
    font-weight: bold;
}		  


/* Select2 Custom CSS */
.select2-container--open {
    z-index: 9999 !important;
}

.select2-dropdown {
    z-index: 9999 !important;
}

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

.select2-selection__arrow {
    display: none !important;
}

.select2-container .select2-selection--multiple {
    min-height: 56px !important;
    border: none !important;
    background-color: #F5F5F5 !important;
    border-radius: 0.75rem !important;
}

.select2-container--default .select2-selection--single {
    min-height: 56px !important;    
    background-color: #fafafa !important;
    border: none !important;
    border-radius: 0.75rem !important;
    padding-top: 15px;
    padding-left: 5px;
}

.select2-container--default .select2-selection--multiple {
    min-height: 56px !important;    
    background-color: #fafafa !important;
    border: none !important;
    border-radius: 0.75rem !important;
    cursor: text;
    padding-top: 15px;
    padding-left: 5px; 
}

/* Custom styles for the phone input */
.iti {
    width: 100%;
}

.iti__flag-container {
    display: flex;
    align-items: center;
}

.iti__selected-flag {
    padding: 0 12px;
    border-radius: 6px 0 0 6px;
    background-color: transparent;
}

.iti__country-list {
    background-color: white;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.dark .iti__country-list {
    background-color: #1F2937;
    border-color: #374151;
}

.iti__country:hover {
    background-color: #F3F4F6;
}

.dark .iti__country:hover {
    background-color: #374151;
}

.iti__selected-flag:hover {
    background-color: #F3F4F6;
}

.dark .iti__selected-flag:hover {
    background-color: #374151;
}

.iti__country.iti__active {
    background-color: #22C55E;
    color: white;
}

.dark .iti__country.iti__active {
    background-color: #22C55E;
    color: white;
}
