body {
  font-family: "Inter", sans-serif;
  background-color: #f2f2f2;
  margin: 0;
  padding: 0;
  color: #333;
}

.container {
  max-width: 1100px;
  margin: 50px auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

h1 {
  text-align: center;
  font-weight: 600;
  margin-bottom: 30px;
}

.search-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  align-items: center;
}

.search-bar input {
  width: 70%;
  padding: 12px 20px;
  border-radius: 25px;
  border: 1px solid #ddd;
  font-size: 1rem;
}

.customer-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.customer-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.customer-info h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.customer-info p {
  color: #777;
}

.actions {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.actions button {
  padding: 10px;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  width: 48%;
}

.actions button.check {
  background-color: #0f8b24;
  color: white;
}

.actions button.delete {
  background-color: #e53935;
  color: white;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.pagination button {
  padding: 10px 15px;
  border-radius: 8px;
  border: none;
  background-color: #42a5f5;
  color: white;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.pagination button.active {
  background-color: #1976d2;
}

.pagination button:hover {
  background-color: #1e88e5;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 16px;
  width: 50%;
  max-height: 80%;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow-y: auto;
}

.modal-content h2 {
  margin-bottom: 20px;
  text-align: center;
}

.close-btn {
  color: #333;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 20px;
}

.close-btn:hover {
  color: #e53935;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#moveSearch {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 1rem;
  width: 100%;
}

.customer-modal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.customer-modal-item p {
  margin: 0;
  font-size: 1.2rem;
}

.move-btn {
  background-color: #42a5f5;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.move-btn:hover {
  background-color: #1976d2;
}

.loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: #007bff;
  z-index: 9999;
  display: block;
}

#serviceListContainer {
  display: flex;
  flex-direction: row;
  overflow-x: auto; /* Enable horizontal scrolling */
  padding: 10px;
  gap: 20px;
  white-space: nowrap; /* Ensure service items stay on one line */
}

.service-item {
  flex: 0 0 auto;
  min-width: 300px;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
  margin-right: 20px;
  margin-bottom: 15px;
  display: inline-block;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: background-color 0.3s;
  text-align: left;
}

.service-item:hover {
  background-color: #f1f1f1;
}

.service-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1976d2;
}

.service-item p {
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
}

.service-item hr {
  margin-top: 10px;
  margin-bottom: 10px;
}
