.uikit-form-container {
    .form-item {
        margin: 0.5em 0;
        background: rgb(var(--P-color-form-item-bg) / var(--P-color-form-item-bg-opacity));
        border-radius: 0.5em;

        &:first-child {
            margin-top: 0;
        }
        &:last-child {
            margin-bottom: 0;
        }

        > .item-inner {
            display: flex;
            padding: 0.5em 1em;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;

            > .item-label {
                font-weight: 500;
            }
        }

        &.is-stacked .item-inner {
            display: block;

            > .item-label {
                margin-bottom: 0.2em;
            }

            > .item-contents > .uikit-text-field {
                min-width: 100%;
            }
        }

        > .item-description {
            padding: 0.5em 1em;
            padding-top: 0;
            font-size: small;
            opacity: 0.7;
        }
    }

    .form-description {
        margin: 0.5em;
    }

    .form-footer {
        display: flex;
        justify-content: space-between;
        margin: 0.5em;
    }
}
