/* Calendar Navigation */
.calendar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.calendar-navigation h3 {
    margin: 0;
    color: #b89092;
    font-size: 20px;
}

.nav-btn {
    background: #b89092;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: #a07082;
}

.nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Calendar Grid Styles */
.calendar-container {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

@media (min-width: 768px) {
    .calendar-container {
        grid-template-columns: 2fr 1fr;
    }
}

.calendar-month {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.calendar-day {
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
    background: white;
    color: #333;
}

.calendar-day.has-slots {
    background: #d4edda;
    border: 2px solid #28a745;
    font-weight: bold;
}

.calendar-day.has-slots:hover {
    background: #28a745;
    color: white;
}

.calendar-day.selected {
    background: #b89092;
    color: white;
    border-color: #b89092;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day-header {
    font-weight: bold;
    color: #666;
    font-size: 12px;
    text-align: center;
    padding: 10px 0;
}

.time-slots-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.time-slots-container h3 {
    color: #b89092;
    margin: 0 0 15px 0;
}

.time-slot {
    padding: 12px;
    margin: 8px 0;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.time-slot:hover {
    background: #e9ecef;
    border-color: #b89092;
}

.time-slot.selected {
    background: #b89092;
    color: white;
    border-color: #b89092;
}

.service-selector {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.service-selector label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.service-selector select {
    background: #fff;
    width: 18em;
    padding: 5px;
    font-size: 1.2em;
    font-family: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
}

.service-selector select:focus {
    outline: none;
    border-color: #b89092;
}

.service-selector select option {
    color: #333;
    background: white;
    padding: 5px;
}


.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s;
    font-family: 'Avenir', 'Montserrat', Arial, sans-serif;
}

.btn-green {
    background: #28a745;
    color: white;
}

.btn-green:hover {
    background: #218838;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.booking-content {
    margin: 2em 0;
}

.booking-form-group {
    margin-bottom: 20px;
}

.booking-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.booking-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.booking-result {
    margin-top: 30px;
}

.booking-form-step {
    display: none;
}

#time-slots-list p {
    color: #999;
    text-align: center;
}

#selected-datetime-summary {
    color: #b89092;
    font-weight: bold;
}

.booking-footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px 0;
    color: #999;
    font-size: 14px;
    border-top: 1px solid #ddd;
}

.insight-box {
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    background: white;
    border-left: 4px solid #b89092;
}

.insight-box.success {
    background: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.insight-box.error {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.insight-box h3 {
    margin-top: 0;
    color: inherit;
}

/* Questionnaire-specific styles */
.section-box {
    background: white;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-box h3 {
    color: #b89092;
    margin-bottom: 15px;
    font-size: 18px;
}

.info-box {
    background: #e7f3ff;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.success-box {
    background: #d4edda;
    border: 2px solid #28a745;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.success-box h2 {
    color: #155724;
    margin-bottom: 10px;
}

.radio-group {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.details-field {
    margin-top: 10px;
}

.details-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #666;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.form-control:focus {
    outline: none;
    border-color: #b89092;
}

.signature-canvas {
    border: 2px solid #ddd;
    background: white;
    cursor: crosshair;
    display: block;
    width: 100%;
    max-width: 600px;
    height: 200px;
    touch-action: none;
}

.button-group {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.btn-primary {
    background: #b89092;
    color: white;
}

.btn-primary:hover {
    background: #a07082;
}

@media (max-width: 768px) {
    .signature-canvas {
        max-width: 100%;
    }
}
