.guests-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    justify-content: center;
    align-items: center;
}

.guests-modal.show {
    display: flex;
}

.guests-modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    width: 100%;
    max-width: 400px;
    z-index: 1100;
}

.guests-close {
    right: 20px;
    top: 30px;
    background: white;
    border: 1px solid #666;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.guests-close:hover {
    background-color: #f8f9fa;
    color: #333;
}

.guest-type-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 0;
}

.guest-type-info {
    flex-grow: 1;
}

.guest-type-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.guest-type-subtitle {
    color: #666;
    font-size: 14px;
}

.guest-type-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.guest-control-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.guest-control-btn::before,
.guest-control-btn::after {
    content: '';
    position: absolute;
    background-color: #333;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Минус */
.guest-control-btn[class*="minus"]::before {
    width: 12px;
    height: 2px;
    opacity: 0.8;
}

/* Плюс */
.guest-control-btn[class*="plus"]::before {
    opacity: 0.8;
    width: 12px;
    height: 2px;
}

.guest-control-btn[class*="plus"]::after {
    opacity: 0.8;
    width: 2px;
    height: 12px;
}

.guest-control-btn:disabled::before,
.guest-control-btn:disabled::after {
    background-color: #999;
}

.guest-control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.guest-count {
    min-width: 20px;
    text-align: center;
}

.guests-actions {
    display: flex;
    justify-content: space-between;
}

.clear-guests {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s;
}

.clear-guests:hover {
    background-color: #f0f0f0;
    color: #333;
}

.apply-guests {
    background: #007bff;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s;
}

.apply-guests:hover {
    background-color: #0056b3;
}

.guests-display {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.guests-display::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 12px;
    color: #666;
    padding-left: 12px;
    padding-top: 16px;
}

.guests-display-label::before {
    content: 'Who';
}

@media (max-width: 480px) {
    .guests-display::before {
        padding-left: 0px;
    }
}