/* Distillery Tour Booking - Public Styles */

.distillery-booking-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.distillery-booking-form h2 {
    margin-top: 0;
    margin-bottom: 30px;
    text-align: left;
    color: #333;
}

/* Form Steps */
.distillery-form-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.distillery-form-step {
    flex: 1;
    text-align: center;
    padding: 15px;
    color: #999;
    border-bottom: 3px solid transparent;
    cursor: pointer;
}

.distillery-form-step.active {
    color: #2271b1;
    border-bottom-color: #2271b1;
}

.distillery-form-step.completed {
    color: #28a745;
}

.distillery-form-step-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background: #eee;
    color: #666;
    margin-bottom: 10px;
}

.distillery-form-step.active .distillery-form-step-number {
    background: #2271b1;
    color: #fff;
}

.distillery-form-step.completed .distillery-form-step-number {
    background: #28a745;
    color: #fff;
}

/* Form Fields */
.distillery-form-section {
    margin-bottom: 30px;
}

.distillery-form-section h3 {
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 2px solid #2271b1;
    padding-bottom: 10px;
}

.distillery-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.distillery-form-row.full-width {
    grid-template-columns: 1fr;
}

.distillery-form-field {
    margin-bottom: 20px;
}

.distillery-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.distillery-form-field input,
.distillery-form-field select,
.distillery-form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.distillery-form-field input:focus,
.distillery-form-field select:focus,
.distillery-form-field textarea:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.distillery-form-field.error input,
.distillery-form-field.error select,
.distillery-form-field.error textarea {
    border-color: #dc3545;
}

.distillery-form-field-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

.distillery-form-field-help {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

/* Tour Selection */
.distillery-tour-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.distillery-tour-card {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.distillery-tour-card:hover {
    border-color: #2271b1;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.distillery-tour-card.selected {
    border-color: #2271b1;
    background: #f8f9ff;
}

.distillery-tour-card h4 {
    margin-top: 0;
    color: #333;
}

.distillery-tour-price {
    font-size: 24px;
    font-weight: bold;
    color: #2271b1;
    margin: 10px 0;
}

.distillery-tour-details {
    color: #666;
    font-size: 14px;
}

/* Date and Time Selection */
.distillery-date-time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.available-dates {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.date-option {
    padding: 10px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s ease;
}

.distillery-date-option:hover {
    border-color: #2271b1;
}

.distillery-date-option.selected {
    border-color: #2271b1;
    background: #2271b1;
    color: #fff;
}

.distillery-date-option.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.available-times {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.time-option, .date-option {
    padding: 12px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s ease;
}

.time-option:hover, .date-option:hover {
    border-color: #2271b1;
}

.time-option.selected, .date-option.selected {
    border-color: #2271b1;
    background: #2271b1;
    color: #fff;
}

.time-option.disabled, .date-option.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* Guest Names */
.guest-names-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

/* Add-ons */
.distillery-addons {
    display: grid;
    gap: 15px;
}

.distillery-addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
}

.distillery-addon-details h5 {
    margin: 0 0 5px 0;
    color: #333;
}

.distillery-addon-price {
    font-weight: bold;
    color: #2271b1;
}

.distillery-addon-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.distillery-quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.distillery-quantity-btn:hover {
    background: #f5f5f5;
}

/* Promo Code */
.distillery-promo-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.distillery-promo-input {
    display: flex;
    gap: 10px;
}

.distillery-promo-input input {
    flex: 1;
    margin-bottom: 0;
}

.distillery-promo-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
}

.distillery-promo-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.distillery-promo-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Booking Summary */
.distillery-booking-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.distillery-booking-summary h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.distillery-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.distillery-booking-summary > .distillery-summary-row:last-child:not(.summary-extras-container .distillery-summary-row) {
    border-bottom: none;
    font-weight: bold;
    font-size: 18px;
    color: #2271b1;
}

/* Buttons */
.distillery-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #2271b1;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.distillery-btn:hover {
    background: #135e96;
    color: #fff;
    transform: translateY(-1px);
}

.distillery-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.distillery-btn.secondary {
    background: #6c757d;
}

.distillery-btn.secondary:hover {
    background: #545b62;
}

.distillery-btn.success {
    background: #28a745;
}

.distillery-btn.success:hover {
    background: #218838;
}

.distillery-btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Customer Dashboard */
.distillery-customer-dashboard {
    max-width: 1000px;
    margin: 0 auto;
}

.distillery-dashboard-header {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    text-align: center;
}

.distillery-dashboard-header h2 {
    margin: 0 0 10px 0;
    color: #333;
}

.distillery-bookings-list {
    display: grid;
    gap: 20px;
}

.distillery-booking-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #2271b1;
}

.distillery-booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.distillery-booking-reference {
    font-size: 18px;
    font-weight: bold;
    color: #2271b1;
}

.distillery-booking-status {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.distillery-booking-status.pending {
    background: #fff3cd;
    color: #856404;
}

.distillery-booking-status.confirmed {
    background: #d4edda;
    color: #155724;
}

.distillery-booking-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.distillery-booking-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.distillery-booking-detail {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.distillery-booking-detail strong {
    display: block;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.distillery-booking-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Tour List */
.distillery-tour-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.distillery-tour-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.distillery-tour-item:hover {
    transform: translateY(-5px);
}

.distillery-tour-content {
    padding: 25px;
}

.distillery-tour-item h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 20px;
}

.distillery-tour-item .tour-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.distillery-tour-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.distillery-tour-meta-item {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    text-align: center;
}

.distillery-tour-meta-item strong {
    display: block;
    color: #2271b1;
    font-size: 18px;
    margin-bottom: 5px;
}

.distillery-tour-meta-item span {
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
}

/* Loading and Messages */
.distillery-loading {
    text-align: center;
    padding: 40px;
}

.distillery-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2271b1;
    border-radius: 50%;
    animation: distillery-spin 1s linear infinite;
}

@keyframes distillery-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.distillery-message {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 6px;
    border-left: 4px solid;
}

.distillery-message.success {
    background: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.distillery-message.error {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.distillery-message.warning {
    background: #fff3cd;
    border-left-color: #ffc107;
    color: #856404;
}

.distillery-message.info {
    background: #d1ecf1;
    border-left-color: #17a2b8;
    color: #0c5460;
}

/* Optional Extras Styling */
.optional-extras-section {
    margin-top: 20px;
}

.optional-extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.extra-details {
    flex: 1;
}

.extra-details h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.extra-description {
    margin: 0 0 5px 0;
    color: #666;
    font-size: 14px;
}

.extra-price {
    font-weight: bold;
    color: #2271b1;
}

.extra-quantity-control {
    display: flex;
    align-items: center;
}

.extra-quantity-btn {
    width: 30px;
    height: 30px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.extra-quantity-btn:hover {
    background: #135e96;
}

.extra-quantity {
    width: 50px;
    height: 30px;
    text-align: center;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.summary-extra-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    padding-left: 15px;
    font-size: 14px;
}

/* Add to your existing CSS */
.optional-extras-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.optional-extras-section h4 {
    margin-bottom: 15px;
    color: #2271b1;
}

.optional-extras-list {
    margin-bottom: 15px;
}

.optional-extra-item {
    display: block;
    margin-bottom: 8px;
    padding: 8px;
    background: #f9f9f9;
    border-radius: 4px;
}

.optional-extra-item:hover {
    background: #f0f0f0;
}

.optional-extra-item input[type="checkbox"] {
    margin-right: 8px;
}

.extras-total {
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    .distillery-booking-form {
        padding: 20px;
        margin: 0 15px;
    }
    
    .distillery-form-row {
        grid-template-columns: 1fr;
    }
    
    .distillery-date-time-grid {
        grid-template-columns: 1fr;
    }
    
    .distillery-tour-cards {
        grid-template-columns: 1fr;
    }
    
    .available-dates {
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    }
    
    .available-times {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .distillery-booking-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .distillery-booking-details {
        grid-template-columns: 1fr;
    }
    
    .distillery-booking-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .distillery-btn-group {
        flex-direction: column;
    }
    
    .distillery-form-steps {
        font-size: 14px;
    }
    
    .distillery-form-step {
        padding: 10px 5px;
    }
}

@media (max-width: 480px) {
    .distillery-booking-form {
        padding: 15px;
    }
    
    .available-dates {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    }
    
    .available-times {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }
    
    .distillery-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Print Styles */
@media print {
    .distillery-booking-form,
    .distillery-customer-dashboard {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .distillery-btn,
    .distillery-booking-actions {
        display: none;
    }
}

/* Accessibility */
.distillery-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.distillery-form-field input:focus,
.distillery-form-field select:focus,
.distillery-form-field textarea:focus,
.distillery-btn:focus,
.distillery-tour-card:focus,
.distillery-date-option:focus,
.distillery-time-option:focus {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .distillery-tour-card,
    .distillery-booking-card,
    .distillery-form-field input,
    .distillery-form-field select,
    .distillery-form-field textarea {
        border-width: 2px;
    }
    
    .distillery-btn {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .distillery-tour-card,
    .distillery-tour-item,
    .distillery-btn {
        transition: none;
    }
    
    .distillery-spinner {
        animation: none;
    }
}

/* Target only this specific section */
.form-step[data-step="2"] .distillery-form-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.form-step[data-step="2"] .distillery-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed, #ec4899);
}

/* Date and time grid container */
.form-step[data-step="2"] .distillery-date-time-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

/* Date selection section */
.form-step[data-step="2"] .date-selection {
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    border: 2px solid #e2e8f0;
    position: relative;
}

.form-step[data-step="2"] .date-selection h4 {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-step[data-step="2"] .date-selection h4::before {
    content: '📅';
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Date selection container */
.form-step[data-step="2"] .date-selection-container {
    position: relative;
}

/* Calendar header - add days of week */
.form-step[data-step="2"] .date-selection-container::before {
    content: 'Sun Mon Tue Wed Thu Fri Sat';
    display: grid;
    /* grid-template-columns: repeat(7, 1fr); */
    gap: 8px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #64748b;
    font-size: 0.875rem;
    text-align: center;
    white-space: pre;
}

/* Available dates grid - calendar layout */
.form-step[data-step="2"] .available-dates {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    position: relative;
}

/* Individual date options */
.form-step[data-step="2"] .date-option {
    aspect-ratio: 1;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    position: relative;
    min-height: 70px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-step[data-step="2"] .date-option:hover {
    border-color: #4f46e5;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.15);
    background: linear-gradient(135deg, #f0f4ff, #ffffff);
}

/* Selected date */
.form-step[data-step="2"] .date-option.selected {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
    transform: translateY(-2px) scale(1.05);
}

.form-step[data-step="2"] .date-option.selected:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    transform: translateY(-3px) scale(1.08);
}

/* Date day styling */
.form-step[data-step="2"] .date-day {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

/* Date month styling */
.form-step[data-step="2"] .date-month {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Time selection section */
.form-step[data-step="2"] .time-selection {
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    border: 2px solid #e2e8f0;
    position: sticky;
    top: 20px;
}

.form-step[data-step="2"] .time-selection h4 {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-step[data-step="2"] .time-selection h4::before {
    content: '⏰';
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Time selection container */
.form-step[data-step="2"] .time-selection-container {
    position: relative;
}

/* Available times */
.form-step[data-step="2"] .available-times {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Individual time options */
.form-step[data-step="2"] .time-option {
    padding: 20px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-step[data-step="2"] .time-option:hover {
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.15);
    background: linear-gradient(135deg, #ecfdf5, #ffffff);
}

.form-step[data-step="2"] .time-option.selected {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

.form-step[data-step="2"] .time-option.selected:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-3px);
}

/* Add pulse animation for selected items */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(79, 70, 229, 0.1);
    }
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.1);
    }
}

.form-step[data-step="2"] .date-option.selected {
    animation: pulse 2s infinite;
}

.form-step[data-step="2"] .time-option.selected {
    animation: pulse-green 2s infinite;
}

/* Responsive design */
@media (max-width: 768px) {
    .form-step[data-step="2"] .distillery-date-time-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-step[data-step="2"] .available-dates {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .form-step[data-step="2"] .date-option {
        min-height: 60px;
    }
    
    .form-step[data-step="2"] .date-selection-container::before {
        display: none; /* Hide day headers on mobile */
    }
}

@media (max-width: 480px) {
    .form-step[data-step="2"] .available-dates {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .form-step[data-step="2"] .date-option {
        min-height: 55px;
    }
    
    .form-step[data-step="2"] .date-day {
        font-size: 1.1rem;
    }
    
    .form-step[data-step="2"] .date-month {
        font-size: 0.7rem;
    }
}

/* Calendar Styles */
.calendar-container {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.calendar-header {
    background: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.calendar-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.calendar-nav:hover {
    background: rgba(255,255,255,0.2);
}

.calendar-prev {
    left: 20px;
}

.calendar-next {
    right: 20px;
}

.calendar-month-year {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #ecf0f1;
    border-bottom: 1px solid #bdc3c7;
}

.calendar-weekday {
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #ecf0f1;
    padding: 1px;
}

.calendar-day {
    background: white;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    font-size: 14px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day:hover {
    background: #f8f9fa;
}

.calendar-day.other-month {
    color: #bdc3c7;
    background: #f8f9fa;
}

.calendar-day.available {
    background: #e8f5e8;
    color: #27ae60;
    font-weight: 600;
    cursor: pointer;
}

.calendar-day.available:hover {
    background: #d5f4d5;
    border-color: #27ae60;
}

.calendar-day.selected {
    background: #3498db !important;
    color: white !important;
    border-color: #2980b9 !important;
}

.calendar-day.unavailable {
    color: #bdc3c7;
    cursor: not-allowed;
    background: #f8f9fa;
}

.calendar-day.past {
    color: #bdc3c7;
    cursor: not-allowed;
    background: #f8f9fa;
}

.calendar-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.calendar-wrapper {
    position: relative;
}

/* Minimal styling (you can move this to your stylesheet) */
.distillery-tabs { 
    display: flex; 
    gap: 8px; 
    margin-top: 28px; 
    flex-wrap: wrap; 
}

.distillery-tab-btn {
    padding: 10px 14px; 
    border: 1px solid #ddd; 
    background: #f7f7f7; 
    cursor: pointer; 
    border-radius: 6px;
    color: #000;
}
.distillery-tab-btn.active { 
    background: #000;
    color: #fff;
    border-color: #bbb; 
    font-weight: 600; 
}

.distillery-tab-panels { 
    margin-top: 16px; 
}

.distillery-tab-panel { 
    display: block; 
    margin-top: 30px;
}

.distillery-tab-panel[hidden] { 
    display: none; 
}

.distillery-map-embed iframe { 
    border-radius: 8px; 
}

.optional-extra-item {
    align-items: center !important;
    display: flex !important;
}

.optional-extra-item input {
    width: auto !important;
}

.optional-extra-item span {
    width: 100% !important;
}

.reschedule-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.reschedule-loader-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.reschedule-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: reschedule-spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes reschedule-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.reschedule-loader-content p {
    margin: 0;
    color: #333;
    font-size: 16px;
}