/* ==========================================================================
   Sound Effects Section — scoped to .ipb-sound-settings
   ========================================================================== */

.ipb-sound-settings .ipb_sound_wrapper {
    gap: 0;
}

.ipb-sound-settings .sound_wrap {
    flex-direction: column;
}

.ipb-sound-settings .toggle {
    flex-direction: column;
    gap: 0;
}

/* Each toggle row: 2-column grid */
.ipb-sound-settings .sound_inputs {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    align-items: center;
    width: 100%;
    padding: 0;
    position: relative;
}

.ipb-sound-settings .sound_inputs label {
    font-size: 14px;
    font-weight: 600;
    color: #1e1f21;
    margin: 0;
    white-space: nowrap;
}

/* Toggle switch — keep WP-native size, no stretch */
.ipb-sound-settings .sound_inputs .input.toggle.switch {
    width: auto;
    flex: 0 0 auto;
}

/* Hide info icons */
.ipb-sound-settings .sound_inputs .info {
    display: none;
}

/* Helper text under each toggle row */
.ipb-sound-settings .ipb-sound-helper {
    margin: 4px 0 16px 0;
    padding-left: 196px;
    font-size: 12px;
    color: #646970;
    line-height: 1.4;
}

.ipb-sound-settings .ipb-sound-helper:last-of-type {
    margin-bottom: 0;
}

/* Sound file picker sections */
.ipb-sound-settings .sounds {
    margin-top: 16px;
}

.ipb-sound-settings .sound_input h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1e1f21;
    margin: 0 0 12px 0;
}

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

    .ipb-sound-settings .ipb-sound-helper {
        padding-left: 0;
    }
}
