/* Hotel Room Selector Styles */
.room-selector-container {
    position: relative;
    width: 100%;
}

.room-summary {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 350px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    z-index: 1000;
    padding: 15px;
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
}

.room-dropdown.active {
    display: block;
}

.room-item {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #f9f9f9;
}

.room-item-header {
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-remove-room {
    background: none;
    border: none;
    color: #d32f2f;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
}

.room-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.room-label h5 {
    margin: 0;
    font-size: 13px;
    color: #555;
}

.room-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.room-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #0d47a1;
    color: #0d47a1;
    background: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.room-btn:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}

.room-count {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    font-size: 14px;
}

.room-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.btn-add-room-new {
    background: none;
    border: none;
    color: #0d47a1;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.btn-add-room-new:hover {
    text-decoration: underline;
}

.btn-apply-rooms {
    background: #f97316;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .room-dropdown {
        width: calc(100vw - 40px);
        max-width: 350px;
        left: 50%;
        transform: translateX(-50%);
    }

    .room-summary {
        font-size: 14px;
    }

    .room-summary span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 576px) {
    .room-dropdown {
        width: calc(100vw - 30px);
        padding: 12px;
    }

    .room-summary {
        padding: 12px 10px;
        font-size: 13px;
    }

    .room-item {
        padding: 12px;
    }

    .room-item-header {
        font-size: 13px;
    }

    .room-label h5 {
        font-size: 12px;
    }

    .btn-add-room-new,
    .btn-apply-rooms {
        font-size: 12px;
        padding: 7px 15px;
    }
}