/* Styles for setTimes page */

h1 {
  display: flex;
  font-size: 4em;
  color: #ff4800;
  font-family: Arial, sans-serif;
  justify-content: center;
}

.add-time-section {
  text-align: center;
}

.add-time-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.store-hours-h2 {
  text-align: center;
  margin-bottom: 5px;
}

.calendar-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0 0 5px 0;
}

.nav-arrow {
  padding: 5px 10px;
  font-size: 12px;
  background-color: #ff4800;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.nav-arrow:hover {
  background-color: #ff6a2e;
}

.nav-arrow:active {
  background-color: #cc3700;
}

.nav-arrow:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.nav-arrow:disabled:hover {
  background-color: #ccc;
}

/* Calendar styles */
.calendar {
  border-collapse: collapse;
  margin: 10px auto;
  width: 100%;
  max-width: 800px;
  display: table;
}

.calendar th,
.calendar td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  vertical-align: top;
}

.calendar th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.calendar .day {
  min-width: 100px;
  height: 120px;
  position: relative;
}

.calendar .date {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

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

.calendar li {
  margin: 2px 0;
  font-size: 14px;
}

.calendar p {
  margin: 0;
  font-style: italic;
  color: #888;
}

.edit-popup {
  display: none;
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 30;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  margin-left: -10px;
}

.store-open-hours-indicator {
  width: 100%;
}

.store-open-hours-indicator:hover .edit-popup {
  display: block;
}

.button-group {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-top: 5px;
}

.edit-popup button {
  width: auto;
  padding: 4px 10px;
  font-size: 12px;
  margin: 0;
}
