﻿flex-row {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 1em;
    transition: background-color 0.15s ease;
}

flex-row.hidden {
    display: none;
}

flex-row.no-padding {
    padding: 0 !important;
}

    flex-row.title {
        background: linear-gradient(90deg, #186FB5 0%, #1a7cc4 100%);
        padding: 1em;
        border-top-left-radius: 0.375em;
        border-top-right-radius: 0.375em;
        box-shadow: 0 2px 4px rgba(24, 111, 181, 0.15);
    }

        flex-row.title > h1, flex-row.title > h3 {
            color: #ffffff !important;
            font-size: 1.1em;
            font-weight: 600;
            margin: 0;
            letter-spacing: -0.025em;
        }

        flex-row.title > p {
            color: rgba(255, 255, 255, 0.95);
            margin: 0;
        }

    flex-row.border-bottom {
        border-bottom: 1px solid rgba(24, 111, 181, 0.2);
    }

.center {
    justify-content: center;
}


.align-center {
    align-items: center;
}

.align-start {
    align-items: start;
}

.between {
    justify-content: space-between;
}

.evenly {
    justify-content: space-evenly;
}

.start {
    justify-content: flex-start;
}

.end {
    justify-content: flex-end;
}

.stretch {
    align-items: stretch;
}

.between {
    justify-content: space-between !important;
}

.flex {
    display: flex;
}

.col {
    flex-direction: column;
}

.row {
    flex-direction: row;
}

.wrap {
    flex-wrap: wrap;
}

.between {
    justify-content: space-between;
}

.start {
    justify-content: flex-start;
}

.gap-1 {
    gap: 1em;
}

.gap-2 {
    gap: 2em;
}

p-0 {
    padding: 0 !important;
}

.m-w-20 {
    max-width: 20%;
}

.m-w-80 {
    max-width: 80%;
}

.remove-bottom {
    border-bottom: none !important;
}

.border-bottom {
    border-bottom: 1px solid rgba(24, 111, 181, 0.2);
}

.border-top {
    border-bottom: 1px solid rgba(24, 111, 181, 0.2);
}

/* High Contrast mode for flex-row */
[data-theme="high-contrast"] flex-row {
    background-color: #000000 !important;
    border-color: #ffffff !important;
}

[data-theme="high-contrast"] flex-row.title {
    background: #000000 !important;
    border-bottom: 3px solid #ffffff !important;
}

[data-theme="high-contrast"] flex-row.title > h1,
[data-theme="high-contrast"] flex-row.title > p {
    color: #ffffff !important;
}

[data-theme="high-contrast"] flex-row.border-bottom {
    border-bottom: 3px solid #ffffff !important;
}

/* Visual disable effect */
flex-row.visual-disable {
    opacity: 0.5 !important;
    pointer-events: none !important;
    background-color: #f4f4f4 !important;
    filter: grayscale(100%) !important;
}