
    /* Dragula CSS Release 3.2.0 from: https://github.com/bevacqua/dragula */
    .background_main{
        background: #4d8c5e12;
    }
    .background_collapse{
        background-color: rgb(215 226 218);
    }
    .background_send_sms{
           background-color: #2f5035;
    }
    .color_white{
         color:white;
    }
    .overflow_send_sms_aside{
        overflow-y: scroll;
      height: calc(87vh - 100px);
    }
    .padding_10px{
        padding:10px
    }
    .margin_top_n_29px{
        margin-top: -29px
    }
    .font_size_65px{
        font-size:65px;
    }
	
	
	.news-card {
		border-radius: 12px;
		overflow: hidden;
		background-color: #fff;
		box-shadow: 0 4px 12px rgba(0,0,0,0.1);
		transition: all 0.3s ease;
		height: 100%;
		position: relative;
	}

	.news-card:hover {
		transform: translateY(-6px);
		box-shadow: 0 10px 20px rgba(0,0,0,0.15);
	}

	.news-card img {
		padding: 8px;
		width: 100%;
		object-fit: contain;
		background-color: #f4f4f4;
		display: block;
	}

	.news-card-body {
		padding: 0.75rem 1rem;
	}

	.news-card-title {
		font-weight: bold;
		font-size: 1.1rem;
		margin-bottom: 0.4rem;
		color: #0d6efd;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.news-card-text {
		font-size: 0.95rem;
		color: #555;
		overflow: hidden;
		text-overflow: ellipsis;
		max-height: 4.5em;
	}

	.news-card a {
		color: inherit;
		text-decoration: none;
	}
	
	 .ck-editor {
		width: 100%;
	  }
	  .ck-editor__editable {
		width: 100%;
		min-height: 300px;
		direction: rtl;
		text-align: right;
		box-sizing: border-box;
	  }
	  /* راست چین کردن نوار ابزار */
	  .ck-toolbar {
		direction: rtl;
		text-align: right;
		justify-content: flex-end;
	  }
	  .ck-toolbar .ck-button {
		margin-left: 0;
		margin-right: 8px;
	  }


      .web_news_image{
          width: 100%;   height: 320px; object-fit: cover; border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem;
    }

    @media (max-width: 991.98px) {
      .web_news_image {
        height: 240 px;
      }
    }

   
    @media (max-width: 575.98px) {
      .web_news_image {
        height: auto;
      }
    }
	
	
/* knowledge_based_message */

.custom-alert {
    background: linear-gradient(90deg, #e8f5e9, #d0f0d9);
    color: #155724;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.5;
    border: 1px solid #b6dfb9;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 10px 14px;
}

.custom-alert .alert-icon {
    font-size: 1.2rem;
    color: #2e7d32;
    animation: ring 1.2s infinite;
}

.custom-alert .alert-message {
    flex: 1;
}

@keyframes ring {
    0% { transform: rotate(0); }
    10% { transform: rotate(12deg); }
    20% { transform: rotate(-12deg); }
    30% { transform: rotate(8deg); }
    40% { transform: rotate(-8deg); }
    50% { transform: rotate(4deg); }
    60% { transform: rotate(-4deg); }
    70% { transform: rotate(2deg); }
    80% { transform: rotate(-2deg); }
    100% { transform: rotate(0); }
}

.custom-alert.alert-warning {
    background: linear-gradient(90deg, #fff3cd, #ffe8a1); /* نارنجی روشن */
    color: #856404; /* نارنجی تیره برای متن */
    border: 1px solid #ffeeba;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.custom-alert.alert-warning .alert-icon {
    color: #ff9800; /* نارنجی پررنگ */
    font-size: 1.2rem;
    animation: ring 1.2s infinite;
}

      .show-data-alert-knowledge_based {
          background: #f8f9fa;
          border: 1px solid #e0e0e0;
          border-radius: 12px;
          color: #333;
          font-size: 0.95rem;
          line-height: 1.6;
          word-wrap: break-word;
          overflow-wrap: break-word;
          white-space: normal;
      }

      .show-data-icon-knowledge_based {
          font-size: 1.3rem;
          color: #2e7d32; /* سبز برای آیکون */
      }

      .how-data-warning-knowledge_based {
          color: #c62828; /* قرمز برای هشدار */
          font-weight: bold;
          margin-top: 8px;
      }

      .how-data-message-knowledge_based {
          margin-top: 6px;
      }





/* knowledge_based_message */


/* حذف کل استایل‌های تایم‌لاین در موبایل */

@media (max-width: 575.98px) {
  .timeline-item.pb-4.timeline-item-primary.border-left-dashed.hide-timeline-mobile {
    all: unset !important;   /* تمام استایل‌ها حذف شوند */
    display: block !important; /* محتوا بدون بهم ریختن صفحه نمایش داده شود */
  }
}



/* پدینگ پیش‌فرض برای همه حالت‌ها */
.element_pading_pe {
  padding: 1.1rem 1.5rem 0.6rem; /* بالا راست/چپ پایین */
}

/* حالت موبایل */
@media (max-width: 768px) { /* یا هر مقدار دلخواه */
  .element_pading_pe {
    padding-left: 0;
    padding-right: 0;
    /* بالا و پایین ثابت می‌ماند */
    padding-top: 1.1rem;
    padding-bottom: 0.6rem;
  }
}



/* start form_b */
.fancy-stepper {
    display: flex;
    align-items: center;
    font-family: sans-serif;
    gap: 10px;
    direction: rtl;
    /* متن فارسی */
}

.step {
    display: flex;
    align-items: center;
    /* متن کنار مربع */
    color: #ccc;
    cursor: pointer;
    min-width: 120px;
    gap: 8px;
}

.step-square {
    width: 36px;
    height: 36px;
    border: 2px solid #ccc;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #ccc;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.step-label {
    font-size: 14px;
    white-space: nowrap;
}

/* مرحله فعال و تکمیل شده */
.step.active .step-square,
.step.done .step-square {
    background-color: #017149;
    border-color: #017149;
    color: white;
}

/* رنگ متن مرحله فعال و انجام شده */
.step.active,
.step.done {
    color: #017149;
}

/* فلش */
.arrow {
    display: flex;
    align-items: center;
}

/* تغییر رنگ فلش */
.arrow svg path {
    transition: stroke 0.3s ease;
}

/* فلش پر شده (برای مراحل انجام شده) */
.arrow.done svg path {
    stroke: #017149;
}
/* end of form_b */
