@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

:root {
    --cream: #FBF6E9;
    --black: #000000;
    --white: #FFFFFF;
    --light-gray: #5E5E5E;
    --light-normal: #FAF4E4;
    --light-cream: #FFFDF6;
    --orange: #F1B798;
    --dark-orange: #E36F31;
    --orange2: #E36F31;
    --dark: #471111;
    --dark2: #47111150;
    --dark-red: #7B2323;
    --font: "Cormorant Garamond", serif;
    --text-font: "Nunito Sans";
    --h1: 40px;
    --h2: 32px;
    --h3: 24px;
    --h4: 20px;
    --body: 18px;
    --border-radius: 8px;
    --manager-nav-width: 250px;
    --manager-header-height: 128px;
}



html {
    height: 100%;
}

body {
    font-family: var(--font);
    background-color: var(--cream);
    margin: 0;
    height: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* role */
.section-title {
    background-color: var(--dark);
    color: var(--cream);
    margin: 0;
    padding: 10px;
    text-align: center;
}

.role-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.role-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: var(--light-cream);
    width: 180px;
    height: 180px;
}

.role-card button {
    width: 120px;
    height: 30px;
    font-size: 15px;
}

.role-icon {
    width: 80px;
    height: 90px;
}

/* login - password */
.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    top: 100px;
}

.circle {
    width: 8%;
    height: 8%;
}

.brevia {
    width: 80px;
    height: 20px;
}

.logo-wrapper {
    min-height: 100vh;
    min-height: 70dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    width: 325px;
    height: 350px;
    /* margin: 0 auto; */
    background-color: var(--light-cream);
    border-radius: var(--border-radius);
    box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    padding-bottom: 24px;
}

h2 {
    font-weight: 700;
    font-size: 30px;
    text-align: center;
}

/* Remove extra gap between logo and title in password screen */
/* .logo-wrapper h1 {
    margin-top: 0;
} */

input {
    border: solid 2px var(--black);
    border-radius: 4px;
    background-color: var(--white);
    color: var(--dark);
    width: 351px;
    height: 45px;
}

.input_wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    height: 40px;
    width: 100%;
}

.input_wrapper input {
    width: 100%;
    box-sizing: border-box;
}

.input_wrapper span {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--black);
    font-size: var(--h3);
}

label {
    display: block;
    font-size: var(--body);
    font-weight: 700;
    margin-bottom: 8px;
}

input::placeholder {
    font-family: var(--font);
    color: var(--light-gray);
    font-weight: 400;
    font-size: var(--body);
    padding-left: 10px;
}

.forgot-link {
    color: var(--black);
}

.submit,
button,
input[type="submit"] {
    width: 201px;
    height: 42.67px;
    border-radius: 5.87px;
    padding: 7.34px;
    gap: 7.34px;
    background-color: var(--orange);
    color: var(--dark);
    font-family: var(--text-font);
    font-size: var(--h3);
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: var(--dark-orange);
}

.emp_form,
.password_form {
    margin: 0 20px;
}

.emp_form button,
.password_form button {
    display: block;
    margin: 30px auto 0;
}

.emp_form button:not(:disabled),
.login-wrapper button:not(:disabled) {
    background-color: var(--dark-orange);
}


/* dashboard */
.dashboard-wrapper {
    margin: 20px;
}

.overview-wrapper h3 {
    color: #471111;
}

.dashboard-inner {
    margin: 1rem;
}

.dashboard-h1 {
    text-align: left;
    margin: 1rem 0;
    color: var(--dark);
}

.overview-inner {
    background-color: var(--dark-orange);
    height: 334px;
    /* width: 336px; */
    border-radius: var(--border-radius);
    display: grid;
    grid-template-columns: 150px 150px;
    grid-template-rows: 150px 150px;
    justify-items: center;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.lesson-completed,
.quiz-completed,
.average-score {
    background-color: var(--light-cream);
    color: var(--dark);
    width: 130px;
    height: 137px;
    display: flex;
    align-items: center;
    flex-flow: column;
    justify-content: center;
    border-radius: var(--border-radius);
}

.lesson-completed div,
.quiz-completed div,
.average-score div {
    font-size: 21px;
    font-weight: 700;
    font-style: bold;
}


.overview-inner button {
    width: 144px;
    height: 88px;
    font-family: var(--font);
    color: var(--light-normal);
    background-color: var(--dark);
    font-size: 28px;
    display: flex;
    align-items: center;
    border-radius: var(--border-radius);
}

.total-progress-inner {
    background-color: var(--orange);
    height: 110px;
    border-radius: var(--border-radius);
    /* padding: 14px; */
    display: grid;
    justify-content: center;
}

.total-progress-inner p {
    margin-bottom: 0;
    margin-top: 10px;
    color: #121212;
    font-size: 20px;
    font-weight: 700;
}

.total-progress-inner .total-progress-bar {
    width: 309px;
    height: 50px;
    background-color: var(--light-cream);
    border-radius: 46px;
    border: 1px solid var(--dark);
    overflow: hidden;
}


.total-progress-bar {
    width: 309px;
    height: 34px;
    background-color: var(--light-cream);
    border-radius: 21px;
    overflow: hidden;
}

.total-progress-bar-fill {
    height: 100%;
    background-color: var(--dark);
    border-radius: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.3s ease;
}

.pre-job-progress-bar-fill {
    height: 100%;
    background-color: var(--dark);
    border-radius: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.3s ease;
}

.total-progress-bar-fill span {
    color: var(--light-cream);
    font-size: 14px;
}

.pre-job-progress-bar-fill span {
    color: var(--light-cream);
    font-size: 24px;
}

.total-progress-inner progress::-webkit-progress-bar {
    background-color: var(--light-cream);
    /* Chrome/Safari */
    border-radius: var(--border-radius);
}

.total-progress-inner progress::-webkit-progress-value {
    background-color: var(--dark);
    border-radius: 21px;
    overflow: hidden;
}

.progress-bars-inner {
    height: 334px;
    background-color: var(--light-cream);
    border-radius: var(--border-radius);
    overflow-y: auto;
    margin-top: 20px;
    display: grid;
    justify-content: center;
}

.progress-bars-inner h4 {
    font-weight: 700;
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 10px;
}

.progress-bars-inner progress,
.pre-job-progress-bar {
    width: 305px;
    height: 50px;
    background-color: var(--light-cream);
    border-radius: 46px;
    border: 2px solid var(--dark);
    overflow: hidden;
}

.progress-bars-inner progress::-webkit-progress-bar {
    background-color: var(--light-cream);
    /* Chrome/Safari */
    border-radius: var(--border-radius);
}

.progress-bars-inner progress::-webkit-progress-value {
    background-color: var(--dark);
    border-radius: 46px;
    overflow: hidden;
}

.schedule-inner {
    height: 816px;
    background-color: var(--light-cream);
    overflow: auto;
    border: 2px solid #121212;
    border-radius: var(--border-radius);
    margin-top: 30px;
    display: grid;
    justify-content: center;
}

.schedule-inner h2 {
    /* position: absolute; */
    position: sticky;
    top: 0;
    background: var(--light-cream);
    /* 背景色で下の内容と重ならないように */
    z-index: 1;
    padding: 10px 0;
    /* 上下の隙間 */
    margin: 0;
    color: var(--dark);
}

.schedule-card {
    width: 280px;
    height: 145px;
    border: 1px solid var(--dark);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-sizing: border-box;
    padding: 10px;
    color: var(--dark);
}

.schedule-title {
    font-weight: bold;
}

/* Employee Notification */

.notification-inner {
    /* width: 343px; */
    height: 650px;
    background-color: var(--light-cream);
    border-radius: var(--border-radius);
}

.notification-inner h2 {
    padding: 10px 0;
    position: sticky;
    top: 0;
    background: var(--light-cream);
    z-index: 1;
    color: var(--dark);
}

.notification-box {
    margin: 12px 16px;
    padding: 12px 14px;
    border: 1px solid var(--dark);
    border-radius: var(--border-radius);
    background-color: var(--light-cream);
    color: var(--dark);
    height: 148px;
    display: grid;
    align-content: space-between;
}

.notification-box p {
    margin: 0;

}

.notification-main {
    font-size: 20px;
}

.notification-date {
    margin-top: 6px;
    color: var(--dark);
    font-size: 12px;
    /* font-family: var(--text-font); */
    text-align: right;
}

.notification-empty {
    margin-top: 20px;
    text-align: center;
    color: var(--light-gray);
    font-size: var(--body);
}



/* header */
.header-logo {
    width: 48px;
    height: 48px;
}

.header-app-name {
    width: 81.84px;
    height: 26.12px;
}

.header-notification {
    width: 25px;
    height: 25px;
    color: var(--dark);
}

.header-notification-wrapper,
.manager-header-notification-wrapper {
    position: relative;
    border: none;
    background: transparent;
    width: auto;
    height: auto;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button.manager-header-notification-wrapper:hover {
    background-color: transparent;
}

.header-notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--dark-orange);
    border: 1px solid var(--light-cream);
}

.header-profile-icon {
    width: 25px;
    height: 25px;
    color: var(--dark);
}

.header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.header-left,
.header-right {
    display: flex;
    align-items: center
}

/* nav */
.nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    background-color: var(--dark);
    color: var(--white);
}

@media screen and (min-width:768px) {
    .nav {
        position: fixed;
        top: 17.5%;
        left: 30.2%;
        right: 0;
        width: 274px;
        height: 830px;
        z-index: 100;

        border-radius: 8px;
        border: 1px solid #000;
        background: var(--Dark-color-status-Dark-2, #2E2E2E);

    }
}

.nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.user-name {
    font-size: var(--h2);
    font-weight: bold;
    margin-bottom: 10px;
}

.user-info {
    font-size: 16px;
    font-family: var(--text-font);
}

.prof-icon img,
.manager-icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
    /* background-image: url("./images/"); */
}

.nav.profile-nav {
    background-color: #2E2e2E;
}

@media screen and (min-width: 768px) {
    .manager-icon {
        width: 150px;
        height: 150px;
    }
}

.nav_list {
    height: auto;
    width: 100%;
    padding: 0;
    margin: 0;
    font-size: var(--h3);
    cursor: pointer;
}

.nav-logo {
    margin-top: 50px;
    margin-bottom: 50px;
}

.nav_list .row {
    max-width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align-last: left;
    margin-bottom: 40px;
    padding: 0 25%;
}

/* Manager-specific nav alignment */
.manager-nav .nav_list .row,
.manager-prof-nav .nav_list .row {
    justify-content: space-between;
    padding: 0 16px;
}

.manager-nav .dropdown-list .dropdown-item,
.manager-prof-nav .dropdown-list .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 16px;
    height: 60px;
}

.nav_list .row:hover,
.dropdown-list .dropdown-item:hover {
    cursor: pointer;
    background-color: var(--cream);
    color: var(--dark);
    border-radius: 48px 0 0 48px;
    box-shadow: 7px 0 10px 0 rgba(0, 0, 0, 0.25) inset;
}

li {
    list-style: none;
}

/* profile */
.profile-wrapper {
    margin: 20px;
}

.nav_title {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: var(--h3);
    margin-bottom: 40px;
}

.profile-wrapper p {
    font-family: var(--text-font);
}

.profile-wrapper p:last-child {
    font-style: italic;
}

.prof-setting-content {
    background-color: var(--light-cream);
    border-radius: var(--border-radius);
    box-shadow: 4px 4px 4px 0 rgba(71, 17, 17, 0.25);
    padding: 20px;
}

.btn-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.cancel {
    background-color: var(--light-cream);
    border: 2px solid var(--dark, rgba(18, 18, 18, 0.50));
}

/* General Training */
.card-header {
    border-radius: var(--border-radius)
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--dark);
    color: var(--light-normal);
    padding: 0 10px;
}

.items {
    background-color: #FFFDF6;
}

.card h3 {
    color: var(--dark);
    /* border-bottom: 1px solid black; */
    padding: 10px;

}

.pulldown-each {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid black;
}

.pulldown-each h3 {
    margin: 10px 0;
}

img.checkmark-done {
    margin-right: 10px;
}

.card-text-only {
    background-color: var(--dark2);
    border-radius: var(--border-radius);
    color: #12121250;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-color: #471111;
    margin-top: 20px;
}

.fa-chevron-down,
.fa-chevron-up {
    font-size: 30px;
}

.fa-caret-left,
.fa-chevron-left {
    font-size: 30px;
    color: var(--dark);
}

.fa-lock {
    font-size: 30px;
    color: #47111130;
}

.pulldown-each {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid black;
    /* margin-right: 10px; */
    height: 60px;
}

img.checkmark-done {
    width: 35px;
    height: 35px;
    margin-right: 10px;
}

/* Pre-job preparation */
.pre-job-wrapper {
    background-color: var(--light-cream);
    padding: 10px;
    border-radius: var(--border-radius);
}

.pre-job-wrapper h3 {
    color: var(--light-cream);
}

.pre-job-wrapper .card-header {
    margin-bottom: 20px;
}

.pre-job-card .card-header {
    background: linear-gradient(to bottom, #471111, #E36F31);
}

.start-quiz-button {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

/* progress!=100 */
.start-quiz-button button:disabled {
    background-color: var(--orange);
    color: #12121250;
    border: none;
    font-size: 15px;
    width: 189px;
}

/* progress=100% */
.start-quiz-button button:not(:disabled) {
    background-color: var(--dark-orange);
    color: #121212;
    border: none;
    font-size: 15px;
    width: 189px;
    cursor: pointer;
}


ul.item,
p.pre-job-item {
    padding: 0 20px;
}

.item li,
.pre-job-item {
    font-family: var(--text-font);
    font-weight: 700;
}

progress#progress-bar {
    width: 100vw;
    margin-left: calc(-1 * 20px);
    margin-right: calc(-1 * 20px);
    margin-bottom: 20px;
    border-radius: 0;
    height: 8px;

    background-color: #E5E5E5;
}

/* Chrome/Safari */
progress#progress-bar::-webkit-progress-bar {
    background-color: #E5E5E5;
    border-radius: 0;
}

progress#progress-bar::-webkit-progress-value {
    background-color: var(--dark);
    /* 進捗色 */
    border-radius: 0;
}

/* quiz intro */

.quiz_intro1 {
    font-size: 10px;
    color: var(--dark);
    border: 1px solid var(--cream);
    border-bottom: none;
    width: 58px;
    height: 15px;
    text-align: center;
    align-content: center;
    font-weight: bold;
    position: relative;
    bottom: -7.5px;
    right: -8px;
    z-index: 1;
    background-color: var(--cream);
}

.quiz_intro2 {
    /* width: 334px; */
    font-size: 13px;
    height: 35px;
    color: var(--light-normal);
    background-color: var(--dark);
    text-align: center;
    align-content: center;
    font-weight: bold;
}

.quiz_intro3 {
    /* width: 334px; */
    font-size: 13px;
    height: 23px;
    color: var(--light-normal);
    background-color: #121212;
    text-align: center;
    align-content: center;
    font-weight: bold;
}

.quiz_intro1,
.quiz_intro2,
.quiz_intro3 {
    margin: 0;
    border-radius: 2.5px;
}

.quiz_intro_rule,
.quiz_intro_explanation {
    font-size: 13px;
    background-color: var(--light-cream);
    padding: 10px;
    border: 2px solid var(--dark);
    border-radius: 4.5px;
    margin-top: 30px;
}

.quiz_intro_rule ul,
.quiz_intro_explanation ul {
    padding-left: 20px;
}

.quiz_intro_explanation {
    margin-bottom: 100px;
}

.quiz_introduction button {
    background-color: var(--dark-orange);
    border: none;
    font-weight: bold;
}

/* quiz */

.quiz-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

div#timer {
    width: 96px;
    height: 24px;
    font-size: 20px;
    background-color: #fffefa;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 4px 4px 4px 0px #00000040 inset;

}

.quiz_main_section {
    display: flex;
    flex-direction: row;
    padding: 34.41px;
    justify-content: center;
}

.quiz_card {
    background-color: var(--light-cream);
    width: 218px;
    height: 423px;
    border-radius: var(--border-radius);
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 32px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.quiz_card button {
    height: 70.98px;
    background-color: var(--dark-orange);
    border-color: var(--dark-orange);
    font-size: 18px;
}

.quiz_main_quiz_title {
    font-size: 22.94px;
}

.quiz_intro_rule li,
.quiz_intro_explanation li {
    list-style-type: disc;
}

/* Quiz.js */

.quiz_progress_wrapper {
    display: flex;
    align-items: center;
}

.quiz_progress {
    padding: 16px;
    /* same as .quiz_answer */

    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    flex-direction: row;
    gap: 32px;
}

.fa-chevron-Right {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    font-size: 24px;
    color: var(--dark);
    margin-left: 8px;
}

.progress_btn {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 75px;

    padding: 0;
}

.quiz_object {
    padding: 16px;
}

.quiz_question {
    background-color: var(--light-cream);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.quiz_question_box {
    border: 1px solid var(--dark);
    border-radius: var(--border-radius);
    width: 250px;
    height: 116px;
    padding: 8px;
    text-align: center;
    align-content: center;
}

.quiz_question_box p {
    font-size: 18px;
    font-weight: bold;
    color: var(--dark);
}

.quiz_question_label {
    width: 250px;
    font-size: 14px;
    font-weight: bold;
    color: var(--dark);
}

.next_btn {
    background-color: var(--orange) !important;
}

.next_btn.active{
    background-color: var(--dark-orange) !important;
}

.quiz_answer {
    background-color: var(--light-cream);
    padding: 16px 16px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5.72px;
}

.answer_btn {
    background-color: var(--light-cream);
    color: var(--dark);
    border: 3px solid var(--dark);
    border-radius: var(--border-radius);
    width: 290px;
    min-height: 28px;
    padding: 6px 10px;
    /* 上下左右の余白 */
    box-sizing: border-box;
    height: auto;
    font-size: 13px;
    font-weight: bold;
    text-align: left;
    display: flex;
    align-items: center;
    /* 縦中央 */
    justify-content: flex-start;
    /* 左寄せのまま */
    padding-left: 10px;
}

.answer_btn:hover{
    background-color: var(--orange);
}

.answer_btn.selected {
    background-color: var(--dark);
    color: var(--light-normal);
}



/* result page */

.result_card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result_title h2 {
    color: var(--dark);
    text-align: left;
}

.resultChart {
    text-align: center;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    /* gap: 0; */
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

.resultChart p {
    font-size: 24px;
    margin: 0;
}

.resultDashboard p {
    font-size: 30px;
    color: var(--dark);
}

.resultCircle h1 {
    font-size: 50px;
    margin: 0;
}

.result_info_cards {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

.result_info_card {
    background-color: var(--light-cream);
    width: 210px;
    height: 257px;
    color: var(--dark);
    border-radius: 8px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.result_info_card_result {
    background-color: var(--orange);
}

.result_info_label {
    font-size: 28px;
}

.result_info_card h3 {
    font-size: 40px;
    font-family: "Nunito Sans";
    margin: 1px 0;
}

.result_info_value {
    font-size: 64px;
    font-family: "Cormorant Garamond";
}

.employee_feedback_view-btn_wrapper {
    margin-top: 64px;
    margin-bottom: 48px;
}

.employee_feedback_return_btn {
    background-color: var(--light-normal);
    height: 48px;
    border: solid 1px var(--dark);
}

.employee_feedback_next_btn {
    background-color: var(--dark-orange);
    height: 48px;
}

/* employee feedback view */

.employee-feedback-view-wrap {
    background-color: #E5E0D1;
    margin: 0 -20px;
    width: calc(100% + 40px);
    min-height: calc(200vh - 100px);
    padding: 20px 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.employee-feedback-view-wrap button {
    background: none;
}

.employee-feedback-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.employee-feedback-close img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.employee-feedback-view-title {
    font-size: 24px;
    color: var(--dark);
    text-align: center;
    font-weight: bold;
}

.employee-feedback-view-subtitle {
    columns: var(--dark);
    font-size: 20px;
    margin-bottom: 80px;
}

.employee_feedback_view {
    width: 328px;
    height: 399px;
    border-radius: 8px;
    background-color: var(--light-cream);
    padding: 0;
    box-sizing: border-box;
}

.employee_feedback_view {
    width: 100%;
    height: calc(100vh - 550px);
}

.employee_feedback_view textarea {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    background-color: var(--light-cream);
    padding: 12px;
    resize: none;
    box-sizing: border-box;
    font-family: var(--text-font);
    font-size: 16px;
    color: var(--dark);
}


/* manager side */
/* dashboard */
.manager-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 200px;

    width: var(--manager-nav-width);
    background-color: var(--dark);
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
}
.manager-nav-inner {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

.manager-dashboard-box {
    position: fixed;
    top: calc(var(--manager-header-height) + 20px);
    left: calc(var(--manager-nav-width) + 20px);
    right: 20px;
    bottom: 20px;
    width: calc(100% - var(--manager-nav-width) - 150px);
    height: calc(100vh - var(--manager-header-height) - 40px);
    overflow: hidden;
    padding: 24px;
    z-index: 90;

    display: grid;
    grid-template-columns: 55% 45%;
    gap: 24px;  
    grid-template-rows: auto auto auto auto;
}

.manager-dashboard-box p {
    color: var(--dark);
    
}

.manager-dashboard-box h2{
    grid-column: 1 / -1;
    margin: 0;

    text-align: left;
    color: var(--dark);

    display: flex;
    align-items: flex-end;
}

/* collapsed state: center icons and logo */
.manager-nav.collapsed .nav_list .row {
    justify-content: center;
    padding: 0;
}

.manager-nav.collapsed .nav-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
}

.manager-nav.collapsed .nav-icon {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
}

.manager-prof-nav {
    position: fixed;
    top: var(--manager-header-height);
    left: var(--manager-nav-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 128px);
    width: 250px;
    margin: 5px;
    border-radius: var(--border-radius);
    background-color: #2E2E2E;
    color: var(--white);
}

.manager-prof-nav .nav-wrapper {
    margin-bottom: 10px;
}

.manager-prof-nav .nav_list {
    margin-top: 20px;
}

.manager-dashboard-inner {
    position: fixed;
    top: 0;
    left: var(--manager-nav-width);
    right: 0;
    height: var(--manager-header-height);
    z-index: 100;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
    background-color: var(--cream);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.manager-dashboard-dashboard{
    display: flex;
    gap: 16px;
}

.manager-dashboard-dashboard-left {
    display: flex;
    gap: 36px;
    background-color: var(--dark-orange);
    border-radius: 8px;
    padding: 48px 56px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);

    height: 280px;
}

.total-employee-number{
    background-color: var(--light-cream);
    border-radius: 8px;
    padding: 40px 0;
    gap: 8px;

    flex: 1;

    display: grid;
    grid-template-rows: 60px 1fr auto;
    justify-content: space-evenly;
    justify-items: center;
    align-items: center;
    gap: 0;

    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
}

.manager-dashboard-total-employee {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    color: var(--dark);

    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.manager-dashboard-total-number {
    font-size: 48px;
    font-weight: bold;
    font-family: var(--text-font);
    margin: 0;
}


.manager-dashboard-quiz-completion-rate {
    background-color: var(--orange);
    border-radius: 8px;
    padding: 48px 0;
    gap: 8px;

    flex: 1;

    display: grid;
    grid-template-rows: 60px 1fr auto;
    justify-content: space-evenly;
    justify-items: center;
    align-items: center;

    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
}

.manager-dashboard-dashboard-passrate-title{
    background-color: var(--light-cream);
    border-radius: 8px;
    padding: 48px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    height: 280px;

    display: grid;
}

.passrate-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-top: 30px;
}

.passrate-title p {
    font-size: 24px;
    font-weight: bold;
}

/* donut chart for pass rate */
.donut-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.donut-chart{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);

}

.donut-inner {
    width: 120px;
    height: 120px;
    background-color: var(--light-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.15);
}

.donut-inner p {
    font-size: 42px;
    font-weight: bold;
    color: var(--dark);
    font-family: var(--text-font);
}

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 16px;
}

.legend-box {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 8px;
    border-radius: 4px;
}

.legend-box.pass {
  background-color: #98AC64;
}

.legend-box.fail {
  background-color: #C50404;
}

/* dashboard overview */

.manager-dashboard-overview {
    grid-column: 1 / -1;

    max-height: 300px;
    overflow-y: auto;
    min-height: 0;
}
.overview-table{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.overview-table thead{
    background-color: var(--dark);
}

.overview-table thead th{
     color: var(--light-normal);
     font-weight: bold;
     text-align: center;
     font-size: 24px;
     padding: 16px;
     background-color: var(--dark);

     border-right: 1px solid var(--light-cream);

     position: sticky;
     top: 0;
     z-index: 100;
}

.overview-table thead th:last-child{
    border-right: none;
}

.overview-table tbody{
    background-color: var(--light-cream);
}

.overview-table tbody td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    font-family: var(--text-font);
    padding: 16px;
    text-align: center;
    font-size: 15px;
    color: var(--dark);
}

.overview-table tbody tr:last-child td {
  border-bottom: none;
}

.overview-table thead th:first-child {
  border-top-left-radius: 8px;
}

.overview-table thead th:last-child {
  border-top-right-radius: 8px;
}

.overview-status{
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: normal;
}

.overview-status.finished {
    background-color: var(--cream);
    color: #005F04;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

.overview-status.progress{
    background-color: var(--cream);
    color: var(--dark-red);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

/* header */
.header-right {
    gap: 15px;
}

button.header-notification-wrapper {
    background: transparent;
}

/* profile */
.manager-prof-setting-content {
    margin-top: calc(var(--manager-header-height) *3);
    position: fixed;
    left: calc(var(--manager-nav-width) * 2);
}

/* When the manager nav is collapsed, nudge profile content slightly right. */
.manager-nav.collapsed ~ .manager-prof-setting-content {
    left: calc((var(--manager-nav-width) * 4.5) );
}

.manager-nav.collapsed ~ .manager-pw-change {
    left: calc((var(--manager-nav-width) * 4.5) );
}

.manager-pw-change {
    margin-top: calc(var(--manager-header-height) *2);
    position: fixed;
    left: calc(var(--manager-nav-width) * 2);
    width: 60%;
}



/* Manager feedback employee list */
.manager_feedback_list {
    position: fixed;
    top: var(--manager-header-height);
    left: var(--manager-nav-width);
    right: 0;
    /* height: var(--manager-header-height); */
    z-index: 100;

    grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 450px));
  justify-content: center;
  justify-items: center;
  align-content: start;
  gap: 32px;
  padding: 100px 24px;
  box-sizing: border-box;
  overflow-y: auto;
  display: grid;
  position: fixed;
  right: 0;
  bottom: 0;
}


.manager_employee_card {
    background-color: var(--light-cream);
    border: 1px solid var(--dark);
    border-radius: var(--border-radius);
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.25);

    display: flex;
    gap: 32px;
    align-items: center;

    padding-left: 16px;
    width: 100%;
    max-width: 400px;
    height: 68px;
    box-sizing: border-box;
}

.manager_employee_card span {
    font-size: 20px;
    font-family: var(--font);
    font-weight: bold;
}

/* Manager feedback quiz list */
.manager_feedback_quiz_box {
    position: fixed;
    top: var(--manager-header-height);
    left: var(--manager-nav-width);
    right: 0;
    height: var(--manager-header-height);

    height: auto;
    padding: 42px;
    border: none;
    background-color: var(--light-normal);

    display: grid;
    grid-template-columns: 39% 61%;
}

.manager_selected_employee_card {
    background-color: var(--light-cream);
    width: 240px;
    height: 280px;

    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 100px auto;
    border-radius: var(--border-radius);
}

.manager_feedback_select_employee {
    font-size: 24px;
    color: var(--dark);
    font-weight: bold;
}

.manager_feedback_quizlist_employee {
    color: var(--dark);
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: bold;
}

.manager_selected_employee_photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.manager_feedback_quiz {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.manager_feedback_quiz_list {
    background-color: var(--light-cream);
    border-radius: var(--border-radius);
    box-shadow: 4px 4px 4px 0 rgba(71, 17, 17, 0.25);
    height: 502px;
    width: 305px;

}

.manager_quiz_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 18px;
    height: 100%;

}

.manager_quiz_image {
    border-radius: var(--border-radius);
    height: 200px;
    width: 273px;
}

.manager_quiz_card button {
    width: 100%;
    height: 73px;
    background-color: var(--dark-orange);
    border: none;
}

.manager_quiz_card p {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 3px;
}

/* Manger feedback form */


.manager_feedback_form_box {
    position: fixed;
    top: var(--manager-header-height);
    left: var(--manager-nav-width);
    right: 0;
    height: var(--manager-header-height);


    height: auto;
    padding: 42px;
    /* border: none; */
    background-color: var(--light-normal);

    display: grid;
    grid-template-columns: 39% 61%;
}

.manager_feedback_input_quiztitle {
    font-size: 24px;
    color: var(--dark);
    font-weight: bold;
    text-align: center;
}

.manager_feedback_inputtitle {
    font-size: 24px;
    color: var(--dark);
    font-weight: bold;
}

.feedback_template {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    width: 100%;
}

.template_btn {
    background-color: var(--light-cream);
    font-size: 16px;
    flex: 1 1 auto;
    max-width: calc(50% - 10px);
    /* min-width: calc(50% - 10px); */
    min-width: fit-content;
    box-sizing: border-box;
    padding: 10px 18px;
    border: none;
    border-radius: 16px;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    font-size: 18px;
    font-weight: 500;
    align-items: flex-start;
    height: fit-content;
}

.template_btn:hover{
    background-color: var(--orange);
}

.manager_feedback_box {
    width: 100%;
    height: 366px;
    border: 1px solid var(--dark);
    border-radius: 8px;
    background-color: var(--light-cream);
    font-size: 18px;

    margin-top: 28px;
    padding: 12px 16px;
    box-sizing: border-box;
}

.manager_feedback_submit_btn {
    height: 72px;
    width: 302px;
}

.feedback_alert {
    position: fixed;
    top: 135px;
    left: calc(50% + (var(--manager-nav-width) / 2));
    transform: translateX(-50%);
    background-color: #7B2323;
    color: var(--light-cream);
    border-radius: var(--border-radius);
    z-index: 200;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 70px;
    font-size: 20px;
    padding: 0 20px;
}

.alert_close {
    background: transparent;
    border: none;
    color: var(--light-cream);
    font-size: 16px;
    cursor: pointer;

    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    cursor: pointer;
}

.alert_close:hover{
    background: transparent;
}

/* lesson */
/* upload */
.upload-lesson {
    position: fixed;
    top: var(--manager-header-height);
    left: var(--manager-nav-width);
}

.select-training {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.select-training input {
    width: 20px;
    height: 20px;
    accent-color: var(--black);
}

.select-training label {
    display: flex;
    align-items: center;
}

.upload-wrapper {
    display: flex;
    width: 1100px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    /* height: 544px;
    overflow-y: auto; 
    scrollbar-width: thin; */
    /* margin: 150px 400px; */
    /* margin-left: calc(400px + var(--manager-nav-width)); */
}

/* keep the action button visible inside the upload area
.upload-wrapper {
    position: relative;
}

.upload-wrapper > button {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
    min-width: 180px;
} */

.upload-inner {
    display: flex;
    width: 600px;
    padding: 24px;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    max-height: calc(100vh - var(--manager-header-height) - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.upload-inner label {
    display: flex;
    flex-direction: column;
}

.upload-inner p {
    margin: 0;
    text-align: right;
}

.content-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

.content-inner label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.content-inner .content {
    height: 130px;
}

.content-inner p {
    display: flex;
    align-items: center;
    gap: 3px;
    justify-content: end;
}
/* .upload-inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-inner .img-icon {
    display: block;
    margin: 0 auto 16px;
    width: 50px;
    height: 50px;
    color: var(--dark);
    margin-bottom: 20px;
} */

.upload-file {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
    border: 1.5px dashed var(--Secondary-Dark-1, #CCC7BA);
    background-color: var(--light-cream);
    padding: 10px;
    width: 339px;
}

.upload-file .img-icon {
    display: block;
    margin: 0 auto 16px;
    width: 50px;
    height: 50px;
    color: var(--dark);
    margin-bottom: 20px;
}

.add-more {
    /* background: none;
    border: none;
    text-decoration-line: underline; */
    font-family: var(--text-font);
    font-size: 16px;
    background-color: var(--orange2);
    display: flex;
    width: 200px;
    height: 36.066px;
    justify-content: center;
    align-items: center;
    align-self: center;
    margin: 10px 0;
    padding: 10px;
    gap: 8.015px;
}

.add-more:hover {
    background: none;
    background-color: transparent;
    border: none;
}

/* assign */
.assign-wrapper,
.assign-positions {
    box-sizing: border-box;
    position: fixed;
    top: calc(var(--manager-header-height) + 200px);
    left: var(--manager-nav-width);
    right: 0;
    bottom: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: auto;
    align-items: flex-start;
    background: transparent;
    max-width: calc(100vw - var(--manager-nav-width));
    max-height: calc(100vh - var(--manager-header-height));
}

.assign-title {
    position: fixed;
    top: calc(var(--manager-header-height) + 16px);
    left: calc(var(--manager-nav-width) + 16px);
    text-align: left;
    font-size: var(--h3);
    z-index: 110;
    margin: 0;
}

.assign-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.assign-inner ul,
.position-wrapper ul {
    display: flex;
    flex-direction: row;
    gap: 40px;
    padding-left: 0;
}

.assign-inner li,
.position-wrapper li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-content: flex-end;
    gap: 40px;
    padding: 16px;
    background-color: var(--light-cream);
    border-radius: var(--border-radius);
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.assign-inner input,
.position-wrapper input {
    position: absolute;
    right: 9px;
    top: 11px;
    width: 20px;
    height: 20px;
}

.assign-positions p {
    font-size: var(--h3);
}

.flex-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 100px;
}

.success-message {
    display: flex;
    width: 628px;
    height: 103px;
    padding: 10px;
    align-items: center;
    gap: 10px;
    position: absolute;
    right: 272.777px;
    top: 135.791px;
    background-color: var(--dark-red);
    border-radius: var(--border-radius);
    color: var(--white);
    font-size: 20px;
    font-family: var(--text-font);
}

/* library */
.library-wrapper {
    box-sizing: border-box;
    position: fixed;
    top: var(--manager-header-height);
    left: var(--manager-nav-width);
    right: 0;
    bottom: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: auto;
    background: transparent;
    /* ensure library area doesn't overflow nav/header */
    max-width: calc(100vw - var(--manager-nav-width));
    max-height: calc(100vh - var(--manager-header-height));
}

.general-training h3,
.positional-training h3 {
    font-size: var(--h3);
}

.general-training ul,
.positional-training ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 16px;
    margin: 0;
    width: 100%;
    min-height: 180px;
    max-height: calc(100vh - var(--manager-header-height) - 120px);
}

.general-training li,
.positional-training li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
    padding: 16px;
    background-color: var(--light-cream);
    border-radius: var(--border-radius);
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.library-wrapper .lists {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    width: 100%;
}

/* ID management */
.managementID-wrapper {
    position: fixed;
    top: var(--manager-header-height);
    left: var(--manager-nav-width);
    font-size: var(--h3);
    margin: 0 24px;
}

.managementID-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.managementID-inner label {
    display: flex;
    flex-direction: column;
    font-family: var(--text-font);
    color: var(--dark);
}

.managementID-inner p {
    color: var(--dark);
    font-weight: 400;
    font-size: 16px;
    margin: 0;
}