body {
  background-color: #f8f9fa;
}

.logo {
  font-family: Arial, sans-serif;
  font-size: 2rem;
  font-weight: bold;
  color: #00b3ac;
  text-align: center;
  margin-bottom: 20px;
}

.logo span {
  color: #588d7e;
}

.sidebar {
  background-color: #ffffff;
  height: 100vh;
}

.nav-link {
  color: black;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-link.active {
  font-weight: bold;
  background-color: #e9f5f3;
  color: #588d7e;
  border-left: 0px solid #588d7e;
}

.header-icons .btn {
  background-color: transparent;
  border: none;
  outline: none;
}

.search-bar {
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 5px 15px;
  width: 200px;
}

.card-height {
  height: 150px;
  border-radius: 20px;
}

.card-body img {
  width: 50px;
  height: 50px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.card-text {
  font-size: 1rem;
}

.button-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

.button-card:active {
    transform: scale(0.95);
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
  margin-bottom: 20px;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

#productTable {
  width: 100%;
  table-layout: auto;
}

.table td,
.table th {
  padding: 8px;
}

.action-btn,
.notes-btn {
  display: inline-block;
  margin-right: 5px;
  padding: 5px 8px;
  font-size: 0.875rem;
  white-space: nowrap;
}

.table td:last-child {
  white-space: nowrap;
  text-align: right;
}

.notes-sidebar {
    position: fixed;
    right: -350px;
    top: 0;
    width: 350px;
    height: 100vh;
    background: #f8f9fa;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 1050;
}

.notes-sidebar-header {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.notes-sidebar-content {
    padding: 15px;
}

.list-group-item {
    font-size: 14px;
    padding: 10px;
}

.checkbox-group {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.5rem;
    max-height: 150px;
    overflow-y: auto;
  }
  .checkbox-item {
    display: inline-block;
    margin: 0.25rem;
  }
  .checkbox-item input[type="checkbox"] {
    display: none;
  }
  .checkbox-item label {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s;
  }
  .checkbox-item input[type="checkbox"]:checked + label {
    background-color: #00B3AC;
    color: white;
    border-color: #00B3AC;
  }

.scrollable-modal .modal-dialog {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.scrollable-modal .modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

.scrollable-modal .modal-content::-webkit-scrollbar {
    width: 8px;
}

.scrollable-modal .modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.scrollable-modal .modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.scrollable-modal .modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.date-card {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    overflow: hidden;
  }
  
  .date-header {
    background-color: #f8f9fa;
    font-weight: bold;
    text-align: center;
    padding: 0.5rem;
    border-bottom: 1px solid #dee2e6;
  }
  
  .note-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
  }
  
  .note-time {
    font-size: 0.8em;
    color: #6c757d;
  }
  
  .note-content {
    white-space: pre-wrap;
  }
  
  #notesList .list-group-item:last-child {
    border-bottom: none;
  }

.custom-hover {
    color: #000 !important;
}

  .custom-hover:hover {
    background-color: #00B3AC !important;
    border-color: #00B3AC !important;
    color: #fff !important;
}