.ldab-delivery-datetime {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
}

.ldab-delivery-datetime h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.ldab-delivery-datetime .form-row {
    margin-bottom: 15px;
}

.ldab-delivery-datetime label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.ldab-delivery-datetime input[type="date"],
.ldab-delivery-datetime select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ldab-delivery-datetime select option:disabled {
    color: #999;
    font-style: italic;
}

/* Tooltip für ausgebuchte Zeitfenster */
.ldab-delivery-datetime .slot-tooltip {
    position: relative;
    display: inline-block;
}

.ldab-delivery-datetime .slot-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.ldab-delivery-datetime .tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: #333;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    transition: opacity 0.3s;
}

/* Zusätzliche Styles für Produktseite */
.product .ldab-delivery-datetime {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #eee;
}

.product .ldab-delivery-datetime h4 {
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.product .ldab-delivery-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.product .ldab-delivery-fields .form-row {
    margin: 0;
}

.product .ldab-delivery-datetime label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.product .ldab-delivery-datetime input[type="date"],
.product .ldab-delivery-datetime select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .product .ldab-delivery-fields {
        grid-template-columns: 1fr;
    }
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.time-slot-option {
    position: relative;
}

.time-slot-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.time-slot-option label {
    display: block;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.time-slot-option input[type="radio"]:checked + label {
    background: #2271b1;
    color: white;
    border-color: #2271b1;
}

.time-slot-option input[type="radio"]:disabled + label {
    background: #eee;
    color: #999;
    cursor: not-allowed;
    opacity: 0.5;
} 