/* Custom switch styling */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #3b82f6;
}
input:checked + .slider:before {
  transform: translateX(24px);
}

.input-group:focus-within {
  border: 1px solid #a78bfa; /* Apply border to the whole group */
  border-radius: 8px; /* Adjust as needed */
}

.input-group .input-group-text {
  border-right: none; /* Remove right border to blend with input */
}

.input-group .form-control:focus {
  border-left: none; /* Remove left border to blend with input */
  outline: none; /* Optional: remove default outline */
}

/* for description box */
.editor-container {
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
}

.toolbar button {
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #4b5563;
}

.toolbar button:hover {
  background-color: #f3f4f6;
  border-radius: 0.25rem;
}

.toolbar select {
  background-color: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  color: #4b5563;
}

.toolbar {
  border-bottom: 1px solid #e2e8f0;
}

.editor-content {
  min-height: 200px;
  padding: 1rem;
  outline: none;
}

.tab-active {
  background-color: white;
  border-top: 2px solid #3b82f6;
}

.tab {
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.format-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  color: #4b5563;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 120px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 250px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 0.25rem;
  border: 1px solid #e2e8f0;
}

.dropdown-content div {
  padding: 8px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.dropdown-content div:hover {
  background-color: #f3f4f6;
}

.dropdown-content .shortcut {
  color: #9ca3af;
  font-size: 0.75rem;
  margin-left: 20px;
}

.show {
  display: block;
}

.heading1 {
  font-size: 1.5rem;
  color: #4b5563;
}

.heading2 {
  font-size: 1.25rem;
  color: #4b5563;
}

.heading3,
.heading4,
.heading5,
.heading6 {
  color: #4b5563;
}

/* for timing */
.time-input {
  width: 100px;
  padding: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
}

.unavailable-day {
  display: none;
}

.time-slot {
  transition: all 0.3s ease;
}

.time-slot.removing {
  opacity: 0;
  transform: translateX(-20px);
}
