/*
 * Author: Jean-Baptiste Louvet-Daniel
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
 */

.theme-dark .custom-system-customStatusEffects header.table-header {
    background-color: var(--color-cool-4);
    border-color: var(--color-cool-4);
}

.custom-system-customStatusEffects header.table-header {
    background: var(--table-header-bg-color);
    padding: 0.5rem;
    color: var(--table-header-text-color);
    text-align: center;
    font-weight: bold;
}

.custom-system-customStatusEffects ul.statusEffectList {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 400px;
    overflow: hidden auto;
}

.custom-system-customStatusEffects li.statusEffect {
    padding: 0.25rem 0.5rem;
    border-bottom: 1px solid var(--color-border-dark-4);
}

.custom-system-customStatusEffects li.statusEffect .form-fields {
    justify-content: space-around;
}

.custom-system-statusEffectConfigIcon {
    text-align: center;
    cursor: pointer;
}

.custom-system-customStatusEffects span.custom-system-statusEffectConfigActions {
    flex-shrink: 1;
    flex-grow: 0;
}

.specialStatusEffects {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;

    max-height: 170px;
    overflow: hidden auto;

    .specialStatusEffectBox {
        flex-basis: calc(95% / 3);
    }
}

.custom-system-customStatusEffects .window-content {
    overflow: auto;
}
