body {
    margin: 0;
    font-family: 'Vazirmatn', Tahoma, 'Arial', sans-serif;
    direction: rtl;
}

body {
    margin: 0;
    font-family: 'Vazirmatn', Tahoma, 'Arial', sans-serif;
    direction: rtl;
    position: relative;
}

body.loading::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
}

body.loading::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border: 5px solid #ddd;
    border-top-color: #3498db;
    border-radius: 50%;
    z-index: 10000;
    animation: spin 0.8s linear infinite;
}

body.loading > * {
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
* {
    font-family: 'Vazirmatn', Tahoma, 'Arial', sans-serif;
}

.site-header {
    background: #009abe;
    color: #fff;
    display: flex
}

.menu-roadmap-container {
    margin: auto;
}

.site-header a {
    color: #fff;
    text-decoration: none;
}

.site-main {
    display: flex;
    max-width: 1100px;
    margin: 20px auto;
    gap: 20px;
}

.header-post-item {
    display: flex;
    padding: 10px;
    justify-content: space-between;
}

.header-post-item img {
    border: solid 10px #c7c7c7;
    border-radius: 30px;

}

.entry-summary {
    padding: 5px;
    margin: 10px;
    border: solid 1px #d9d9d9;
    border-radius: 10px;
}


.post-item {
    border: solid 1px #d5d5d5;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.widget-area {
    width: 300px;
    background: #f2f2f2;
    padding: 15px;
    border: solid 1px #d5d5d5;
    border-radius: 10px;
}

.site-footer {
    background: #009abe;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    padding-right: 7px;
    border-radius: 10px;
    border-right: solid 5px #86d1cd;
}


.entry-meta {
    margin-top: 30px;
    padding-left: 5px;
    display: flex;
    justify-items: end;
}

.entry-meta span {
    padding-right: 10px;
}


.post-thumbnail img {
    margin: auto;
    margin-top: 30px;
    border: solid 12px #d7d7d7;
    border-radius: 20px;
}

.post-thumbnail {
    display: flex;
}

.entry-content {
    padding: 10px;
    border-right: solid 6px #7ddce5;
    border-radius: 10px;
    margin: 5px;
}

hr {
    border: none;
    border-top: 3px dashed #7ddce5;
    width: 100%;
    margin-top: 50px;
}

.plan-box {
    margin: 5px;
    padding: 5px;
    border-right: solid 6px #7ddce5;
    border-radius: 10px;
}


.pelan-main {
    display: flex;
    justify-content: space-between;
}

.pelan-main a {
    text-decoration: none;
    padding: 10px;
    background: #bddfe6;
    border: solid 1px #c9c9c9;
    border-radius: 20px;
    padding-inline: 30px;
}

.question-main {
    max-width: 1100px;
    margin: 20px auto;
}

.exam-title {
    margin: 23px 26px;
}


exam-form {
    padding: 2px;
}

form.exam-form {
    padding: 45px;
}

.question-item {
    margin: 20px;
    padding: 0px;
    background: #f0f0f0;
    border: solid 1px #bdbdbd;
    border-radius: 10px;
}

.question-text {
    padding: 10px;
    word-wrap: break-word;
    word-break: break-word;
}

.option-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    margin: 10px;
    border: solid 1px #acacac;
    border-radius: 10px;
    background: #ffffff;
}

.option-item input[type="radio"] {
    flex-shrink: 0;
    margin-top: 3px;
    width: 18px;
    height: 18px;
}


.option-item label {
    flex: 1;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    line-height: 1.6;
    cursor: pointer;
}
span.question-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: solid 1px #c3c3c3;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    flex-shrink: 0;
}


.toast-container-custom {
    padding-top: 80px !important;
}

.swal2-container {
    padding-top: 51px !important;
}

input[type="submit"] {
    padding: 10px;
    background: #009abe;
    color: white;
    border: solid 1px #48656c;
    border-radius: 10px;
    cursor: pointer;
}


.exam-submit {
    padding: 20px;
}

.hour {
    display: none;
    padding: 10px;
    background: #f4f4f4;
    border: solid 1px #d1d1d1;
    border-radius: 10px;
}

input#hour {
    width: 55px;
    height: 34px;
    border: solid 1px #245b5a;
    border-radius: 10px;
}

.result-exam {
    max-width: 100%;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
}
.week-horizontal {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.day-col {
    width: 100%;
    background: #f4f4f4;
    border-radius: 12px;
    padding: 0px 4px;
    border: 1px solid #e9edf4;
}
.day-name {
    font-weight: 700;
    font-size: 18px;
    color: #1e2a4a;
    padding: 13px;
    border-bottom: 2px solid #dce3ef;
    margin-bottom: 12px;
}
.parts-horizontal {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.part-card {
    flex: 1;
    min-width: 200px;
    background: #f4f4f4;
    border-radius: 8px;
    padding: 10px 12px;
    border: 1px solid #d6d6d6;
}
.part-title {
    font-size: 12px;
    font-weight: 600;
    color: #4b5b79;
    margin-bottom: 6px;
}
.blocks-row {
    display: flex;
    gap: 4px;
    /* height: 70px; */
}
.block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: white;
    font-size: 9px;
    font-weight: 600;
    padding: 4px 2px;
    position: relative;
    min-width: 30px;
}
.block.edu { background: #4a7cf7; }
.block.exe { background: #f9a14b; }
.block.rev { background: #4cd9a0; }
.video-inside {
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    padding: 1px 4px;
    font-size: 7px;
    margin-top: 2px;
    width: 100%;
    text-align: center;
}
.video-info {
    font-size: 9px;
    color: #6f42a8;
    margin-top: 4px;
    text-align: center;
    background: #f5f0ff;
    padding: 2px 6px;
    border-radius: 3px;
}
.rest {
    text-align: center;
    color: #a0b3cc;
    padding: 20px 0;
    font-size: 14px;
}
.stats-horizontal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 15px 20px;
    background: #f4f4f4;
    border-radius: 12px;
    /* border-right: 4px solid #c5c5c5; */
    justify-content: space-around;
}
.stats-horizontal span {
    font-size: 14px;
    color: #1a2744;
    font-weight: 500;
}