/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700&display=swap');

/* base styles */
* {
  font-family: 'Vazirmatn', sans-serif;
}

body {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  min-height: 100vh;
  padding-top: 0;
  margin: 0;
}

/* cards */
.card {
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
  border-radius: 15px 15px 0 0 !important;
  font-weight: 600;
}

/* tabs modern design */
.nav-tabs {
  border-bottom: none;
  margin-bottom: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 5px 0;
}

.nav-tabs .nav-link {
  border: none;
  border-radius: 50px;
  padding: 12px 25px;
  margin: 0 5px;
  font-weight: 600;
  color: #495057;
  background-color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  height: 100%;
}

.nav-tabs .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.nav-tabs .nav-link.active {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: white;
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
  border: none;
}

/* buttons */
.btn-primary {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-success {
  background: linear-gradient(135deg, #198754, #157347);
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-warning {
  background: linear-gradient(135deg, #ffc107, #e0a800);
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-outline-light {
  border: 1px solid #fff;
  border-radius: 50px;
}

/* artwork */
.artwork-img {
  width: 100%;
  height: 340px;
  border-radius: 12px 12px 0 0;
  transition: transform 0.3s;
  object-fit: cover;
}
.artworkimg{
    height: auto;

}

.artwork-img:hover {
  transform: scale(1.03);
}

.thumbnail-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

/* typography */
.section-title {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #0d6efd;
  display: inline-block;
  font-weight: 700;
  color: #343a40;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 50%;
  height: 3px;
  background: #198754;
  border-radius: 3px;
}

/* score bars */
.score-bar {
  height: 20px;
  border-radius: 10px;
  background: #e9ecef;
  overflow: hidden;
  position: relative;
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, #198754, #2ecc71);
  border-radius: 10px;
  transition: width 1s ease-out;
}

/* badges */
.result-badge {
  font-size: 1.1rem;
  padding: 8px 18px;
  border-radius: 50px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.judge-score-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
  font-size: 1.1rem;
  padding: 8px 16px;
  border-radius: 50px;
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: white;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.rank-badge {
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* pagination */
.pagination {
  justify-content: center;
  margin-top: 30px;
}

.pagination .page-item .page-link {
  border-radius: 50% !important;
  margin: 0 7px;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

/* Modal styles for results */
.modal-dialog {
  max-height: 85vh;
  overflow-y: auto;
}

.modal-body {
  max-height: 65vh;
  overflow-y: auto;
}

.modal-img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-header {
  border-radius: 15px 15px 0 0 !important;
}

/* Persian numbers */
.persian-digit {
  font-family: 'Vazirmatn', sans-serif;
  direction: ltr;
  display: inline-block;
  unicode-bidi: embed;
}

/* Judge statistics */
.judge-stats-card {
  transition: all 0.3s;
  border-radius: 15px;
  overflow: hidden;
}

.judge-stats-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.judge-stats-card .card-body {
  padding: 25px 15px;
}

/* Admin panel artwork card */
.artwork-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.artwork-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.artwork-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 20px 15px 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s;
}

.artwork-card:hover .artwork-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* دکمه حذف در حالت hover */
.artwork-overlay .btn-danger {
  opacity: 0.9;
  transition: all 0.3s;
}

.artwork-overlay .btn-danger:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* استایل‌های جدید برای مودال جزئیات */
.artwork-details-img {
  max-height: 500px;
  width: 100%;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.details-list li {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.details-list li:last-child {
  border-bottom: none;
}
/* استایل‌های جدید برای مودال جزئیات */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0,0,0,0.2);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7) !important;
}

.artwork-details-img {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}

.criteria-score {
    min-width: 70px;
    padding: 5px;
    border-radius: 8px;
    background: rgba(245, 245, 245, 0.7);
    transition: all 0.3s;
}

.criteria-score:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.table-container {
    scrollbar-width: thin;
    scrollbar-color: #0d6efd #f8f9fa;
}

.table-container::-webkit-scrollbar {
    width: 6px;
}

.table-container::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 10px;
}

.table-container::-webkit-scrollbar-thumb {
    background-color: #0d6efd;
    border-radius: 10px;
}

.table-sm th, .table-sm td {
    padding: 10px 8px;
}

.table-borderless tbody tr {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sticky-top {
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.progress {
    border-radius: 10px;
    background: rgba(0,0,0,0.05);
    overflow: visible;
}

.progress-bar {
    border-radius: 10px;
    position: relative;
    overflow: visible;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -2px;
    width: 8px;
    height: 8px;
    background: white;
    border: 2px solid currentColor;
    border-radius: 50%;
}

/* انیمیشن‌ها */
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal.fade .modal-dialog {
    animation: fadeInScale 0.4s ease-out;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 10px;
    }
    
    .modal-body .row {
        flex-direction: column;
    }
    
    .modal-body .col-md-5,
    .modal-body .col-md-7 {
        width: 100%;
        max-width: 100%;
    }
    
    .table-container {
        max-height: 250px;
    }
    
    .criteria-score {
        min-width: 60px;
    }
}

@media (max-width: 576px) {
    .criteria-score {
        min-width: 50px;
        padding: 3px;
    }
    
    .criteria-score small {
        font-size: 0.75rem;
    }
    
    .table-sm th, .table-sm td {
        padding: 8px 4px;
    }
}


/* بهبود استایل دکمه‌ها در کارت */
.artwork-overlay .btn {
  margin-bottom: 8px;
  transition: all 0.3s;
  opacity: 0.9;
}

.artwork-overlay .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  opacity: 1;
}

.artwork-overlay .btn-info {
  background: linear-gradient(135deg, #0dcaf0, #0aa2c0);
}

.artwork-overlay .btn-info:hover {
  background: linear-gradient(135deg, #0aa2c0, #0987a0);
}

/* Table styles */
.table-responsive {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.table th, .table td {
  vertical-align: middle;
  padding: 15px;
}

.table thead th {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: white;
  font-weight: 600;
  border: none;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(13, 110, 253, 0.03);
}

.table-hover tbody tr:hover {
  background-color: rgba(13, 110, 253, 0.08);
}

/* Scoring page layout */
.scoring-container {
  display: flex;
  gap: 30px;
}

.artwork-column {
  flex: 1;
}

.scoring-column {
  flex: 1;
}

/* Header styles */
.navbar {
  height: 75px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  border-radius: 0 0 15px 15px;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
}

.navbar-brand i {
  font-size: 1.8rem;
  margin-left: 10px;
}

/* Footer styles */
footer {
  background: linear-gradient(135deg, #343a40, #212529);
  color: white;
  padding: 25px 0;
  margin-top: 50px;
  border-radius: 15px 15px 0 0;
}

/* Form range sliders */
.form-range::-webkit-slider-thumb {
  background: #0d6efd;
  width: 22px;
  height: 22px;
}

.form-range::-moz-range-thumb {
  background: #0d6efd;
  width: 22px;
  height: 22px;
}

/* استایل‌های جدید برای صفحه نتایج */
/* استایل‌های عمومی */
body {
  background: #f8f9fa;
}

/* استایل‌های کارت‌های پنج اثر برتر */
.top-artwork-card {
  position: relative;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  border: none;
}

.top-artwork-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.top-artwork-img-container {
  overflow: hidden;
  height: 200px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.top-artwork-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.top-artwork-card:hover .top-artwork-img {
  transform: scale(1.05);
}

.top-artwork-details {
  padding: 20px;
  background: white;
}

.ranking-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 10;
}

.badge-1 {
  background: linear-gradient(135deg, #FFD700, #D4AF37); /* طلایی */
}

.badge-2 {
  background: linear-gradient(135deg, #C0C0C0, #A9A9A9); /* نقره‌ای */
}

.badge-3 {
  background: linear-gradient(135deg, #CD7F32, #A67C52); /* برنزی */
}

.badge-4 {
  background: linear-gradient(135deg, #5D8AA8, #3A7CA5); /* آبی */
}

.badge-5 {
  background: linear-gradient(135deg, #2E8B57, #3CB371); /* سبز */
}

/* استایل‌های جدول رتبه‌های بعدی */
.card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
}

.card-header {
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
}

.table {
  border-collapse: separate;
  border-spacing: 0;
}

.table thead th {
  border: none;
  font-weight: 600;
  padding: 15px 20px;
}

.table tbody td {
  padding: 15px 20px;
  vertical-align: middle;
  border-top: 1px solid rgba(0,0,0,0.03);
}

.table-hover tbody tr:hover {
  background-color: rgba(13, 110, 253, 0.03);
}

.artwork-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
}

.artwork-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-badge {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.score-bar {
  height: 12px;
  border-radius: 6px;
  background: #e9ecef;
  overflow: hidden;
  position: relative;
  flex: 1;
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, #198754, #2ecc71);
  border-radius: 6px;
  transition: width 1s ease-out;
}

.score-value {
  min-width: 40px;
  text-align: center;
  font-weight: 600;
}

/* استایل‌های مودال */
.modal-content {
  border-radius: 16px;
  overflow: hidden;
  border: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.artwork-preview {
  height: 300px;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artwork-preview img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.artwork-info {
  border: 1px solid rgba(0,0,0,0.05);
}

/* استایل‌های ریسپانسیو */
@media (max-width: 1200px) {
  .top-artwork-img-container {
    height: 180px;
  }
}

@media (max-width: 992px) {
  .top-artwork-img-container {
    height: 160px;
  }
  
  .ranking-badge {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .top-artwork-img-container {
    height: 140px;
  }
  
  .ranking-badge {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    top: -10px;
    right: -10px;
  }
  
  .top-artwork-details {
    padding: 15px;
  }
  
  .artwork-img {
    max-height: 300px;
    width: auto;
    margin: 0 auto 20px;
    display: block;
  }
  
  /* چیدمان عمودی در موبایل */
  .col-md-6 {
    width: 100%;
    max-width: 100%;
  }
  
  .mb-4 {
    margin-bottom: 1.5rem;
  }
  
  .btn {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  
  .d-flex.justify-content-between {
    flex-direction: column;
    gap: 10px;
  }
  
  .d-flex.justify-content-between .btn {
    width: 100%;
    margin: 5px 0;
  }
  
  .scoring-container {
    flex-direction: column;
  }
  
  .artwork-column, .scoring-column {
    width: 100%;
  }
  
  /* تغییرات برای مودال در موبایل */
  .modal-dialog {
    margin: 10px;
  }
  
  .modal-body .row {
    flex-direction: column;
  }
  
  .modal-body .col-md-6 {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .top-artwork-card {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .card-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-tabs {
    width: 100%;
  }
  
  .artwork-img {
    height: 180px;
  }
  
  .results-title {
    font-size: 1.8rem;
  }
  
  .results-subtitle {
    font-size: 1rem;
  }
}

/* استایل‌های اضافی برای صفحه نتایج */
.results-header {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: white;
  padding: 40px 0;
  border-radius: 0 0 30px 30px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(13, 110, 253, 0.2);
}

.results-title {
  font-weight: 800;
  font-size: 2.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.results-subtitle {
  opacity: 0.9;
  font-size: 1.2rem;
}

.result-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.rank-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.score-progress {
  height: 8px;
  border-radius: 4px;
  background: #e9ecef;
  overflow: hidden;
}

.score-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #198754, #2ecc71);
  border-radius: 4px;
}

.modal-score-table th {
  background: rgba(13, 110, 253, 0.1);
  font-weight: 600;
}

/* استایل‌های انیمیشن */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out forwards;
}

/* استایل‌های سفارشی برای جدول */
.table-striped-custom tbody tr:nth-of-type(odd) {
  background-color: rgba(248, 249, 250, 0.5);
}

.table-striped-custom tbody tr:nth-of-type(even) {
  background-color: rgba(255, 255, 255, 0.8);
}

/* استایل‌های برای رتبه‌های برتر */
.top-ranking-section {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-bottom: 40px;
}

/* استایل‌های دکمه‌ها */
.btn-pill {
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-pill-primary {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: white;
  border: none;
}

.btn-pill-primary:hover {
  background: linear-gradient(135deg, #0b5ed7, #094db1);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* استایل‌های ناوبری ثابت - بهبود یافته */
.fixed-navigation {
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 1000;
  pointer-events: none;
}

.fixed-prev, .fixed-next {
  position: absolute;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
  pointer-events: auto;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: pulse 2s infinite;
}

.fixed-prev {
  left: 25px;
}

.fixed-next {
  right: 25px;
}

.fixed-prev:hover, .fixed-next:hover {
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 10px 30px rgba(13, 110, 253, 0.6);
  background: linear-gradient(135deg, #0b5ed7, #094db1);
}

.fixed-prev:active, .fixed-next:active {
  transform: scale(0.95) translateY(0);
}

.fixed-prev.disabled, .fixed-next.disabled {
  background: #6c757d;
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
  animation: none;
}

/* انیمیشن پالس */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(13, 110, 253, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
  }
}

/* افکت شناور */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.fixed-prev, .fixed-next {
  animation: float 4s ease-in-out infinite;
}

/* استایل‌های واکنش‌گرا */
@media (max-width: 992px) {
  .fixed-prev, .fixed-next {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .fixed-prev, .fixed-next {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .fixed-prev {
    left: 15px;
  }
  
  .fixed-next {
    right: 15px;
  }
}

@media (max-width: 576px) {
  .fixed-prev, .fixed-next {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    animation: none;
  }
  
  .artwork-img {
    max-height: 250px;
  }
  
  .card-body {
    padding: 15px;
  }
  
  .form-range {
    margin-bottom: 1.5rem;
  }
  
  .btn {
    padding: 8px;
    font-size: 0.85rem;
  }
  
  h4 {
    font-size: 1.2rem;
  }
  
  .navbar {
    height: auto;
    padding: 10px 0;
  }
}

/* استایل‌های عمومی برای تصویر */
.artwork-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

/* بهبود فرم در موبایل */
.scoring-column {
  padding: 0 10px;
}

/* استایل‌های اضافی برای چیدمان واکنش‌گرا */
.row {
  margin-right: -10px;
  margin-left: -10px;
}

.col-12, .col-md-6 {
  padding-right: 10px;
  padding-left: 10px;
}

/* استایل‌های برای دکمه‌های پایین صفحه امتیازدهی */
.flex-wrap {
  flex-wrap: wrap;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

/* بهبود ظاهر اسلایدرها در موبایل */
.form-range {
  width: 100%;
}

/* استایل‌های برای حالت عمودی دکمه‌ها در موبایل */
@media (max-width: 768px) {
  .d-flex.justify-content-between {
    flex-direction: column;
  }
  
  .d-flex.justify-content-between .btn {
    margin-bottom: 10px;
    width: 100%;
  }
  
  .me-2, .ms-2, .mx-2 {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}