:root {
    --neutral-dark-100: #1C2631;
    --neutral-dark-90: #333C46;
    --neutral-dark-80: #49515A;
    --neutral-dark-70: #60676F;
    --neutral-dark-60: #777D83;
    --neutral-dark-50: #8D9398;
    --neutral-dark-40: #A4A8AD;
    --neutral-dark-30: #BDC0C3;
    --neutral-dark-20: #DEDFE1;
    --neutral-dark-10: #EEEFF0;
    --neutral-dark-5: #F7F7F8;
    --neutral-dark-0: #FFFFFF;

    --green-100: #15A300;
    --green-80: #7BCE70;
    --green-60: #ABE9A2;
    --green-40: #D5FDCF;
    --green-20: #F1FFEF;

    --teal-100: #2A8E9E;
    --teal-80: #5DC1D1;
    --teal-60: #86D0DC;
    --teal-40: #AFE6EF;
    --teal-20: #E7FEFF;

    --blue-100: #0C83F4;
    --blue-80: #50A5F6;
    --blue-60: #90C9FF;
    --blue-40: #BCDFFF;
    --blue-20: #E9F4FE;

    --purple-100: #4D4BE4;
    --purple-80: #6C6BEC;
    --purple-60: #9796FF;
    --purple-40: #D0D0FF;
    --purple-20: #EDEDFC;

    --pink-100: #A725D9;
    --pink-80: #CC63F3;
    --pink-60: #E49BFF;
    --pink-40: #E5BEF4;
    --pink-20: #F6E9FB;

    --magenta-100: #DE1C79;
    --magenta-80: #EB60A3;
    --magenta-60: #F18EBD;
    --magenta-40: #F6BBD8;
    --magenta-20: #FCE8F2;

    --red-100: #D21004;
    --red-80: #EA3F35;
    --red-60: #FF837B;
    --red-40: #FFC8C5;
    --red-20: #FFE9E8;

    --orange-100: #D04F00;
    --orange-80: #DE783F;
    --orange-60: #FFA775;
    --orange-40: #FFDDC8;
    --orange-20: #FFF2EA;

    --yellow-100: #F1C21B;
    --yellow-80: #FFDC71;
    --yellow-60: #FFEEAD;
    --yellow-40: #FFF7D6;
    --yellow-20: #FFFCF4;

    --blue_color: #20a3c0;
    --theme-color: #143C53;
    --text-primary: #1C2631;
    --text-secondary: #5A6169;
    --light-blue: hsl(188, 30%, 92%);
    --accent-color-100: #35B1C5;
    --accent-color-50: #9AD8E2;
    --accent-color-30: #C2E8EE;
    --gray-03: #BDBDBD;

    --not-started-color: var(--text-secondary);
    --recruiting-color: #C425FF;
    --ongoing-color: var(--accent-color-100);
    --finished-color: #35C85A;

    --radius: 14px;
}

body.acquisier {
    background-color: transparent;
    background: linear-gradient(
        to bottom,
        var(--accent-color-100) 170px,
        var(--light-blue) 170px
    );
    min-height: 100vh;
}

.heading24 {
    font-family: Inter;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--theme-color);
}

.subheading16 {
    font-family: Inter;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--theme-color);
}

.bodytext16 {
    font-family: 'Mulish';
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: var(--neutral-dark-80);
}

.bg-accent {
    background-color: var(--accent-color-100);
}

.text-secondary {
    color: var(--text-secondary);
}

.quoted::before {
    content: open-quote;
    font-size: 32px;
    line-height: 12px;
    padding-right: 4px;
    position: relative;
    top: 8px;
}

.quoted::after {
    content: close-quote;
    font-size: 32px;
    line-height: 12px;
    padding-left: 4px;
    position: relative;
    top: 8px;
}

hr.spacer {
    flex-grow: 1;
    border-top: 0;
}

.progress {
    --bs-progress-height: 6px;
    --bs-progress-bg: var(--blue-20);
    --bs-progress-bar-bg: var(--blue_color);
}

.table-acquisier {
    width: 100%;
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--text-primary);
    border-spacing: 0 4px;
    border-collapse: separate;
}

.table-acquisier td {
    font-weight: 400;
    color: var(--text-secondary);
}

.table-acquisier.align-right td {
    text-align: right;
}

/* main logo */
.main-logo {
    text-decoration: none;
    height: 36px;
    display: grid;
    grid-template-columns: 36px auto;
    column-gap: 8px;
    grid-template-areas:
      "logo title"
      "logo subtitle";
}
.main-logo svg {
    grid-area: logo;
    place-self: center;
}
.main-logo .title {
    grid-area: title;
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.2px;
    color: var(--neutral-dark-0);
    margin: 0;
}
.main-logo .subtitle {
    grid-area: subtitle;
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--neutral-dark-20);
}


.login_page {
    height: 100vh;
    width: 100vw;
}

.login_page h2 {
    color: gray;
}

.login_page form {
    display: flex;
    flex-direction: column;
}

.login_page form>* {
    margin-bottom: 20px;
}

.login_page .submit_button {
    width: 400px;
    height: 40px;
    box-sizing: border-box;
    padding: 5px;
    background-color: var(--blue_color);
    border-radius: var(--radius);
    color: white;
}

.login_page .submit_button:hover {
    cursor: pointer;
}

.btn {
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 600;
    border-width: 1px; /* All padding will be expected - 1px */
    border-radius: .75rem;
}

.btn-primary {
    color: white !important;
    background-color: var(--accent-color-100) !important;
    border-color: var(--accent-color-100);
}
.btn-primary:hover {
    color: var(--white) !important;
    background-color: var(--accent-color-50) !important;
    border-color: var(--accent-color-50) !important;
}
.btn-primary:active,
.btn-primary:focus {
    color: var(--white);
    background-color: var(--accent-on-light);
    box-shadow: 0 0 0 3px #35B1C540;
}
.btn-primary.disabled {
    color: var(--white);
    background-color: #35B1C540;
    box-shadow: none;
}
.btn-primary .uil {
    font-size: 22px;
    line-height: 20px;
    vertical-align: -2px;
}

#id_password,
#id_username {
    width: 400px;
    box-sizing: border-box;
    padding: 10px;
    background-color: #fff;
    border: var(--blue_color) solid 1px;
    color: var(--blue_color);
    border-radius: var(--radius);
    font-size: 20px;
}

form p label {
    display: none;
}

.section_list {
    height: calc(100vh - 64px);
    overflow: hidden;
    overflow-y: scroll;
}

.section_list>h1 {
    color: white;
    margin-bottom: 16px;
}


.list_item {
    position: relative;
    list-style-type: none;
    background-color: white;
    width: 100%;
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.protocol {
    position: relative;
    padding: 24px;
}

.protocol:hover {
    background-color: var(--accent-color-50);
}

.subject:hover {
    background-color: var(--accent-color-50);
}

.list_item>header {
    padding-bottom: 5px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--accent-color-100);
}

.protocol_description {
    color: grey;
}

.protocol_date {
    font-family: Inter;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--gray-03);
}

.status-pill {
    font-family: Inter;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
    border-radius: 4px;
    padding: 5px;
}

.status-pill.status-NOST {
    color: var(--not-started-color);
    border: 1px solid var(--not-started-color);
}

.status-pill.status-RCRT {
    color: var(--recruiting-color);
    border: 1px solid var(--recruiting-color);
}

.status-pill.status-PROG {
    color: var(--ongoing-color);
    border: 1px solid var(--ongoing-color);
}

.status-pill.status-DONE {
    color: var(--finished-color);
    border: 1px solid var(--finished-color);
}

.status-pill.status-UNKW {
    color: black;
    border: 1px solid black;
}

.selected {
    background: linear-gradient(to left, var(--accent-color-100) var(--radius), transparent var(--radius));
    background-color: rgb(248, 242, 242);
}

.recorder-nav {
    background-color: white;
    padding: 24px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.recorder-nav ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 48px;
    margin: 0;
    padding: 0;
    font-family: 'Mulish';
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: var(--neutral-dark-80);
    list-style: none;
}
.recorder-nav ul li {
    margin: 0;
}

section nav ul {
    display: flex;
    margin: 0 -10px;
}

section nav li {
    margin: 0 10px;
}

.push-right {
    margin-left: auto;
}

.timer_box {
    display: flex;
    align-items: center;
    justify-content: center;
}

#record_grid {
    width: 1168px;
    overflow: hidden;
    margin: 0 auto 16px;
    display: grid;
    grid-template-columns: auto 700px;
    grid-template-rows: auto auto 683px;
    grid-template-areas:
        "header header"
        "progress progress"
        "list timer";
    background-color: var(--neutral-dark-0);
    border-radius: 16px 16px 8px 8px;
    border: 1px solid var(--neutral-dark-20);
}

#record_nav {
    grid-area: header;
    padding: 16px;
}

#record_nav ul {
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    gap: 8px;
    list-style: none;
}

#record_nav ul li {
    padding: 10px;
    border: 1px solid var(--neutral-dark-10);
    border-radius: 8px;
    font-family: 'Mulish';
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: var(--neutral-dark-80);
}
#record_nav ul li a {
    color: var(--neutral-dark-80);
    text-decoration: none;
}

#record_nav ul li.selected {
    background: var(--blue-20);
    border-color: var(--blue-20);
    font-weight: 600;
    color: var(--blue_color);
}
#record_nav ul li.selected a {
    color: var(--blue_color);
    text-decoration: none;
}

#record_progress {
    grid-area: progress;
    padding: 24px 16px;
    border-top: 1px solid var(--neutral-dark-20);
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
        "percent . remaining"
        "progress progress progress";
    gap: 16px;
}

#record_progress>div {
    font-family: 'Mulish';
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
}

#record_progress>*:nth-child(2) {
    grid-area: remaining;
    color: var(--neutral-dark-70);
}

#record_progress .progress {
    grid-area: progress;
}

#conditions {
    grid-area: list;
    border: 1px solid var(--neutral-dark-20);
    border-width: 1px 0 0 0px;
    overflow-y: scroll;
}

.conditions_list_item {
    position: relative;
    padding: 24px;
    border: 1px solid var(--neutral-dark-20);
    border-width: 1px 0 0 0;
}

.conditions_list_item:first-of-type {
    border-top-width: 0;
}

.conditions_list_item.selected {
    background: var(--neutral-dark-5);
}
.conditions_list_item:hover {
    background: var(--neutral-dark-5);
}

#recorder {
    grid-area: timer;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--neutral-dark-20);
    border-width: 1px 0 0 1px;
}

#recorder .timer_box {
    flex-grow: 1;
}

.timer_box {
    width: calc(100% - 48px);
    margin: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.timer_box h3 {
    font-family: 'Mulish';
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: var(--neutral-dark-80);
    margin-bottom: 0;
}

.timer_box [data-timer="box"] {
    width: 250px;
    display: flex;
    justify-content: space-between;
}

.timer_box [data-timer-segment] {
    font-family: Mulish;
    font-weight: 700;
    font-size: 48px;
    line-height: 58px;
    color: var(--neutral-dark-80);
}

.timer_box .separator {
    font-family: Mulish;
    font-weight: 700;
    font-size: 48px;
    line-height: 58px;
    color: var(--neutral-dark-30);
}

.timer_box button {
    padding: 12px 36px;
    font-family: 'Mulish';
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    border: 1px solid transparent;
    outline: 3px solid transparent;
    border-radius: 8px;
}

.timer_box button[name="start_timer"] {
    background-color: var(--blue_color);
    color: var(--neutral-dark-0);
}
.timer_box button[name="stop_timer"] {
    background-color: var(--red-80);
    color: var(--neutral-dark-0);
}

.timer_box button[name="start_timer"]:hover {
    background-color: var(--teal-100 );
}

.timer_box button[name="start_timer"]:active,
.timer_box button[name="start_timer"]:focus {
    background-color: var(--blue_color);
    /* border-color: rgb(from var(--blue_color) r g b / 25%); */
    outline-color: rgba(53, 177, 197, 0.25);
}

.timer_box.done button[name="start_timer"] {
    background-color: var(--neutral-dark-0);
    color: var(--blue_color);
    border-color: var(--neutral-dark-30);
}

.timer_box.first_time button[name="stop_timer"],
.timer_box.first_time button[name="start_timer"] .restart {
    display: none;
}

.timer_box.running button[name="start_timer"],
.timer_box.running button[name="start_timer"] .initial,
.timer_box.running button[name="start_timer"] .restart {
    display: none;
}

.timer_box.done button[name="stop_timer"],
.timer_box.done button[name="start_timer"] .initial {
    display: none;
}

.timer_box .timer_logs {
    width: 100%;
    margin-top: -8px;
    table-layout: fixed;
}
.timer_box .timer_logs tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--neutral-dark-20);
}
.timer_box .timer_logs tr td {
    min-width: 80px;
    text-align: center;
}

.condition_name_widget .icon {
    font-size: calc(16px * 1.25);
    line-height: 1;
    font-style: normal;
}

.condition_name_widget .icon::before {
    font-family: unicons-line;
    color: var(--blue_color);
    content: '\e859'; /* circle */
}

.condition_name_widget.done .icon::before {
    font-family: unicons-solid;
    color: var(--green-80);
    content: '\e8bc'; /* circle-check */
}

.condition_name_widget.report .icon::before {
    font-family: unicons-line;
    color: var(--blue_color);
    content: '\e954'; /* file */
}

#report_grid {
    width: 1168px;
    overflow: hidden;
    margin: 0 auto 16px;
    display: flex;
    flex-direction: column;
    background-color: var(--neutral-dark-0);
    border-radius: 16px 16px 8px 8px;
    border: 1px solid var(--neutral-dark-20);
}

#upload {
    padding: 24px;
    gap: 24px;
    border-top: 1px solid var(--neutral-dark-20);
}


#next_nav {
    grid-area: header;
    padding: 16px;
}

#next_nav ul {
    display: flex;
    flex-direction: row-reverse;
    margin: 0;
    padding: 0;
    gap: 8px;
    list-style: none;
}

#next_nav ul li a {
    padding: 10px;
    border: 1px solid var(--neutral-dark-10);
    border-radius: 8px;
    font-family: 'Mulish';
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: var(--neutral-dark-80);
    text-decoration: none;
}
#next_nav ul li a:hover {
    background-color: var(--accent-color-100);
}

/* Drag and Drop */


.box.has-advanced-upload input[type="file"] {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.box.has-advanced-upload .box__dragndrop {
    display: inline;
}

.box__input {
    border: 1px dashed #BDC0C3;
    border-radius: 8px;
    padding: 48px 24px;
    text-align: center;
}
.box__input.hover {
    border-color: black;
    background: white;
}
.box__input label {
    font-family: Mulish;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: var(--neutral-dark-80);
    cursor: pointer;
}
.box__highlight {
    color: #35B1C5;
}
.box__button {
    margin-top: 24px;
}

/* --- */

#uploaded {
    margin: 0;
    margin-top: 24px;
    padding: 0;
    list-style: none;
}
#uploaded li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

#uploaded .uil.uil-file,
#uploaded .uil.uil-file-times,
#uploaded .uil.uil-file-check-alt {
    display: inline-block;
    text-align: center;
    width: 24px;
    height: 24px;
    margin-right: -4px;
    color: var(--blue_color);
    line-height: 24px;
    font-size: 24px;
}
#uploaded .uil.uil-file-times {
    color: var(--red-60);
}

#uploaded .name {
    font-family: 'Mulish';
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    color: var(--neutral-dark-80);
}

#uploaded .metadata {
    font-family: 'Mulish';
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    color: var(--neutral-dark-50);
}

.table-report {
    border-top: 1px solid var(--neutral-dark-20);
}
.table-report tr {
    border-top: 1px solid var(--neutral-dark-20);
}
.table-report thead th {
    padding: 16px;
    font-family: 'Mulish';
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: var(--neutral-dark-60);
}

.table-report tbody td {
    padding: 16px;
    font-family: 'Mulish';
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: var(--neutral-dark-100);
}

/* Documented Badge */

.badge2 {
    font-family: Mulish;
    display: inline-grid;
    grid-template-areas:
        "icon label cross"
    ;
}
/* layout */
.badge2 .icon {
    grid-area: icon;
    align-self: center;
}
.badge2 span {
    grid-area: label;
    align-self: center;
}
.badge2 .cross {
    grid-area: cross;
    align-self: center;
}
/* Sizing */
.badge2.large {
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    padding: 8px;
    border-radius: 6px;
}
.badge2.large .uil {
    height: 16px;
    font-size: 16px;
}
.badge2.large > *:not(:last-child) {
    margin-right: 4px;
}

.badge2.medium {
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    padding: 6px;
    border-radius: 4px;
}
.badge2.medium .uil {
    height: 16px;
    font-size: 16px;
}
.badge2.medium > *:not(:last-child) {
    margin-right: 4px;
}

.badge2.small {
    font-size: 10px;
    line-height: 12px;
    font-weight: 600;
    padding: 6px;
    border-radius: 4px;
}
.badge2.small .uil {
    height: 12px;
    font-size: 12px;
}
.badge2.small > *:not(:last-child) {
    margin-right: 4px;
}

/* Colors */
.badge2.green {
    color: var(--green-100);
    background-color: var(--green-20);
}
.badge2.teal {
    color: var(--teal-100);
    background-color: var(--teal-20);
}
.badge2.blue {
    color: var(--blue-100);
    background-color: var(--blue-20);
}
.badge2.purple {
    color: var(--purple-100);
    background-color: var(--purple-20);
}
.badge2.pink {
    color: var(--pink-100);
    background-color: var(--pink-20);
}
.badge2.magenta {
    color: var(--magenta-100);
    background-color: var(--magenta-20);
}
.badge2.red {
    color: var(--red-100);
    background-color: var(--red-20);
}
.badge2.orange {
    color: var(--orange-100);
    background-color: var(--orange-20);
}
.badge2.yellow {
    color: var(--yellow-100);
    background-color: var(--yellow-20);
}
.badge2.neutral {
    color: var(--neutral-dark-80);
    background-color: var(--neutral-dark-10);
}
