/* USER DASHBOARD */
.user-dashboard {
    padding: 100px 0;
    background: linear-gradient(180deg, #F8FFF5 0%, #FFFFFF 100%);
}

.user-dashboard-inner {
    max-width: 840px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    box-shadow: 2px 2px 10px 2px #979ea380;
    border-radius: 20px;
    display: flex;
    align-items: stretch;
}

.user-dashboard-sidebar {
    width: 232px;
    border-radius: 20px 0px 0px 20px;
    background: #F8F8F8;
}

.user-dashboard-content {
    width: 100%;
    flex: 1;
}

.sidebar-mobile-wrapper {
    display: none;
}

.sidebar-dropdown {
    position: relative;
    height: 62px;
    padding: 0 25px;
    display: flex;
    align-items: center;
}

.sidebar-dropdown .btn-dropdown {
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-dropdown .btn-dropdown .content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-dropdown .btn-dropdown .label {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 17.71px;
    text-align: left;
    color: #4DBEEE;
}

.dropdown-menu-dashboard {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 0 25px;
    background: #F8F8F8;
    border-top: 1px solid #0000001A;
    z-index: 1;
}

.dropdown-menu-dashboard .menu-item {
    padding: 16px 0;
    border-bottom: 1px solid #0000001A;
}

.dropdown-menu-dashboard .menu-item:last-child {
    border-bottom: none;
}

.dropdown-menu-dashboard .menu-item a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown-menu-dashboard .menu-item a .text {
    font-size: 14px;
    font-weight: 400;
    line-height: 17.71px;
    text-align: left;
    color: #000000;
}

.dropdown-menu-dashboard .menu-item.active a .text {
    color: #4DBEEE;
}
/* END USER DASHBOARD */

/* USER DASHBOARD SIDEBAR */
.user-dashboard-sidebar .sidebar-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.user-dashboard-sidebar .sidebar-main {
    flex: 1;
    height: 100%;
}

.user-dashboard-sidebar .sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
}

.user-dashboard-sidebar .sidebar-nav .menu-item {
    padding: 18px 0px 18px 8px;
    border-bottom: 1px solid #0000001A;
}

.user-dashboard-sidebar .sidebar-nav .menu-item:last-child {
    border-bottom: 0;
}

.user-dashboard-sidebar .sidebar-nav .menu-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 17.71px;
    color: #000;
}

.user-dashboard-sidebar .sidebar-nav .menu-item.active a,
.user-dashboard-sidebar .sidebar-nav .menu-item a:hover {
    color: var(--primary-color);
}

.user-dashboard-sidebar .sidebar-nav .menu-item.active a {
    font-weight: 700;
}

.user-dashboard-sidebar .sidebar-nav .menu-item a .icon {
    display: inline-flex;
}

.user-dashboard-sidebar .sidebar-bottom {
    padding: 0 24px 24px;
    margin-top: 48px;
}

.user-dashboard-sidebar .sidebar-bottom .btn-logout {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 17.71px;
}
/* END USER DASHBOARD SIDEBAR */

/* USER PROFILE */
.user-profile .title {
    font-size: 14px;
    font-weight: 500;
    line-height: 19.6px;
    margin-bottom: 20px;
}

.user-edit-profile {
    padding: 30px;
    padding-bottom: 38px;
    border-bottom: 1px solid #0000001A;
}

.user-edit-profile .form-image-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-edit-profile .form-image-wrapper .image-avatar {
    width: 140px;
    height: 140px;
}

.user-edit-profile .form-image-wrapper .image-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #0000001A;
    object-fit: cover;
}

.user-edit-profile .form-image-wrapper .btn-change-image {
    width: 117px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 5px;
    background: #EFAB20;
    font-size: 12px;
    font-weight: 700;
    line-height: 15.18px;
    color: #fff;
    cursor: pointer;
}

.user-edit-profile .form-image-wrapper .btn-change-image .icon {
    display: inline-flex;
}

.user-edit-profile .form-btn-group {
    margin-top: 16px;
}

.user-edit-profile .form-input-label {
    font-weight: 400;
}

.user-edit-profile .form-input-control {
    color: #000000D9;
}

.user-edit-profile .btn-edit-profile {
    width: 131px;
    height: 42px;
    border: 1px solid #0000001A;
    background: #066754;
    margin: 0;
    border-radius: 6px;
    color: #FCFDFF;
    font-size: 13px;
    font-weight: 500;
    line-height: 16.45px;
    text-align: center;
}

.user-edit-profile .btn-change-password {
    margin-left: 8px;
    width: 166px;
    height: 42px;
    background: #FAFAFA;
    border: 1px solid #0000001A;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    line-height: 16.45px;
    color: #000000D9;
}

.user-profile-info {
    padding: 30px;
}

.user-info-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
}

.user-info-item .txt-label {
    font-size: 12px;
    font-weight: 400;
    line-height: 15.18px;
    margin-bottom: 8px;
}

.user-info-item .value {
    font-size: 13px;
    font-weight: 700;
    line-height: 16.45px;
    color: #000000D9;
}
/* END USER PROFILE */

/* EXAM HISTORY */
.exam-history {
    padding: 30px;
}

.exam-history .title {
    font-size: 14px;
    font-weight: 500;
    line-height: 19.6px;
    margin-bottom: 30px;
}
/* END EXAM HISTORY */

/* REGISTER TEST MARK */
.register-test-mark {
    padding: 30px;
}

.register-test-mark .title {
    font-size: 14px;
    font-weight: 500;
    line-height: 19.6px;
    margin-bottom: 30px;
}

.number-turn-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    margin-bottom: 30px;
}

.number-turn-wrapper .txt-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 17.71px;
    margin-bottom: 12px;
}

.number-turn-wrapper .value {
    font-size: 18px;
    font-weight: 700;
    line-height: 22.77px;
}

.number-turn-wrapper .btn-register-turn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #0000001A;
    font-size: 14px;
    font-weight: 400;
    line-height: 17.71px;
    color: #F05404;
}

.table-register-test-mark thead th:first-child {
    padding-left: 20px;
}

.table-register-test-mark tbody td:first-child {
    padding-left: 24px;
}

.table-register-test-mark tbody td:last-child {
    /* padding-right: 24px; */
}

.table-register-test-mark tbody td span {
    font-size: 12px;
    font-weight: 400;
    line-height: 15.18px;
}

.table-register-test-mark tbody td span a {
    font-weight: 400;
    color: #000000D9;
    text-decoration: underline;
}

.table-register-test-mark tbody td .btn-register {
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #0000001A;
    border-radius: 10px;
    color: #4DBEEE;
    text-decoration: none;
}

.text-center {
    text-align: center;
}

.table-register-test-mark tbody td .request-grading {
    padding: 10px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    line-height: 14.63px;
}

.table-register-test-mark tbody td .request-grading.register {
    background: #4DBEEE1A;
    color: #4DBEEE;
}

.table-register-test-mark tbody td .request-grading.in-progress {
    background: #0DA8231A;
    color: #0DA823;
}

.table-register-test-mark tbody td .request-grading.success {
    background: #EFAB201A;
    color: #EFAB20;
}
/* END REGISTER TEST MARK */

/* MANAGE PACKAGE */
.manage-package {
    padding: 30px;
}

.manage-package h2.title {
    font-size: 14px;
    font-weight: 500;
    line-height: 19.6px;
    margin-bottom: 30px;
}

.manage-package .package-item {
    padding: 30px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.manage-package .package-item .item-title {
    font-size: 14px;
    font-weight: 400;
    line-height: 17.71px;
    margin-bottom: 16px;
}

.manage-package .package-item .package-item-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.manage-package .package-item .package-item-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}

.manage-package .package-item .box-image {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3763E7;
    border-radius: 10px;
}

.manage-package .package-item .title {
    font-size: 18px;
    font-weight: 700;
    line-height: 22.77px;
    color: #3763E7;
    margin-bottom: 8px;
}

.manage-package .package-item .sub-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 16.45px;
    color: #000000D9;
    display: block;
    margin-bottom: 20px;
}

.manage-package .package-item .time span {
    font-size: 13px;
    font-weight: 400;
    line-height: 16.45px;
}

.manage-package .package-item .status {
    margin-top: 10px;
    display: inline-block;
    padding: 10px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    line-height: 15.18px;
}

.manage-package .package-item .status.success {
    color: #0CA121;
    background-color: #25CD3D1A;
}

.manage-package .package-item .btn-re-register {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid #0000001A;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    line-height: 17.71px;
    color: #F05404;
}

.manage-package .package-item.history .box-image,
.manage-package .package-item.history .box-content-top {
    opacity: 0.5;
}

.package-item-empty {
    text-align: center;
}

.package-item-empty p {
    margin-bottom: 0;
    font-weight: bold;
    font-size: 12px;
}
/* END MANAGE PACKAGE */

/* CHANGE PASSWORD */
.change-password {
    padding: 30px;
}

.change-password .title {
    font-size: 14px;
    font-weight: 500;
    line-height: 19.6px;
    margin-bottom: 30px;
}

.change-password .form-btn-group {
    margin-top: 24px;
}

.change-password .btn-change-password {
    width: 131px;
    height: 42px;
    border: 1px solid #0000001A;
    background: #3763E7;
    margin: 0;
    border-radius: 6px;
    color: #FCFDFF;
    font-size: 13px;
    font-weight: 400;
    line-height: 16.45px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .user-dashboard-inner {
        flex-direction: column;
    }
    .user-dashboard-sidebar {
        width: 100%;
        border-radius: 0;
    }
    .user-dashboard-sidebar .sidebar-wrapper {
        display: none;
    }
    .sidebar-mobile-wrapper {
        display: block;
    }

    .user-edit-profile {
        padding: 30px 15px;
    }
    .user-edit-profile .btn-edit-profile {
        width: 120px;
    }
    .user-edit-profile .btn-change-password {
        width: 140px;
    }
    .user-profile-info {
        padding: 30px 15px;
    }
    .user-info-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    .change-password {
        padding: 30px 15px;
    }

    .exam-history {
        padding: 30px 15px;
    }

    .register-test-mark {
        padding: 30px 15px;
    }
    .number-turn-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .number-turn-wrapper .turn-content {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
    }
    .number-turn-wrapper .txt-label {
        margin-bottom: 0;
    }
    .table-common tbody td.btn-group {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .manage-package {
        padding: 30px 15px;
    }
    .manage-package .package-item .package-item-wrapper {
        flex-direction: column;
    }
}
