@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Montserrat", sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}
img {
    width: 100%;
    display: block;
}
input,
button,
textarea {
    display: block;
    font-family: inherit;
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    transition: 0.5s;
}
input:focus {
    border: 1px solid rgb(174, 174, 174);
}
label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}
.headline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.headline button {
    width: 25%;
    border: 1px dashed #acacac;
    transition: 0.5s;
}
.headline button:hover {
    background-color: #000;
    color: #fff;
}
.container {
    background-color: rgb(233 233 233);
    width: 70%;
    margin: 50px auto;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
}
.form {
    margin-bottom: 30px;
}
.form,
.table {
    background-color: #fff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
}
.table tbody tr td:first-child {
    width: 200px;
}
.form button {
    background-color: #ddd;
    font-weight: 600;
    transition: 0.5s;
    cursor: pointer;
}
.form button:hover {
    background-color: #000;
    color: #fff;
}
.form-control {
    margin-bottom: 16px;
}
.title {
    font-size: 28px;
    text-transform: uppercase;
}
.tab {
    margin-top: 12px;
}
.tab li {
    display: inline-block;
    border: 1px solid #d0d0d0;
    padding: 5px 20px;
    border-radius: 8px;
    transition: 0.5s;
    cursor: pointer;
}
.tab li.active {
    background-color: #000;
    color: #fff;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    border: 1px solid #dddddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}
tr span {
    padding: 6px 8px;
    border-radius: 3px;
    font-weight: 500;
    font-size: 14px;
    display: block;
    text-align: center;
}
.table-tbn {
    background-color: #e4e7ff;
    color: #6979f7;
    cursor: pointer;
}
.todo {
    background-color: #ccfbf1;
    color: #008d6f;
}
.do {
    background-color: #fde6eb;
    color: #9d0022;
}
.complete {
    background-color: #e4e7ff;
    color: #6979f7;
}
.cke_notification {
    display: none !important;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}
.modal.active {
    opacity: 1;
    visibility: visible;
}
.modal .modal-inner {
    width: 450px;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin: 50px auto;
    transform: scale(0.5);
    transition: 0.5s;
}
.modal.active .modal-inner {
    transform: scale(1);
}
.modal .modal-header {
    background-color: #eaeaea;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    font-size: 17px;
    font-weight: 500;
}
.modal .modal-header i {
    cursor: pointer;
}
.modal .modal-body {
    padding: 15px;
}

.modal .modal-body h2 {
    color: #b9436a;
    margin-bottom: 10px;
}

.modal .modal-footer {
    padding: 15px;
    text-align: right;
}

.modal .modal-footer button {
    outline: none;
    border: none;
    padding: 10px 20px;
    background-color: #ffdee9;
    color: #b9436a;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
}
#modal-detail .modal-inner {
    width: 600px;
}
.detail-task {
    padding: 10px;
}
.detail-task h3 {
    margin-bottom: 20px;
}
.detail-task ul {
    list-style: none;
}
.detail-task ul li {
    margin-bottom: 16px;
}
.detail-task ul li span {
    font-weight: 500;
}
.deadline {
    background-color: #ffecdd;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 5px;
    font-weight: 600;
    color: #c05c00;
}
.detail-task pre {
    width: 100%;
    font-family: inherit;
    background: #dedbdb;
    white-space: nowrap;
    padding: 20px;
    margin-top: 10px;
}
.detail-task pre * {
    width: 100%;
    text-wrap: pretty;
}
.detail-task pre ul {
    padding-left: 10px;
    list-style-type: disc;
}
.detail-task .detail-task-img {
    text-decoration: none;
    background-color: #c6ffcd;
    color: #00740d;
    padding: 3px 10px;
    display: inline-block;
    transition: 0.5s;
}
.detail-task .detail-task-img:hover {
    background-color: #00740d;
    color: #fff;
}
.detail-task .detail-task-link {
    background-color: #f1e8ff;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 5px;
    color: #8d64d0;
    text-decoration: none;
    transition: 0.5s;
}
.detail-task .detail-task-link:hover {
    background-color: #8d64d0;
    color: #fff;
}
.detail-task-button {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}
.detail-task-button button {
    font-weight: 600;
}
.detail-task-button button:first-child {
    background-color: #e6f1ff;
    border: 1px solid #5ca7ff;
    color: #5ca7ff;
}
.detail-task-button button:first-child:hover {
    background-color: #5ca7ff;
    color: #fff;
}
.detail-task-button button:nth-child(2) {
    background-color: #edffef;
    border: 1px solid #00740d;
    color: #00740d;
}
.detail-task-button button:nth-child(2):hover {
    background-color: #00740d;
    color: #fff;
}
.detail-task-button button:last-child {
    background-color: #fff3f3;
    border: 1px solid #f00000;
    color: #f00000;
}
.detail-task-button button:last-child:hover {
    background-color: #f00000;
    color: #fff;
}
/* LOADING */
.preloading {
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}
.preloading_2 {
    background-color: rgb(255 255 255 / 81%);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}
.loader {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: transparent;
    border-radius: 50%;
}

.loader {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: transparent;
    width: 36px;
    height: 36px;
}

.loader {
    border: 4px solid #000;
    border-left-color: transparent;
    width: 36px;
    height: 36px;
    animation: spin89345 1s linear infinite;
}

@keyframes spin89345 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.loadingspinner {
    --square: 26px;
    --offset: 30px;
    --duration: 2.4s;
    --delay: 0.2s;
    --timing-function: ease-in-out;
    --in-duration: 0.4s;
    --in-delay: 0.1s;
    --in-timing-function: ease-out;
    width: calc(3 * var(--offset) + var(--square));
    height: calc(2 * var(--offset) + var(--square));
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 30px;
    position: relative;
}

.loadingspinner div {
    display: inline-block;
    background: #0020b4;
    /*background: var(--text-color);*/
    /*box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);*/
    border: none;
    border-radius: 2px;
    width: var(--square);
    height: var(--square);
    position: absolute;
    padding: 0px;
    margin: 0px;
    font-size: 6pt;
    color: black;
}

.loadingspinner #square1 {
    left: calc(0 * var(--offset));
    top: calc(0 * var(--offset));
    animation: square1 var(--duration) var(--delay) var(--timing-function) infinite,
        squarefadein var(--in-duration) calc(1 * var(--in-delay)) var(--in-timing-function) both;
}

.loadingspinner #square2 {
    left: calc(0 * var(--offset));
    top: calc(1 * var(--offset));
    animation: square2 var(--duration) var(--delay) var(--timing-function) infinite,
        squarefadein var(--in-duration) calc(1 * var(--in-delay)) var(--in-timing-function) both;
}

.loadingspinner #square3 {
    left: calc(1 * var(--offset));
    top: calc(1 * var(--offset));
    animation: square3 var(--duration) var(--delay) var(--timing-function) infinite,
        squarefadein var(--in-duration) calc(2 * var(--in-delay)) var(--in-timing-function) both;
}

.loadingspinner #square4 {
    left: calc(2 * var(--offset));
    top: calc(1 * var(--offset));
    animation: square4 var(--duration) var(--delay) var(--timing-function) infinite,
        squarefadein var(--in-duration) calc(3 * var(--in-delay)) var(--in-timing-function) both;
}

.loadingspinner #square5 {
    left: calc(3 * var(--offset));
    top: calc(1 * var(--offset));
    animation: square5 var(--duration) var(--delay) var(--timing-function) infinite,
        squarefadein var(--in-duration) calc(4 * var(--in-delay)) var(--in-timing-function) both;
}

@keyframes square1 {
    0% {
        left: calc(0 * var(--offset));
        top: calc(0 * var(--offset));
    }

    8.333% {
        left: calc(0 * var(--offset));
        top: calc(1 * var(--offset));
    }

    100% {
        left: calc(0 * var(--offset));
        top: calc(1 * var(--offset));
    }
}

@keyframes square2 {
    0% {
        left: calc(0 * var(--offset));
        top: calc(1 * var(--offset));
    }

    8.333% {
        left: calc(0 * var(--offset));
        top: calc(2 * var(--offset));
    }

    16.67% {
        left: calc(1 * var(--offset));
        top: calc(2 * var(--offset));
    }

    25.00% {
        left: calc(1 * var(--offset));
        top: calc(1 * var(--offset));
    }

    83.33% {
        left: calc(1 * var(--offset));
        top: calc(1 * var(--offset));
    }

    91.67% {
        left: calc(1 * var(--offset));
        top: calc(0 * var(--offset));
    }

    100% {
        left: calc(0 * var(--offset));
        top: calc(0 * var(--offset));
    }
}

@keyframes square3 {
    0%,
    100% {
        left: calc(1 * var(--offset));
        top: calc(1 * var(--offset));
    }

    16.67% {
        left: calc(1 * var(--offset));
        top: calc(1 * var(--offset));
    }

    25.00% {
        left: calc(1 * var(--offset));
        top: calc(0 * var(--offset));
    }

    33.33% {
        left: calc(2 * var(--offset));
        top: calc(0 * var(--offset));
    }

    41.67% {
        left: calc(2 * var(--offset));
        top: calc(1 * var(--offset));
    }

    66.67% {
        left: calc(2 * var(--offset));
        top: calc(1 * var(--offset));
    }

    75.00% {
        left: calc(2 * var(--offset));
        top: calc(2 * var(--offset));
    }

    83.33% {
        left: calc(1 * var(--offset));
        top: calc(2 * var(--offset));
    }

    91.67% {
        left: calc(1 * var(--offset));
        top: calc(1 * var(--offset));
    }
}

@keyframes square4 {
    0% {
        left: calc(2 * var(--offset));
        top: calc(1 * var(--offset));
    }

    33.33% {
        left: calc(2 * var(--offset));
        top: calc(1 * var(--offset));
    }

    41.67% {
        left: calc(2 * var(--offset));
        top: calc(2 * var(--offset));
    }

    50.00% {
        left: calc(3 * var(--offset));
        top: calc(2 * var(--offset));
    }

    58.33% {
        left: calc(3 * var(--offset));
        top: calc(1 * var(--offset));
    }

    100% {
        left: calc(3 * var(--offset));
        top: calc(1 * var(--offset));
    }
}

@keyframes square5 {
    0% {
        left: calc(3 * var(--offset));
        top: calc(1 * var(--offset));
    }

    50.00% {
        left: calc(3 * var(--offset));
        top: calc(1 * var(--offset));
    }

    58.33% {
        left: calc(3 * var(--offset));
        top: calc(0 * var(--offset));
    }

    66.67% {
        left: calc(2 * var(--offset));
        top: calc(0 * var(--offset));
    }

    75.00% {
        left: calc(2 * var(--offset));
        top: calc(1 * var(--offset));
    }

    100% {
        left: calc(2 * var(--offset));
        top: calc(1 * var(--offset));
    }
}

@keyframes squarefadein {
    0% {
        transform: scale(0.75);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@media (max-width: 991px) {
    .container {
        width: 95%;
        margin: 30px auto;
    }
}
@media (max-width: 767px) {
    .boxtable {
        overflow-x: scroll;
    }
    .boxtable table {
        width: 1000px;
    }
}
@media (max-width: 575px) {
    .modal .modal-inner {
        width: 90% !important;
    }
    .headline {
        display: block;
    }
    .headline button {
        width: 100%;
        margin-top: 10px;
    }
    .tab li {
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    .title {
        font-size: 22px;
    }
}
