/**
 * LZ Timeslots - Styles
 */

/* Time slots wrapper */
.lz-timeslots-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0px 0;
}

/* Individual time slot button */
.lz-time-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background-color: #feeee9;
    border: 1px solid #d5a99d;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lz-time-slot:hover {
    background-color: #fdebe4;
    border-color: #f1592a;
    color: #d9481f;
}

.lz-time-slot:focus {
    outline: none;
}

.lz-time-slot.selected {
    background-color: #f1592a;
    border-color: #fff;
	box-shadow: 0 0 0 3px rgba(241, 89, 42, 0.3);
    color: #ffffff;
}

.lz-time-slot.selected:hover {
    background-color: #d9481f;
}

/* Loading state */
.lz-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

.lz-loading::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 2px solid #e0e0e0;
    border-top-color: #d9481f;
    border-radius: 50%;
    animation: lz-spin 0.8s linear infinite;
}

@keyframes lz-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Messages */
.lz-message {
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
}

.lz-message-info {
    background-color: #feeee9;
    color: #414141;
    border: 1px solid #d5a99d;
}

.lz-message-warning {
    background-color: #feeee9;
    color: #414141;
    border: 1px solid #d5a99d;
}

.lz-message-error {
    background-color: #feeee9;
    color: #414141;
    border: 1px solid #d5a99d;
}

/* Schedule time slots container styling */
.schedule-time-slots {
    min-height: 0px;
}

.schedule-time-select-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
}

.schedule-date-and-time-frame {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .lz-timeslots-wrapper {
        gap: 8px;
    }
    
    .lz-time-slot {
        min-width: 80px;
        padding: 10px 14px;
        font-size: 13px;
    }
}