::-webkit-scrollbar {
  width: 8px;
  height: 16px
}

::-webkit-scrollbar-thumb {
  cursor: pointer;
  background: #3b3b3b
}

.container {
  max-width: 1200px; /* یا هر عرض دلخواه دیگری */
  margin: 0 auto;    /* مرکز کردن کانتینر */
  padding: 20px;     /* فضای داخلی دلخواه */
}

body {
  line-height: 1.7;
  color: rgba(0, 0, 0, .5);
  font-weight: 400;
  font-size: 1rem;
  text-align: right;
  font-family: roboto mono, SFMono-Regular, Menlo, Monaco, Consolas, liberation mono, courier new, monospace;
  font-family: work sans, -apple-system, BlinkMacSystemFont, segoe ui, Roboto, helvetica neue, Arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol, noto color emoji;
  font-family: IRANSans !important;
  background-color: #f9f9f9;
}

::-moz-selection {
  background: #000;
  color: #fff
}

::selection {
  background: #000;
  color: #fff
}

.progress-bar {
  transition: width 0.3s;
}

.chart-container {
  width: 100%;
  max-width: 1200px!important;
  margin: auto;
}

.progress-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
}

.circle-text {
  font-size: 1.8rem;
  margin: 10px;
}

.alert {
  padding: .4rem;
}

.card {
  border-radius: 13px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* انیمیشن برای بزرگ شدن و سایه */
  height: 210px; /* ارتفاع ثابت برای تمام کارت‌ها */
  display: flex; /* استفاده از flexbox برای محتوا */
  flex-direction: column; /* ترتیب عمودی محتوا */
  justify-content: center; /* توزیع محتوا به مرکز عمودی */
  align-items: center; /* توزیع محتوا به مرکز افقی */
  text-align: center; /* وسط‌چین کردن متن */
  background-color: white; /* رنگ پس‌زمینه کارت */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* سایه کارت */
  margin: 10px; /* فاصله بین کارت‌ها */
}

.card-body{
  align-content: center;
}

.circle-text h1{
  font-family: IRANSans2;
  color: #27565f;
  font-size: 1.875rem; 
}

.bdem h5{
  font-family: IRANSans2;
}

.bdem h6{
  margin-bottom: 30px;
}

.chapter-card {
  flex: 1 1 150px; /* اندازه ثابت برای کارت‌ها */
  margin: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 150px; /* حداقل عرض */
}
.chapter-card:hover {
  transform: scale(1.05);
}
.card:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

.completed {
  background-color: #76c7c0;
  border: 2px solid #005e5e;
}
.not-completed {
  background-color: #e0e0e0;
  border: 2px solid #bbb;
}
.chart-container { width: 100%; max-width: 400px; margin: auto; }

/* ریسپانسیو برای کارت‌ها */
@media (max-width: 768px) {
  .chapter-card {
      flex: 1 1 100px; /* تغییر اندازه برای صفحه‌های کوچک‌تر */
  }
}

.hrfr{
  color: #27565f;
  font-family: IRANSans2;

}

.jlsld{
  color: #27565f;
}

.completed h5{
  color: #0c2024;
  font-family: IRANSans2;

}

.not-completed  h5{
  color: #5a5d5e;
  font-family: IRANSans;
}

.fdgl p{
  color: #0c2024;
}

.back-button {
  position: absolute;
  left: 50px; /* فاصله از سمت چپ */
  top: 50px; /* فاصله از بالای صفحه */
}

@media (max-width: 576px) {
  .back-button {
      left: 30px; /* کاهش فاصله در صفحه‌های کوچک */
      top: 30px;
  }
  .hrfr{
    margin-top: 7rem;
  }
}


.filter-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-icons {
  display: flex;
  align-items: center;
}

.filter-icon {
  position: relative;
  margin-right: 20px;
  cursor: pointer;
  color: #28a745;
  font-size: 18px;
}

.dropdown-options {
  position: absolute;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  z-index: 1000;
  display: block;
  margin-top: 5px;
  padding: 5px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 8rem;
  text-align: center;
}

.dropdown-options div {
  padding: 10px 15px;
  cursor: pointer;
}

.dropdown-options div:hover {
  background-color: #f1f1f1; /* رنگ پس‌زمینه در هاور */
}

.custom-input {
  border-radius: 20px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  transition: all 0.3s ease-in-out;
  text-align: center;
}

.custom-input:focus {
  border-color: #28a745;
  box-shadow: 0 4px 10px rgba(0, 128, 0, 0.2);
}

@media (max-width: 768px) {
  .custom-input {
      width: 90%;
  }
}

@media (max-width: 576px) {
  .custom-input {
      width: 100%;
  }
}

.progress-text {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;  /* وسط‌چین عمودی */
  justify-content: center;  /* وسط‌چین افقی */
  font-size: 1.5em;  /* اندازه فونت (قابل تنظیم) */
  color: #28a745;  /* رنگ متن */
}

.card-title {
font-size: 1.15rem;
}

@media (max-width: 1056.98px) {
  .card-title {
      font-size: 1.075rem; /* Adjust this value as needed */
  }
  {}
@media (max-width: 575.98px) {
  .card-title {
      font-size: 0.875rem; /* Adjust this value as needed */
  }
  .circle-text h1 {
    font-size: 0.875rem; /* Adjust this value as needed */

}
}


