@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Raleway:wght@300;700&family=Ramabhadra&family=Rationale&display=swap');

body {
    background-color: #ECECEC;
    margin: 0;
    font: 16px/1.5 'Inter', sans-serif;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    max-height: 80vh;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    overflow: auto;
}

.accept-button, .reject-button {
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
}
.accept-button {
    background-color: #4CAF50;
    color: #fff;
    border: none;
}
.reject-button {
    background-color: #F44336;
    color: #fff;
    border: none;
}

.main-container {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.main-container-2 {
    display: grid;
    grid-template-columns: 1fr;
    /* grid-template-rows: 1fr 1fr; */
    gap: 20px;
    grid-template-areas: "navbar" "main";
}

.navbar {
    grid-area: navbar;
    height: 60px;
    /* background-color: #fff; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.navbar-logo-container {
    zoom: 0.6;
}

.navbar-profile-container {
    width: 28px;
    height: 28px;
    background: #4757E3;
    border-radius: 10%;
    display: grid;
    place-items: center;
    color: #fff;
}

.main {
    grid-area: main;
    margin: 0;
    padding: 0;
    width: 100%;
    display: grid;
    place-items: center;
    overflow-y: auto;
}

.session-container {
    width: 99%;
    margin: 70px 0;
    display: flex;
    align-items: center;
    flex-direction: column;
}

#input_video_container_col {
    position: relative;
    width: 640px;
    height: 480px;
    border: 2px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#cobox_status_bar {
    width: 100%;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e3ce47;
    border: 0px solid rgba(69, 135, 232, 0.18);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
}

.video-container {
    display: flex;
    flex-direction: column;
}

.video-caption {
    font-size: small;
}

.terminal {
    position: relative;
    width: 100%;
    height: 0em;
    max-width: 800px;
    border-radius: 0.5em;
    padding-top: 1.5em;
    margin-top: 0px;
    overflow: visible;
    background-color: rgb(22, 113, 165);
}

/*.terminal::before {*/
/*    content: "\2022 \2022 \2022";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    height: 4px;*/
/*    background: rgb(58, 58, 58);*/
/*    color: #c2c3c4;*/
/*    width: 100%;*/
/*    font-size: 3rem;*/
/*    line-height: 0;*/
/*    padding: 14px 0;*/
/*    text-indent: 4px;*/
/*}*/

/*.terminal pre {*/
/*    font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;*/
/*    color: white;*/
/*    padding: 0 1rem 1rem;*/
/*    margin: 0;*/
/*}*/

.output_canvas {
    position: absolute;
}

.input_canvas {
    position: absolute;
}

.buttons-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.buttons-container button {
    width: 130px;
    padding: 14px;
    margin-right: 20px;
}

.card {
    width: 280px;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: grid;
    place-items: center;
}

button {
    display: inline-flex;
    padding: 10px 100px;
    justify-content: center;
    align-items: center;
    gap: 10px;

    border: none;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 4px;
    background: #4757E3;
    color: #fff;
}

.fill-button {
    width: 100%;
    padding: 12px;
}

.card-logo-container {
    width: 100%;
    display: grid;
    place-items: center;
    margin-bottom: 30px;
}

.form {
    display: flex;
    flex-direction: column;
    width: 85%;
    gap: 10px;
    /* max-width: 700px; */
}

.form input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    margin-bottom: 10px;
}


button:hover {
    background-color: #0a22be;
}

.results-container {
    display: flex;
    flex-direction: column;
}

.card-result-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 20px 20px;
}

.result-card {
    position: relative;
    width: 220px;
    height: 250px;
    border-radius: 4px;
    background: #F4F4F4;
    box-shadow: 1px 1px 7px -1px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.card-header {
    /* border: 1px solid black; */
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

.card-header h1 {
    margin-left: 15px;
    font-size: 18px;
    color: #444;
}

.result-value {
    /* border: 1px solid red; */
    display: flex;
    gap: 10px;
    margin: 40px 0;
    justify-content: center;
    align-items: center;
}

.result-value-number {
    font-weight: 600;
    font-size: 40px;
    color: #18AA00;
}

.result-value .result-value-unit {
    height: 65%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    font-size: 14px;
}

.information-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    border-radius: 50%;
    background: #9C96E7;
    width: 30px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.information-icon:hover {
    background: #7e75d1;
}

.information-pannel {
    position: absolute;
    width: 230px;
    height: 300px;
    background: #F4F4F4;
    border-radius: 4px;
    box-shadow: 1px 1px 7px -1px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
    z-index: 1;
}

.result-graph {
    /* border: 1px solid black; */
    width: 500px;
    height: 100px;
    margin: 0 20px;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

:root {
    --hr-progress-value: 0;
    --rr-progress-value: 0;
    --hrv-progress-value: 0;

    --progress-color: #4757E3;
}

.progress-bar {
    width: 100px;
    height: 100px;
    border-radius: 50%;

    /* to center the percentage value */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hr-progress-bar {
    background:
            radial-gradient(closest-side, white 79%, transparent 80% 100%),
            conic-gradient(var(--progress-color) calc(var(--hr-progress-value) * 1%), #b2b7e5 0);
    animation: html-progress 2s 1 forwards;
}

.rr-progress-bar {
    background:
            radial-gradient(closest-side, white 79%, transparent 80% 100%, white 0),
            conic-gradient(var(--progress-color) calc(var(--rr-progress-value) * 1%), #B2B7E5FF 0);

    animation: css-progress 2s 1 forwards;
}

.hrv-progress-bar {
    background:
            radial-gradient(closest-side, white 79%, transparent 80% 100%, white 0),
            conic-gradient(var(--progress-color) calc(var(--hrv-progress-value) * 1%), #B2B7E5FF 0);
    animation: js-progress 2s 1 forwards;
}

body {
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 640px;
}

.progress-bar-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

progress {
    visibility: hidden;
    width: 0;
    height: 0;
}
