.swal2-container {
  z-index: 99999;
}
.breadcrumb-item.active,
.breadcrumb-item a.active {
  font-weight: 600 !important;
  font-size: 125%;
}
.form-label {
  font-size: 0.9rem;
}
iframe,
video,
img {
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

p,
div,
span {
  text-wrap: wrap;
}
.badge {
  font-size: 14px !important;
}
.row {
  margin: 0;
  padding: 0;
}
.r-15 {
  border-radius: 15;
  -webkit-border-radius: 15;
  -moz-border-radius: 15;
  -ms-border-radius: 15;
  -o-border-radius: 15;
  overflow: hidden;
}
.wrs_editor .wrs_tickContainer {
  display: none !important;
}

.breadcrumb-item.active,
.bg-menu-theme .menu-item.open:not(.menu-item-closing) > .menu-toggle,
.bg-menu-theme .menu-item.active > .menu-link {
  color: #c22931 !important;
}
.bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
  color: #c22931 !important;
  background: #ee838329 !important;
}
.bg-menu-theme .menu-inner > .menu-item.active::before,
.app-brand .layout-menu-toggle,
#template-customizer .template-customizer-open-btn {
  background: #c22931 !important;
}
.card-border {
  border-left: 3px solid #c22931 !important;
  border-bottom: 3px solid #c22931 !important;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}
.navbar {
  border-radius: 50px !important;
  -webkit-border-radius: 50px !important;
  -moz-border-radius: 50px !important;
  -ms-border-radius: 50px !important;
  -o-border-radius: 50px !important;

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}
/* الكارت الأساسي */
.card {
  border-radius: 20px !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08) !important; /* أنعم من 0,10,20 */
  background: #fff;
  border: none; /* بدون بوردر افتراضي */
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* عند الهوفر للكارت العادي */
/* .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
} */

/* الكارد */
/* الكارد */
.card[class*='card-border-shadow-'] {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  border-bottom: 3px solid rgba(194, 41, 49, 0.45) !important; /* أوضح */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04); /* أخف شادو */
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

/* hover effect */
.card[class*='card-border-shadow-']:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-bottom-color: rgba(194, 41, 49, 0.8); /* أحمر أوضح */
}

/* الصورة */
.card[class*='card-border-shadow-'] img {
  transition: transform 0.6s ease;
}

.card[class*='card-border-shadow-']:hover img {
  transform: scale(1.08);
}

/* overlay */
.card[class*='card-border-shadow-']::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(194, 41, 49, 0.08), rgba(255, 255, 255, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.card[class*='card-border-shadow-']:hover::after {
  opacity: 1;
}

/* النصوص */
.card[class*='card-border-shadow-'] .card-content {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: #333;
  z-index: 2;
}

.card[class*='card-border-shadow-'] .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.card[class*='card-border-shadow-'] .card-desc {
  font-size: 0.95rem;
  opacity: 0.8;
}

.toast-success {
  background-color: #51a351 !important;
}
.toast-info {
  background-color: #03c3ec !important;
}
.toast-warning {
  background-color: #ffab00 !important;
}
.toast-error {
  background-color: #ff3e1d !important;
}
/* .content-wrapper {
  animation: fadeInDown 0.3s;
  animation-duration: 0.3s;
} */
.badge {
  margin: 3px;
}
.dark-style .bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
  color: #fff !important;
}
.light-style .card,
.light-style .modal-content,
.light-style body,
.light-style .layout-menu,
.light-style footer,
.light-style .bg-label-primary,
.light-style .bg-white,
.light-style .offcanvas,
.light-style .accordion,
.light-style .accordion-item,
.light-style .dropdown-menu,
.light-style .navbar {
  background: url('../images/bg-w.jpg') center center / cover no-repeat;
}
.form-select,
.badge:not(.badge-notifications),
.form-control {
  border-radius: 15px !important;
  -webkit-border-radius: 15px !important;
  -moz-border-radius: 15px !important;
  -ms-border-radius: 15px !important;
  -o-border-radius: 15px !important;
}

.btn,
.select2-selection,
.select2-selection--multiple .select2-selection__choice,
.select2-selection--single,
.btn-group,
.input-group-text {
  border-radius: 20px !important;
  -webkit-border-radius: 20px !important;
  -moz-border-radius: 20px !important;
  -ms-border-radius: 20px !important;
  -o-border-radius: 20px !important;
}

.dark-style .card,
.dark-style .modal-content,
.dark-style body,
.dark-style .layout-menu,
.dark-style footer,
.dark-style .bg-white,
.dark-style .offcanvas,
.dark-style .accordion,
.dark-style .accordion-item,
.dark-style .dropdown-menu,
.dark-style .navbar {
  background: url('../images/bg-d.jpg') center center / cover no-repeat;
}

.dark-style card.card-title,
.dark-style .breadcrumb-item.active,
.dark-style .breadcrumb-item:hover,
.dark-style .breadcrumb-item:focus,
.dark-style .breadcrumb-item a:hover,
.dark-style .bg-label-primary,
.dark-style .btn-outline-primary,
.dark-style h3,
.dark-style h4,
.dark-style h5,
.dark-style h6,
.dark-style p,
.dark-style a {
  color: #fff !important;
}
/* .dark-style img {
  background: #f2f5f9;
} */
.page-item .page-link {
  border-radius: 50% !important;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.timeline .timeline-item .timeline-point-wrapper {
  background-color: transparent !important;
}

.timeline .timeline-item .timeline-point-wrapper {
  background-color: transparent !important;
}

.timeline .timeline-item .timeline-point-wrapper {
  background-color: transparent !important;
}
.table-hover tbody tr {
  transition:
    background 0.4s ease,
    color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.3s ease;
}

.table-hover tbody tr:hover {
  background: linear-gradient(90deg, rgba(255, 182, 193, 0.25) 0%, /* وردي فاتح */ rgba(255, 160, 180, 0.15) 100%);
  color: #fff; /* النص أبيض */
  box-shadow: 0 0 12px rgba(255, 160, 180, 0.4);
  border-radius: 12px;
}
.table-danger {
  background-color: rgba(220, 53, 69, 0.15) !important;
}
.degree-input.is-invalid {
  border-color: #dc3545;
  background: #fff5f5;
}
.bg-purple {
  background-color: #9b59b6; /* موف */
  color: white; /* نص أبيض */
} /* زر بشكل Outline موف */
.btn-outline-purple {
  color: #9b59b6; /* نص موف */
  border: 2px solid #9b59b6; /* حد موف */
  background-color: transparent;
  border-radius: 4px;
  padding: 6px 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.btn-outline-purple:hover,
.btn-outline-purple:focus {
  background-color: #9b59b6; /* خلفية موف عند التمرير */
  color: white; /* نص أبيض */
  outline: none;
}

/* زر بلون موف كامل (label style) */
.btn-label-purple,
.bg-label-purple {
  background-color: #b67bcdb3;
  color: white;
  border-radius: 12px;
  padding: 6px 14px;
  font-weight: 600;
  cursor: default;
  display: inline-block;
  font-size: 0.9rem;
  border: none;
}
