/**
 * Time Slots Selector Styles
 * Version: 1.0.0
 */

.wceb_time_slots_wrap {
    margin: 20px 0;
    padding: 15px 0;
    clear: both;
}

.wceb_time_slots_question {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 400;
}

.wceb_time_slots_container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.wceb_time_slot {
    position: relative;
}

.wceb_time_slot input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wceb_time_slot label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 10px 20px;
    background-color: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
    user-select: none;
}

.wceb_time_slot label:hover {
    background-color: #fff;
    border-color: #999;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wceb_time_slot input[type="radio"]:checked+label {
    background-color: #333;
    border-color: #333;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wceb_time_slot input[type="radio"]:disabled+label,
.wceb-slot-disabled label {
    background-color: #fafafa;
    border-color: #e0e0e0;
    color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
    /* Critical: Prevent clicks */
}

.wceb_time_slot input[type="radio"]:disabled+label:hover,
.wceb-slot-disabled label:hover {
    transform: none;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
    .wceb_time_slots_container {
        gap: 8px;
    }

    .wceb_time_slot label {
        min-width: 70px;
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Animation for showing/hiding */
.wceb_time_slots_wrap.wceb_show {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}