/* تم مدرسه عمومی - تغییر رنگ‌های سبز به آبی */

:root {
  --primary-color: #0DCAF0 !important; /* تغییر به آبی روشن */
  --primary-hover: #0D6EFD !important; /* آبی اصلی برای hover */
  --primary-light: #0DCAF0 !important; /* آبی روشن */
  --accent-color: #6ea8fe !important; /* آبی کمرنگ تکمیلی */
}

/* تغییر رنگ‌های سبز به آبی در کلاس‌های مختلف */

/* رنگ پس‌زمینه سبز */
.bg-success {
  background-color: #0D6EFD !important;
}

.btn-success {
  background-color: #0D6EFD !important;
  border-color: #0D6EFD !important;
}

.btn-success:hover {
  background-color: #084298 !important;
  border-color: #084298 !important;
}

.btn-success:focus {
  background-color: #084298 !important;
  border-color: #084298 !important;
}

.btn-outline-success {
  color: #0D6EFD !important;
  border-color: #0D6EFD !important;
}

.btn-outline-success:hover {
  background-color: #0D6EFD !important;
  border-color: #0D6EFD !important;
}

/* رنگ متن سبز */
.text-success {
  color: #0D6EFD !important;
}

/* رنگ حاشیه سبز */
.border-success {
  border-color: #0D6EFD !important;
}

/* المان‌های سبز خاص */
.green-line-mobile {
  background-color: #0D6EFD !important;
}

/* رنگ‌های سبز مستقیم */
.color-\#28a745,
.color-\#4CAF50 {
  color: #0D6EFD !important;
}

.bg-\#28a745,
.bg-\#4CAF50 {
  background-color: #0D6EFD !important;
}

/* پس‌زمینه‌های سبز خاص */
[style*="background-color: #84BF63"],
[style*="background: #84BF63"] {
  background-color: #0D6EFD !important;
}

[style*="background-color: #73a855"],
[style*="background: #73a855"] {
  background-color: #0DCAF0 !important;
}

[style*="background-color: #00430E"],
[style*="background: #00430E"] {
  background-color: #0D6EFD !important;
}

[style*="background-color: #00320A"],
[style*="background: #00320A"] {
  background-color: #084298 !important;
}

[style*="background-color: #7cc242"],
[style*="background: #7cc242"] {
  background-color: #0DCAF0 !important;
}

/* رنگ‌های متن سبز خاص */
[style*="color: #00430E"] {
  color: #0D6EFD !important;
}

[style*="color: #00320A"] {
  color: #084298 !important;
}

[style*="color: #28a745"] {
  color: #0D6EFD !important;
}

[style*="color: #4CAF50"] {
  color: #0DCAF0 !important;
}

/* حاشیه‌های سبز */
[style*="border-color: #28a745"] {
  border-color: #0D6EFD !important;
}

[style*="border-right-color: #84BF63"] {
  border-right-color: #0D6EFD !important;
}

/* پس‌زمینه‌های سبز ملایم */
[style*="background-color: #E6F4EA"] {
  background-color: #e7f3ff !important;
}

[style*="border-color: #CDE8D6"] {
  border-color: #b3d7ff !important;
}

/* کارت‌های دوره */
.course-card .btn-success {
  background-color: #0D6EFD !important;
  border-color: #0D6EFD !important;
}

/* لینک‌های سبز */
a.text-success:hover {
  color: #084298 !important;
}

/* آیکون‌های سبز */
.fa-check-circle.text-success {
  color: #0D6EFD !important;
}

/* نوتیفیکیشن‌های سبز */
.alert-success {
  background-color: #d1ecf1 !important;
  border-color: #bee5eb !important;
  color: #0c5460 !important;
}

.alert-success .alert-link {
  color: #084298 !important;
}

/* بج‌های سبز */
.badge.bg-success {
  background-color: #0D6EFD !important;
}

/* دکمه‌های رادیو سبز */
.btn-check:checked + .btn-outline-success {
  background-color: #0D6EFD !important;
  border-color: #0D6EFD !important;
}

/* قیمت‌ها و مبلغ‌ها */
.price.text-success {
  color: #0D6EFD !important;
}

/* آیکون‌های وضعیت */
.status-icon.success {
  color: #0D6EFD !important;
}

/* کارت‌های محصول */
.product-card .success-badge {
  background-color: #0D6EFD !important;
}

/* منوهای سبز */
.nav-link.success {
  color: #0D6EFD !important;
}

/* آیکون‌های فونت آسام سبز */
.fas.text-success,
.far.text-success,
.fa.text-success {
  color: #0D6EFD !important;
}

/* عناصر با کلاس‌های سبز مستقیم */
.green-bg {
  background-color: #0D6EFD !important;
}

.green-text {
  color: #0D6EFD !important;
}

.green-border {
  border-color: #0D6EFD !important;
}

/* دکمه‌های هدر موبایل - مدرسه عمومی */
.mobile-header .menu-button {
  background: #0DCAF0 !important;
  color: white !important;
}

.mobile-header .menu-button:hover {
  background: #0D6EFD !important;
  color: white !important;
}

.mobile-header .search-button {
  background: #0DCAF0 !important;
  color: white !important;
}

.mobile-header .search-button:hover {
  background: #0D6EFD !important;
  color: white !important;
}

/* فوتر موبایل - مدرسه عمومی */
.mobile-footer-item {
  color: #666 !important;
}

.mobile-footer-item.active {
  color: #0D6EFD !important;
}

.mobile-footer-item.active .mobile-footer-icon {
  box-shadow: 0 0 0 3px #0D6EFD !important;
  background-color: #0D6EFD !important;
}

.mobile-footer-item:hover {
  color: #0D6EFD !important;
}

/* دکمه راهنمای کاربری - مدرسه عمومی */
#show-guide-btn {
  background: linear-gradient(135deg, #0DCAF0 0%, #0D6EFD 100%) !important;
  box-shadow: 0 8px 25px rgba(13, 202, 240, 0.4),
              0 0 0 0 rgba(13, 202, 240, 0.7) !important;
}

#show-guide-btn:hover {
  box-shadow: 0 12px 35px rgba(13, 110, 253, 0.6),
              0 0 0 8px rgba(13, 110, 253, 0.2) !important;
  background: linear-gradient(135deg, #0D6EFD 0%, #084298 100%) !important;
}

@keyframes guideButtonPulse {
  0% {
    box-shadow: 0 8px 25px rgba(13, 202, 240, 0.4),
                0 0 0 0 rgba(13, 202, 240, 0.7) !important;
  }
  50% {
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.6),
                0 0 0 8px rgba(13, 110, 253, 0.2) !important;
  }
  100% {
    box-shadow: 0 8px 25px rgba(13, 202, 240, 0.4),
                0 0 0 0 rgba(13, 202, 240, 0.7) !important;
  }
}


/* منوی ناوبری - مدرسه عمومی */
.navbar-nav .nav-item.active .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg width='71' height='8' viewBox='0 0 71 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M23.5 4H47.5039C44.1609 1.48836 40.0052 0 35.5019 0C30.9987 0 26.843 1.48836 23.5 4Z' fill='%230DCAF0'/%3E%3Cpath d='M0 8C0 5.79086 1.79086 4 4 4H67C69.2091 4 71 5.79086 71 8H0Z' fill='%230DCAF0'/%3E%3C/svg%3E") !important;
}

/* خط زیر هدر - مدرسه عمومی */
.green-line {
  background-color: #0DCAF0 !important;
}

/* بخش کپی‌رایت - مدرسه عمومی */
.copyright-section {
  background-color: #0DCAF0 !important;
}

/* سبد خرید - مدرسه عمومی */
.shopping-cart .cart-icon,
.shopping-cart .cart-icon i {
  color: #0D6EFD !important;
}

.shopping-cart .cart-icon:hover,
.shopping-cart .cart-icon:hover i {
  color: #084298 !important;
}

/* حساب کاربری - مدرسه عمومی */
.my-account .btn {
  background-color: #0D6EFD !important;
  border-color: #0D6EFD !important;
}

.my-account .btn:hover {
  background-color: #084298 !important;
  border-color: #084298 !important;
}

/* دکمه بازگشت به بالا - مدرسه عمومی */
.circle-btn {
  background-color: #0DCAF0 !important;
}

.circle-btn:hover {
  background-color: #0D6EFD !important;
}

/* دکمه اطلاعات بیشتر در carousel - مدرسه عمومی */
.cta-button .btn {
  background-color: #0D6EFD !important;
  border-color: #0D6EFD !important;
}

.cta-button .btn:hover {
  background-color: #084298 !important;
  border-color: #084298 !important;
}

/* آیتم اعتبار در dropdown حساب کاربری - مدرسه عمومی */
.dropdown-item.text-success {
  color: #0DCAF0 !important;
}

.credit-badge {
  color: #0DCAF0 !important;
}

.credit-label {
  color: #0DCAF0 !important;
}

.credit-amount {
  color: #0DCAF0 !important;
  font-weight: bold;
}
