*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir-Bold.ttf') format('woff2');
    font-weight: bold;
    font-style: normal;
}



button {
    background: transparent;
    border: none;
    cursor: pointer;
    outline: none;
}


/* .section SECTION
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.section {
    background: #0081b4;
    display: flex;
    align-items: center;
    border-radius: 0px 0px 25px 25px;
    margin-bottom: 50px;
}



.section .prev-next {
    margin: 50px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    width: 150px;
}

.section .prev-next-day img {
    margin-right: 10px;
    width: 50px !important;
    height: 50px !important;
}

.section .prev-next-week img {
    margin-right: 10px;
    width: 40px !important;
    height: 40px !important;
}

.section .prev-next-month img {
    margin-right: 10px;
    width: 30px !important;
    height: 30px !important;
}




.section .container {
    width: 500px;
    max-width: 1200px;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.section h1 {
    font-size: 2.5rem;
}

.section h2 {
    font-size: 1.3rem;
}


.section .panel,
.section .timeline,
.section .chart,
.section .archived_tasks {
    font: bold 20px/1.5 'Vazir', Arial, sans-serif;
    color: rgb(255, 255, 255);
    background-color: #ff00d0;
    border-radius: 10px;
    padding: 10px 25px 10px 25px;
    margin-right: 75px;
    display: flex;
    margin: 25px auto;
}

.section .right-header {
    margin-right: 50px;
}

.section .right-header a {
    text-decoration: none;
}

.section .left-header {
    margin-left: 50px;
    margin-bottom: 25px;
}

.section .left-header a {
    text-decoration: none;
}




a {
    color: inherit;
}

body {
    background: #7a28ff;
    color: #fff;
}

body,
td,
th {
    font: normal 16px/1.5 'Vazir', Arial, sans-serif;

}


.tasks-table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    font-family: 'IRANSans', Tahoma, sans-serif;
    border-radius: 10px;
    border: 3px solid white;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    direction: rtl;
    table-layout: fixed;
}

.tasks-table th,
.tasks-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

.tasks-table th {
    background-color: #02a7cc;
    font-weight: bold;
}

.tasks-table tr:nth-child(even) {
    background-color: #74055e;
}

.tasks-table tr:hover {
    background-color: #0c48b7;
}


.tasks-table .task-done {
    background-color: rgb(0, 197, 76) !important;
}




.tasks-table .description {
    width: 300px;
}

.tasks-table .start_time,
.tasks-table .deadline,
.tasks-table .completed_at {
    direction: ltr;
}












form {
    font: bold 20px/1.5 'Vazir', Arial, sans-serif;

    width: 95%;
    max-width: 700px;

    margin: 50px auto;
    padding: 30px;

    background: #fff;
    border-radius: 15px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

    display: flex;
    flex-direction: column;
    gap: 18px;
}

input,
textarea {
    font-family: 'Vazir', sans-serif;
    width: 100%;

    padding: 14px 16px;

    border: 1px solid #d7dce5;
    border-radius: 10px;

    font-size: 15px;

    outline: none;

    transition: .25s;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

input:focus,
textarea:focus {
    border-color: #4f8cff;
    box-shadow: 0 0 0 4px rgba(79, 140, 255, .15);
}

input[type="datetime-local"] {
    cursor: pointer;
}

button {
    border: none;

    padding: 14px;

    border-radius: 10px;

    background: #4f8cff;

    color: white;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;

    transition: .25s;
}

button:hover {
    background: #2d6cdf;
    transform: translateY(-2px);
}

button:active {
    transform: scale(.98);
}

::placeholder {
    color: #999;
}

.dates {
    display: flex;
    gap: 15px;
}

.dates input {
    flex: 1;
}

@media (max-width: 700px) {
    .dates {
        flex-direction: column;
    }
}




.btn-view {
    text-decoration: none;
    padding: 5px 10px;
    background-color: #f70cff;
    color: white;
    border-radius: 40px;
    font-size: 16px;
    margin: 20px;
}








#date_from,
task_topic,
task_description,
#start_time,
#deadline {
    font: bold 13px/1.5 'Vazir', Arial, sans-serif;

}




.datepicker-container,
.datepicker-plot-area,
.datepicker-plot-area * {
    font: bold 13px/1.5 'Vazir', Arial, sans-serif;
}