/*
    default section table general styles
*/

.medicationplan-empty {
    margin: 4rem 0;
    padding: 0;
    text-align: center;
}
.branded-data table tbody:last-of-type,
#scheduled table tbody:last-of-type,
#paused table tbody:last-of-type,
#ondemand table tbody:last-of-type,
#interactions table tbody:last-of-type,
#intakes table tbody:last-of-type {
    margin-bottom: 0;
}

#scheduled table td,
#interactions table td,
#paused table td,
#ondemand table td,
#scheduled table th,
#interactions table th,
#paused table th,
#ondemand table th {
    line-height: 1.3em;
    padding: 0.75rem 0 0.75rem 1.2rem;
}

#scheduled table tbody tr,
#paused table tbody tr,
#interactions table tbody tr,
#ondemand table tbody tr {
    border-bottom: 1px solid var(--surfaceNeutralDim2);
}

#scheduled table tbody tr:last-child,
#paused table tbody tr:last-child,
#ondemand table tbody tr:last-child,
#interactions table tbody tr:last-child {
    border-bottom: 0;
}

#scheduled,
#paused,
#ondemand,
#interactions,
#intakes {
    background: var(--surfaceNeutralDefault);
    margin: 32px 5%;
    padding: 24px 0 32px 0;
    max-width: 90%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0.1rem 0.2rem var(--box-shadow-opaque);
    -moz-box-shadow: 0 0.1rem 0.2rem var(--box-shadow-opaque);
    -webkit-box-shadow: 0 0.1rem 0.2rem var(--box-shadow-opaque);
}

h2 {
    margin: 0 0 1rem 1.2rem;
    font-size: 18px;
    font-weight: 700;
    color: var(--textPrimary);
}

h3 {
    margin: 0 0 0 0;
    font-size: 12px;
    font-weight: 500;
    font-style: oblique 10deg; /* this means ITALIC, but not default 20 degrees - custom 10 degrees instead */
    color: var(--surfacePrimaryDark);
}

/*
    end of default section table general styles
*/

/* biome-ignore-start lint/complexity/noImportantStyles: MYTH-89485 */
.prescription-cell {
    background-color: var(--surfaceNeutralDim1);
    line-height: 20px !important; /* gets override from default td line-height values */
    padding-bottom: 3px !important; /* gets override from default td padding values */
    padding-top: 3px !important; /* gets override from default td padding values */
    border-bottom: 0;
    font-size: 12px;
    font-weight: 500;
    font-style: oblique 10deg;
    padding-left: 1.2rem;
    color: var(--textContrast);
}

.schedulers-table-body-cell {
    width: 24px !important;
    font-size: 16px;
    padding-left: 20px;
}
/* biome-ignore-end lint/complexity/noImportantStyles: MYTH-89485 */

.schedulers-table-name-cell {
    font-size: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 5px;
}

.ondemand-table-header-row {
    background-color: var(--surfaceNeutralDim1);
    font-size: 14px;
    text-align: left;
    color: var(--textTertiary);
    font-weight: 600;
    height: 37px;
    border-bottom: 1px solid var(--surfaceNeutralDim2);
}

.ondemand-table-header-cell {
    padding: 8px 0 8px 20px;
}

.ondemand-table-body-cell {
    font-size: 16px;
    padding-left: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.ondemand-table-name-cell {
    font-size: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 5px;
}

/*
    icon styles
 */

div.scheduler-icon {
    background-size: contain;
    width: 20px;
    vertical-align: middle;
    height: 20px;
    display: inline-block;
    float: left;
}

div.warning-icon {
    background-size: contain;
    width: 12px;
    vertical-align: middle;
    margin-right: 5px;
    margin-top: 5px;
    height: 12px;
    display: inline-block;
    float: left;
}

/*
    Intakes widget
*/

.month-selector {
    padding-left: 20px;
    padding-top: 16px;
    padding-bottom: 22px;
    position: relative;
    width: 167px;
    max-width: 100%;
    font-size: 16px;
    color: var(--textPrimary);
}

.select-month {
    font-family: inherit;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    color: var(--textPrimary);
    border: none;
    background-color: var(--buttonSecondary);
    text-decoration: none;
    border-radius: 12px;
    -webkit-box-shadow: 0 0 10px var(--box-shadow-opaque);
    -moz-box-shadow: 0 0 10px var(--box-shadow-opaque);
    box-shadow: 0 0 10px var(--box-shadow-opaque);
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.select-month:hover {
    background-color: var(--buttonFloating);
}

.calendar-chevron {
    padding: 10px 8px 8px 8px;
}

.calendar-icon {
    padding: 11px 5px 7px 5px;
    display: block;
}

.calendar-spinner {
    padding: 2px 0 2px 0;
    display: block;
}

.selected-value {
    padding-top: 8px;
    padding-bottom: 8px;
}

.select-outer {
    overflow: hidden;
}

#select-dropdown {
    position: absolute;
    list-style: none;
    width: 167px;
    text-align: center;
    padding-left: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    -webkit-box-shadow: 0 0 10px var(--box-shadow-opaque);
    -moz-box-shadow: 0 0 10px var(--box-shadow-opaque);
    box-shadow: 0 0 10px var(--box-shadow-opaque);
    background-color: var(--surfaceNeutralDefault);
    border-radius: 12px;
    max-height: 200px;
    overflow-y: auto;
    visibility: hidden;
    z-index: 1000;
}

.select-dropdown li {
    position: relative;
    cursor: pointer;
    gap: 1rem;
    align-items: center;
    padding: 10px 20px;
    border-radius: 12px;
    margin-left: 10px;
    margin-right: 10px;
}

.select-dropdown li label {
    width: 100%;
    padding: 8px 15px;
    cursor: pointer;
}

.select-dropdown li:hover {
    background-color: var(--surfaceBackgroundLight);
    font-weight: 500;
}

/*
    end of intakes widget
*/

/*
    interactions table
*/
.bottom-medium {
    border-bottom: 1px solid #9c9c9c;
}

.right-light {
    border-right: 1px dotted #9c9c9c;
}

.drug-table-row-span {
    display: inline-block;
    vertical-align: middle;
}

.bold-font {
    font-weight: 550;
}

div.severity-icon {
    background-size: contain;
    width: 20px;
    vertical-align: middle;
    margin-right: 5px;
    margin-left: 5px;
    height: 21px;
    display: inline-block;
}

div.interaction-icon {
    background-size: contain;
    width: 30px;
    vertical-align: middle;
    height: 30px;
    display: inline-block;
}

.standard_text {
    font-family: inherit;
    font-size: 9.38pt;
    font-weight: 400;
    color: var(--textPrimary);
    margin-top: 0;
    margin-bottom: 0;
}

#interactions-table tbody td,
#interactions-table thead th {
    padding: 0.75rem 0;
    /* biome-ignore lint/complexity/noImportantStyles: MYTH-89485 */
    width: auto !important;
    line-height: 1.3em;
}

.chosen-month {
    background-color: var(--surfaceBackgroundDark);
}

.schedulers-table-header-row {
    background-color: var(--surfaceNeutralDim1);
    font-size: 14px;
    text-align: left;
    color: var(--textTertiary);
    font-weight: 600;
    height: 37px;
    border-bottom: 1px solid var(--surfaceNeutralDim2);
}

.intake-table-second-header-row {
    background-color: var(--surfaceNeutralDim1);
    height: 37px;
    font-size: 14px;
    text-align: center;
    color: var(--textTertiary);
    font-weight: 600;
    border-bottom: 1px solid var(--surfaceNeutralDim2);
}
