@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html,
body,
.wrapper {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    color: var(--clr-text);
    overflow-x: hidden;
}

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

.noselect {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

:root {

    --clr-primary: #2B4F65;
    --clr-secondary: #00AB85;
    --clr-secondary-dark: #038e6d;
    --clr-tertiary: #B3E1E3;
    --clr-fourth: #EF9141;
    --clr-text: #323232;

    --clr-gray-primary: #D3D3D3;
    --clr-gray-secondary: #ADADAD;
    --clr-gray-tertiary: #E5E5E5;
    --clr-gray-fourth: #ECECEC;

    --clr-danger: rgba(255, 0, 0, .8);
    --clr-danger-soft: rgba(255, 0, 0, .2);
    --clr-success: rgba(0, 171, 133, .8);
    --clr-success-soft: rgba(0, 171, 133, .2);
    --clr-information: rgba(239, 145, 65, .8);
    --clr-information-soft: rgba(239, 145, 65, .2);

    --radius-primary: 6px
}


.wrapper .content {
    height: 100%;
    width: calc(100% - 250px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.wrapper .content .inner-content {
    width: 100%;
    height: auto;
    display: flex;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

.wrapper .content .inner-content.dashboard {
    padding: 50px 50px 0 50px;
    flex-direction: column;
    align-items: center;
}

.wrapper .content .inner-content.column {
    display: flex;
}

/* CHARTS */

.overflow-chart {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .5;
}

.class-list .overflow-chart {
    z-index: -1;
    opacity: 1;
}

.overflow-chart svg {
    overflow: visible;
}


/* ALERTS */

.success {
    background-color: var(--clr-success-soft);
    color: var(--clr-success);
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
}

.danger {
    background-color: var(--clr-danger-soft);
    color: var(--clr-danger);
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
}
/* ALERTS */

.success,
.warning,
.error,
.information {
    position: fixed;
    top: 20px;
    right: 20px;
    margin-left: 30px;
    width: auto;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    min-height: 40px;
    box-shadow: rgb(0 0 0 / 15%) 0px 2px 8px;
    cursor: default;
}

.success img,
.warning img,
.error img,
.information img {
    width: 18px;
    opacity: .75;
    transition: opacity .2s;
    margin-right: 10px;
}

.success:hover img,
.warning:hover img,
.error:hover img,
.information:hover img {
    opacity: 1;
}

.success .close-alert,
.warning .close-alert,
.error .close-alert,
.information .close-alert {
    transform: rotate(45deg);
    font-weight: 500;
    cursor: pointer;
    transition: transform .3s;
    will-change: transform;
    margin-left: 18px;
}

.success .text b,
.warning .text b,
.error .text b,
.information .text b {
    font-weight: 600;
}

.success .close-alert:hover,
.warning .close-alert:hover,
.error .close-alert:hover,
.information .close-alert:hover {
    transform: rotate(135deg);
}

.success {
    background-color: var(--clr-success-soft);
    color: var(--clr-success);
}

.success i:before {
    color: var(--clr-success);
}

.error {
    background-color: var(--clr-danger-soft);
    color: var(--clr-danger);
}

.error i:before{
    color: var(--clr-danger);
}

.warning {
    background-color: var(--clr-information-soft);
    color: var(--clr-information);
}

.warning i:before {
    color: var(--clr-information);
}

.information {
    background-color: var(--clr-information-secondary-soft);
    color: var(--clr-information-secondary);
}

.information i:before {
    color: var(--clr-information-secondary);
}

/* BUTTONS */

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 20px;
    gap: 10px;
    color: var(--clr-text);
    font-size: 14px;
    border: none;
    border-radius: var(--radius-primary);
    transition: color .2s, background-color .2s;
    cursor: pointer;
}

.button.single {
    width: 34px;
    height: 34px;
    padding: 0;
}

.button.primary {
    background-color: var(--clr-primary);
    color: #ffffff;
}

.button.secondary:hover {
    background-color: var(--clr-secondary-dark);
}

.button.secondary {
    background-color: var(--clr-secondary);
    color: #ffffff;
}

.button.gray {
    background-color: var(--clr-gray-tertiary);
}

.button.gray.active {
    background-color: var(--clr-secondary);
    color: #ffffff;
}

.button.gray.active:hover {
    background-color: var(--clr-secondary-dark);
}

.button.gray.active i::before {
    color: #ffffff;
}

.button.gray:hover {
    background-color: var(--clr-gray-primary);
}

.button.gray i::before,
.button.gray i span::before {
    color: var(--clr-text);
    font-size: 12px;
    transition: color .2s;
}

.button i::before,
.button i span::before {
    color: var(--clr-text);
    font-size: 12px;
}

.button.primary i::before,
.button.secondary i::before,
.button.primary span::before,
.button.secondary span::before {
    color: #ffffff;
}


/* INPUT */

form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

form .input-box.icon i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

form .input-box.icon .sm-eye-dash {
    display: none;
}

input {
    color: var(--clr-text);
}

input::placeholder {
    color: var(--clr-gray-secondary);
}

form.column-form {
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

form.column-form .image-input {
    min-width: 96px;
    min-height: 96px;
    height: 96px;
    width: 96px;
    border-radius: 10px;
    background-color: var(--clr-gray-tertiary);
    overflow: hidden;
    position: relative;
}

form.column-form .overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s, visibility .2s;
}

form.column-form .image-input.active .overlay {
    display: flex;
}

form.column-form .image-input.active .overlay i {
    font-size: 26px;
}

form.column-form .image-input.active:hover .overlay {
    opacity: 1;
    visibility: visible;
}

form.column-form .image-input img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

form.column-form .image-input input[type=file] {
    opacity: 0;
    position: absolute;
    z-index: -1;
    visibility: hidden;
    pointer-events: none;
}

form.column-form .image-input label {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

form.column-form .image-input i {
    font-size: 32px;
}

form.column-form .image-input i:before {
    color: rgba(0, 0, 0, .2);
    transition: color .2s;
}

form.column-form .image-input:hover i:before {
    color: rgba(0, 0, 0, .3);
}

form.column-form .text-input {
    width: 100%;
}

form.column-form button {
    width: 100%;
}

form.column-form input,
form.column-form select,
form.column-form button {
    height: 42px;
}

.input-box {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.input-file-box {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.input-file-box input[type=file] {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.input-file-box .upload-picture {
    background-color: var(--clr-gray-fourth);
    width: 92px;
    height: 92px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 32px;
    overflow: hidden;
    position: relative;
}

.input-file-box .upload-picture .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.input-file-box .upload-picture:hover .overlay {
    opacity: 1;
    visibility: visible;
}

.input-file-box .upload-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.input-box input,
.input-box select,
.input-box .text-area {
    transition: border-color .2s;
}

.double-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.double-input.textarea {
    align-items: flex-start;
    margin-top: 5px;
}

.double-input .input-box {
    margin-bottom: 0;
}

.double-input .input-title {
    font-weight: 600;
    font-size: 14px;
    margin-right: 30px;
    min-width: 100px;
    max-width: 155px;
    width: 100%;
}

.input-box .custom-select {
    width: 100%;
}

.input-box .custom-select select {
    width: 100%;
}

.input-box label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--clr-gray-secondary);
    background-color: #ffffff;
    pointer-events: none;
    transition: all .2s;
}

.input-box select.active~label.label-text,
.input-box input.active~label,
.input-box label.active,
.input-box select:focus~label.label-text,
.input-box input:focus-within~label {
    font-size: 12px;
    top: -6px;
    left: 10px;
    transform: translateY(0);
    padding: 0 5px;
}

.input-box select:focus~label.label-text,
.input-box input:focus-within~label {
    color: var(--clr-secondary);
}

.input-box select:focus,
.input-box input:focus,
.input-box textarea:focus {
    border-color: var(--clr-secondary);
}

.input-box select,
.input-box input {
    width: 100%;
    border: 1px solid var(--clr-gray-primary);
    border-radius: var(--radius-primary);
    font-size: 14px;
    height: 38px;
    padding: 0 15px;
    font-weight: 500;
    transition: border-color .2s;
    position: relative;
}

form .input-box textarea {
    width: 100%;
    border: 1px solid var(--clr-gray-primary);
    border-radius: var(--radius-primary);
    font-size: 14px;
    padding: 10px 15px;
    font-weight: 500;
    transition: border-color .2s;
    position: relative;
    resize: none;
}

.input-box select:disabled,
.input-box input:disabled {
    color: rgba(0, 0, 0, .2);
    font-weight: 600;
    cursor: not-allowed;
    background-color: #ffffff;
}

.double-input .input-box select:disabled,
.double-input .input-box input:disabled {
    background-color: var(--clr-gray-fourth);
    border-color: var(--clr-gray-fourth);
}

.input-box.select label.icon {
    position: absolute;
    right: 15px;
    font-size: 14px;
    background: transparent;
    left: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-box.select label.icon i {
    transform: rotate(0);
    transition: transform .2s;
}

.input-box.select label i {
    font-size: 12px;
}

.input-box select:focus~.icon i {
    transform: rotate(180deg);
}

.input-box select.active~.icon i {
    transform: rotate(0);
}

.input-box select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

.input-box select option {
    border-radius: 0;
    padding: 15px;
    font-size: 16px;
}

form button.input {
    margin-top: 10px;
}


/* SEARCH FORM */

.search-form {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.search-form input {
    width: 100%;
    border: 1px solid var(--clr-gray-primary);
    border-radius: var(--radius-primary);
    font-size: 14px;
    padding: 8px 38px 8px 15px;
    font-weight: 500;
    transition: border-color .2s;
}

.search-form button {
    background: none;
    border: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px;
    font-size: 13px
}

.search-form.left-icon input {
    padding: 8px 15px 8px 38px;
}

.search-form.left-icon button {
    left: 10px;
    right: inherit;
}

.search-form:hover .sm-search .path1:before {
    color: var(--clr-secondary);
}

.search-form:hover .sm-search .path2:before {
    color: var(--clr-tertiary);
}

.search-form input:focus~button .sm-search .path1:before {
    color: var(--clr-secondary);
}

.search-form input:focus~button .sm-search .path2:before {
    color: var(--clr-tertiary);
}

.search-form:hover input,
.search-form input:focus {
    border-color: var(--clr-secondary);
}

/* TABLE */

.table {
    width: 100%;
}

.table table {

    max-width: 1305px;
    width: 100%;

}

.table th,
.table td {
    width: 150px;
    text-align: center;
    vertical-align: middle;
}

.table tr {
    height: 45px;
}

.table th:first-child,
.table td:first-child {
    width: 150px;
    text-align: left;
}

.table th:last-child,
.table td:last-child {
    text-align: right;
}

.header-table-wrapper {
    margin-bottom: 10px;
    border-bottom: 1px solid var(--clr-gray-fourth);
}

.table .header-table th {
    background-color: transparent;
    color: var(--clr-text);
    font-weight: 500;
}

.table .header-table th:first-child,
.table .header-table th:last-child {
    padding-right: 0;
}

.table .header-table th {
    padding-right: 5px;
}

.table .content-table {
    border-collapse: separate;
    border-spacing: 0 10px;
    font-size: 14px;
    margin-top: -9px;
}

.table .content-table .td {
    border-right: hidden;
}

.table .content-table td:first-child {
    padding-left: 10px;
}

.table .content-table td:last-child {
    padding-right: 10px;
}

.table .content-table td {
    background-color: var(--clr-gray-fourth);
    cursor: pointer;
    color: var(--clr-primary);
    transition: background-color .3s, border-color .3s, color .2s;
}

.table .content-table tr:hover td,
.table .content-table tr.active td {
    background-color: var(--clr-secondary) !important;
    border-color: var(--clr-secondary);
    color: #ffffff
}

.table .content-table tr:nth-child(even) td:first-child {
    border-left: 1px solid var(--clr-gray-fourth);
}

.table .content-table tr:nth-child(even) td {
    background-color: #ffffff;
    border-top: 1px solid var(--clr-gray-fourth);
    border-bottom: 1px solid var(--clr-gray-fourth);
}

.table .content-table tr:nth-child(even) td:last-child {
    border-right: 1px solid var(--clr-gray-fourth);
}

.table .content-table .user-details {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table .content-table .user-details .user-image {
    width: 28px;
    border-radius: 50%;
    overflow: hidden;
}

/* ↓ TABLE SCROLL BAR ↓ */

.table.scroll {
    width: 100%;
    position: relative;
}

.table.scroll .inner-scroll {
    height: 550px;
    overflow-y: scroll;
}

.inner-content.column .table.scroll .inner-scroll {
    height: 660px;
}

.table.scroll .content-table {
    width: 100%;
    padding-right: 15px;
}

.table.scroll .inner-scroll::-webkit-scrollbar {
    width: 5px;
}

.table.scroll .inner-scroll::-webkit-scrollbar,
.table.scroll .inner-scroll::-webkit-scrollbar-thumb {
    overflow: visible;
    border-radius: 4px;
}

.table.scroll .inner-scroll::-webkit-scrollbar-thumb {
    background: var(--clr-secondary);
}

.table.scroll .cover-bar {
    position: absolute;
    background: #fff;
    height: 100%;
    top: 0;
    right: 0;
    width: 5px;
    -webkit-transition: all .5s;
    opacity: 1;
    z-index: 333;
}

.table.scroll:hover .cover-bar {
    opacity: 0;
    -webkit-transition: all .5s;
    pointer-events: none;
}

/* ↑ TABLE SCROLL BAR ↑ */


/* ↓ CLASS LIST SCROLL BAR ↓ */

.class-list-wrapper::-webkit-scrollbar {
    width: 5px;
}

.class-list-wrapper::-webkit-scrollbar,
.class-list-wrapper::-webkit-scrollbar-thumb {
    overflow: visible;
    border-radius: 4px;
}

.class-list-wrapper::-webkit-scrollbar-thumb {
    background: var(--clr-secondary);
}

.class-list .cover-bar {
    position: absolute;
    background: #fff;
    height: 100%;
    top: 0;
    right: 0;
    width: 5px;
    -webkit-transition: all .5s;
    opacity: 1;
    z-index: 333;
}

.class-list:hover .cover-bar {
    opacity: 0;
    -webkit-transition: all .5s;
    pointer-events: none;
}


/* ↑ CLASS LIST SCROLL BAR ↑ */