:root {

    --darkGray: #222;
    --secondary95: #f9d9b3;
    --secondary98: #fef2e6;
    --tertiary: tomato;
    --tertiary95: #ffede9;
    --tertiary98: #fff8f6;
    --yellow: #FFED86;
    --onPrimary: #003256;/*keep*/
    --primary: #9ccaff;/*keep*/
    /*--secondary: #f5a623;
    --onSecondary: #fef2e6;*/
    --quarternary: #0B75DF;
    --onQuarternary: #ffffff;

    --blue: #0B75DF;




    --text-color: #334155;
    --muted-text: #64748b;

    --white: #FFF;
    --black: #000;

    --secondary: #0B75DF; /*keep as secondar*/
    --secondaryDark: #003d80; /*keep as secondaryDark*/
    --secondaryLight: #16A1FB;

    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    --pill-width-effective: calc(80px + 15px + 15px);
    --axis-offset: calc(var(--pill-width-effective) + 15px);
    --dot-size: 8px;
    --line-width: 2px;
    --dot-center-vertical-offset: 18px;
    --line-start-vertical-offset: calc(var(--dot-center-vertical-offset) + var(--dot-size) / 2);
}

body {
    background-color: var(--background);
    color: var(--onBackground);
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
}

.body1 {
    overflow-y: hidden;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    text-decoration: none;
}

.tele-content {
    width: 100vw;
    height: calc(100vh - 60px);
}

/*!HIDE SPINNER IN NUMBER INPUT FIELD*/
input[type=number] {
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="file"] {
    position: absolute;
    left: 0;
    opacity: 0;
    top: 0;
    bottom: 0;
}

textarea:focus, input:focus {
    outline: none;
}

input, button {
    font-family: 'Poppins', sans-serif;
    border: none;
}

button:hover, img:hover, a:hover {
    cursor: pointer;
}

textarea {
    resize: vertical;
}

img {
    outline: none;
    border: none;
}

.dp {
    margin-left: 8px;
    border-radius: 50%;
}

.header-actions {
    color: var(--onHighlight);
    cursor: pointer;
    margin: 0 8px;
}

.header-actions:hover {
    color: var(--tertiary);
}

.title {
    background-color: var(--primaryContainer);
    color: var(--onPrimaryContainer);
    text-align: center;
    padding: 5px 10px;
    font-weight: 600;
    border-radius: 4px;
}

.title span:hover {
    cursor: pointer;
}

.singleline, .consultation-div .small-font {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
}

/*!COMMON FLEX CONFIGS*/
.flexwrap {
    flex-wrap: wrap;
}

.flexrow {
    display: flex;
    flex-direction: row;
}

.flexrowreverse {
    display: flex;
    flex-direction: row-reverse;
}

.flexcolumn {
    display: flex;
    flex-direction: column;
}

.horizontalcenter {
    justify-content: center;
}

.verticalcenter {
    align-items: center;
}

.vhcenter, .fab {
    justify-content: center;
    align-items: center;
}

.spacebetween {
    justify-content: space-between;
    width: 100%;
}

.sb {
    align-content: space-between;
    width: 100%;
}

.frspvc {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.flexstart {
    align-self: flex-start;
}

.flexend {
    justify-content: flex-end;
}

.circular {
    border-radius: 50%;
    padding: 5px;
}

.dynamic {
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
}

.dynamic2 {
    display: flex;
    flex-wrap: wrap;
}

.disclaimer {
    font-weight: bold;
    font-size: 12px;
    font-style: italic;
}

.column-index {
    min-width: 48px;
}

.column-detail {
    min-width: calc((100% - 48px) / 8);
}



/*!snackbar*/
#snackbar {
    visibility: hidden;
    min-width: 250px;
    max-width: 40vw;
    background-color: var(--blue);
    color: var(--white);
    text-align: center;
    padding: 16px;
    position: fixed;
    z-index: 7;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 30px;
    border-radius: 48px;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

.fab {
    border-radius: 50px;
    background: linear-gradient(145deg, #00365c, #002d4d);
    position: fixed;
    bottom: 48px;
    right: 48px;
    z-index: 7;
    padding: 12px;
    color: var(--primary);
}

.fab:hover {
    cursor: pointer;
    transition: 300ms ease-in-out;
}

/*!BUTTONS*/
.icon-button  {
    border-radius: 50%;

}

/*!CARD*/
/*.card {
    transition: 0.3s;
    padding: 7px;
    border-radius: 8px;
    background-color: var(--background);
    cursor: pointer;
    box-shadow: 0 4px 8px 0 var(--shadow);
}*/

/*.card4 {
    transition: 0.3s;
    background-color: var(--background);
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
}

.card3 {
    transition: 0.3s;
    padding: 7px;
    border-radius: 8px;
    background-color: var(--background);
    box-shadow: 0 2px 4px 0 var(--lightGray);
    margin: 8px 0;
}*/

.card-color {
    transition: 0.3s;
    padding: 4px;
    border-radius: 4px;
    background-color: var(--background);
    color: var(--onBackground);
    cursor: pointer;
    margin: 1px;
    font-size: 12px;
}

.card-primary {
    transition: 0.3s;
    padding: 4px;
    border-radius: 4px;
    background-color: var(--primaryContainer);
    color: var(--onPrimaryContainer);
    cursor: pointer;
    margin: 1px;
    font-size: 12px;
}

/*.card2 {
    border-radius: 12px;
    padding: 10px;
    background-color: var(--background);
    box-shadow: 1px 4px 4px 0 rgba(0,0,0,0.12);
    -webkit-box-shadow: 1px 4px 4px 0 rgba(0,0,0,0.12);
    -moz-box-shadow: 1px 4px 4px 0 rgba(0,0,0,0.12);
    border-left: 1px solid rgba(0,0,0,0.12);
    border-top: 1px solid rgba(0,0,0,0.12);
    color: var(--onHighlight);
}*/

.card:hover {
    box-shadow: 0 4px 8px 0 var(--primary);
}

.card-light {
    transition: 0.3s;
    padding: 8px;
    border-radius: 8px;
    background-color: var(--surface);
    cursor: pointer;
    width: 150px;
    margin: 1px;
}

.card-light:hover {
    box-shadow: 0 4px 8px 0 var(--highlight);
}

.card-basic {
    transition: 0.3s;
    background-color: var(--background);
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.12);
    margin-bottom: 12px;
}

.card-basic h4, .card-basic h5, .card-basic h6 {
    margin-left: 10px;
}

.card-input  {
    background: linear-gradient(145deg, var(--dbcard), var(--primaryContainer));
    border-radius: 12px;
    color: var(--onPrimaryContainer);
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    border: 1px solid var(--highlight);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.card-input-group {
    display: flex;
    flex-wrap: wrap;
}

.card-input-group ul {
    width: 100%;
    max-height: 40vw;
}

/* Subtle accent border */
.card-input::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary), var(--primary));
    border-radius: 12px 0 0 12px;
}

.card-input:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

/* Input Fields */
.card-input input,
.card-input select,
.card-input textarea,
.card-input .input-select label,
.card-input .custom-select__trigger {
    border: 2px solid var(--highlight);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--onPrimaryContainer);
    border-radius: 24px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-top: 6px;
    width: 100%;
    box-sizing: border-box;
}

.card-input .input-select {
    position: relative;
}

.card-input .input-select label {
    position: absolute;
    left: 0;
    right: 0;
}

.card-input textarea {
    min-height: 260px;
}

.card-input input:focus,
.card-input select:focus,
.card-input textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 74, 123, 201), 0.15);
    background-color: var(--highlight);
}

/* Labels */
.card-input .small-font {
    font-size: 12px;
    font-weight: 600;
    color: var(--onPrimaryContainer);
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-input .small-font::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    display: inline-block;
}

/* For read-only patient info */
.card-input .medium-font.bold {
    font-size: 15px;
    font-weight: 600;
    color: var(--onPrimaryContainer);
    padding: 10px 0;
    min-height: 22px;
    border-bottom: 1px solid rgba(var(--onPrimaryContainer-rgb, 255, 255, 255), 0.1);
}
/*!CARDS ENDS*/

.squircle-image {
    border-radius: 8px;
    height: 50px;
    width: 50px;
}

.activecard {
    box-shadow: 0 4px 8px 0 var(--primaryContainer);
}

.activecard:hover {
    box-shadow: 0 8px 16px 0 var(--primaryContainer);
}

.agreement {
    padding: 0 20px;
    margin-top: 20px;
}

.agreement a {
    color: var(--onHighlight);
    font-weight: 700;
}

.agreement input {
    margin-right: 10px;
}

.gray-background {
    background-color: #F5F5F5;
    color: #010B13;
    padding: 2px;
    border-radius: 4px;
}

.neutral-background {
    background-color: var(--lightGray);
    color: var(--darkGray);
    padding: 2px;
    border-radius: 4px;
}

.light-blue-background {
    background-color: var(--primary98);
    color: var(--primary);
    padding: 2px;
    border-radius: 4px;
}

.dark-blue-background {
    background-color: var(--onPrimaryContainer);
    color: var(--primaryContainer);
    padding: 2px;
    border-radius: 4px;
}

.amber-background {
    background-color: var(--secondary98);
    color: var(--warning);
    padding: 2px;
    border-radius: 4px;
}

.red-background {
    background-color: var(--tertiary98);
    color: var(--tertiary);
    padding: 2px;
    border-radius: 4px;
}

.centered {
    text-align: center;
}

/*!TEXT FIELDS*/
.text-field, .text-field-half, .text-field-double {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    border-top-left-radius: 6px;
    background-color: var(--tfbg);
    border: 1px solid var(--primary);
    margin-top: 10px;
}

.text-field input, .text-field textarea, .text-field-double textarea {
    padding: 5px 10px;
    color: var(--onHighlight);
    background-color: transparent;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
}

.text-field textarea, .text-field-double textarea {
    border: none;
}

.text-field-half input {
    padding: 5px 10px;
    color: var(--onHighlight);
    background-color: transparent;
    width: 50%;
    font-size: 15px;
    font-weight: 400;
}

.text-field span, .text-field-half span, .text-field-double span {
    margin-left: 10px;
    font-size: 12px;
    background-color: transparent;
    /*align-self: flex-start;*/
    opacity: 1;
}

/*!DROP DOWN MENU*/
.fields {
    padding-right: 10px;
}

.custom-select-wrapper {
    position: relative;
    user-select: none;
    border-radius: 3px;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10px;
    color: var(--onPrimaryContainer);
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    transition: all 0.5s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 9999 !important;
    max-height: 117px;
    overflow-y: auto;
    border: 1px solid var(--primary);
    border-radius: 3px;
}

.card-input,
.custom-select-wrapper,
.custom-select{
    overflow: visible !important;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.custom-option {
    position: relative;
    display: block;
    padding: 10px;
    cursor: pointer;
    transition: all 0.5s;
    font-size: 12px;
    font-weight: 400;
    color: var(--onPrimaryContainer);
}

.custom-option:hover {
    cursor: pointer;
    background-color: var(--highlight);
    color: var(--onPrimaryContainer);
}

.custom-option.selected {
    color: var(--onPrimaryContainer);
    background-color: var(--primaryContainer);
}

.arrow {
    position: relative;
    height: 15px;
    width: 15px;
}

header .text-field {
    margin-right: 20px;
    margin-top: 0;
}

header .arrow {
    margin-left: 20px;
}

.header .pill {
    margin: 0 2px;
}

.arrow::before, .arrow::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0.15rem;
    height: 100%;
    transition: all 0.5s;
}

.arrow::before {
    left: -5px;
    transform: rotate(45deg);
    background-color: var(--onPrimaryContainer);
}

.arrow::after {
    left: 5px;
    transform: rotate(-45deg);
    background-color: var(--onPrimaryContainer);
}

.open .arrow::before {
    left: -5px;
    transform: rotate(-45deg);
}

.open .arrow::after {
    left: 5px;
    transform: rotate(45deg);
}

/*!ANIMATION*/
@keyframes tilt-shaking {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

/*!HEADER*/
.header {
    padding: 10px 20px;
    height: 60px;
    color: var(--darkGray);
    box-shadow: 1px 4px 4px 0 var(--highlight);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.index-header {
    padding: 10px 20px;
}

header img {
    margin-right: 10px;
}

header .borderless {
    margin-right: 10px;
}

header h1 {
    color: var(--primaryContainer);
}

.navigation a {
    color: var(--onHighlight);
    padding: 4px 8px;
    font-size: 3vh;
    opacity: 0.7;
}

.navigation a:hover {
    text-decoration: underline;
    text-underline-offset: 10px;
    opacity: 1;
}

/*!BUTTONS*/
/*!NEW BUTTONS*/
/* From Uiverse.io by alexroumi */
.button-animate {
    padding: 14px 24px;
    border: unset;
    border-radius: 15px;
    color: #212121;
    z-index: 1;
    background: var(--primary);
    position: relative;
    font-weight: 1000;
    font-size: 15px;
    -webkit-box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
    box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
    transition: all 250ms;
    overflow: hidden;
    margin: 12px 0 16px 12px;
    min-width: 200px;
}

.button-animate::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    border-radius: 15px;
    background-color: var(--quarternary);
    z-index: -1;
    -webkit-box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
    box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
    transition: all 250ms
}

.button-animate:hover {
    color: #ffffff;
}

.button-animate:hover::before {
    width: 100%;
}

.pill, .pill2, .consult-card input, .consult-search input, .consult-card-full input,
.consult-card-history input, .consult-group, .consult-card-full-row input, .vital-card input {
    border: 1px solid var(--highlight);
    background-color: var(--highlight);
    color: var(--onHighlight);
    border-radius: 32px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.consult-card-wide textarea {
    border: 1px solid var(--highlight);
    background-color: var(--highlight);
    color: var(--onHighlight);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    min-height: 50px;
}

.support-tier {
    border-radius: 32px;
    padding: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    min-width: 200px;
    text-align: center;
    margin: 16px 0;
}

.consult-group input {
    margin-bottom: 5px;
}

.bc-class span {
    margin-top: 10px;
    margin-right: 5px;
}



.square-pill {
    background-color: var(--highlight);
    color: var(--onHighlight);
    border-radius: 4px;
    padding: 2px;
    margin-top: 2px;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    margin-right: 2px;
}

.squircle-pill {
    border: 1px solid rgb(33 150 243);
    padding: 5px 10px;
    font-size: 9px;
    font-weight: 600;
    margin-right: 5px;
    border-radius: 4px;
    margin-top: 1px;
}

.squircle-pill:hover {
    background-color: rgb(33 150 243);
    color: white;
    cursor: pointer;
}

.pill a {
    color: var(--onHighlight);
}

.pill:hover, .pill2:hover {
    background-color: transparent;
    border-color: var(--primary);
}

.pill-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: var(--primary);
    color: var(--onHighlight);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 18px;
}

.pill-div a:hover {
    cursor: pointer;
}

.image-button {
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--highlight);
    border-radius: 8px;
    border: 2px solid var(--highlight);
    margin: 5px 2px 2px 2px;
}

.image-button:hover, .icon-button:hover {
    cursor: pointer;
    background-color: transparent;
    border-color: var(--primaryContainer);
    transition: 0.3s;
}

.icon-button {
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 5px;
    background-color: var(--onPrimaryContainer);
    color: var(--primaryContainer);
    border: 1px solid var(--onPrimaryContainer);
}

.icon-button:hover {
    color: var(--onPrimaryContainer);
}

.wide {
    width: 80%;
    margin-left: 10%;
    margin-top: 20px;
}

.border {
    border: 1px solid ;
}

.borderless {
    background-color: transparent;
    border: 1px solid transparent;
    color: var(--onHighlight);
    border-radius: 16px;
    padding: 5px 10px;
}

.borderless:hover {
    background-color: var(--highlight);
    border-color: var(--primary);
}

.google {
    border-radius: 16px;
    padding: 5px;
    font-weight: 700;
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: var(--background);
    border: 1px solid transparent;
}

/*.square {
    background-color: var(--white);
    padding: 10px 30px;
    color: black;
    border: 3px solid var(--black);
    font-weight: 700;
    margin-top: 20px;
    align-self: center;
}

.square:hover {
    background-color: var(--black);
    color: var(--white);
}*/

/*!MENU*/
.menu {
    height: calc(100vh - 60px);
    box-shadow: 1px 4px 4px 0 var(--highlight);
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-home {
    width: 180px;
}

.menu ul li {
    display: flex;
    flex-direction: row;
    padding: 5px 10px;
}

.menu ul li img {
    margin-right: 10px;
}
.menu ul li.active, .menu ul li:hover {
    color: var(--onHighlight);
    border-top-right-radius: 8px;
    cursor: pointer;
}

.menu ul li.active {
    background-color: var(--highlight);
}

.menu ul li:hover {
    background-color: var(--primary98);
}

/*CONTENT*/
.content {
    height: 100vh;
    width: 100vw;
}

.contents {
    height: calc(100vh - 60px);
    overflow-y: auto;
    width: calc(100vw - 180px);
}

.content-div {
    width: 100%;
    height: 100%;
    padding: 10px;
}

.generic-div {
    padding: 10px;
    height: 100%;
    width: 100%;
    overflow-y: auto;
}

.consultation-div {
    padding: 24px 48px;
}

.consultation-body {
    overflow-y: hidden;
    position: relative;
}

.consultation {
    height: calc(100vh - 60px);
    width: 100vw;
    padding: 24px 48px;
    overflow-y: auto;
}
.consultation .card4 {
    margin-bottom: 16px;
}

.tooth-parent:hover {
    fill: tomato;
}

/*
.button-vertical-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--secondary);
    color: var(--onSecondary);
    padding: 8px;
    border-radius: 64px;
    position: absolute;
    cursor: pointer;
    right: 24px;
    top: 100px;
    border: 3px solid transparent;
}

.button-vertical-group:hover {
    cursor: pointer;
    transition: 0.6s;
}

.button-vertical-group button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px 0;
    width: 48px;
    height: 48px;
    padding: 2px;
    border-radius: 50%;
    background-color: var(--white);
}

.button-vertical-group button:hover {
    background-color: var(--secondaryDark);
    color: var(--white);
}*/
.button-vertical-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--secondary);
    color: var(--onSecondary);
    padding: 8px;
    border-radius: 64px;
    position: absolute;
    cursor: pointer;
    right: 24px;
    top: 100px;
    border: 3px solid transparent;
}

.button-vertical-group:hover {
    cursor: pointer;
    transition: 0.6s;
}

.button-vertical-group button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px 0;
    width: 48px;
    height: 48px;
    padding: 2px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--dbcard), var(--primaryContainer));
    position: relative;
    overflow: visible;
    color: var(--onPrimaryContainer);
}

.button-vertical-group button:hover {
    background-color: var(--secondaryDark);
    color: var(--secondary);
}

/* Add title that appears on hover */
.button-vertical-group button::before {
    content: attr(data-title);
    position: absolute;
    right: 100%;
    margin-right: 12px;
    white-space: nowrap;
    background-color: var(--secondary);
    color: var(--white);
    padding: 10px 12px;
    border-radius: 48px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.button-vertical-group button::after {
    content: '';
    position: absolute;
    right: 100%;
    margin-right: 2px;
    border: 5px solid transparent;
    border-left-color: var(--secondaryDark);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 10;
    pointer-events: none;
}

.button-vertical-group button:hover::before,
.button-vertical-group button:hover::after {
    opacity: 1;
    visibility: visible;
}

.facilities {
    max-height: calc(100vh - 120px);
    padding: 50px 9%;
}

.facilities h2, .auth h2, .whyus h2, .pricing h2 {
    margin-bottom: 20px;
    text-align: center;
}

.add-facilities {
    width: 100%;
    padding: 10px 50px;
}

.add-facilities h2, .add-facilities h3 {
    margin-left: 15px;
}

.add-facilities .pill {
    align-self: end;
    width: 10vw;
    margin-top: 20px;
}

.consult-card span, .consult-card-wide span, .consult-card-history span, .consult-card-days span, .vital-card span {
    font-size: 12px;
}

.facilities-name  {
    padding: 30px 20px;
    text-align: center;
    background-color: var(--onPrimaryContainer);
    color: var(--primaryContainer);
}

.facilities-bold {
    font-weight: 700;
    font-size: 1.2em;
    line-height: 1.5;
}

.schemes {
    padding: 10px 20px 50px 10px;
}

.schemes label {
    margin-right: 20px;
}

/*!FONT SIZES*/
.smallest-font {
    font-size: 0.6rem;
}

.small-font {
    font-size: 0.8rem;
}

.medium-font {
    font-size: 1rem;
}

.large-font {
    font-size: 1.2rem;
}

.larger-font {
    font-size: 2.4rem;
}

.largest-font, .quote {
    font-size: 5rem;
}

.bold {
    font-weight: 700;
}

.card hr {
    margin: 10px 0;
    color: var(--primary98);
}

.actions span:hover {
    cursor: pointer;
    color: var(--primaryContainer);
}

/*CALENDAR*/
.calendar-div {
    width: 100%;
    height: 100%;
}

.calendar, .appointments {
    padding: 20px 10px 10px 10px;
}

.calendar-item {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid transparent;
    position: relative;
}

.appointment-number {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--primaryContainer);
    color: var(--onPrimaryContainer);
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 12px;
    text-align: center;
    font-weight: 500;
}

.calendar-item h3 {
    font-size: 200%;
}

/*.month-top-view-span {
    margin: 0 10px;
    background-color: var(--onPrimaryContainer);
    color: var(--primaryContainer);
    border-radius: 4px;
    padding: 4px 8px;
    border: 2px solid var(--onPrimaryContainer);
}

.month-top-view-span:hover {
    border-color: var(--primaryContainer);
    cursor: pointer;
}

.month-top-view .material-symbols-rounded {
    padding: 4px;
    background-color: var(--onPrimaryContainer);
    color: var(--primaryContainer);
    border-radius: 4px;
    text-align: center;
}

.month-top-view .material-symbols-rounded:hover {
    cursor: pointer;
    background-color: var(--primaryContainer);
    color: var(--onPrimaryContainer);
}*/

/*INDEX EXCLUSIVE*/
.content-index {
    overflow-y: scroll;
}
/*ABOUT*/
.about {
    color: var(--onHighlight);
    text-align: center;
}

.about-background {
    height: calc(100vh - 120px);
    margin-top: calc(120px - 100vh);
    background-image: url(238917dcf440c1fd88cf.svg);
    background-repeat: no-repeat;
    background-position: 50% 85%, 50% 50%, bottom center;
    opacity: 0.1;
}

.whyus {
    background-color: var(--onHighlight);
    color: var(--primary);
}

.listed {
    background-color: #000;
}

.why h2 {
    font-size: 9vh;
    margin-bottom: 20px;
}

.whyus li {
    background-color: var(--primaryContainer);
    padding: 50px;
    display: flex;
}

.whyus span {
    background-color: var(--onPrimaryContainer);
    color: var(--primaryContainer);
    text-align: center;
    padding: 25px;
    font-weight: 700;
    width: 100%;
}

.pricing {
    background-color: var(--black);
}

.pricing h2 {
    color: var(--background);
}

.tier {
    border-radius: 16px;
    padding: 20px;
}

.tier:hover {
    animation: tilt-shaking 0.15s 100ms;
    cursor: pointer;
}

.tier hr {
    opacity: 0.2;
    margin: 20px;
}

.tier button {
    border-radius: 24px;
    font-weight: 700;
    color: var(--black);
    padding: 10px 0;
    margin-top: 25px;
}

.feature {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.feature p {
    margin-left: 15px;
}

.free {
    background-color: var(--background);
    color: var(--black);
}

.paid {
    background-color: var(--onPrimaryContainer);
    color: var(--primaryContainer);
}

.free button {
    background-color: var(--onPrimaryContainer);
    color: var(--primaryContainer);
}

.paid button {
    background-color: var(--black);
    color: var(--background);
}

.price {
    font-size: 6vh;
    font-weight: 700;
}

/*booking*/
.book {
    width: 20%;
    margin-right: 10px;
    padding: 50px 9%;
    background-color: var(--primaryContainer);
}

/*.patient-list {
    width: 15vw;
    margin-right: 10px;
}*/

/*.book .text-field {
    width: 20%;
    margin-right: 10px;
}*/


.book h2 {
    font-size: 9vh;
    margin-bottom: 20px;
    text-align: center;
    color: var(--background);
}

.auth {
    background-color: var(--highlight);
}

.auth .text-field {
    margin: 2px;
}

.auth .borderless {
    background-color: var(--background);
}

.auth .pill {
    border: 1px solid var(--primaryContainer);
}

.auth button {
    min-width: 200px;
    max-width: 200px;
}

/*CHILDREN*/
.children-div {
    height: calc(100vh - 60px);
}

.children {
    width: 300px;
    padding: 0 10px;
}

.children ul {
    height: 100%;
    padding: 5px;
}

.children ul li {
    align-self: flex-start;
}

/*
.charts {
    height: 500px;
}
*/

.children button {
    margin-top: 10px;
}

.children-content {
    width: calc(100vw - 500px);
}

.vaccination {
    height: 100%;
    overflow-y: scroll;
}

.schedule-left {
    width: 55%;
    font-size: 0.625rem;
    padding: 1px 5px;
    border-right: 1px solid black;
}

.schedule-right {
    width: 45%;
    font-size: 0.625rem;
    padding: 1px 5px;
}

.schedule-right input {
    font-size: 0.625rem;
}

.schedule-right .tt {
    width: 16.7%;
    border-right: 1px solid black;
}

.separator {
    background-color: var(--blue);
    margin: 5px 3px;
    border-radius: 4px;
}

.vac-interval {
    width: 15%;
}

.vac-vaccine {
    width: 25%;
}

.vac-1dose {
    width: 20%;
}

.vac-2dose {
    width: 20%;
}

.vac-3dose {
    width: 20%;
}

.no-dose {
    background-color: #999;
}

.unread {
    background-color: #ff8080;
    padding: 5px;
    border-radius: 50%;
}

/*ACCOUNT*/
/*.profile-div {
    padding: 10px;
    overflow-y: scroll;
}*/

.account-update button {
    margin: 10px;
}

.profile-div.logo input {
    max-width: 130px;
}

.logo {
    position: relative;
}

.account-dashboard .group {
    padding-top: 5px;
}

.account-dashboard span {
    font-size: 16px;
    margin-left: 10px;
}

.profile-div ul li, .dashboard-card, .consult-card, .consult-search, .consult-card-history, .consult-card-days, .vital-card {
    background-color: var(--dbcard);
    border-radius: 3px;
    color: var(--onPrimaryContainer);
    display: flex;
    flex-direction: column;
    padding: 10px 15px;
}

.consult-card-wide, .consult-card-history-wide {
    background-color: var(--primaryContainer);
    border-radius: 3px;
    color: var(--onPrimaryContainer);
    display: flex;
    flex-direction: column;
    padding: 10px 15px;
}

.consult-card-full, .consult-card-full-row {
    background-color: var(--primaryContainer);
    border-radius: 3px;
    color: var(--onPrimaryContainer);
    display: flex;
    padding: 10px 15px;
    margin: 10px 10px 0 10px;
}

.consult-card-full {
    flex-direction: column;
}

.consult-card-full-row input {
    width: 100%;
}

.consult-card-full .material-symbols-rounded {
    color: var(--blue);
}

.dashboard-card p {
    font-size: 22px;
}

.patients-div {
    overflow-y: auto;
}

.patients-div .dashboard-card {
    position: relative;
}

/*.patient-add {
    overflow-y: scroll;
}

.patient-add h2 {
    padding-left: 20px;
    margin-top: 8px;
}

.patient-add .small-font {
    margin-left: 22px;
}*/

.dashboard-card input {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
}

/*PERSONNEL*/
.personnel-div {
    padding: 10px;
    width: 100%;
    height: 100%;
}

.personnel-div img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 1px solid var(--onHighlight);
    align-self: center;
    z-index: 2;
}

/*.personnel-list {
    padding: 10px;
}*/

.personnel-list ul {
    max-height: calc(100% - 61px);
    padding: 10px 0;
}

.personnel-name  {
    padding: 12px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--onPrimaryContainer);
    color: var(--primaryContainer);
    margin-top: -10px ;
}

.add-personnel {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    border-radius: 16px 0 0 0;
}

.add-personnel button {
    margin: 10px;
    padding: 5px 10px;

}

.add-personnel .text-field {
    width: 100%;
}

.personnel-list .text-field {
    width: 30%;
}

.margin-10 {
    margin-top: 10px;
}

.material-symbols-rounded:hover {
    cursor: pointer;
}

/*APPOINTMENTS*/
.appointments {
    height: 100%;
}

.appointments-set, .prescription-set {
    height: calc(100vh - 60px);
    overflow-y: auto;
    background-color: var(--background);
    box-shadow: 0 4px 8px 0 var(--shadow);
    border-top-left-radius: 16px;
    padding: 20px;
}

.appointments-set button, .prescription-set button {
    margin: 20px;
}

.appointments-set-facility {
    overflow-y: auto;
    height: calc(100vh - 120px);
}

.appointments-div, .prescriptions-div {
    width: calc(100vw - 180px);

}

.appointment-item span {
    margin-right: 10px;
}

.appointment-item a {
    color: var(--primary);
}

.appointment-item div {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.highlight-name {
    padding: 3px 7px;
    background-color: var(--onPrimaryContainer);
    color: var(--primaryContainer);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin: -7px -7px 5px -7px;
    font-weight: 700;
}

.headers {
    width: 100%;
}

.headers li, .schedule ul {
    flex: 0 0 14.286%;
    margin: 4px;
    max-width: calc(14.286% - 10px);
    font-size: 12px;
    font-weight: 500;
    padding: 5px;
    text-align: center;
}

.headers li {
    background-color: var(--primary);
    color: var(--onHighlight);
}

.map {
    width: 100%;
    height: calc(100vh - 60px);
}

.inputfile {
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.call-action {
    color: var(--onHighlight);
    font-size: 12px;
}

.inputfile + label {
    font-size: 1.25em;
    font-weight: 700;
    color: white;
    background-color: var(--primary98);
    display: flex;
}

.inputfile:focus + label,
.inputfile + label:hover {
    background-color: var(--primary98);
}

.hours {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    height: calc(100% - 40px);
    width: 40px;
    margin-top: 38px;
}

.hours li {
    /*width: 40px;*/
    /*height: 40px;*/
    border-radius: 2px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: var(--background);
    box-shadow: 0 4px 8px 0 var(--lightGray);
    flex: 0 0 100%;
    max-width: calc(100% - 1px);
    margin: 1px;
}

.hours li:hover {
    background-color: var(--onHighlight);
    color: var(--background);
    cursor: pointer;
}

.infodiv {
    display: flex;
    flex-direction: column;
    margin-left: 3px;
}

.actiondiv {
    display: flex;
    flex-direction: column;
    width: 30px;
}

.prescription, .list, .tests {
    width: 20%;
    max-width: 300px;
    margin: 5px 10px;
}

/*!HISTORY*/
.history {
    height: calc(100vh - 60px);
    width: 100%;
    display: flex;
    flex-direction: row;
    overflow-y: hidden;
}

/*!HISTORY - PATIENT DETAILS*/
.patient-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 280px;
    overflow: hidden;
    margin: 20px;
    border: 1px solid #e0e0e0;
}

.card-header {
    background-color: #007bff; /* A nice blue for the header */
    color: white;
    padding: 18px 25px;
    text-align: center;
    border-bottom: 1px solid #0056b3;
}

.card-header h2 {
    margin: 0;
    font-size: 1.8em;
    font-weight: 600;
}

.card-body {
    padding: 25px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eeeeee;
    align-items: baseline;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    font-weight: 600;
    color: #333333;
    flex-basis: 35%; /* Adjust as needed */
    margin-right: 15px;
    font-size: 0.95em;
}

.info-item .value {
    color: #555555;
    flex-basis: 65%; /* Adjust as needed */
    text-align: right;
    font-size: 0.95em;
    line-height: 1.4;
}

/*!HISTORY - PATIENT HISTORY*/
.patient-history {
    width: calc(65vw - 280px);
    overflow-y: scroll;
    padding: 24px 0;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline-item {
    display: flex;
    position: relative;
    margin-bottom: 40px;
    align-items: flex-start;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: var(--axis-offset);
    transform: translateX(-50%);
    width: var(--line-width);
    background-color: #ddd;
    z-index: 0;
    top: var(--line-start-vertical-offset);
    height: calc(100% - var(--line-start-vertical-offset) + 40px + var(--dot-center-vertical-offset) - (var(--dot-size) / 2));
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: var(--axis-offset);
    top: var(--dot-center-vertical-offset);
    transform: translate(-50%, -50%);
    width: var(--dot-size);
    height: var(--dot-size);
    background-color: #007bff;
    border: 1px solid #0056b3;
    border-radius: 50%;
    z-index: 1;
}

.timeline-pill {
    background-color: #007bff;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.75em;
    width: 106px;
    text-align: center;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    margin-right: 15px;
    flex-shrink: 0;
}

.timeline-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 12px;
    margin-left: calc(var(--dot-size) / 2 + 15px);
    flex-grow: 1;
    border: 1px solid #e0e0e0;
}

.timeline-card h3 {
    margin-top: 0;
    color: #007bff;
    margin-bottom: 10px;
    font-size: 1em;
}

.timeline-card p {
    margin-bottom: 0;
    color: #666;
}

.timeline-card-details {
    font-weight: bold;
    padding: 12px 3px;
}

.timeline-card-details span {
    font-size: 0.6rem;
}

.timeline-card-details p {
    font-size: 0.8rem;
}

.history-vital {
    font-size: 12px;
    padding: 4px 8px;
    margin-right: 4px;
}

@media (max-width: 768px) {
    :root {
        --pill-width-effective: calc(70px + 12px + 12px);
        --axis-offset: calc(var(--pill-width-effective) + 15px);
        --dot-center-vertical-offset: 16px;
        --line-start-vertical-offset: calc(var(--dot-center-vertical-offset) + var(--dot-size) / 2);
    }
    h1 {
        font-size: 2em;
    }
    .timeline-item::before {
        left: var(--axis-offset);
        top: var(--line-start-vertical-offset);
        height: calc(100% - var(--line-start-vertical-offset) + 40px + var(--dot-center-vertical-offset) - (var(--dot-size) / 2));
    }
    .timeline-item::after {
        left: var(--axis-offset);
        top: var(--dot-center-vertical-offset);
    }
    .timeline-pill {
        padding: 6px 12px;
        font-size: 0.85em;
        min-width: 70px;
    }
    .timeline-card {
        margin-left: calc(var(--dot-size) / 2 + 15px);
        padding: 20px;
    }
    .timeline-card h3 {
        font-size: 1.2em;
    }
    .timeline-card p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    :root {
        --pill-width-effective: calc(60px + 10px + 10px);
        --axis-offset: calc(var(--pill-width-effective) + 10px);
        --dot-center-vertical-offset: 14px;
        --line-start-vertical-offset: calc(var(--dot-center-vertical-offset) + var(--dot-size) / 2);
    }
    body {
        padding: 10px;
    }
    h1 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .timeline-item::before {
        left: var(--axis-offset);
        top: var(--line-start-vertical-offset);
        height: calc(100% - var(--line-start-vertical-offset) + 40px + var(--dot-center-vertical-offset) - (var(--dot-size) / 2));
    }
    .timeline-item::after {
        left: var(--axis-offset);
        top: var(--dot-center-vertical-offset);
    }
    .timeline-pill {
        padding: 5px 10px;
        font-size: 0.8em;
        min-width: 60px;
        margin-right: 10px;
    }
    .timeline-card {
        margin-left: calc(var(--dot-size) / 2 + 10px);
        padding: 15px;
    }
    .timeline-card h3 {
        font-size: 1.1em;
    }
}

.patient-files {
    width: 35vw;
    height: calc(100vh - 60px);
}

.history-list {
    width: 15%;
    height: 100%;
    overflow-y: auto;
}

.history ul {
    width: 100%;
}

.history-view {
    width: 50%;
    height: 100%;
    overflow-y: auto;
}

.history-files {
    width: 35%;
    height: 100%;
    overflow-y: auto;
}

.file-names {
    height: 30px;
}

.file-viewer {
    width: 100%;
    height: calc(100% - 30px);
}

.vitals {
    font-size: 12px;
    color: var(--onPrimaryContainer);
    background-color: rgba(0, 140, 255, 0.082);
    padding: 2px 4px;
}

.diagnosis {
    font-size: 13px;
    padding: 4px 0;
}

.doctor {
    font-size: 12px;
    padding: 8px;
    border-radius: 4px;
    text-align: center;
    background-color: rgb(33 150 243);
    color: white;
}

/*!LEARN*/
.tag {
    align-content: flex-start;
    margin-top: 4px;
}

.tags {
    max-width: 65%;
    display: block;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 1.1em;
    line-height: 1.1em;
}

.max-lines {
    display: block;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 3.3em;
    line-height: 1.1em;
}

.one-line {
    display: block;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    min-height: 1.1em;
    line-height: 1.1em;
}

.two-lines {
    display: block;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    min-height: 2.2em;
    line-height: 1.1em;
}

.topLeft {
    margin-top: 4px;
    margin-left: 5px;
}

.columnStart {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
}

.patient-info {
    width: 100%;
}

.consult-header {
    margin-left: 30px;
}

.header2 {
    position: relative;
}

.facility-banner {
    position: absolute;
    width: 80vw;
    left: 10vw;
    top: 0;
    border: none;
    object-fit: cover;
}

.facility-logo {
    position: absolute;
    right: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    top: 165px;
    border-radius: 50%;
}

.facility-name {
    position: absolute;
    right: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    top: 50px;
    width: fit-content;
}

.facility-contacts {
    padding: 10px 15%;
    margin-top: 250px;
    background-color: #FFED86;
}

.terms {
    padding: 10px 15%;
    margin-top: 50px;
}

.coloured-background {
    background-color: #e0e0e0;
}

.invoice-body {
    height: 100vh;
    width: 100vw;
    overflow-y: hidden;
}

.invoice-view {
    background-color: var(--backgroundInvoice);
    width: 100vw;
    height: calc(100vh - 60px);
}

.pdfa4 {
    background-color: var(--whiteBlack);
    width: calc(100vw - 556px);
    height: calc(100vh - 60px);
    max-width: 210mm;
    padding: 25mm;
    margin: 20px 0;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
}

.right-options, .left-options {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: scroll;
}

.right-options .consult-card-full, .left-options .consult-card-full {
    width: 278px;
}

.consult-card-full-row {
    width: 278px;
}

.left-options ul {
    width: 278px;
    max-height: 300px;
}

.left-options button {
    width: 100%;
    background-color: var(--blue);
    color: white;
    border: none;
    margin-top: 5px;
}

.left-options button:hover {
    background-color: tomato;
    color: whitesmoke;
}

.left-options button.active {
    background-color: tomato;
    color: whitesmoke;
}

.right-align span {
    text-align: right;
}

.report-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
}

.report-footer hr {
    width: 200px;
}

.leave-form input {
    border: 1px solid var(--primary);
    padding: 5px 10px;
    border-radius: 6px;
    width: 175px;
    margin: 1px 0;
}

.leave-bottom {
    align-items: end;
}

.leave-bottom hr {
    width: 200px;
    margin: 10px 0;
    height: 2px;
}

.leave-form h3, .leave-form h2, .prescription-form h3, .prescription-form h2 {
    margin: 20px 0;
}

.stamp {
    width: 100px;
    height: 100px;
    border: 1px solid var(--primary);

}

/*.facilities-item {
    align-self: flex-start;
}*/

.personnel-item {
    padding: 20px 15px;
}

.appointment-item hr {
    height: 2px;
}

.patient-page {
    overflow-y: hidden;
    height: calc(100vh - 60px);
}

.patient-page-left {
    width: 15vw;
    margin-right: 10px;
}

.patient-page-right {
    overflow-y: scroll;
    width: 85vw;
}

.patient-page-right h2 {
    padding-left: 20px;
    margin-top: 8px;
}

.patient-page-left a {
    color: var(--blue);
    font-weight: 700;
}

.patient-page-right .small-font {
    margin-left: 22px;
}

.patient-button {
    width: 200px;
    align-self: end;
    margin-right: 15px;
    margin-top: 24px;;
}

/*PATIENTS CARDS START*/
/*!PATIENTS END*/

/*!CALENDAR*/
.calendar ul {
    padding: 3px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

/*!FOOTER*/
footer {
    padding: 56px;
    color: var(--onBackground);
}

footer hr {
    margin: 36px 0;
}

footer a:hover {
    text-decoration: underline;
}

footer a {
    margin-left: 10px;
    color: var(--onBackground);
}

/*.legal {
    font-size: 12px;
}

.legal a {
    margin-left: 10px;
    color: var(--onBackground);
}

.links div {
    margin-left: 36px;
    min-width: 120px;
}

.links span {
    color: var(--shadow);
    font-size: 12px;
}

.links a {
    color: var(--onBackground);
    margin-top: 10px;
}*/

.help {
    padding: 20px 50px;
}

.help h2 {
    font-weight: 700;
    padding: 10px 0;
}

.account-security button {
    width: 100%;
    margin-top: 10px;
}

.page_404 {
    padding: 40px;
    background: var(--background);
}

.page_404 h2 {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.page_404 img {
    width:100%;
}

.four_zero_four_bg{
    background-image: url(https://cdn.dribbble.com/users/285475/screenshots/2083086/dribbble_1.gif);
    height: 400px;
    background-position: center;
    background-repeat: no-repeat;
}

.four_zero_four_bg h1{
    font-size:80px;
    text-align: center;
}

.four_zero_four_bg h3 {
    font-size:80px;
}

.link_404 {
    color: var(--onPrimaryContainer);
    padding: 10px 20px;
    background: var(--primaryContainer);
    margin: 20px 0;
    display: inline-block;
}

.health-day {
    font-family: 'Rubik Bubbles', sans-serif;
    font-size: 22px;
    margin-right: 20px;
    color: var(--onSurface);
}

.invoice-link:hover {
    cursor: pointer;
    color: var(--tertiary);
    font-weight: 700;
}

.charts {
    width: 100%;
    height: 350px;
    margin-bottom: 10px;
}

.chart h3 {
    text-align: center;
}

.canvas {
    width: 100%;
    height: calc(100% - 16px);
    padding: 4px 0;
}

.claimed {
    background-color: var(--blue);
    color: #FFF;
}

.quotedelete {
    background-color: tomato;
    color: #FFF;
}

.red {
    background-color: #FDBCB4;
    color: #FF0800;
    border-radius: 8px;
}

.blue {
    background-color: #F0F8FF;
    color: #007FFF;
}


.yellow {
    background-color: #FFFDD0;
    color: #FFBF00;
    border-radius: 8px;
}

.green {
    background-color: #F0FFF0;
    color: #177245;
    border-radius: 8px;
}

.orange {
    background-color: #FED8B1;
    color: #FF4F00;
    border-radius: 8px;
}

.black {
    background-color: #F5F5F5;
    color: #000000;
    border-radius: 8px;
}

.red-only {
    background-color: #ff0000;
    color: #fdd5d5;
}

.yellow-only {
    background-color: #ffff00;
    color: #696910;
}

.green-only {
    background-color: #008000;
    color: #00ff40;
}


.center-padding {
    text-align: center;
    padding: 5px 0;
}

.cursor {
    cursor: pointer;
}

.half {
    width: 50%;
}

.latest {
    font-size: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

/*!ACCOUNT DIV*/
.account-div h4 {
    padding: 10px;
}

.account-div h5 {
    margin-left: 12px;
}

.invoice-explainer {
    margin-left: 12px;
}

.menu-facility img {
    padding: 2px;
}

/*!SUPPORT*/
.support-div .card-light {
    margin: 10px;
    max-width: calc(33.3% - 20px);
}

.support-div .card-light a {
    color: var(--blue);
    text-decoration: underline;
}

.help-indicator {
    font-weight: bold;
    color: tomato;
}

/*TELEMEDICINE*/
.conferencing {
    width: 60%;
    position: relative;
}

.conferencing-appointments, .conferencing-consult {
    width: 20%;
}

.conferencing-appointments h4 {
    text-align: center;
    margin: 12px 0;
}

.feed-other {
    width: 100%;
    height: 100%;
    background-color: black;
    border-radius: 8px;
}

.feed-self {
    width: 200px;
    height: 175px;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 8px;
    border: 1px solid white;
}

.feed-controls {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.feed-controls span {
    border-radius: 50%;
    padding: 8px;
    margin: 0 4px;
}

.feed-status {
    position: absolute;
    left: 12px;
    top: 12px;
}

.black {
    background-color: var(--lightGray);
    color: var(--darkGray);
}

/*!PROFILE REDESIGN*/
.profile-container {
    max-width: 1200px;
    margin: 2rem;
    padding: 0 1rem;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.profile-header h1 {
    font-size: 1.8rem;
    font-weight: 600;
}

.profile-card {
    background-color: var(--background);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.profile-section {
    margin-bottom: 2rem;
}

.profile-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-section-title span {
    color: var(--secondaryDark);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

.profile-picture {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 4px solid var(--secondaryDark);
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--secondary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-info-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-info-group button, .profile-security-form button {
    max-width: 300px;
    min-width: 190px;
}

.profile-info-label {
    font-size: 0.875rem;
    color: var(--onSurfaceVariant);
    font-weight: 500;
}

.profile-info-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--onSurfaceVariant);
}

.profile-editable-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-editable-field input {
    border: 1px solid var(--outline);
    border-radius: 6px;
    padding: 0.5rem;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
}

.profile-editable-field input:focus {
    outline: none;
    border-color: var(--secondary);
}

.profile-edit-btn {
    background: none;
    border: none;
    color: var(--secondary);
    cursor: pointer;
    font-size: 1rem;
}

.profile-verify-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--surface);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.profile-verify-email.unverified {
    background-color: #fee2e2;
    color: var(--error);
}

.profile-security-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
}

.profile-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-form-group label {
    font-size: 0.875rem;
    color: var(--outline);
    font-weight: 500;
}

.profile-form-group input {
    border: 1px solid var(--muted-text);
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 1rem;
    width: 100%;
    background-color: var(--background);
    color: var(--outline);
}

.profile-form-group input:focus {
    outline: none;
    border-color: var(--secondary);
}

/*.profile-save-btn {
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.2s;
}

.profile-save-btn:hover {
    background-color: var(--secondaryDark);
}*/

.profile-version-info {
    font-size: 0.875rem;
    color: var(--outline);
    text-align: center;
    margin-top: 2rem;
}

/* Modal for image upload */
.profile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.profile-modal-content {
    background-color: var(--background);
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
}

.profile-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.profile-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.profile-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--outline);
}

.profile-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}

.profile-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.profile-btn-primary {
    background-color: var(--secondary);
    color: white;
    border: none;
}

.profile-btn-primary:hover {
    background-color: var(--secondaryDark);
}

.profile-btn-outline {
    background-color: transparent;
    border: 1px solid var(--muted-text);
    color: var(--outline);
}

.profile-btn-outline:hover {
    background-color: var(--muted-text);
}

/*!ALERTS*/
.alert-item {
    transition: 0.3s;
    padding: 12px 16px;
    border-radius: 12px;
    background-color: var(--background);
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.alert-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
}

.alert-item h3 {
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.alert-item h3::before {
    content: "notifications";
    font-family: 'Material Symbols Rounded';
    font-size: 18px;
}

.alert-item .max-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.alert-item .frspvc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--muted-text);
}

.alert-item .small-font {
    font-size: 12px;
    color: var(--muted-text);
}

.alert-item .flexrow {
    display: flex;
    gap: 8px;
}

.alert-item .material-symbols-rounded {
    font-size: 18px;
    color: var(--muted-text);
    cursor: pointer;
    transition: all 0.2s;
    padding: 4px;
    border-radius: 4px;
}

.alert-item .material-symbols-rounded:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

.alert-item .material-symbols-rounded:active {
    transform: scale(0.92);
}

/* Unread state styling */
.alert-item.unread {
    border-left-color: var(--error);
}

.alert-item.unread h3 {
    color: var(--error);
}

.alert-item.unread .material-symbols-rounded {
    color: var(--error);
}

/*!HELP AND SUPPORT*/
.report-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: flex-end;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.report-sheet-overlay.active {
    display: flex;
    opacity: 1;
}

.report-sheet {
    background: var(--surface);
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.2);
    padding: 8px 24px;
    z-index: 10;
}

.report-sheet-overlay.active .report-sheet {
    transform: translateY(0);
}

/* Handle */
.report-sheet::before {
    content: '';
    width: 40px;
    height: 4px;
    background: var(--outlineVariant);
    border-radius: 2px;
    margin: 12px auto;
    display: block;
}

.report-sheet-content {
    overflow-y: scroll;
    flex: 1;
    margin: 10px 0;
    z-index: 10;
}

.report-sheet-content .card-input {
    margin-bottom: 8px;
    transform: none !important;
    opacity: 1 !important;
}

/*!POLICIES*/
.terms-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.terms-container h1 {
    font-size: 2.5rem;
    color: var(--black);
    text-align: center;
    margin-bottom: 10px;
}

.terms-container .effective-date {
    font-size: 0.9rem;
    color: var(--lightGray);
    text-align: center;
    margin-bottom: 40px;
}

.terms-container h2 {
    font-size: 1.5rem;
    color: var(--lightBlue);
    margin-top: 30px;
    margin-bottom: 15px;
}

.terms-container h3 {
    font-size: 1.2rem;
    color: var(--darkGray);
    margin-top: 20px;
    margin-bottom: 10px;
}

.terms-container p, .terms-container ul {
    font-size: 1rem;
    color: var(--darkGray);
    margin-bottom: 15px;
}

.terms-container ul {
    list-style-type: none;
    padding-left: 20px;
}

.terms-container ul li {
    position: relative;
    margin-bottom: 8px;
}

.terms-container ul li::before {
    content: "•";
    color: var(--blue);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.terms-container a {
    color: var(--blue);
    text-decoration: none;
}

.terms-container a:hover {
    text-decoration: underline;
}

/*!TESTS PAGE*/
.tests-main-container {
    max-width: 960px; /* max-w-4xl */
    margin: 15px auto;
    background-color: #fff;
    padding: 2.5rem; /* p-10 */
    border-radius: 1rem; /* rounded-2xl */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); /* shadow-2xl */
    max-height: calc(100vh - 60px);
    overflow-y: scroll;
}

.subtitle {
    color: #6b7280; /* text-gray-500 */
    margin-bottom: 1.5rem;
}

/* --- Auth/Message Bars --- */
.auth-status {
    font-size: 0.875rem; /* text-sm */
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 1rem;
}

.message {
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

/* --- Patient Info Box --- */
.info-box {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #eff6ff; /* bg-blue-50 */
    border-radius: 0.75rem;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); /* shadow-inner */
}

.info-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 1rem;
    border-bottom: 1px solid #bfdbfe;
    padding-bottom: 0.5rem;
}

/* Flexbox Grid for Info Display */
.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem; /* gap-y-2 gap-x-4 */
    font-size: 0.875rem; /* text-sm */
}

.info-grid > div {
    width: 100%; /* Default to full width on mobile */
}

.info-grid .label {
    font-weight: 600;
    color: #4b5563; /* text-gray-600 */
}

.info-grid .value {
    font-weight: 500;
    color: #1f2937; /* text-gray-800 */
}

.info-grid .value-report {
    color: #1d4ed8; /* text-blue-700 */
}

/* Tablet/Desktop adjustments for info grid */
@media (min-width: 640px) { /* sm breakpoint */
    .info-grid > div {
        width: calc(33.333% - 1rem); /* 3 columns */
    }
}

/* --- Facility Details Inputs --- */
.facility-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
}

.facility-details input {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    flex-grow: 1;
    width: 100%;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.facility-details input:focus {
    outline: none;
    border-color: #3b82f6; /* focus:border-blue-500 */
    box-shadow: 0 0 0 1px #3b82f6; /* focus:ring-blue-500 */
}

@media (min-width: 768px) { /* md breakpoint */
    .facility-details input {
        width: calc(50% - 0.5rem);
    }
}

/* --- Test Selection Section --- */
.test-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.tests-container {
    /* space-y-6 */
}

.category-block {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05); /* shadow-lg */
}

.category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--onSurface);
    border-bottom: 1px solid var(--highlight);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Flexbox for individual test item */
.test-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: background-color 0.15s;
}

.test-label:hover {
    background-color: rgba(239, 246, 255, 0.5); /* hover:bg-blue-50/50 */
}

.test-checkbox {
    height: 1.25rem;
    width: 1.25rem;
    color: #3b82f6;
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
}

.test-name {
    font-weight: 500;
    color: #374151; /* text-gray-700 */
    width: 12rem; /* w-48 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.test-normal {
    font-size: 0.875rem;
    color: #6b7280; /* text-gray-500 */
    margin-left: 1rem;
    flex-grow: 1;
}

/* Hide Normal range on smaller screens */
@media (max-width: 767px) {
    .test-normal {
        display: none;
    }
}

/* --- Action Button --- */
.action-area {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: row;
    justify-content: end;
}

@media screen and (min-width: 1px) {
    .three-items, .one-items, .six-items, .five-items, .icd-item, .facility-item, .card-input-group .card-input,
    .diary-item, .child-item, .consult-card-days, .email-item, .alert-item,
    .invoice-item, .history-item, .consult-card-history-wide, .consult-card-history,
    .patient-item, .add-facilities .text-field-double, .tier, .prescription-item,
    .test-item, .facilities-item, .add-facilities .text-field, .add-facilities .text-field-half,
    .whyus li, .appointment-item, .appoint-item, .prescription-item, .learn-item, .personnel-item,
    .consult-card-wide {
        flex: 0 0 100%;
        max-width: calc(100% - 10px);
        margin: 5px;
    }
    .profile-div ul li, .dashboard-card, .consult-card, .minor-item {
        flex: 0 0 50%;
        max-width: calc(50% - 10px);
        margin: 5px;
    }
    .body-composition {
        flex: 0 0 25%;
        max-width: calc(25% - 10px);
        margin: 5px;
    }
    .navigation {
        display: none;
    }
    .about, .pricing {
        padding: 20px;
    }
    .about h1 {
        font-size: 3vh;
    }
    .about h2 {
        font-size: 2vh;
        margin-bottom: 20px;
    }
    .facilities h2, .auth h2, .whyus h2, .pricing h2 {
        font-size: 4vh;
    }
    .auth {
        padding: 50px;
        background-color: var(--highlight);
    }
    .auth .squeezed {
        margin: 0 25px;
    }
    .auth button {
        margin: 5px;
        width: 100%;
    }
    .menu-facility {
        width: 40px;
    }
    .contents {
        width: calc(100vw - 40px);
    }
    .menu-facility ul li p, .logout, .add-personnel, .calendar {
        display: none;
    }
    .personnel-list, .appointments, .appointments-set-facility {
        width: 100%;
    }
    .facility-contacts, .invoice-radios, .claims-radios {
        display: flex;
        flex-direction: column;
    }
    .account-security {
        width: 100%;
    }
    .login-details, .login-buttons, .footer {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-self: center;
    }
    .charts {
        display: flex;
        flex-direction: column;
        height: 1050px;
    }
    .chart, .chart-wide, .chart-widest, .chart-half {
        width: 100%;
        height: 350px;
        margin: 5px;
    }
    .appointments-list, .prescription-list {
        width: 20%;
    }

    .appointments-set, .prescription-set {
        width: 80%;
    }
}

@media screen and (min-width: 640px) {
    .three-items, .six-items, .five-items, .icd-item, .profile-div ul li, .dashboard-card, .consult-card,
    .minor-item, .card-input-group .card-input {
        flex: 0 0 33.333%;
        max-width: calc(33.333% - 10px);
        margin: 5px;
    }
    .diary-item, .consult-card-days, .email-item, .alert-item, .invoice-item, .prescription-item,
    .test-item, .facilities-item, .add-facilities .text-field, .add-facilities .text-field-half,
    .card-input-group .card-input {
        flex: 0 0 50%;
        margin: 5px;
        max-width: calc(50% - 10px);
    }
    .account-security {
        width: 40%;
    }
    .appointments-list, .prescription-list {
        width: 30%;
    }

    .appointments-set, .prescription-set {
        width: 70%;
    }
    .terms-container {
        padding: 30px;
    }
}

@media screen and (min-width: 960px) {
    .six-items, .five-items, .icd-item, .consult-card-days, .profile-div ul li, .dashboard-card,
    .consult-card, .minor-item, .card-input-group .card-input {
        flex: 0 0 25%;
        max-width: calc(25% - 10px);
        margin: 5px;
    }
    .diary-item, .email-item, .alert-item, .invoice-item, .prescription-item, .test-item, .facilities-item, .add-facilities .text-field-half {
        flex: 0 0 33.333%;
        margin: 5px;
        max-width: calc(33.333% - 10px);
    }
    .consult-card-history, .add-facilities .text-field-double, .whyus li, .tier, .appoint-item, .learn-item, .personnel-item, .consult-card-wide {
        flex: 0 0 50%;
        max-width: calc(50% - 10px);
        margin: 5px;
    }
    .navigation {
        display: flex;
    }
    .login {
        margin: 10px 30%;
    }
    .add-personnel {
        display: flex;
    }
    .account-security {
        width: 30%;
    }
    .appointments-list, .prescription-list {
        width: 50%;
    }

    .appointments-set, .prescription-set {
        width: 50%;
    }
}

@media screen and (min-width: 1280px) {
    .six-items, .five-items, .icd-item, .alert-item, .invoice-item, .profile-div ul li,
    .dashboard-card, .consult-card, .card-input-group .card-input {
        flex: 0 0 20%;
        max-width: calc(20% - 10px);
        margin: 5px;
    }
    .diary-item, .learn-item, .email-item, .prescription-item, .consult-card-history, .test-item,
    .facilities-item, .add-facilities .text-field, .add-facilities .text-field-half, .card-input-group .card-input {
        flex: 0 0 25%;
        margin: 5px;
        max-width: calc(25% - 10px);
    }
    .tier, .add-facilities .text-field-double, .appoint-item, .personnel-item, .consult-card-wide {
        flex: 0 0 33.333%;
        max-width: calc(33.333% - 10px);
        margin: 5px;
    }
    .minor-item {
        flex: 0 0 16.667%;
        max-width: calc(16.667% - 10px);
        margin: 5px;
    }
    .consult-card-days {
        flex: 0 0 12.5%;
        max-width: calc(12.5% - 10px);
        margin: 5px;
    }
    .appointments, .appointments-set-facility {
        width: 50%;
    }
    .calendar {
        display: flex;
        flex-direction: column;
        width: 50%;
    }
    .facility-contacts {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
    .login-details, .login-buttons, .footer {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-self: center;
    }
    .menu-facility {
        width: 180px;
    }
    .contents {
        width: calc(100vw - 180px);
    }
    .menu-facility ul li p, .logout, .calendar {
        display: flex;
    }
    .about, .whyus {
        padding: 20px 15%;
    }
    .pricing {
        padding: 20px 5%;
    }
    .about h1 {
        font-size: 60px;
    }
    .about p {
        font-size: 44px;
    }
    .account-security {
        width: 20%;
    }
    .charts {
        display: flex;
        flex-direction: row;
        height: 350px;
    }
    .chart {
        width: 33.3%;
        height: 100%;
        margin: 5px;
    }
    .chart-half {
        width: 50%;
        height: 350px;
        margin: 5px;
    }
    .chart-wide {
        width: 66.6%;
        height: 350px;
        margin: 5px;
    }
    .appointments-list, .prescription-list {
        width: 75%;
    }

    .appointments-set, .prescription-set {
        width: 25%;
    }
}

@media screen and (min-width: 1440px) {
    .six-items, .icd-item, .invoice-item, .profile-div ul li, .dashboard-card, .consult-card
    , .card-input-group .card-input{
        flex: 0 0 16.667%;
        max-width: calc(16.667% - 10px);
        margin: 5px;
    }
    .five-items, .diary-item, .learn-item, .email-item, .prescription-item, .consult-card-history, .test-item, .facilities-item, .add-facilities .text-field, .add-facilities .text-field-half {
        flex: 0 0 20%;
        margin: 5px;
        max-width: calc(20% - 10px);
    }
    .appoint-item, .personnel-item, .consult-card-wide {
        flex: 0 0 25%;
        max-width: calc(25% - 10px);
        margin: 5px;
    }
    .add-facilities .text-field-double {
        flex: 0 0 33.333%;
        max-width: calc(33.333% - 10px);
        margin: 5px;
    }
    .whyus li, .appointment-item {
        flex: 0 0 50%;
        max-width: calc(50% - 10px);
        margin: 5px;
    }
    .minor-item {
        flex: 0 0 12.5%;
        max-width: calc(12.5% - 10px);
        margin: 5px;
    }
    .invoice-radios, .claims-radios {
        display: flex;
        flex-direction: row;
    }
    .appointments-list, .prescription-list {
        width: 80%;
    }

    .appointments-set, .prescription-set {
        width: 20%;
    }
}

@media (max-width: 600px) {
    .patient-card {
        margin: 10px;
        border-radius: 8px;
    }

    .card-header {
        padding: 15px 20px;
    }

    .card-header h2 {
        font-size: 1.5em;
    }

    .card-body {
        padding: 20px;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }

    .info-item .label {
        flex-basis: auto;
        margin-right: 0;
        margin-bottom: 5px;
        font-size: 0.9em;
    }

    .info-item .value {
        flex-basis: auto;
        text-align: left;
        width: 100%;
        font-size: 0.9em;
    }
}
