/* @define WidgetContainer */

.WidgetContainer {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.WidgetContainer-heading {
    color: var(--text-default);
    font-size: 1.0625rem; /* this needs to be changed for screens larger than mobile ( >= 768 px ) */
    font-style: normal;
    font-weight: var(--font-weight-regular);
    line-height: normal;
    margin: 0;
}

.WidgetContainer-infotip {
    font-size: 0.875rem;
    color: var(--primary);
}

.WidgetContainer-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 8px;
    background: var(--surface-default);
    border-left: 2px solid var(--orange-marketing-400);
    box-shadow: 0 2px 6px 3.2px rgb(171 171 171 / 15%);
    overflow: auto;
}

.WidgetContainer-cardHeader {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
}

/* On screen widths larger than mobile, we decrease the font size */
@media (width >= 768px) {
    .WidgetContainer-heading {
        font-size: 1rem;
    }
}
