﻿.custom-slot-selector {
    font-family: sans-serif;
    margin: 1em 0;
}

.day-list, .hour-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 1em;
}

#customSlotSelector .day-button, #customSlotSelector .hour-button {
    transition: background-color 0.2s;
    background-color: white;
    text-align: center;
    padding: 5px;
    box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.2);
    cursor: pointer;
    text-decoration: none;
    flex-grow: 1;
    max-width: 10%;
    padding: 10px;
    color: #282d33;
}

    #customSlotSelector .day-button span {
        display: block;
        padding: 2px 10px;
    }

        #customSlotSelector .day-button span.day {
            font-size: 15px;
        }

        #customSlotSelector .day-button span.number {
            font-weight: 400;
            font-size: 34px;
        }

        #customSlotSelector .day-button span.month {
            font-size: 15px;
        }


    #customSlotSelector .hour-button:hover, #customSlotSelector .day-button:hover {
        color: #b23993;
    }

label.hour-button {
    font-weight: 400;
    font-size: 21px;
    letter-spacing: 1px;
}

#customSlotSelector .hour-button.hour-active, #customSlotSelector .day-button.day-active {
    background-color: #b23993;
    color: #fff;
}

#customSlotSelector .error {
    margin: 10px 0;
    font-size: 12pt;
    font-style: normal;
    color: white;
    font-weight: 100;
    padding: 5px;
    background: #da3264;
    display: block;
    width: fit-content;
}


.results .item-control-consult.wait {
    background-color: #ffda95;
}


.results .item-control-consult.ok {
    background-color: #bdffbd;
}

.results .item-control-consult.ko {
    background-color: #cdcdcd;
}

@media screen and (max-width: 980px) {

    #customSlotSelector .day-button, #customSlotSelector .hour-button {
        max-width: 30%;
        flex-basis: initial;
    }
}
