/* Booking Module Container */
.booking-module-container {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
}

/* Client Notice */
.client-notice {
    background-color: #f8f8f8;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 5px;
    text-align: center;
    border: 1px solid #e1e1e1;
}

.client-notice a {
    color: #0066cc;
    text-decoration: none;
}

.client-notice a:hover {
    text-decoration: underline;
}

/* Booking Layout */
.booking-layout {
    display: flex;
    gap: 30px;
}

/* Sessions List */
.sessions-list {
    flex: 0 0 300px;
    border-right: 1px solid #e1e1e1;
    padding-right: 20px;
}

.session-item {
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
}

.session-item:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
}

.session-item.active {
    background-color: #e1f5fe;
    border-color: #4fc3f7;
    box-shadow: 0 0 0 2px rgba(79, 195, 247, 0.3);
}

.session-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #222;
    font-size: 1.2em;
}

.session-item p {
    margin-top: 0;
    margin-bottom: 10px;
    color: #555;
    font-size: 0.95em;
    line-height: 1.4;
}

.session-item .duration {
    display: inline-block;
    padding: 3px 8px;
    background-color: #f0f0f0;
    border-radius: 3px;
    font-size: 0.85em;
    color: #666;
}

/* Calendar View */
.calendar-view {
    flex: 1;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #e1e1e1;
}

.calendar-header button {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.calendar-header button:hover {
    background-color: #f5f5f5;
}

.week-range {
    margin: 0;
    font-size: 1.1em;
    color: #444;
}

.week-view {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
    min-height: 400px;
}

.day-column {
    flex: 1;
    padding: 10px;
    border-right: 1px solid #eee;
    background-color: #f9f9f9;
}

.day-column:last-child {
    border-right: none;
}

.day-header {
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    color: #444;
}

.day-number {
    font-size: 1.3em;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
    color: #222;
}

.time-slot {
    padding: 8px 10px;
    margin: 5px 0;
    border-radius: 4px;
    font-size: 0.9em;
    text-align: center;
    transition: all 0.2s;
}

.time-slot.available {
    background-color: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
    cursor: pointer;
}

.time-slot.available:hover {
    background-color: #c8e6c9;
    border-color: #81c784;
}

.time-slot.booked {
    background-color: #ffebee;
    border: 1px solid #ef9a9a;
    color: #c62828;
    cursor: not-allowed;
    opacity: 0.7;
}

.time-slot.selected {
    background-color: #bbdefb;
    border-color: #64b5f6;
    color: #0d47a1;
    font-weight: bold;
}

/* Booking Form */
.booking-form-container {
    margin-top: 40px;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.booking-form-container h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #4fc3f7;
    outline: none;
    box-shadow: 0 0 0 2px rgba(79, 195, 247, 0.2);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.confirm-booking {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    width: 100%;
    transition: background-color 0.3s;
}

.confirm-booking:hover {
    background-color: #388e3c;
}

.confirm-booking:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    display: block;
}

.form-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .booking-layout {
        flex-direction: column;
    }
    
    .sessions-list {
        border-right: none;
        border-bottom: 1px solid #e1e1e1;
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    
    .week-view {
        flex-direction: column;
        min-height: auto;
    }
    
    .day-column {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .day-column:last-child {
        border-bottom: none;
    }
}