/* ==========================================================================
   Z-Index Section (legacy file name)
   --------------------------------------------------------------------------
   NOTE: Border controls were moved to `setting-advanced.css`.
   This file remains for backward compatibility with the registered/enqueued
   handle `setting-zindex-css`.
   ========================================================================== */

.ipb-zindex-settings .ipb-zindex-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    align-items: center;
}

.ipb-zindex-settings .ipb-zindex-label {
    align-self: center;
}

.ipb-zindex-settings .ipb-zindex-label label {
    font-size: 14px;
    font-weight: 600;
    color: #1e1f21;
    margin: 0;
}

.ipb-zindex-settings .ipb-zindex-control input[type="number"] {
    width: 100%;
    max-width: 260px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font-size: 14px;
    color: #2c3338;
    background: #fff;
    box-sizing: border-box;
}

.ipb-zindex-settings .ipb-zindex-control input[type="number"]:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

.ipb-zindex-settings .ipb-zindex-helper {
    margin: 8px 0 0 0;
    font-size: 12px;
    color: #646970;
    line-height: 1.4;
}

@media (max-width: 782px) {
    .ipb-zindex-settings .ipb-zindex-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ipb-zindex-settings .ipb-zindex-control input[type="number"] {
        max-width: 100%;
    }
}
