body.modal-open {
  padding-right: 0 !important;
}

body {
  font-family: "Cairo", sans-serif;
  background-color: #f4f6f9;
  direction: rtl;
  text-align: right;
}

.container {
  margin-top: 30px;
  max-width: 100%;
  padding: 0 15px;
}

.section-header {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: #007bff;
}

.card {
  margin-bottom: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
}

.list-group-item {
  padding: 20px;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-info {
  background-color: #17a2b8;
  font-size: 1rem;
}

.badge-warning {
  background-color: #ffc107;
  font-size: 1rem;
}

.rating-stars {
  color: gold;
  font-size: 1.5rem;
}

.carousel-item {
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  text-align: center;
}

.carousel-inner {
  max-width: 100%;
  margin: 0 auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

/* تحسين تنسيق المودال ليكون ريسبونسيف */
.modal-dialog {
  min-width: 90%;
}

.modal-header {
  background-color: #007bff;
  color: #fff;
}

/* تحسين العرض على الهواتف */
@media (max-width: 768px) {
  .card-header {
    text-align: center;
    font-size: 1.2rem;
  }

  .list-group-item {
    flex-direction: column;
    text-align: center;
  }

  .badge-info,
  .badge-warning {
    display: block;
    margin: 5px 0;
  }

  .carousel-inner {
    max-width: 100%;
  }
}

/* إضافة أيقونة لزر عرض المزيد */
.btn-icon {
  background-color: #007bff;
  color: white;
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.btn-icon:hover {
  background-color: #0056b3;
  color: white;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {
    margin-right: 10px !important;
  }
}

body.modal-open {
  overflow: hidden;
  padding-left: 0 !important;
  /* بدل padding-right */
}

@media (max-width: 576px) {
  .modal-content {
    border-radius: 10px;
    /* تحسين المظهر */
  }
}

.btn-close {
  position: absolute;
  left: 15px;
}
