body {
    font-family: 'Helvetica', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    min-height: 100vh;
    padding-top: 76px;
    background:
      radial-gradient(circle at top left, rgba(214, 26, 83, 0.12), transparent 34%),
      radial-gradient(circle at top right, rgba(178, 21, 69, 0.10), transparent 28%),
      linear-gradient(135deg, #fff7f7 0%, #fffaf7 46%, #fbf3f5 100%);
}

.hero-section {
    padding: 3rem 0;
    background: transparent;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.waitlist-form {
    padding: 2rem;
    max-width: 550px;
    margin: 0 auto;
}

.form-control {
    border-radius: 4px;
    padding: 10px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
    font-family: 'Helvetica', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(255, 182, 193, 0.1);
    border-color: #FFB6C1;
    outline: none;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-family: 'Helvetica', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Authentication buttons specific styling */
.auth-required-message .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    margin: 0 0.5rem;
    min-width: 140px;
}

.auth-required-message .btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    min-width: 160px;
}

.btn-primary {
    background-color: #FFB6C1;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #ff9eb3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 182, 193, 0.3);
}

.btn-outline-primary {
    border: 2px solid #FFB6C1;
    color: #FFB6C1;
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: #FFB6C1;
    border-color: #FFB6C1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 182, 193, 0.3);
}

.btn-outline-secondary {
    border: 1px solid #ccc;
    color: #666;
}

.btn-outline-secondary:hover {
    background-color: #ccc;
    border-color: #ccc;
    color: white;
}

.alert {
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 2rem;
}

/* Calendar Styles */
.calendar-container {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Force calendar header horizontal layout */
.calendar-header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 1.5rem;
    gap: 0.75rem;
    width: 100%;
}

.calendar-header h5 {
    color: #333;
    font-weight: bold;
    margin: 0 !important;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
    text-align: center;
    order: 2;
    font-family: 'Helvetica', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.calendar-header .prev-month-btn,
.calendar-header .next-month-btn {
    padding: 0.1rem 0.25rem;
    font-size: 0.55rem;
    min-height: 18px;
    min-width: 20px;
    white-space: nowrap;
    border-radius: 2px;
}

.calendar-header .next-month-btn {
    order: 3;
}

.calendar-header .prev-month-btn i,
.calendar-header .next-month-btn i {
    font-size: 0.6rem;
}

.calendar {
    width: 100%;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.day-header {
    text-align: center;
    font-weight: bold;
    color: #666;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    font-family: 'Helvetica', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    background: #f8f9fa;
    color: #333;
    font-family: 'Helvetica', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.day:hover {
    background: #FFB6C1;
    color: white;
    transform: scale(1.05);
}

.day.selected {
    background: #FFB6C1;
    color: white;
    border-color: #ff9eb3;
    box-shadow: 0 2px 8px rgba(255, 182, 193, 0.3);
}

.day.today {
    background: #FFB6C1;
    color: white;
    border-color: #ff9eb3;
    font-weight: bold;
}

.day.today:hover {
    background: #ff9eb3;
    color: white;
}

.day.past {
    background-color: #f0f0f0;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.day.past:hover {
    background-color: #f0f0f0;
    transform: none;
    box-shadow: none;
}

/* Specific styling for dates beyond allowed range */
.day.past[style*="opacity: 0.5"] {
    background-color: #f8f9fa;
    color: #ccc;
    cursor: not-allowed;
    opacity: 0.5 !important;
    position: relative;
}

.day.past[style*="opacity: 0.5"]:hover {
    background-color: #f8f9fa;
    transform: none;
    box-shadow: none;
}

.day.past[style*="opacity: 0.5"]::after {
    content: "Not Available";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
}

.day.past[style*="opacity: 0.5"]:hover::after {
    opacity: 1;
}

/* Selected Dates List */
.selected-dates-list {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.selected-date-item {
    margin-bottom: 1rem;
}

.selected-date-tag {
    display: inline-block;
    background: #FFB6C1;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    font-family: 'Helvetica', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
}

.selected-date-tag .remove-date {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
}

.selected-date-tag .remove-date:hover {
    background: #c82333;
}

.time-selection {
    margin-top: 0.5rem;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
    border-radius: 15px 15px 0 0;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
}

.time-options h6 {
    color: #333;
    font-weight: bold;
    margin-bottom: 1rem;
    font-family: 'Helvetica', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-check {
    margin-bottom: 0.5rem;
}

.checkbox-disclosure {
    font-size: 12px;
    line-height: 1.35;
    font-weight: 400;
}

.form-check-input:checked {
    background-color: #FFB6C1;
    border-color: #FFB6C1;
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 182, 193, 0.1);
}

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

/* Form validation styles */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-family: 'Helvetica', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 0;
    }
    
    .waitlist-form {
        padding: 1.5rem;
        margin: 0 1rem;
        max-width: 100%;
    }
    
    .glass-effect {
        border-radius: 12px;
    }
    
    .calendar-container {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .calendar-header {
        flex-direction: row !important;
        gap: 0.5rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }
    
    .calendar-header h5 {
        font-size: 1rem;
        letter-spacing: 0.5px;
        order: 2;
        flex: 1;
        text-align: center;
        min-width: 120px;
    }
    
    .calendar-header .prev-month-btn,
    .calendar-header .next-month-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        min-height: 32px;
        min-width: 36px;
        white-space: nowrap;
    }
    
    .calendar-header .next-month-btn {
        order: 3;
    }
    
    .day {
        font-size: 0.875rem;
        border-radius: 4px;
        min-height: 32px;
    }
    
    .day-header {
        font-size: 0.75rem;
        padding: 0.4rem 0;
    }
    
    .selected-date-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        padding-right: 2rem;
        margin: 0.2rem;
        display: inline-block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-control {
        padding: 0.875rem 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    /* Authentication buttons mobile optimization */
    .auth-required-message .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        margin: 0.5rem 0;
        min-width: 120px;
        width: 100%;
        max-width: 250px;
    }
    
    .auth-required-message .btn-lg {
        padding: 1.125rem 2rem;
        font-size: 1.1rem;
        min-width: 140px;
    }
    
    .auth-required-message .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .auth-required-message .gap-3 {
        gap: 1rem !important;
    }
    
    /* Improve form layout */
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        display: block;
    }
    
    .form-group small {
        font-size: 0.8rem;
        display: block;
        margin-top: 0.25rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 1rem 0;
    }
    
    .waitlist-form {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .calendar-container {
        padding: 0.75rem;
    }
    
    .calendar-days {
        gap: 2px;
    }
    
    .days {
        gap: 2px;
    }
    
    .day {
        font-size: 0.8rem;
        border-radius: 4px;
        min-height: 28px;
    }
    
    .day-header {
        font-size: 0.7rem;
        padding: 0.25rem 0;
    }
    
    .calendar-header h5 {
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    .calendar-header .prev-month-btn,
    .calendar-header .next-month-btn {
        padding: 0.15rem 0.3rem;
        font-size: 0.6rem;
        min-height: 20px;
        min-width: 22px;
        white-space: nowrap;
        border-radius: 3px;
    }
    
    .calendar-header .prev-month-btn i,
    .calendar-header .next-month-btn i {
        font-size: 0.65rem;
    }
    
    .form-control {
        padding: 0.75rem 0.875rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: none;
    }
    
    /* Authentication buttons small mobile optimization */
    .auth-required-message .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        margin: 0.25rem 0;
        min-width: auto;
        width: 100%;
        max-width: 250px;
    }
    
    .auth-required-message .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.05rem;
    }
    
    .auth-required-message h1 {
        font-size: 1.75rem;
    }
    
    .auth-required-message h3 {
        font-size: 1.25rem;
    }
    
    .auth-required-message p {
        font-size: 0.95rem;
    }
    
    /* Improve form spacing on small screens */
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group small {
        font-size: 0.75rem;
    }
    
    /* Better alert styling for mobile */
    .alert {
        padding: 0.875rem;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    /* Improve selected dates display */
    .selected-dates-list {
        padding: 0.75rem;
        min-height: 50px;
    }
    
    .selected-date-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
        padding-right: 1.8rem;
        margin: 0.15rem 0;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Improve time selection buttons */
    .time-selection .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        width: auto;
        max-width: none;
    }
    
    /* Modal improvements for mobile */
    .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-footer {
        padding: 1rem;
    }
    
    .time-options h6 {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .form-check {
        margin-bottom: 0.5rem;
    }
    
    .form-check-label {
        font-size: 0.85rem;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .waitlist-form {
        padding: 0.75rem;
        margin: 0 0.25rem;
    }
    
    .calendar-container {
        padding: 0.5rem;
    }
    
    .day {
        font-size: 0.75rem;
        min-height: 24px;
    }
    
    .day-header {
        font-size: 0.65rem;
        padding: 0.2rem 0;
    }
    
    .calendar-header h5 {
        font-size: 0.85rem;
        min-width: 80px;
    }
    
    .calendar-header .prev-month-btn,
    .calendar-header .next-month-btn {
        padding: 0.1rem 0.25rem;
        font-size: 0.55rem;
        min-height: 18px;
        min-width: 20px;
        white-space: nowrap;
        border-radius: 2px;
    }
    
    .calendar-header .prev-month-btn i,
    .calendar-header .next-month-btn i {
        font-size: 0.6rem;
    }
    
    .form-control {
        padding: 0.625rem 0.75rem;
        font-size: 16px;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .auth-required-message .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .auth-required-message .btn-lg {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    .selected-date-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
        padding-right: 1.6rem;
    }
    
    .auth-required-message h1 {
        font-size: 1.5rem;
    }
    
    .auth-required-message h3 {
        font-size: 1.1rem;
    }
    
    .auth-required-message p {
        font-size: 0.85rem;
    }
}

.calendar-header .btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    min-height: 28px;
    border-radius: 6px;
}

.calendar-header .btn i {
    font-size: 0.65rem;
}

/* Disabled button styling for mobile */
.calendar-header .btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.calendar-header .btn.disabled:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    transform: none;
}

/* Desktop/Tablet button styles - more specific to override mobile */
@media (min-width: 769px) {
    .calendar-header .prev-month-btn,
    .calendar-header .next-month-btn {
        padding: 0.75rem 1.25rem !important;
        font-size: 1rem !important;
        min-height: 44px !important;
        border-radius: 12px !important;
    }
    
    .calendar-header .prev-month-btn i,
    .calendar-header .next-month-btn i {
        font-size: 0.9rem !important;
    }
} 
