/* Room Group Container */
.tci-room-group-display {
    border: 1px solid #ccc;
    padding: 10px;
    cursor: pointer;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tci-room-dropdown {
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
}

/* Room Row */
.tci-room-row {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.tci-room-row:last-child {
    border-bottom: none;
}

.tci-room-header {
    font-weight: bold;
    margin-bottom: 5px;
}

.tci-guest-row {
    display: flex;
    justify-content: space-between;
}

.tci-guest-control {
    width: 48%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Counters */
.tci-counter {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.tci-btn-minus,
.tci-btn-plus {
    background: #f5f5f5;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-weight: bold;
}

.tci-btn-minus:hover,
.tci-btn-plus:hover {
    background: #e0e0e0;
}

.tci-count {
    width: 30px;
    text-align: center;
    font-weight: bold;
}

/* Age Selection */
.tci-ages-row {
    margin-top: 10px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
}

.tci-ages-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.tci-ages-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tci-age-select {
    padding: 3px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 12px;
    min-width: 50px;
}

/* Controls */
.tci-controls {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

#tci-add-room {
    /* Styles matching typical theme secondary buttons */
}

#tci-done-btn {
    /* Styles matching primary action */
}

/* Responsive fixes */
@media(max-width: 768px) {
    .tci-room-dropdown {
        left: 0;
        right: 0;
    }
}