/* Google-Style Timing Picker CSS */

.timing-picker-container {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    font-size: 14px;
}

.timing-row {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.timing-row:last-child {
    border-bottom: none;
}

.timing-day-label {
    width: 100px;
    font-weight: 500;
    padding-top: 6px;
}

.timing-controls {
    flex: 1;
}

.timing-slot-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.timing-slot-row:last-child {
    margin-bottom: 0;
}

.timing-closed-check {
    margin-bottom: 8px;
}

.timing-select {
    width: 110px;
    padding: 4px 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #fff;
    margin: 0 5px;
}

.timing-separator {
    color: #6c757d;
}

.timing-btn {
    border: none;
    background: none;
    cursor: pointer;
    padding: 4px 8px;
    color: #6c757d;
    transition: color 0.2s;
}

.timing-btn:hover {
    color: #212529;
}

.timing-btn-add {
    color: #198754;
}

.timing-btn-remove {
    color: #dc3545;
}

.timing-copy-btn {
    font-size: 13px;
}

/* Public Display Styles */
.timing-status {
    user-select: none;
}

.timing-arrow {
    transition: transform 0.2s;
}

.timing-details table tr.fw-bold {
    background-color: rgba(0,0,0,0.03);
}

@media (max-width: 768px) {
    .timing-picker-container {
        padding: 10px;
    }

    .timing-row {
        flex-direction: row;
        align-items: center;
        padding: 8px 0;
        gap: 8px;
    }

    .timing-day-label {
        width: 40px;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        font-weight: 600;
        font-size: 13px;
        text-transform: uppercase;
        flex-shrink: 0;
    }

    .timing-controls {
        flex: 1;
        width: auto;
        padding-left: 0;
    }

    .timing-closed-check {
        margin-bottom: 0;
        display: inline-block;
    }

    .timing-slots-container {
        display: inline-block;
        width: 100%;
    }

    .timing-slot-row {
        display: flex;
        align-items: center;
        margin-bottom: 6px;
        flex-wrap: nowrap;
    }

    .timing-slot-row:last-child {
        margin-bottom: 0;
    }

    .timing-select {
        flex: 1;
        width: auto;
        min-width: 0;
        margin: 0 2px;
        font-size: 13px;
        padding: 4px 2px;
        text-align: center;
        -webkit-appearance: none; /* Reduce native UI padding if possible */
    }

    .timing-separator {
        margin: 0 2px;
        flex-shrink: 0;
    }

    .timing-btn {
        padding: 6px;
        flex-shrink: 0;
    }
}
