/* =========================
   Delivery Selector Card
========================= */
.delivery-selector-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin: 10px 0px;
}

.delivery-selector-card:hover {
    border-color: #bbb;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.delivery-icon {
    font-size: 18px;
    margin-right: 10px;
    color: #6c757d;
}

.delivery-text {
    flex: 1;
    color: #333;
    padding: 0 8px;
}

.delivery-arrow {
    font-size: 18px;
    color: #999;
}


/* =========================
   Modal Popup Styling
========================= */
.wc-ddt-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    font-family: inherit;
}

.wc-ddt-modal-content {
    background: #fff;
    padding: 25px 0px;
    border-radius: 14px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: fadeInUp 0.3s ease;
    position: relative;

}

.wc-ddt-modal-content #wc-ddt-step-1{
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}
    
.wc-ddt-modal-content h2 {
    font-size: 18px;
    margin-top: 0px;
    text-align: center;
}

.button-align {
    display: flex;
    justify-content: center;
}

.wc-ddt-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    height: 18px;
    width: 18px;
    border: solid 2px #565656;
    font-size: 11px;
    text-align: center;
    border-radius: 100px 
}

.wc-ddt-step {
    margin: 0 0 20px 0;
    padding: 20px 20px 0 20px;
}
span.back-to-step-1 {
    position: absolute;
    top: 10px;
    left: 10px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    font-size: 12px;
    text-align: center;
    border-radius: 100px;
}

.wc-ddt-step label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
}

#delivery_date {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    margin-top: 5px;
}

/* Groups (Delivery Methods) */
.wc-ddt-groups {
    margin-top: 10px;
}

.wc-ddt-group {
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 12px;
    background: #fafafa;
    transition: 0.2s ease;
}

.wc-ddt-group:hover {
    border-color: #bbb;
    background: #f5f5f5;
}

.wc-ddt-group label {
    font-weight: 500;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.wc-ddt-price {
    color: #777;
    font-size: 13px;
    margin-left: 8px;
}

/* Time Slots */
.wc-ddt-time-slots {
    margin-top: 10px;
    padding-left: 12px;
}

.wc-ddt-time-slots label {
    display: block;
    font-weight: 400;
    margin: 6px 0;
    cursor: pointer;
}

/* Apply Button */
#apply-delivery-selection {
    /* margin-top: 22px; */
    width: 86%;
    padding: 0px;
    font-size: 16px;
    border-radius: 8px;
    background: #ff0081;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
}

#apply-delivery-selection:hover {
    background: #000000;
}

/* Animation */
@keyframes fadeInUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Match screenshot style */
.flatpickr-calendar {
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid #eee;
    font-family: inherit;
}

.flatpickr-day {
    border-radius: 50%;
    transition: 0.2s ease;
}

.flatpickr-day.selected {
    background: #556b2f !important;
    color: #fff !important;
}

.flatpickr-day.today {
    border: 1px solid #556b2f !important;
}

.flatpickr-months {
    border-bottom: 1px solid #eee;
    margin-bottom: 8px;
}

/* Reset native radio */
.wc-ddt-group input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #777;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    margin-right: 8px;
    vertical-align: middle;
    transition: all 0.2s ease;
}

/* Checked state */
.wc-ddt-group input[type="radio"]:checked {   
    border-color: #ff0081;
    background-color: #fff;
    box-shadow: inset 0 0 0 3px #FF0082;
}

/* Label text alignment */
.wc-ddt-group label {
    font-size: 12px;
    cursor: pointer;
    margin-bottom: 8px;
}

/* Group container */
.wc-ddt-group {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Price */
.wc-ddt-price {
    font-weight: 600;
    margin-left: auto;
    font-size: 12px;
    color: #111;
}

