.flower-delivery-wrapper{
    background:#fff;
    border:1px solid #eee;
    border-radius:18px;
    padding:20px;
    margin:10px 0;
    box-shadow:0 8px 30px rgba(0,0,0,.04);
}

.flower-delivery-title{
    color:#8f5ca8;
    font-size:22px;
    margin-bottom:25px;
    font-weight: 600;
}

.flower-delivery-field{
    margin-bottom:18px;
}

.flower-delivery-field label{
    display:block;
    margin-bottom:12px;
    font-weight:600;
    font-size:16px;
    color:#333;
}

#flower_delivery_date_visual{
    width:100%;
    border:1px solid #ddd;
    border-radius:14px;
    padding:9px;
    font-size:16px;
    background:#fff;
    transition:.3s ease;
}

#flower_delivery_date_visual:focus{
    border-color:#8f5ca8;
    outline:none;
}

#flower_delivery_date{
    display:none;
}

.flower-delivery-slots{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.flower-slot{
    position:relative;
}

.flower-slot input{
    display:none;
}

.flower-slot span{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:180px;
    padding:9px 20px;
    border-radius:14px;
    border:2px solid #8f5ca8;
    color:#8f5ca8;
    font-weight:700;
    transition:.3s ease;
    background:#fff;
    cursor:pointer;
}

.flower-slot input:checked + span,
.flower-slot:hover span{
    background:#8f5ca8;
    color:#fff;
}

.flower-slot.disabled{
    opacity:.35;
    pointer-events:none;
}

.flower-alert{
    padding:14px 18px;
    border-radius:12px;
    margin-bottom:20px;
    font-weight:600;
}

.flower-alert.success{
    background:#e6f8ea;
    color:#217a35;
}

.flower-alert.warning{
    background:#fff4df;
    color:#9a6a00;
}

.flower-alert.danger{
    background:#ffe5e5;
    color:#b00020;
}

.flatpickr-calendar{
    border-radius:18px !important;
    box-shadow:0 12px 35px rgba(0,0,0,.08)!important;
    border:1px solid #eee!important;
}

.flatpickr-months .flatpickr-month{
    background:#8f5ca8;
    color:#fff;
}

.flatpickr-day.selected{
    background:#8f5ca8!important;
    border-color:#8f5ca8!important;
}

.flatpickr-day.today{
    border-color:#8f5ca8!important;
}

span.flatpickr-weekday{
    color:#8f5ca8!important;
    font-weight:700;
}

@media(max-width:768px){

    .flower-delivery-title{
        font-size:24px;
    }

    .flower-delivery-slots{
        flex-direction:column;
    }

    .flower-slot span{
        width:100%;
    }
}
