/**
 * Multiple Slot Selection Styles for WooCommerce Bookings
 */

/* Selected slot styling */
.block.selected .time-slot-selectable {
    background-color: #2ecc71 !important;
    color: #fff !important;
    border-color: #27ae60 !important;
}

.block.selected .time-slot-selectable:hover {
    background-color: #27ae60 !important;
}

/* Selected slots container */
.selected-slots-container {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.selected-slots-container h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
}

.selected-slots-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.selected-slot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 5px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 3px;
}

.slot-date {
    font-weight: bold;
    color: #333;
    margin-right: 12px;
    min-width: 100px;
}

.slot-text {
    flex: 1;
    font-weight: 500;
    margin-left: 8px;
    color: #666;
}

.slot-price {
    margin-right: 10px;
    font-weight: bold;
    color: #28a745;
}

.remove-slot {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-slot:hover {
    background: #c82333;
}

.selected-slots-total {
    padding-top: 10px;
    border-top: 1px solid #dee2e6;
    text-align: right;
    font-size: 18px;
}

.total-price {
    color: #28a745;
}

/* Responsive design */
@media (max-width: 768px) {
    .selected-slot-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .slot-date {
        margin-right: 0;
        margin-bottom: 4px;
        min-width: auto;
    }
    
    .slot-text {
        margin-left: 0;
        margin-bottom: 4px;
    }
    
    .slot-price {
        margin-right: 0;
        margin-top: 5px;
    }
    
    .remove-slot {
        align-self: flex-end;
        margin-top: 5px;
    }
}
