@import url("https://fonts.googleapis.com/css2?family=Nixie+One&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

* {
  font-family: "Open Sans", sans-serif;
}

.nixie-one {
  font-family: "Nixie One", cursive;
}

.noto-sans {
  font-family: "Noto Sans", sans-serif;
}

.box-shadow-neutral {
  box-shadow: 0px 4px 5.5px 0px var(--color-neutral-shadow);
}

.box-shadow-card-pink {
  box-shadow: 0px 0px 5.5px 0px var(--color-pink-shadow);
}

.page-max-width {
  max-width: 1200px;
  margin: 0 auto;
}

.mobile-menu {
  overflow: hidden;
  transition: height 0.3s ease-in-out;
}

/* Date card selection styles */
.date-card-container input:checked + .date-card {
  background-color: #1d9cf2 !important;
}
.date-card-container input:checked + .date-card * {
  color: white !important;
}

/* Scroll lock for modals */
.body-scroll-lock {
  touch-action: none;
  overflow: hidden;
}

/* Custom pink checkbox styles */
.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #CFD3D4;
    border-radius: 6px;
    background-color: white;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.custom-checkbox:checked {
    background-color: #F730EA;
    border-color: #F730EA;
}

.custom-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox:hover {
    border-color: #EC4899;
}

/* Custom pink radio button styles */
.custom-radio {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #CFD3D4;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.custom-radio:checked {
    background-color: white;
    border-color: #F730EA;
}

.custom-radio:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #F730EA;
}

.custom-radio:hover {
    border-color: #EC4899;
}

/* Time grid styling - updated to match React component */
.time-grid-container {
    position: relative;
    height: 600px;
    overflow-y: auto;
    margin-bottom: 20px;
    border: 1px solid #E1E2F5;
}

.time-grid {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 60px 1fr;
}

.time-column {
    position: relative;
    background-color: white;
    z-index: 1;
}

.time-content-column {
    position: relative;
    min-height: 1020px; /* 17 hours * 60px */
}

.time-header {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #E1E2F5;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 2;
}

/* Updated time grid hour styling */
.time-section {
    width: 100%;
    margin-top: 1.25rem; /* mt-5 in tailwind */
}

.time-grid-hour {
    position: relative;
    height: 60px;
    width: 100%;
    display: grid;
    place-items: center;
    transform: translateY(-50%); /* Match React's -translate-y-[50%] */
}

.time-grid-hour-label {
    font-size: 14px;
    color: #7C7C7C;
    text-align: right;
}

.time-grid-hour-content {
    position: relative;
    height: 60px;
    border: 1px solid #E1E2F5;
    border-left: 1px solid #E1E2F5;
}

.time-slot {
    position: absolute;
    padding: 4px;
    font-size: 12px;
    border-radius: 4px;
    z-index: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    border: 1px solid rgba(0,0,0,0.1);
}

.time-slot-available {
    background-color: #B5EAD7;
}

.time-slot-booked {
    background-color: #FFD1DC;
}

.pastel-color-0 { background-color: #FFD1DC; }
.pastel-color-1 { background-color: #B5EAD7; }
.pastel-color-2 { background-color: #C7CEEA; }
.pastel-color-3 { background-color: #FFF1B6; }
.pastel-color-4 { background-color: #FFDAC1; }
.pastel-color-5 { background-color: #E2F0CB; }
.pastel-color-6 { background-color: #B5D8FA; }
.pastel-color-7 { background-color: #FFB7B2; }
.pastel-color-8 { background-color: #D5C6E0; }
.pastel-color-9 { background-color: #F6DFEB; }

.date-range-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid #D2D4E8;
    border-radius: 8px;
    cursor: pointer;
}

.date-range-text {
    margin: 0 8px;
    font-size: 14px;
    color: #484848;
}