/* Booking Calendar Styles */
.booking-calendar-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    padding: 20px;
}

.booking-wrapper {
    display: flex;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 600px;
}

/* Left Section - Meeting Info */
.meeting-info-section {
    flex: 0 0 300px;
    background: white;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-right: 1px solid #e5e7eb;
}

.host-profile {
    text-align: center;
    margin-bottom: 40px;
}

.host-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 16px;
    border: 3px solid #f3f4f6;
}

.host-name {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.meeting-details {
    text-align: center;
}

.meeting-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
}

.meeting-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #6b7280;
    font-size: 16px;
}

/* Right Section - Calendar */
.calendar-section {
    flex: 1;
    padding: 40px;
    background: white;
}

.calendar-header {
    margin-bottom: 30px;
}

.calendar-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 20px 0;
}

.month-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    color: #6b7280;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.current-month {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

/* Calendar Grid */
.calendar-grid {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 16px;
}

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

.day-header {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border: 2px solid transparent;
    background: #e5e7eb;
    color: #6b7280;
    min-width: 40px;
    min-height: 40px;
}

.calendar-day:hover {
    background: var(--hover-color, #52B788);
    color: white;
    transform: scale(1.1);
}

.calendar-day.available {
    background: var(--accent-color, #2D6A4F);
    color: white;
    border-color: var(--accent-color, #2D6A4F);
}

.calendar-day.available:hover {
    background: var(--hover-color, #52B788);
    transform: scale(1.1);
}

.calendar-day.selected {
    background: var(--accent-color, #2D6A4F);
    color: white;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.3);
}

.calendar-day.other-month {
    background: #f3f4f6;
    color: #d1d5db;
    cursor: default;
}

.calendar-day.disabled {
    background: #f3f4f6;
    color: #d1d5db;
    cursor: not-allowed;
}

.calendar-day.past {
    background: #f3f4f6;
    color: #d1d5db;
    cursor: not-allowed;
}

.calendar-day.empty {
    background: transparent;
    border: none;
    cursor: default;
}

/* Time Selection */
.time-selection {
    margin-bottom: 20px;
}

.selected-date-info {
    margin-bottom: 16px;
}

.selected-date-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.availability-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.green-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.time-slot {
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #6b7280;
    transition: all 0.2s;
}

.time-slot:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.time-slot.available {
    color: #1f2937;
    border-color: #10b981;
}

.time-slot.available:hover {
    background: #10b981;
    color: white;
}

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

/* Time slot states */
.loading-times, .no-times, .error-times {
    text-align: center;
    padding: 20px;
    color: #6b7280;
    font-size: 14px;
}

.loading-times {
    color: #2D6A4F;
}

.error-times {
    color: #dc2626;
}

/* Service Selection Styles */
.service-selection {
    margin-top: 30px;
}

.service-selection h3 {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-item {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.service-item:hover {
    border-color: #2D6A4F;
    background: #f8f9fa;
}

.service-item.selected {
    border-color: #2D6A4F;
    background: #f0f9ff;
}

.service-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.service-description {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.service-duration {
    color: #2D6A4F;
    font-weight: 500;
}

.service-price {
    color: #059669;
    font-weight: 600;
}

.service-status {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.service-status.active {
    background: #d1fae5;
    color: #065f46;
}

.service-status.inactive {
    background: #fee2e2;
    color: #991b1b;
}

/* Timezone Info */
.timezone-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
}

.timezone-info:hover {
    color: #1f2937;
}

/* Booking Modal */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.booking-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    color: #6b7280;
    transition: all 0.2s;
}

.close-modal:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.booking-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.summary-item {
    margin-bottom: 8px;
    font-size: 14px;
    color: #1f2937;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item strong {
    font-weight: 600;
}

/* Booking Form */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-confirm-booking {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-confirm-booking:hover {
    background: #2563eb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-wrapper {
        flex-direction: column;
    }
    
    .meeting-info-section {
        flex: none;
        padding: 30px 20px;
    }
    
    .calendar-section {
        padding: 20px;
    }
    
    .calendar-header-days,
    .calendar-days {
        gap: 4px;
    }
    
    .calendar-day {
        font-size: 12px;
    }
    
    .time-slots {
        gap: 6px;
    }
    
    .time-slot {
        padding: 6px 12px;
        font-size: 12px;
    }
}
