@media (max-width: 1024px) {
    .salon-mapa-layout {
        grid-template-columns: 1fr;
    }

    .salon-mapa-props {
        max-height: 240px;
    }

    .salones-panel-header {
        align-items: stretch;
    }

    .salones-panel-tools {
        width: 100%;
    }

    .salones-search-input {
        width: 100%;
    }

    .salones-panel-tools .toolbar-select {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .salon-mapa-view-header {
        align-items: flex-start;
    }

    .salon-mapa-legend {
        width: 100%;
    }
}

@media (max-width: 860px) {
    #salones .config-table thead {
        display: none;
    }

    #salones .config-table,
    #salones .config-table tbody,
    #salones .config-table tr,
    #salones .config-table td {
        display: block;
        width: 100%;
    }

    #salones .config-table tr {
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius-lg);
        padding: var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
        background: #ffffff;
        box-shadow: var(--shadow-sm);
    }

    #salones .config-table td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm) 0;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
    }

    #salones .config-table td:last-child {
        border-bottom: none;
    }

    #salones .config-table td::before {
        content: attr(data-label);
        font-weight: var(--font-weight-semibold);
        color: var(--text-color-light);
        min-width: 110px;
    }

    #salones .table-actions {
        width: 100%;
        justify-content: flex-end;
    }

    #salones .salon-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    body.clicka-sota #salones .salones-grid {
        grid-template-columns: 1fr;
    }

    body.clicka-sota #salones .salones-panel {
        min-width: 0;
        padding: 16px 14px;
    }

    body.clicka-sota #salones .salones-panel-tools {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    body.clicka-sota #salones .salones-search-input,
    body.clicka-sota #salones .salones-panel-tools .toolbar-select {
        min-width: 0;
        width: 100%;
    }

    body.clicka-sota #salones .config-table td {
        flex-direction: column;
        align-items: stretch;
    }

    body.clicka-sota #salones .config-table td::before {
        min-width: 0;
        font-size: 0.72rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    body.clicka-sota #salones .table-actions,
    body.clicka-sota #salones .salon-actions {
        width: 100%;
    }

    body.clicka-sota #salones .salon-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.clicka-sota #salones .salon-actions-group {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}
