@font-face {
    font-family: 'IRANYekan';
    src: url('../fonts/IRANYekanWebRegular.woff2?v=1') format('woff2'),
         url('../fonts/IRANYekanWebRegular.woff') format('woff'),
         url("../fonts/IRANYekanWebRegular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: 'IRANYekan', sans-serif;
    direction: rtl;
}
.sidebar {
    height: 100vh;
    width: 200px;
    font-family: 'IRANYekan', sans-serif;
    background-color: #4a4d52;
    color: #ffffff;
    position: fixed;
    overflow-y: auto; /* برای جلوگیری از بهم ریختگی */
}
.sidebar a.active {
    background-color: #007bff; /* رنگ پس‌زمینه برای منوی فعال */
    color: white; /* رنگ متن برای منوی فعال */
    font-weight: bold; /* ضخامت فونت برای تمایز بیشتر */
}
.sidebar a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 15px;
}
.sidebar a:hover {
    background-color: #f1f1f1;
    color: #333;
}
.content {
    margin-right: 250px;
    padding: 20px;
}
.list-group-item.active {
    background-color: #007bff !important; /* رنگ پس‌زمینه */
    color: white !important; /* رنگ متن */
}


.content {
    margin-right: 250px; /* فاصله برای سایدبار */
    padding: 20px;
}
.card-body input {
    width: calc(100% - 20px); /* عرض ورودی‌ها را کمی کم می‌کنیم */
}
.course-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* فاصله بین عناصر */
}
.course-container .form-control {
    margin-right: 10px; /* فاصله بین نام درس و تعداد واحد */
}
.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center; /* تراز کردن عمودی */
}
.flex-row .form-control {
    flex: 1 ; /* عرض مساوی برای هر دو ورودی */
    margin-right: 10px; /* فاصله بین دو ورودی */
}
.custom-alert {
    max-width: 500px; /* حداکثر عرض پیام */
    margin: 20px auto; /* مرکز کردن پیام */
    text-align: center; /* وسط‌چین کردن متن */
}
.toast {
    background-color: #343a40; /* پس‌زمینه تیره */
    color: #fff; /* متن سفید */
  }
.table {
    font-family: 'IRANYekan', sans-serif;
}
.form-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 10pt;
}
.form-wrapper {
    display: inline-flex;
    justify-content: center;
    gap: 50px;
    margin: 60px auto;
    padding-right: 300px;
    font-family: IRANYekan;

}
#searchInput {
    font-family: IRANYekan;
    padding: 10px;
    font-size: 14px;
}
