/* This is a temporal fix, cause we dont know how to do opacity on color-repo defined colors yet. */
@property --box-shadow-opaque {
    syntax: "<color>";
    inherits: false;
    initial-value: #00000022; /* hex color black with opacity in last two digits */
}
/* End of temporal fix */

.hidden {
    display: none;
}

body {
    background: var(--surfaceBackgroundLight);
    font-family:
        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 400;
    padding: 0;
    color: var(--textPrimary);
    line-height: 19px;
    font-size: 16px;
}

main {
    padding: 0;
}

@media print {
    body {
        background: var(--surfaceNeutralDefault);
        font-size: 70%;
    }

    #medicationplan-data,
    .branded-data,
    header {
        box-shadow: none;
    }

    .logouttime {
        display: none;
    }
}

@media (max-width: 40rem) {
    body {
        font-size: 90%;
    }

    main {
        padding: 0;
    }

    header {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    #headerstart {
        display: none;
    }

    #headercenter {
        text-align: left;
    }
}

.drug-legend-description {
    display: inline-block;
    width: fit-content;
    margin-left: 5px;
    margin-top: 2px;
    float: right;
}

.drug-legend-icon {
    width: 19px;
    height: auto;
    display: inline-block;
    margin-left: 10px;
    float: right;
    margin-top: 2px;
}

.drug-legend {
    display: block;
    width: 98%;
}

.drug-legend-divider {
    display: block;
    margin-bottom: 40px;
    background-color: var(--surfaceNeutralDefault);
}

.drug-legend-divider-darker {
    display: block;
    padding-bottom: 30px;
    padding-top: 10px;
    background-color: #fafafa;
}

.drug-legend-thin-divider-darker {
    display: block;
    padding-top: 10px;
    background-color: var(--surfaceNeutralDefault);
}

.align-left {
    text-align: left;
}

.collapsed-table {
    border-collapse: collapse;
    width: 100%;
}

.schedulers-table-header-cell {
    padding: 8px 0 8px 20px;
    overflow: hidden;
    word-break: keep-all;
}

.condensed {
    font-stretch: extra-condensed;
}

.profile-badge-container {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    height: 37px;
    padding: 4px 16px;
    border-radius: 23px;
    gap: 2px;
    box-sizing: border-box;
}

.profile-badge .nickname {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
}

.profile-badge img {
    width: 24px;
    height: 24px;
}
