/* Hamburger Menu */
@import "https://unpkg.com/open-props";
@import "https://unpkg.com/open-props/normalize.min.css";
@import "https://unpkg.com/open-props/buttons.min.css";
.hamburger-menu {
  display: none; /* Hidden by default */
  flex-direction: column;
  cursor: pointer;
  padding: 1rem 1rem 1rem 0rem;
}

.hamburger-menu .bar {
  width: 25px;
  height: 3px;
  background-color: var(--gray-12);
  margin: 4px 0;
}

.navbar-container {
  padding: 0.75rem 1rem 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--gray-1);
  border-bottom: 1px solid var(--gray-3);
}

.sidebar-container {
  background-color: var(--gray-1);
}

/* Sidebar Content */
.sidebar-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 280px;
  height: 100vh;
  background-color: var(--gray-1);
  color: var(--gray-12);
  padding: 1rem;
  border-right: 1px solid var(--gray-3);
  transition: transform 0.3s ease-in-out;
}

/* Mobile Styles */
@media (max-width: 1024px) {
  .hamburger-container {
    padding: 0.75rem 1rem 1rem 1rem;
    position: absolute;
    margin-top: 0.3rem;
  }
  .hamburger-menu {
    display: flex; /* Show hamburger menu on mobile */
    padding: 0;
  }
  .sidebar-content {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    padding-top: 0.475rem;
    z-index: 1000;
  }
  .sidebar-content.sidebar-open {
    transform: translateX(0);
  }
}
.logo img {
  border-radius: 8px;
  width: 40px;
  height: 40px;
}

.company-name {
  font-size: var(--font-size-3);
  font-weight: bold;
  margin: 0;
}

.plan {
  font-size: var(--font-size-1);
  color: var(--gray-8);
}

.menu-section {
  flex: 1;
  padding: 0.5rem 0;
}

.menu-title {
  font-size: var(--font-size-2);
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: var(--gray-10);
}

.menu {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.menu li {
  margin-bottom: 1rem;
}

.menu li a {
  text-decoration: none;
  font-size: var(--font-size-2);
  color: var(--gray-12);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.menu li.active a {
  font-weight: bold;
  color: var(--primary-color);
  background-color: var(--gray-2);
  border-radius: 8px;
  padding: 0.5rem;
}

.menu li a:hover {
  background-color: var(--gray-2);
}

.menu li.active a:hover {
  background-color: var(--gray-2);
}

.profile-section {
  position: relative;
  display: inline-block;
  margin-left: auto;
}

.profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gray-3);
}

.profile-info {
  display: flex;
  flex-direction: column;
}

.username {
  font-size: var(--font-size-2);
  font-weight: bold;
}

.email {
  font-size: var(--font-size-1);
  color: var(--gray-8);
}

.login-button {
  background-color: var(--blue-6);
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: var(--radius-3);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-button.loading {
  position: relative;
  pointer-events: none; /* Disable button interactions when loading */
  padding: 0.75rem;
}

.login-button.loading::after {
  content: "";
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

.login-button:hover {
  background-color: var(--blue-8);
}

/* Disable hover effect when the button is disabled */
.login-button:disabled {
  background-color: var(--blue-8); /* Keep the original background when disabled */
  cursor: not-allowed; /* Change cursor to indicate the button is disabled */
}

/* Ensure hover effect does not apply when button is disabled */
.login-button:disabled:hover {
  background-color: var(--blue-8); /* Keep the original background even on hover */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.form-input {
  padding: 0.75rem;
  border: 1px solid var(--gray-6);
  border-radius: var(--radius-3);
  font-size: 1rem;
  width: 100%;
}

.form-input:focus {
  border-color: var(--blue-6);
  outline: none;
  box-shadow: 0 0 0 3px var(--blue-4);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-margin-top {
  margin-top: 0.5rem;
}

.form-background {
  background-color: white;
}

/* Login Page Styles */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: var(--gray-2);
  padding: 1rem;
}

.login-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-3);
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.login-card h1 {
  font-size: 1.8rem;
  color: var(--blue-7);
  margin-bottom: 0.5rem;
}

.login-card p {
  color: var(--gray-8);
  margin-bottom: 1.5rem;
}

.pagination-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem;
}

.pagination-info {
  font-size: 1rem;
  color: #333;
  text-align: center;
}

.pagination-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.pagination-button {
  padding: 0.6rem 1.2rem;
  background-color: #333;
  color: #f0f0f0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s, color 0.3s;
}

.pagination-button:hover {
  background-color: #555;
  color: white;
}

.pagination-button:disabled {
  background-color: #bbb;
  color: #fff;
  cursor: not-allowed;
}

.pagination-pages {
  display: flex;
  gap: 0.5rem;
}

.pagination-page {
  padding: 0.6rem 1rem;
  border: 1px solid #ccc;
  background-color: #f7f7f7;
  color: #333;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.pagination-page.active-page {
  background-color: #333;
  color: white;
  font-weight: bold;
}

.pagination-page:hover {
  background-color: #ddd;
  transform: scale(1.05);
}

.dropdown {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-bottom: 8px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  width: 100%;
  z-index: 10;
}

.dropdown-menu button {
  width: 100%;
  padding: 10px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.dropdown-menu button:hover {
  background: #f0f0f0;
}

.dropdown-open {
  display: block;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.modal-content {
  background-color: white;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 900px;
  max-height: 80vh; /* Limit modal height to 80% of viewport height */
  display: flex;
  flex-direction: column; /* Stack children vertically */
  overflow: hidden; /* Prevent content from overflowing */
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

.modal-close-btn {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.modal-body {
  flex: 1; /* Take up remaining space */
  display: flex;
  flex-direction: column; /* Stack children vertically */
  overflow: hidden; /* Prevent content from overflowing */
}

.modal-table-container {
  flex: 1;
  overflow-y: auto;
}

.delete-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1rem;
}

.delete-modal-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.delete-modal-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.delete-cancel-button, .delete-modal-button {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.delete-cancel-button {
  background: #f0f0f0;
  border: 1px solid #ddd;
}

.delete-cancel-button:hover {
  background: #e0e0e0;
}

.delete-modal-button {
  background: #d85151;
  color: white;
  border: 1px solid #ddd;
}

.update-modal-button {
  background: hwb(135 32% 15%);
  color: white;
  border: 1px solid #ddd;
}

.delete-error-message {
  color: #dc3545;
  margin: 1rem 0;
  padding: 0.5rem;
  background: #ffe6e6;
  border-radius: 4px;
}

.background-grey-input {
  background-color: #eaeaea;
  width: 100%;
  height: 3rem;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .delete-modal-content {
    padding: 1.5rem;
    max-width: 100%;
  }
  .delete-modal-actions {
    flex-direction: column;
    align-items: flex-end;
  }
}
@media (max-width: 480px) {
  .delete-modal-content {
    padding: 1rem;
    max-width: 100%;
  }
}
.autocomplete {
  position: relative;
  width: 100%;
  font-family: Arial, sans-serif;
}

.autocomplete .options {
  padding-left: 0;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

.autocomplete .options.open {
  display: block;
}

.autocomplete .options li {
  padding: 0.5rem 0.75rem;
  width: 100%;
  max-inline-size: 100%;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}

.autocomplete .options li:hover {
  background-color: #f0f0f0;
}

.autocomplete .options li:active {
  background-color: #007bff;
  color: white;
}

/* New modern style for multi-select autocomplete */
.autocomplete-multi {
  position: relative;
  width: 100%;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.tags-container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.2s;
}

.tags-container:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.tag-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #3b82f6;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.tag-remove:hover {
  background: rgba(59, 130, 246, 0.1);
}

.search-input {
  flex: 1;
  min-width: 120px;
  border: none;
  outline: none;
  padding: 6px;
  font-size: 1rem;
  background: transparent;
}

.autocomplete-multi .options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  max-height: 210px;
  overflow-y: auto;
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

.autocomplete-multi .options.open {
  display: block;
}

.autocomplete-multi .options li {
  padding: 10px 12px;
  margin: 2px 0;
  border-radius: 4px;
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.autocomplete-multi .options li:hover {
  background: #f8fafc;
  transform: translateX(2px);
}

.autocomplete-multi .options li:active {
  background: #3b82f6;
  color: white;
}

/* Selected state indicator */
.autocomplete-multi .options li.selected {
  background: #f1f5f9;
  color: #1e40af;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f7f7f7;
  padding: 1rem;
}

.login-footer {
  margin-top: 1rem;
}

.login-footer a {
  color: var(--blue-6);
  text-decoration: none;
  font-weight: bold;
}

.login-footer a:hover {
  text-decoration: underline;
}

.projects-health-metrics-container {
  display: flex;
  gap: 10px;
}

.projects-item-employee-capacity {
  position: relative;
  cursor: pointer;
}

/* Tooltip (Popup) Styling */
.projects-item-employee-capacity::after {
  content: attr(data-tooltip); /* Use the data-tooltip attribute for text */
  position: absolute;
  bottom: 100%; /* Position above the div */
  left: 10%;
  transform: translateX(-50%);
  padding: 5px 10px;
  background-color: #333;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0; /* Hide by default */
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.projects-item-employee-capacity:hover::after {
  opacity: 1; /* Show on hover */
  visibility: visible;
}

.projects-item {
  position: relative;
  cursor: pointer;
}

/* Tooltip (Popup) Styling */
.projects-item::after {
  content: attr(data-tooltip); /* Use the data-tooltip attribute for text */
  position: absolute;
  bottom: 100%; /* Position above the div */
  left: 0%;
  transform: translateX(-50%);
  padding: 5px 10px;
  background-color: #333;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0; /* Hide by default */
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.projects-item:hover::after {
  opacity: 1; /* Show on hover */
  visibility: visible;
}

.projects-health-metrics-item {
  position: relative;
  cursor: pointer;
  padding: 2px;
}

.projects-health-metrics-icon-disabled {
  filter: grayscale(100%);
}

.projects-health-metrics-icon {
  filter: sepia(1) saturate(2) hue-rotate(90deg);
}

/* Tooltip (Popup) Styling */
.projects-health-metrics-item::after {
  content: attr(data-tooltip); /* Use the data-tooltip attribute for text */
  position: absolute;
  bottom: 100%; /* Position above the div */
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  background-color: #333;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0; /* Hide by default */
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.projects-health-metrics-item:hover::after {
  opacity: 1; /* Show on hover */
  visibility: visible;
}

.projects-assignee-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.expand-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.sub-project-row td {
  padding: 0;
  background-color: #f9f9f9;
}

.sub-project-container {
  padding: 16px;
  margin-left: 40px;
}

.sub-project-table {
  width: 100%;
  border-collapse: collapse;
}

.sub-project-table th,
.sub-project-table td {
  padding: 8px;
  border: 1px solid #ddd;
  text-align: left;
}

.sub-project-table th {
  background-color: #eaeaea;
}

@media (max-width: 1024px) {
  .projects-assignee-container {
    justify-content: flex-end;
  }
  .projects-item::after {
    left: 30%;
  }
  .projects-health-metrics-item::after {
    left: -40%;
  }
  .projects-branch-item::after {
    left: -240%;
  }
}
/* Main Container */
.app-container {
  height: 100vh;
}

.content-container {
  flex: 1;
  background-color: var(--gray-1);
}

.main-content {
  flex: 1;
  padding: 2rem;
  background-color: var(--gray-1);
}

.main-title {
  font-size: var(--font-size-4);
  font-weight: bold;
  margin-bottom: 1rem;
}

.filter-text {
  font-size: var(--font-size-1);
  font-weight: bold;
}

.error-message {
  padding: 10px;
  background-color: #ffe6e6;
  border: 1px solid #ff8080;
  border-radius: 4px;
  margin: 10px 0;
}

/* Filter Group */
.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.75rem;
  border-radius: 8px;
  box-shadow: var(--shadow-1);
  border: 1px solid var(--gray-3);
  width: 100%;
}

/* Search Input */
.search-input {
  flex: 1;
  padding: 0.5rem 1rem;
  font-size: var(--font-size-2);
  border: 1px solid var(--gray-3);
  border-radius: 8px;
  width: 100%;
  /* Penuh dalam grid */
  box-sizing: border-box;
}

/* Dropdown Filters */
.filter-select {
  padding: 0.5rem;
  font-size: var(--font-size-2);
  border: 1px solid var(--gray-3);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: border 0.2s ease-in-out;
  width: fit-content;
}

.search-input:focus {
  border-color: var(--blue-7);
  outline: none;
}

.filter-select:focus {
  border-color: var(--blue-7);
  outline: none;
}

/* Table Styles */
.main-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.main-table .header-container {
  display: flex;
  gap: 1rem;
}

.main-table th,
.main-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-3);
}

.main-table th {
  background-color: var(--gray-2);
  font-weight: bold;
  color: var(--gray-12);
}

.main-table td {
  font-size: var(--font-size-2);
  color: var(--gray-11);
}

.main-table tr:last-child td {
  border-bottom: none;
}

/* Mobile Styles */
@media (max-width: 1024px) {
  .main-content {
    padding: 1rem;
  }
  .main-table {
    display: block;
  }
  .main-table thead {
    display: none;
  }
  .main-table tbody {
    display: block;
  }
  .main-table tr {
    display: block;
    border: 1px solid var(--gray-3);
    background-color: white;
    box-shadow: var(--shadow-1);
    margin-bottom: 1rem;
  }
  .main-table tr:last-child {
    margin-bottom: 0;
  }
  .main-table td {
    display: flex;
    text-align: right;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--gray-3);
    max-inline-size: none;
    justify-content: space-between;
  }
  .main-table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    color: var(--gray-12);
    text-align: left;
  }
  .main-table td:last-child {
    border-bottom: none;
  }
  .main-table .expanded-row td {
    display: block;
    text-align: left;
  }
  .main-table .expanded-row td::before {
    display: none;
  }
  .main-table .details-container {
    display: flex;
    flex-direction: column;
  }
  .main-table .details-left,
  .main-table .details-right {
    width: 100%;
  }
  .main-table .details-right {
    margin-top: 1rem;
  }
  .main-table .field-values-table {
    width: 100%;
  }
  .main-table .field-values-table td {
    text-align: left;
  }
  .main-table .field-values-table td::before {
    display: none;
  }
  .main-table .pull-request-item {
    margin-bottom: 1rem;
  }
  .main-table .commit-details {
    margin-top: 0.5rem;
  }
  .main-table .action-button {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
  }
}
/* Status Colors */
.status-completed {
  color: var(--green-8);
  font-weight: bold;
}

.status-ongoing {
  color: var(--blue-8);
  font-weight: bold;
}

.status-pending {
  color: var(--orange-8);
  font-weight: bold;
}

/* Action Buttons */
.action-button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  background-color: var(--blue-8);
  color: white;
  font-size: var(--font-size-2);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.action-button:hover {
  background-color: var(--blue-9);
}

/* Ticket Details Section */
.details-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

/* Details Left (Author, Labels, Fields) */
.details-left,
.details-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Table for Field Values */
.field-values-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.field-values-table td {
  padding: 0.5rem;
  border-bottom: 1px solid #ddd;
}

.field-values-table td:first-child {
  font-weight: bold;
  width: 40%;
}

/* Pull Requests & Commits */
.pull-request-item {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.pull-request-item p {
  margin: 0.5rem 0;
}

.commit-details {
  padding: 0.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid #ddd;
}

.commit-details p {
  margin: 0.4rem 0;
}

/* Go to Ticket Button */
.go-to-ticket {
  margin-top: 1rem;
}

.go-to-ticket .action-button {
  padding: 0.5rem 1rem;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.go-to-ticket .action-button:hover {
  background-color: #0056b3;
}

.filter-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.filter-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.filter-section > .row-2 {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.employee-date-filter-container {
  display: flex;
  gap: 1rem;
}

.card-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-gap: 1rem;
  row-gap: 1rem;
}

.card {
  flex-basis: var(--size-content-1);
  display: flex;
  flex-direction: flex;
  justify-content: space-between;
  gap: var(--size-2);
  background: var(--surface-3);
  border: 1px solid var(--surface-1);
  padding: var(--size-4);
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-2);
}

.card > h5 {
  line-height: var(--font-lineheight-1);
}

/* Responsive Styling */
@media (max-width: 1024px) {
  .filter-section-mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .filter-section-mobile div {
    width: 100%;
  }
  .employee-date-filter-container {
    flex-direction: column;
  }
  .filter-container {
    flex-direction: column;
  }
  .filter-select {
    width: 100%;
  }
  .filter-section {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .details-container {
    flex-direction: column;
  }
  .filter-group {
    flex-direction: column;
    width: 100%;
  }
  .search-input,
  .filter-select {
    width: 100%;
  }
}
.dropdown-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.custom-select {
  padding: 0.5rem;
  background-color: white;
  border: 1px solid var(--gray-3);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  padding: 8px;
  width: 200px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.dropdown-content.show {
  display: block;
}

.dropdown-search {
  width: 100%;
  padding: 0.5rem;
  border: none;
  border-bottom: 1px solid var(--gray-3);
  box-sizing: border-box;
  margin-bottom: 0.5rem;
}

.dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-item {
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: var(--gray-2);
}

.dropdown-content {
  display: none;
}

.autocomplete-container {
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
}

@media (max-width: 1024px) {
  .card-container {
    grid-template-columns: 1fr;
  }
  .autocomplete-container {
    flex-direction: column;
  }
}
.menu-float-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px;
  text-decoration: none;
  color: inherit;
}

.menu-float-item i {
  font-size: 18px;
  transition: transform 0.2s ease-in-out;
}

/* the props */
/* optional imports that use the props */
/* Start: Override dark mode styles */
:root {
  --surface-1: var(--gray-0);
  --surface-2: var(--gray-1);
  --surface-3: var(--gray-2);
  --text-1: var(--gray-9);
  --text-2: var(--gray-8);
  --text-3: var(--gray-7);
}

@media (prefers-color-scheme: dark) {
  :where(textarea, select, input:not([type=button], [type=submit], [type=reset])) {
    background-color: var(--surface-2);
  }
}
/* End: Override dark mode styles */
