/* Fullscreen waiter quick item-picker (serviceItemSelect.js). */

.sis-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.sis-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: min(92vw, 560px);
    height: min(88vh, 760px);
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.sis-content h3 {
    margin: 0 0 8px;
    text-align: center;
}

.sis-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: none;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.sis-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.sis-menu-title {
    font-weight: bold;
    font-size: 1.05rem;
    margin: 14px 0 4px;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--primary-color, #1e88e5);
}

.sis-group {
    font-weight: bold;
    color: #777;
    margin: 10px 0 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.sis-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 8px;
    border-bottom: 1px solid #eee;
}

.sis-row-name {
    flex: 1;
}

.sis-row-price {
    color: #555;
    white-space: nowrap;
}

.sis-qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.sis-row-qty {
    min-width: 1.2rem;
    text-align: center;
    font-weight: bold;
}

.sis-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--button-color, #888);
    background: #fff;
    color: var(--button-color, #555);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.sis-qty-btn:active {
    opacity: 0.7;
}

.sis-qty-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.sis-empty {
    text-align: center;
    color: #888;
    margin: auto;
}
