/* Pax Picker Styles */
.pax-picker-container {
    position: relative;
    width: 100%;
}

.pax-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;
}

.pax-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    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;
}

.pax-dropdown.active {
    display: block;
}

.pax-room-header {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
}

.pax-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pax-label h4 {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.pax-label span {
    font-size: 12px;
    color: #666;
}

.pax-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pax-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #0d47a1;
    color: #0d47a1;
    background: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pax-btn:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}

.pax-count {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.pax-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.btn-add-room {
    background: none;
    border: none;
    color: #666;
    /* Disabled look for now */
    cursor: default;
    font-size: 13px;
}

.btn-apply-pax {
    background: #f97316;
    /* Orange to match screenshot */
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .pax-dropdown {
        width: calc(100vw - 40px);
        max-width: 320px;
        left: 50%;
        transform: translateX(-50%);
    }

    .pax-summary {
        font-size: 14px;
    }

    .pax-summary span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 576px) {
    .pax-dropdown {
        width: calc(100vw - 30px);
        padding: 12px;
    }

    .pax-summary {
        padding: 12px 10px;
        font-size: 13px;
    }

    .pax-label h4 {
        font-size: 13px;
    }

    .pax-label span {
        font-size: 11px;
    }

    .btn-apply-pax {
        font-size: 12px;
        padding: 7px 15px;
    }
}