/* Widget Styles - Extracted from PatientLoop Theme */

:root {
  /* Colors from patientloop.css */
  --color-purple-600: rgba(192, 168, 251, 1);
  --color-purple-700: rgba(179, 151, 250, 1);
  --color-purple-800: rgba(165, 131, 250, 1);
  --color-purple-900: rgba(148, 109, 249, 1);
  --color-purple-1000: rgba(128, 81, 248, 1);
  --color-purple-1200: rgba(83, 18, 245, 1);
  --color-indigo-800: rgba(73, 73, 243, 1);

  --color-stone-100: rgba(254, 254, 254, 1);
  --color-stone-200: rgba(246, 247, 249, 1);
  --color-stone-300: rgba(231, 235, 239, 1);
  --color-stone-400: rgba(209, 217, 224, 1);
  --color-stone-500: rgba(188, 199, 210, 1);
  --color-stone-600: rgba(172, 186, 200, 1);
  --color-stone-700: rgba(151, 168, 186, 1);
  --color-stone-800: rgba(133, 153, 173, 1);
  --color-stone-900: rgba(111, 135, 159, 1);
  --color-stone-1000: rgba(96, 120, 144, 1);
  --color-stone-1100: rgba(82, 102, 122, 1);
  --color-stone-1200: rgba(75, 94, 113, 1);
  --color-stone-1300: rgba(69, 87, 104, 1);
  --color-stone-1400: rgba(63, 79, 95, 1);
  --color-stone-1500: rgba(57, 71, 86, 1);
  --color-stone-1600: rgba(49, 61, 73, 1);
  --color-stone-1700: rgba(43, 54, 64, 1);
  --color-stone-1800: rgba(37, 46, 55, 1);
  --color-stone-1900: rgba(16, 22, 30, 1);
  --color-stone-2000: rgba(6, 9, 13, 1);

  --color-crimson-100: rgba(252, 226, 226, 1);
  --color-crimson-500: rgba(248, 183, 184, 1);
  --color-crimson-600: rgba(247, 168, 170, 1);

  --color-lime-100: rgba(235, 247, 236, 1);
  --color-lime-500: rgba(200, 235, 203, 1);
  --color-lime-600: rgba(188, 231, 192, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  color: var(--color-stone-1500);
  background-color: var(--color-stone-100);
}

/* Container */
.widget-container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.5rem;
  background-color: var(--color-stone-100);
  min-height: 100vh;
}

/* Typography */
.text-center {
  text-align: center;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.link {
  color: var(--color-indigo-800);
  text-decoration: underline;
  cursor: pointer;
}

/* Colors */
.text-gray-900 {
  color: var(--color-stone-1500);
}

.text-gray-600 {
  color: var(--color-stone-1500);
}

.text-gray-500 {
  color: var(--color-stone-1500);
}

.text-gray-700 {
  color: var(--color-stone-1500);
}

.text-white {
  color: var(--color-stone-100);
}

.text-red-500 {
  color: var(--color-crimson-600);
}

.text-indigo-800 {
  color: var(--color-indigo-800);
}

/* Background colors */
.bg-white {
  background-color: var(--color-stone-100);
}

.bg-gray-50 {
  background-color: var(--color-stone-200);
}

.bg-gray-100 {
  background-color: var(--color-stone-300);
}

.bg-gray-200 {
  background-color: var(--color-stone-400);
}

.bg-indigo-800 {
  background-color: var(--color-indigo-800);
}

.bg-purple-700 {
  background-color: var(--color-purple-700);
}

/* Spacing */
.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Layout */
.flex {
  display: flex;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.w-full {
  width: 100%;
}

.w-8 {
  width: 2rem;
}

.h-8 {
  height: 2rem;
}

.w-5 {
  width: 1.25rem;
}

.h-5 {
  height: 1.25rem;
}

.min-h-screen {
  min-height: 100vh;
}

.max-w-4xl {
  max-width: 56rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  font-weight: 500;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 0.75rem 1.5rem;
  gap: 0.5rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-default {
  background-color: var(--color-indigo-800);
  color: var(--color-stone-100);
  border-color: var(--color-indigo-800);
}

.btn-default:hover:not(:disabled) {
  background-color: var(--color-indigo-800);
  border-color: var(--color-indigo-800);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: var(--color-stone-100);
  color: var(--color-indigo-800);
  border-color: var(--color-stone-400);
}

.btn-outline:hover:not(:disabled) {
  background-color: var(--color-stone-200);
  border-color: var(--color-stone-500);
}

.btn-sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

.btn-md {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.btn-lg {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  line-height: 1.75rem;
  font-weight: 500;
}

.btn-icon {
  padding: 0.5rem;
  width: 2rem;
  height: 2rem;
}

/* Form elements */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: var(--color-stone-1500);
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-stone-400);
  border-radius: 0.5rem;
  background-color: var(--color-stone-100);
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-indigo-800);
  box-shadow: 0 0 0 3px rgba(192, 168, 251, 0.1);
}

.form-input::placeholder {
  color: var(--color-stone-1500);
}

.form-select {
  position: relative;
  width: 100%;
}

.form-select-trigger {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-stone-400);
  border-radius: 0.5rem;
  background-color: var(--color-stone-100);
  font-size: 0.875rem;
  line-height: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-select-trigger:focus {
  outline: none;
  border-color: var(--color-indigo-800);
  box-shadow: 0 0 0 3px rgba(192, 168, 251, 0.1);
}

.form-select-content {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-stone-100);
  border: 1px solid var(--color-stone-400);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
  display: none;
}

.form-select-content.show {
  display: block;
}

.form-select-item {
  padding: 0.75rem;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.form-select-item:hover {
  background-color: var(--color-stone-200);
}

.form-select-item.selected {
  background-color: var(--color-purple-100);
  color: var(--color-stone-1500);
}

/* Calendar dropdown */
.calendar-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.calendar-days {
  display: flex;
  gap: 1rem;
  flex: 1;
}

.calendar-day {
  flex: 1;
  text-align: center;
}

.calendar-day-header {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-stone-1200);
  margin-bottom: 0.5rem;
}

.calendar-day-name {
  font-size: 0.75rem;
  color: var(--color-stone-1100);
  margin-bottom: 0.75rem;
}

.calendar-time-slots {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calendar-time-slot {
  margin-bottom: 0.25rem;
}

.morning-slots,
.afternoon-slots {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.see-afternoon-btn {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
}

.no-availability {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0.5rem;
  background-color: var(--color-stone-200);
  border-radius: 0.25rem;
  border: 1px dashed var(--color-stone-400);
}

.no-availability p {
  margin: 0;
  font-style: italic;
}

/* Loading */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
}

.loading-spinner {
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--color-stone-300);
  border-top: 2px solid var(--color-indigo-800);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.loading-spinner-small {
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--color-stone-300);
  border-top: 2px solid var(--color-indigo-800);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

.calendar-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 0.5rem;
}

.calendar-loading-overlay .loading-spinner {
  margin-bottom: 0.5rem;
}

.calendar-loading-overlay p {
  font-size: 0.875rem;
  color: var(--color-stone-1500);
  margin: 0;
}

.calendar-container {
  position: relative;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Icons */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

#insuranceTrigger .icon {
  width: 1.5rem;
  height: 1.5rem;
}

#visitTypeTrigger .icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Calendar Navigation Bar */
.calendar-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-stone-100);
  border: 1px solid var(--color-stone-300);
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

/* Calendar Navigation Buttons */
#prevBtn,
#nextBtn {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
}

#prevBtn .icon,
#nextBtn .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.calendar-date-selector {
  position: relative;
}

.month-year-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--color-stone-100);
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-stone-1500);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.month-year-btn:hover {
  background-color: var(--color-stone-100);
  border: none;
}

.month-year-btn .icon {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.15s ease-in-out;
}

.month-year-btn.active .icon {
  transform: rotate(180deg);
}

/* Month/Year Calendar Dropdown */
.month-year-calendar {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-stone-100);
  border: 1px solid var(--color-stone-300);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  z-index: 20;
  min-width: 320px;
  margin-top: 0.5rem;
}

.month-year-calendar::before {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.5rem solid transparent;
  border-right: 0.5rem solid transparent;
  border-bottom: 0.5rem solid var(--color-stone-100);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-stone-300);
}

.calendar-dropdowns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-container {
  position: relative;
}

.dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  background-color: var(--color-stone-100);
  border: 1px solid var(--color-stone-300);
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-stone-1500);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  min-width: 80px;
  justify-content: space-between;
}

.dropdown-btn:hover {
  background-color: var(--color-stone-200);
  border-color: var(--color-stone-400);
}

.dropdown-btn .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-stone-100);
  border: 1px solid var(--color-stone-300);
  border-radius: 0.375rem;
  box-shadow: var(--shadow-lg);
  z-index: 30;
  max-height: 200px;
  overflow-y: auto;
  margin-top: 0.25rem;
}

.dropdown-content a {
  display: block;
  text-decoration: none;
}

.add-to-calendar-dropdown {
  width: 12rem;
}

.add-to-calendar-dropdown .btn {
  width: 100%;
}

.add-to-calendar-menu {
  width: 12rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--color-stone-1500);
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.dropdown-item-icon {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  flex-shrink: 0;
}

.dropdown-item-label {
  flex: 1;
  min-width: 0;
}

.dropdown-item:hover {
  background-color: var(--color-stone-200);
}

.dropdown-item.selected {
  background-color: var(--color-indigo-800);
  color: var(--color-stone-100);
}

/* Calendar weekdays header */
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.weekday {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-stone-1500);
  padding: 0.25rem;
}

/* Calendar availability */
.calendar-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.calendar-availability-days {
  display: flex;
  gap: 1rem;
  flex: 1;
}

.calendar-availability-day {
  flex: 1;
  text-align: center;
}

.calendar-availability-day-header {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-stone-1500);
  margin-bottom: 0.5rem;
}

.calendar-availability-day-name {
  font-size: 0.75rem;
  color: var(--color-stone-1500);
  margin-bottom: 0.75rem;
}

.calendar-availability-time-slots {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 120px; /* Ensure consistent height */
  justify-content: flex-start; /* Align all content to the top */
}

.calendar-availability-time-slot {
  margin-bottom: 0.25rem;
  color: var(--color-stone-1500);
  font-weight: bold;
}

.calendar-availability-time-slot.btn-default {
  color: var(--color-stone-100);
}

.all-slots-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 40px; /* Ensure consistent minimum height */
}

.morning-slots,
.afternoon-slots {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 40px; /* Ensure consistent minimum height */
}

.empty-morning-slot {
  /* Empty space to maintain alignment when no morning slots exist */
  min-height: 40px;
}

.calendar-availability-no-availability {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0.5rem;
  background-color: var(--color-stone-200);
  border-radius: 0.25rem;
  border: 1px dashed var(--color-stone-400);
}

.calendar-availability-no-availability p {
  margin: 0;
  font-style: italic;
  color: var(--color-stone-1500);
}

/* Calendar days grid */
.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-stone-1500);
  cursor: pointer;
  border-radius: 0.25rem;
  transition: all 0.15s ease-in-out;
  user-select: none;
}

.calendar-day:hover:not(.empty) {
  background-color: var(--color-indigo-800);
  color: var(--color-stone-100);
}

.calendar-day.empty {
  cursor: default;
}

.calendar-day.today {
  background-color: var(--color-indigo-100);
  color: var(--color-indigo-800);
  font-weight: 600;
}

.calendar-day.selected {
  background-color: var(--color-indigo-800);
  color: var(--color-stone-100);
  font-weight: 600;
}

.calendar-day.selected:hover {
  background-color: var(--color-indigo-800);
}

/* Error states for form validation */
.form-input.error,
.form-select-trigger.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input.error:focus,
.form-select-trigger.error:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Utilities */
.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.transition-all {
  transition: all 0.15s ease-in-out;
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-xl {
  box-shadow: var(--shadow-xl);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

/* Checkbox - Shadcn Style */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--color-stone-400);
  border-radius: 0.25rem;
  background-color: var(--color-stone-100);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.15s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
}

input[type="checkbox"]:hover {
  border-color: var(--color-stone-500);
}

input[type="checkbox"]:focus {
  outline: none;
  border-color: var(--color-indigo-800);
  box-shadow: 0 0 0 3px rgba(73, 73, 243, 0.1);
}

input[type="checkbox"]:checked {
  background-color: var(--color-indigo-800);
  border-color: var(--color-indigo-800);
}

input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  width: 0.5rem;
  height: 0.25rem;
  border: 2px solid var(--color-stone-100);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg) translate(0.5px, -0.5px);
}

input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

input[type="checkbox"]:disabled:hover {
  border-color: var(--color-stone-400);
}

/* Responsive */
@media (max-width: 768px) {
  .widget-container {
    padding: 1rem;
  }

  .calendar-days {
    flex-direction: column;
    gap: 1rem;
  }

  .calendar-day {
    flex: none;
  }

  .btn {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  /* Make calendar navigation buttons larger on mobile */
  #prevBtn,
  #nextBtn {
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
    border-width: 2px;
  }

  #prevBtn .icon,
  #nextBtn .icon {
    width: 1.75rem;
    height: 1.75rem;
  }
}

/* Next Availability Button */
#nextAvailabilityBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  color: var(--color-indigo-800);
  background-color: var(--color-stone-100);
  border: 2px solid var(--color-indigo-800);
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

#nextAvailabilityBtn:hover {
  background-color: var(--color-indigo-800);
  color: var(--color-stone-100);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

#nextAvailabilityBtn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

#nextAvailabilityBtn .icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Custom Alert Modal */
.custom-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.custom-alert-box {
  background-color: var(--color-stone-100);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  animation: alertSlideIn 0.2s ease-out;
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.custom-alert-message {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-stone-1500);
  margin-bottom: 1.5rem;
  text-align: center;
  white-space: pre-line;
}

.custom-alert-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.w-1-4 {
  width: 25%;
}
