/* ============================================================================
   06-COMPONENTS -> #FIELD-GROUP
   ========================================================================= */

/**
 * Defines a group of fields within the content editor.
 */


//
// SCSS imports
//

@use '../01-settings' as *;
@use '../02-tools' as *;


/**
 * Field group
 */

.field-group {
    --field-group-bg: var(--bg-highlight);
    --field-group-border-color: var(--border-color-highlight);
    --field-group-border-radius: var(--rounded-md);
    --field-group-border-width: var(--border-width);
    --field-group-padding-x: var(--card-padding-x);
    --field-group-padding-y: var(--card-padding-y);

    background-color: var(--field-group-bg);
    border: var(--field-group-border-width) solid var(--field-group-border-color);
    border-radius: var(--field-group-border-radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: var(--field-group-padding-y) var(--card-padding-x);
    position: relative;
}