/* ============================================
   ORDER DELIVERY DATE SUPER FREE - FRONTEND
   Team Claude-Ludmila-Studio
   ============================================ */

.orddsf-delivery-date-wrapper {
    margin: 20px 0;
    padding: 0;
}

.orddsf-delivery-date-wrapper h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

#orddsf_delivery_date_field label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.orddsf-datepicker {
    cursor: pointer !important;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") no-repeat right 12px center !important;
    padding-right: 36px !important;
}

.orddsf-field-note {
    color: #777;
    font-size: 13px;
    margin-top: 6px;
    font-style: italic;
}

/* Highlight available dates */
.orddsf-available .ui-state-default {
    background: #e8f5e9 !important;
    border-color: #c8e6c9 !important;
    color: #2e7d32 !important;
}

/* Blocked days */
.ui-datepicker td.ui-datepicker-unselectable .ui-state-default {
    color: #ccc !important;
    text-decoration: line-through;
}

/* Holidays */
.orddsf-holiday .ui-state-default {
    background: #ffebee !important;
    color: #c62828 !important;
    font-weight: bold;
}

/* Thank you page */
.orddsf-thankyou-delivery-date {
    margin: 30px 0;
}

.orddsf-thankyou-delivery-date h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* ---- Order Type Selector ---- */
.orddsf-order-type-wrapper {
    margin: 20px 0;
}

.orddsf-order-type-wrapper h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.orddsf-order-type-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.orddsf-order-type-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    color: #555;
    transition: all 0.2s;
    min-width: 180px;
    background: #fff;
}

.orddsf-order-type-option input[type="radio"] {
    display: none;
}

.orddsf-radio-icon {
    font-size: 22px;
}

.orddsf-order-type-option:hover {
    border-color: #111;
    color: #111;
}

.orddsf-order-type-option.orddsf-selected {
    border-color: #111;
    background: #111;
    color: #fff;
}
