/* Custom CSS for SystmZro */

[x-cloak] {
  display: none;
}

.custom-select {
  position: relative;
}

.custom-select select {
  width: 100%;
  padding-right: 2.5rem; /* leave space for the arrow */
}

.custom-select::after {
  content: "\f107"; /* FontAwesome icon code for a down arrow */
  font-family: "Font Awesome 6 Free"; /* adjust if necessary */
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: white;
  pointer-events: none;
}

/* Map Container */
#visitorsMap {
    width: 100%;
    height: 400px;
    position: relative;
    z-index: 0 !important;
    background-color: #f0f0f0;
}

.aspect-ratio-16-9 {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.aspect-ratio-16-9 iframe,
.aspect-ratio-16-9 video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.font-birthstone {
  font-family: 'Birthstone', cursive;
}
.font-changa {
  font-family: 'Changa', sans-serif;
}

.font-changa-bold {
  font-family: 'Changa', sans-serif;
  font-weight: 800;
  font-style: normal;
}

.font-courgette {
  font-family: 'Courgette', cursive;
}
.font-euphoria {
  font-family: 'Euphoria Script', cursive;
}
.font-great {
  font-family: 'Great Vibes', cursive;
}
.font-kaushan {
  font-family: 'Kaushan Script', cursive;
}

.font-girassol-regular {
  font-family: "Girassol", serif;
  font-weight: 400;
  font-style: normal;
}


.font-croissant-one-regular {
  font-family: "Croissant One", serif;
  font-weight: 400;
  font-style: normal;
}

.font-goldman-regular {
  font-family: "Goldman", serif;
  font-weight: 400;
  font-style: normal;
}

.font-goldman-bold {
  font-family: "Goldman", serif;
  font-weight: 700;
  font-style: normal;
}

.bg-gray-900 {
    background-color: #1a202c;
}

.text-white {
    color: #ffffff;
}

a:hover {
    text-decoration: none;
}

.font-alex-brush {
  font-family: "Alex Brush", cursive;
  font-weight: 400;
  font-style: normal;
}

.font-crimson {
  font-family: "Crimson", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center flex items on the line */
  gap: 20px; /* Adds space between flex items */
}

.flex-item {
  flex: 1; /* Each flex item will grow evenly */
  padding: 10px; /* Add some padding */
  margin: 10px; /* Adds margin to ensure spacing around items */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow to each item */
  border-radius: 10px; /* Optional: Rounds the corners of the shadow boxes */
  max-width: calc(50% - 20px); /* Ensures no item is wider than half the container width minus gap */
  min-width: 200px; /* Ensures a minimum width for smaller screens/devices */
}

.column {
  flex: 1;
  min-width: 200px;
}

.bg-green-100 {
    background-color: #d1fae5; /* Light green background */
}

.line-through {
    text-decoration: line-through;
}

@media (max-width: 600px) {
  .flex-item {
    flex-basis: 100%; /* Makes each item take full width on smaller screens */
    max-width: calc(100% - 20px); /* Adjusts max width for single column layout */
  }
}

/* Custom Styles */
input, select, textarea {
    border: 2px solid #cbd5e0; /* Light gray border */
    border-radius: 0.25rem;
    padding: 0.5rem;
    margin-bottom: 1rem; /* Spacing between fields */
}

.range-container {
    margin-bottom: 1rem; /* Spacing below the slider */
}

.range-thumb-custom {
    appearance: none;
    width: 25px; /* Slider thumb width */
    height: 25px; /* Slider thumb height */
    border-radius: 50%; /* Circle shape */
    background: #3b82f6; /* Blue background */
    cursor: pointer;
}

.range-track-custom {
    width: 100%;
    height: 8px; /* Increased height for better visibility */
    background: #e5e7eb; /* Light gray track */
    border-radius: 4px; /* Rounded corners */
    position: relative;
}




.column-dropdowns {
    display: flex;
    justify-content: space-between; /* Distribute space between dropdowns */
    gap: 1rem; /* Spacing between dropdowns */
}

/* Adjust the slider track */
input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
}

input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
}

input[type="range"]::-ms-track {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
}

/* Adjust the slider thumb */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    margin-top: -9px; /* Centers the thumb over the track */
}

input[type="range"]::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
}

input[type="range"]::-ms-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
}

/* Dark background for the table */
#followUpsTable_wrapper {
    color: white; /* Text color for all DataTables elements */
    background-color: #1f2937; /* Dark gray background */
}

/* Dark theme styling for DataTables table */
#followUpsTable {
    background-color: #1f2937; /* Dark table background */
    color: white;
}

#followUpsTable thead th {
    background-color: #374151; /* Darker gray header background */
    color: white;
}

/* DataTables search input styling */
.dataTables_wrapper .dataTables_filter input {
    color: white;
    background-color: #374151; /* Dark input background */
    border: 1px solid #4b5563; /* Gray border */
    padding: 0.5rem;
    border-radius: 0.375rem;
}

/* Pagination button styling for dark theme */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: white !important; /* White text color */
    background-color: #4b5563 !important; /* Darker gray button background */
    border-radius: 0.375rem;
    padding: 0.25rem 0.5rem;
    margin: 0 0.25rem;
}

/* Pagination button hover styling */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #6b7280 !important; /* Lighter gray on hover */
}

/* Active page button styling */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #3b82f6 !important; /* Blue color for the active page */
    color: white !important;
}

/* Modal Styles */
#modal {
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

#modal.flex {
    display: flex;
}

.modal-content {
    animation: zoomIn 0.3s ease-out;
}

/* Hover Effect */
.feature-section:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.3);
}

/* Animation */
@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0.7;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.tabs {
    display: flex;
    justify-content: space-around;
    background: #f4f4f4;
    padding: 10px;
}

.tab-button {
    padding: 10px 20px;
    border: none;
    background: #ddd;
    cursor: pointer;
}

.tab-button.active {
    background: #aaa;
    color: white;
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.theme-card {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

#close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}



