@font-face {
    font-family: NeueMachina-Light;
    src: url('fonts/PPNeueMachina-Light.otf');
}

@font-face {
    font-family: NeueMachina-Regular;
    src: url('fonts/PPNeueMachina-Regular.otf');
}

@font-face {
    font-family: NeueMachina-Ultrabold;
    src: url('fonts/PPNeueMachina-Ultrabold.otf');
}

@font-face {
    font-family: Host-Grotesk;
    src: url('fonts/HostGrotesk-VariableFont_wght.ttf');
}


body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    background-color: #E8E8E8;
    overflow: hidden;
}

.idle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    background-color: #0a0a0a;
    opacity: 1;
    transition: all 1.3s ease;
}

body.patient-mode .idle {
    opacity: 0;
}

body.active-mode .idle {
    height: 0vh;
}

.welcome {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100vh;
    width: 60vw;
    overflow: visible;
    padding: 55px;
    box-sizing: border-box;
    background-color: #F5F1F0;
    transition: all .4s ease-in-out;
}

.welcome.hidden {
    overflow: hidden;
    width: 0vw;
    padding: 0px;
}

.welcome-text {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: fit-content;
    height: fit-content;
    gap: 75px;
}

.welcome-title {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    width: fit-content;
    height: fit-content;
    font-family: Host-Grotesk;
}

.welcome-top {
    font-size: 20px;
    font-weight: 200;
    color: #333333;
}

.welcome-main {
    font-size: 50px;
    font-weight: 200;
    color: #000;
}

.info-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 55px;
    width: fit-content;
    height: fit-content;
    padding-left: 40px;
    border-left: 1px solid;
    border-image: 
        linear-gradient(
        to bottom, 
        #00000050, 
        rgba(255, 255, 255, 0)
        ) 1 100%;
}

.pointer-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
    width: fit-content;
    height: fit-content;
}

.info-title {
    position: relative;
    font-family: Host-Grotesk;
    font-size: 20px;
    font-weight: 100;
    color: #0a0a0a;
}

.info-sub {
    position: relative;
    font-family: Host-Grotesk;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 100;
    color: #838383;
}

.patient-side {
    width: 40vw;
    height: 100vh;
    background-color: #0a0a0a;
}

.patient-list {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10%;
    width: 100%;
    height: 100%;
    padding: 20px;
    overflow: hidden;
    overflow-x: scroll;
}

.patient-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 574px;
    height: fit-content;
    gap: 33px;
    transition: transform 0.5s ease, opacity 0.5s ease;
    position: absolute;
    transition: all 0.8s ease;
    opacity: 0;
    transform: scale(0.8);
    z-index: 1;
    pointer-events: none;
}

body.patient-mode .patient-item {
    transform: scale(0.2);
}


.patient-item.active {
    transform: scale(1);
    opacity: 1;
    left: calc(50% - (574px / 2));
    transform: translateY(-50px) scale(1);
    z-index: 10;
    pointer-events: auto;
}

.patient-item.left1 {
    transform: translateX(-30vw) scale(0.9);
    opacity: 0.6;
    z-index: 5;
}

.patient-item.left2 {
    transform: translateX(-80vw) scale(0.7);
    opacity: 0.3;
}

.patient-item.right1 {
    transform: translateX(30vw) scale(0.9);
    opacity: 0.6;
    z-index: 5;
}

.patient-item.right2 {
    transform: translateX(80vw) scale(0.7);
    opacity: 0.3;
}

.patient-title {
    position: absolute;
    z-index: 4;
    top: 20px;
    left: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: Host-Grotesk;
    font-size: 11px;
    font-weight: 300;
    width: fit-content;
    color: #0a0a0a;
    text-align: center;
    transition: all 0.5s ease;
}

.patient-status {
    position: relative;
    height: 5px;
    width: 5px;
    background-color: #FF6000;
    margin-top: 20px;
    border-radius: 50%;
    transition: all .5s ease;
    opacity: 0;
}

.patient-status.Confirmed {
    background-color: #ff6000;
}


.patient-status.Unconfirmed {
    background-color: #222;
}

.patient-item.active .patient-status {
    margin-top: 0px;
    opacity: 1;
}



.patient-item.active .patient-title {
    font-size: 15px;
    color: #fff;
    text-transform: uppercase;
}

.patient-bubble {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: #ffffff57;
}


.patient-progress {
    position: absolute;
    width: 360px;
    height: 360px;
    margin: 0;
}

.patient-progress svg {
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: all 1.3s ease-in;
    transform-origin: center;
}

.patient-progress.active svg {
    transform: scale(1.11);
}

.patient-progress .bg {
    fill: none;
    stroke: #ffffff16;
    stroke-width: 0.3;
}

.patient-progress .progress {
    fill: none;
    stroke: #b9b9b9;
    stroke-width: 0.3;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: center;
    stroke-dasharray: 176; /* 2πr ≈ 2 * 3.14 * 28 */
    stroke-dashoffset: 176;
    transition: stroke-dashoffset 1.2s ease-out;

}

@keyframes fillCircle {
    0% {
        stroke-dasharray: 0, 100;
    }

    100% {
        stroke-dasharray: 100, 100;
    }
}

.patient-progress .progress.animate {
    animation: fillCircle 90s linear forwards;
}

.pat-img {
    background-image: url('/static/img/2.PNG');
    position: relative;
    display: flex;
    height: 100%;
    width: 100%;
    background-size: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.patient-bubble-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    height: fit-content;
    opacity: 0;
    border-radius: 25%;
    transition: all .3s ease;
}

.patient-item.active .patient-bubble-info {
    opacity: 1;
}

.bubble-patient-name {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.bubble-patient-first {
    position: relative;
    display: flex;
    font-family: Host-Grotesk;
    font-size: 22px;
    font-weight: 200;
    width: fit-content;
    color: #fff;
}

.bubble-patient-last {
    position: relative;
    display: flex;
    font-family: Host-Grotesk;
    font-size: 22px;
    font-weight: 400;
    width: fit-content;
    color: #fff;
}

.appt-name {
    position: relative;
    display: flex;
    font-family: Host-Grotesk;
    font-size: 15px;
    font-weight: 200;
    width: fit-content;
    color: #ededed;
    text-align: center;
    line-height: 1.5;
    max-width: 70%;
}

.patient-dash {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    overflow-y: scroll;
}

.nav-bar {
    position: absolute;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    height: fit-content;
    padding: 80px;
    box-sizing: border-box;
    transition: all .8s ease;
}

body.active-mode .nav-bar {
    padding: 26px;
    justify-content: flex-start;
}

.logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
    height: 40px;
    width: auto;
    /* filter: invert(100%); */
    transition: all .3s ease;
    mix-blend-mode: difference;
}

body.active-mode .logo {
    filter: none;
}

.pair-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: fit-content;
    width: fit-content;
    gap: 4px;
}

body.active-mode .pair-info {
    display: none;
}

.pair-h1 {
    font-family: Host-Grotesk;
    font-size: 23px;
    font-weight: 300;
    width: fit-content;
    color: #fff;
}

.pair-sub {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    width: fit-content;
    height: fit-content;
}

.pair-h2 {
    font-family: Host-Grotesk;
    font-size: 16px;
    font-weight: 300;
    width: fit-content;
    color: #fff;
}

body.active-mode .pair-h1,
body.active-mode .pair-h2 {
    color: #0a0a0a;
    transition: all .4s ease;
}


.date-attr {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0px;
    width: fit-content;
    height: fit-content;
}

.date-text {
    position: relative;
    font-family: Host-Grotesk;
    font-size: 20px;
    line-height: 27px;
    font-weight: 100;
    width: fit-content;
    height: fit-content;
    color: #0a0a0a;
    letter-spacing: -2%;
}


.patient-frame {
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 2;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    padding: 40px;
    box-sizing: border-box;
    justify-content: space-between;
}

.patient-profile {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    width: fit-content;
    height: fit-content;
    /* padding: 20px; */
    box-sizing: border-box;
    gap: 20px;
}

.patient-img-frame {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
}

.patient-img {
    position: relative;
    object-fit: contain;
    background-position: center;
    height: 100%;
    width: auto;
}

.complete-patient {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #0000004f;
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    z-index: 2;
}

.patient-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: fit-content;
    height: fit-content;
    gap: 15px;
}

body.active-mode .patient-info {
    filter: invert(100%);
    transition: all .3s ease;
}

.patient-tag {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    height: fit-content;
    gap: 8px;
}


.tag-text {
    position: relative;
    font-family: Host-Grotesk;
    font-size: 18px;
    font-weight: 100;
    width: fit-content;
    height: fit-content;
    color: #fff;
}

.name-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    height: fit-content;
    width: fit-content;
}

.patient-name {
    position: relative;
    font-family: NeueMachina-Regular;
    font-size: 40px;
    line-height: normal;
    font-weight: 300;
    letter-spacing: -6%;
    width: fit-content;
    height: fit-content;
    color: #fff;
}

.patient-last {
    position: relative;
    font-family: NeueMachina-Regular;
    font-size: 28px;
    line-height: normal;
    font-weight: 300;
    letter-spacing: -6%;
    width: fit-content;
    height: fit-content;
    color: #dfdfdf;
}

.patient-stats {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: fit-content;
    height: fit-content;
    gap: 24px;
    font-family: Host-Grotesk;
}

.patient-complete {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    height: fit-content;
    gap: 5px;
}

.complete-bar {
    height: 100%;
    width: 200px;
}

.complete-track {
    position: absolute;
    width: 100%;
    background-color: #fffafa12;
    height: 5px;
    border-radius: 5px;
}

.complete-progress {
    height: 5px;
    background-color: #ff6000;
    border-radius: 5px;
}

.complete-message {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.complete-percent {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 4px;
}

.complete-uom {
    font-size: 10px;
    color: #EDEDED;
    font-weight: 100;
}

.complete-num {
    font-size: 16px;
    color: #fff;
    font-weight: 300;
}

.complete-text {
    font-size: 14px;
    color: #fff;
    font-weight: 300;
}

.patient-actions {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: fit-content;
    gap: 8px;
    padding: 0px;
    box-sizing: border-box;
}

.action {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: fit-content;
    min-width: 50px;
    border: 1px solid #ffffff36;
    background-color: transparent;
    gap: 10px;
    font-family: Host-Grotesk;
    font-size: 16px;
    color: #fff;
    font-weight: 100;
    border-radius: 15px;
}

.action.selected {
    background-color: #ff6000;
}

.action.main {
    padding: 0px 50px;
}



body.active-mode .patient-name {
    font-size: 40px;
    line-height: 40px;
    transition: all 0.6s ease;
}

.rec-frame {
    position: absolute;
    display: none;
    left: 0px;
    height: 100%;
    width: 0%;
    padding: 0px;
    background-color: transparent;
    transition: all 1.2s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

body.active-mode .rec-frame {
    display: flex;
    width: fit-content;
    position: relative;
    padding: 0px 40px;
    transition: all 0.4s ease-in-out;
}
.rec-section {
    font-family: Host-Grotesk;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 30px;
    width: fit-content;
    color: #2c2c2c;
}

.rec-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
}

.rec-heading {
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 300;
    color: #888;
    padding-bottom: 4px;
    border-bottom: 1px solid #eee;
    width: 100%;
    text-align: right;
}

.rec-div {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}

.rec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    margin-bottom: 24px;
}

.rec-item:not(:last-child)::before {
    content: '';
    position: absolute;
    right: 11px;
    top: 32px;
    width: 2px;
    height: calc(100% - 32px);
    background-color: #e0e0e0;
}

.circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
}

.circle.complete {
    background-color: #007aff; /* Apple blue */
    border-color: #007aff;
}

.circle.complete span {
    font-size: 14px;
    font-weight: bold;
    color: white;
}

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

.rec-title {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

#condition-tooltip {
    position: relative;
    top: 10%;
    left: 20px;
    z-index: 99;
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    width: 100%;
}

.tooltip-title {
    font-family: NeueMachina-Light;
    font-size: 55px;
    line-height: 1;
    color: #0a0a0a;
    width: fit-content;
    max-width: 30vw;
    white-space: wrap;
    text-wrap: wrap;
    line-height: 1.3;
}

.tooltip-body {
    font-family: Host-Grotesk;
    font-weight: 200;
    font-size: 20px;
    line-height: 1.6;
    color: #222222;
    width: fit-content;
}

.percentage-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
    height: 100%;
    padding: 40px;
    box-sizing: border-box;
    padding-bottom: 0px;
    padding-right: 0px;
    z-index: 5;
}

.percentage-number {
    font-family: NeueMachina-Regular;
    font-size: 95px;
    line-height: 1;
    color: #0a0a0a;
    width: fit-content;
}

.percentage-description {
    font-family: Host-Grotesk;
    font-weight: 200;
    font-size: 14px;
    line-height: 1.2;
    color: #222222;
    width: fit-content;
}

.conditions-list {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: fit-content;
    gap: 8px 8px;
    margin-top: 36px;
}

.condition-item {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    width: fit-content;
    border-radius: 8px;
    background-color: #ededed;
    font-family: Host-Grotesk;
    font-weight: 200;
    font-size: 14px;
    line-height: 1.2;
    color: #222222;
    padding: 10px 20px;
    box-sizing: border-box;
    gap: 6px;
}

.condition-item .selected-dot {
    position: relative;
    display: inline-flex;
    height: 0px;
    width: 0px;
    background-color: transparent;
    border-radius: 50%;
    transition: all .3s ease;
}

.condition-item.highlight .selected-dot {
    position: relative;
    display: inline-flex;
    height: 5px;
    width: 5px;
    background-color: #ff6000;
    border-radius: 50%;
}

.bar-graph {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: 40px;
    box-sizing: border-box;
}

.graph-frame {
    position: relative;
    height: 0%;
    width: 0%;
    padding: 0px;
    right: 0px;
    background-color: transparent;
    transition: all 1.2s ease;
    overflow: visible;
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    box-sizing: border-box;
    justify-content: flex-start;
}

body.active-mode .graph-frame {
    background-color: #E8E8E8;
    width: 100vw;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-top: 1px solid #e8e8e8;
    /* padding-bottom: 40px; */
    /* max-width: 65%; */
    /* right: 5%; */
}

.graph-info-frame {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}



.bar-section {
    height: 100%;
    width: 30%;
    /* flex: 1; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0px;
    box-sizing: border-box;
    /* min-width: 80px; */
    position: relative;
}

.bar-container {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.bar-base {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: #e0e0e0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
}

.bar-original {
    position: absolute;
    width: 60%;
    height: 0%;
    background-color: rgba(255, 96, 0, 0.13);
    border: solid rgba(255, 255, 255, 0.36) 1px;
    border-radius: 4px;
    transition: all 0.5s ease;
}

.bar-simulated {
    position: absolute;
    width: 60%;
    height: 0%;
    background-color: #ff6000;
    border-radius: 3px;
    transition: all 1s ease-in-out;
}

.bar-label {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    font-family: Host-Grotesk;
    color: #222;
}

.ticks {
    z-index: 4;
    position: absolute;
    top: 10px;
    right: 7px;
    width: fit-content;
    height: 100%;
    pointer-events: none;
}

.tick {
    position: absolute;
    width: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
}

.tick::before {
    content: '';
    width: 20px;
    height: 1px;
    background-color: #dddada;
    display: inline-block;
}

.tick-label {
    font-size: 12px;
    color: #bababa;
    white-space: nowrap;
    font-family: Host-Grotesk;
}

.tick.special {
    /* top: -1px; */
    border-radius: 100px;
    background-color: #E8E8E8;
}

.tick.special::before {
    background-color: #222;
    height: 2px;
}

.tick.special.original .tick-label {
    color: #222;
}

.tick.special.simulated .tick-label {
    background-color: #E8E8E8;
    color: #222;
}


.support-widget {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: fit-content;
    height: fit-content;
    max-height: 240px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    gap: 20px;
    box-sizing: border-box;
    overflow: hidden;
    border: 0.71px solid #ffffff77;
    backdrop-filter: blur(16px) brightness(100%);
    -webkit-backdrop-filter: blur(16px) brightness(100%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease-in-out;
}

body.active-mode .support-widget {
    opacity: 0;
}

.widget-label {
    position: relative;
    display: flex;
    flex-direction: row;
    font-size: 20px;
    font-weight: 300;
    color: #fff;
    font-family: Host-Grotesk;
}

.widget-details {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 0px;
    box-sizing: border-box;
    gap: 80px;
    height: fit-content;
    width: fit-content;
}

.support-value {
    position: relative;
    display: flex;
    width: fit-content;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.support-value {
    font-size: 40px;
    color: #fff;
    font-family: NeueMachina-Ultrabold;
}

/* .support-value {
    font-size: 22px;
    font-weight: 200;
    color: #fff;
    font-family: Host-Grotesk;
} */

.widget-detail {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: fit-content;
    width: fit-content;
    gap: 16px;
}

.det-label {
    position: relative;
    font-family: Host-Grotesk;
    font-size: 16px;
    color: #fff;
    font-weight: 100;
}

.det-num {
    position: relative;
    font-family: NeueMachina-Light;
    font-size: 45px;
    line-height: 30px;
    color: #fff;
    font-weight: 100;
}

#weightChart {
    width: 100% !important;
    height: 90% !important;
    max-width: 28vw;
    display: block;
    margin: 0 auto;
}

#riskChart {
    width: 100% !important;
    height: 90% !important;
    max-width: 28vw;
    display: block;
    margin: 0 auto;
}


.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin: 4px 4px 0 0;
    line-height: 1.4;
    letter-spacing: 0.4px;
    transition: all 0.2s ease;
}

.badge.green {
    background-color: #d1f8e5;
    color: #0e5e42;
}

.badge.red {
    background-color: #ffe1e1;
    color: #8a1d1d;
}


.circle-progress {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.circle-progress svg {
    width: 100px;
    height: 100px;
    transform: rotate(-90deg);
}

.circle-progress .bg {
    fill: none;
    stroke: #e5e5e5;
    stroke-width: 3.5;
}

.circle-progress .progress {
    fill: none;
    stroke: #ff6000;
    stroke-width: 3.5;
    stroke-linecap: round;
    transition: stroke-dasharray 0.5s ease;
}

.circle-progress .percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: NeueMachina-Light;
    transform: translate(-50%, -50%);
    font-size: 22px;
    color: #111;
}

.fact-stat {
    font-family: NeueMachina-Light;
    font-size: 38px;
    color: #0a0a0a;
    text-align: left;
    line-height: 1.1;
    margin-top: auto;
}

.insight-image {
    height: 100%;
    object-fit: cover;
    width: auto;
    border-radius: 12px;
}

.patient-carousel {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    box-sizing: border-box;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
    transition: all 1.2s ease-in;
}

body.patient-mode .patient-carousel {
    background-color: #98AAA1;
}

body.active-mode .patient-carousel {
    width: 0%;
    pointer-events: none;
}

.carousel-img {
    position: absolute;
    height: 100vh;
    width: auto;
    display: none;
}


.carousel-indicators {
    position: absolute;
    z-index: 1000;
    top: 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

body.active-mode .carousel-indicators {
    opacity: 0;
}

.carousel-indicators .dot {
    width: 10px;
    height: 10px;
    border-radius: 20px;
    background-color: #fff;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.carousel-indicators .dot.active {
    width: 40px;
    height: 8px;
    opacity: 1;
}


.carousel-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-color: rgba(19, 19, 19, 0.36);
    padding: 70px;
    padding-top: 15%;
    box-sizing: border-box;
}

.carousel-card.intro {
    /* background-color: #ff6000; */
    color: #fff;
}

.carousel-card.achievement {
    background-color: #98AAA1;
}

.carousel-card.fact {
    /* background-color: #98AAA1; */
    color: #fff;
}

.carousel-card.alert {
    background-color: #888896;
    color: #fff;
}

.carousel-card.image {
    color: #fff;
}

.carousel-card.intro .card-icon {
    position: absolute;
    bottom: 30px;
    right: 30px;
    height: 10%;
    width: auto;
}

.carousel-card img.card-icon {
    width: 40px;
    margin-top: 20px;
}

.carousel-card img.card-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 15px;
}

.card-body {
    font-size: 18px;
    font-weight: 300;
    line-height: 31.2px;
    color: inherit;
}

.card-title {
    color: #fff;
    font-family: Host-Grotesk;
    font-size: 40px;
    font-weight: 100;
    max-width: 100%;
    line-height: 75px;
}

.card-score {
    font-size: 93px;
    font-weight: 100;
    margin-left: auto;
    line-height: 1;
    font-family: NeueMachina-Light;
    color: #fff;
}

.card-score span.unit {
    font-size: 18px;
    vertical-align: top;
    color: #fff;
}

.card-stars {
    font-size: 28px;
    color: #ff6000;
    margin-bottom: 15px;
}

.card-tags {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.alert-tag {
    font-size: 13px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 5px 12px;
    color: white;
}

.circle-progress {
    width: 120px;
    height: 120px;
    margin: auto;
    position: relative;
}

.circle-progress svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-progress .bg {
    fill: none;
    stroke: #dddddd63;
    stroke-width: 1.8;
}

.circle-progress .progress {
    fill: none;
    stroke: #ff6000;
    stroke-width: 1.8;
    stroke-linecap: round;
    transition: stroke-dasharray 0.6s ease;
}

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: 600;
    color: #0a0a0a;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin: 4px;
}

.badge.red {
    background-color: #ffb3b3;
    color: #900;
}

.badge.green {
    background-color: #b3ffcc;
    color: #0a7540;
}



.pair-pop-up {
    position: absolute;
    z-index: 1000;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    background-color: #00000080;
}

.pop-up-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    height: fit-content;
    gap: 30px;
    margin-top: 40px;
    background-color: #FFF;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 12px;
}

.clinic-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: 12px;
    /* padding: 50px 30px; */
    box-sizing: border-box;
    gap: 35px;
    width: 90%;
}

.pop-up-title {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 360px;
    height: fit-content;
    padding: 10px;
    padding-bottom: 40px;
    box-sizing: border-box;
}

.pop-up-h1 {
    font-size: 25px;
    line-height: 1.2;
    font-family: NeueMachina-Regular;
    color: #0a0a0a;
    text-align: left;
}

.pop-up-h2 {
    font-size: 16px;
    line-height: 1.3;
    font-family: Host-Grotesk;
    color: #707070;
    width: 100%;
    text-align: left;
}

.pop-up-code {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 380px;
    height: 380px;
    gap: 0px;
    box-sizing: border-box;
    font-size: 36px;
    line-height: 1;
    font-family: NeueMachina-Regular;
    color: #fff;
    background-color: #d8d8da;
    border-radius: 10px;
}

input {
    position: relative;
    width: 100%;
    height: 60px;
    font-size: 16px;
    line-height: 28px;
    padding: 0 1rem;
    padding-left: 1.5rem;
    border: 2px solid transparent;
    border-radius: 8px;
    box-sizing: border-box;
    outline: none;
    background-color: #222;
    color: #f9f9f9;
    transition: .3s ease;
}

input::placeholder {
    color: #9e9ea7;
}

input:focus,
input:hover {
    outline: none;
    border-color: rgba(234, 76, 137, 0.4);
    background-color: #222;
    box-shadow: 0 0 0 4px rgb(234 76 137 / 10%);
}

.pair-status {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    width: 100%;
    height: fit-content;
    border-radius: 12px;
    border: #ededed solid 1.2px;
    box-sizing: border-box;
    gap: 12px;
    background-color: #a7a6a687;
    backdrop-filter: blur(25px) brightness(100%);
    -webkit-backdrop-filter: blur(25px) brightness(100%);
}

.pair-status-text {
    font-size: 18px;
    line-height: 1;
    font-family: Host-Grotesk;
    color: #fff;
}

#setup-btn {
    position: relative;
    width: 100%;
    height: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid #bfbfbf;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1;
    font-family: Host-Grotesk;
    background-color: #111;
    color: #fff;
    transition: all .3s ease;
    cursor: pointer;
}

#setup-btn:hover {
    background-color: #f9f9f9;
    color: #0a0a0a;
}

.exit-pop-up {
    position: absolute;
    top: 5%;
    right: 55%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    filter: none;
}

.exit-pop-up:hover {
    filter: invert(100%);
}





.register-pop-up {
    position: absolute;
    z-index: 1000;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    background-color: #000000;
}

.register-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    height: fit-content;
    gap: 30px;
    margin-top: 120px;
    background-color: #000;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 12px;
}

.register-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: 12px;
    /* padding: 50px 30px; */
    box-sizing: border-box;
    gap: 3px;
    width: 90%;
}

.register-title {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 360px;
    height: fit-content;
    padding: 10px;
    box-sizing: border-box;
}

.register-h1 {
    font-size: 25px;
    line-height: 1.2;
    font-family: NeueMachina-Regular;
    color: #fff;
    text-align: left;
}

.register-h2 {
    font-size: 16px;
    line-height: 1.3;
    font-family: Host-Grotesk;
    color: #707070;
    width: 100%;
    text-align: left;
}

.register-code {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 380px;
    height: 380px;
    gap: 0px;
    box-sizing: border-box;
    font-size: 36px;
    line-height: 1;
    font-family: NeueMachina-Regular;
    color: #fff;
    border-radius: 10px;
}

input {
    position: relative;
    width: 100%;
    height: 60px;
    font-size: 16px;
    line-height: 28px;
    padding: 0 1rem;
    padding-left: 1.5rem;
    border: 2px solid transparent;
    border-radius: 8px;
    box-sizing: border-box;
    outline: none;
    background-color: #222;
    color: #f9f9f9;
    transition: .3s ease;
}

input::placeholder {
    color: #9e9ea7;
}

input:focus,
input:hover {
    outline: none;
    border-color: rgba(234, 76, 137, 0.4);
    background-color: #222;
    box-shadow: 0 0 0 4px rgb(234 76 137 / 10%);
}
