/* Reset و تنظیمات پایه */
:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --danger-color: #e74c3c;
  --warning-color: #f39c12;
  --info-color: #1abc9c;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --text-color: #333;
  --text-light: #7f8c8d;
  --border-radius: 0.5rem;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f5f7fa;
  overflow-x: hidden;
}

/* هدر */
.header {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

.header-bg-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.logo-img {
  max-height: 80px;
  transition: var(--transition);
}

.logo-img:hover {
  transform: scale(1.05);
}

.marquee-box {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  color: white;
  display: flex;
  align-items: center;
}

.marquee-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
}

.marquee-content p {
  margin: 0;
  padding-right: 1rem;
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.datetime-box {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  color: white;
  display: inline-flex;
  align-items: center;
}

.main-header {
  position: relative;
  z-index: 10;
  margin-top: -1rem;
}

.main-nav {
  border-radius: var(--border-radius);
  padding: 0.5rem 1rem;
}

.nav-item {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-item li {
  position: relative;
}

.nav-item a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.nav-item a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hover-grow:hover {
  transform: scale(1.05);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* محتوای اصلی */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-wrapper {
  display: flex;
  flex: 1;
  gap: 1.5rem;
  padding: 1rem;
}

.main-content {
  flex: 1;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
}

/* سایدبار */
.student-sidebar {
  width: 300px;
  min-width: 300px;
  border-radius: var(--border-radius);
}

.profile-card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.student-avatar img {
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: var(--box-shadow);
}

.student-name {
  font-weight: bold;
  color: var(--dark-color);
}

.list-group-item {
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.75rem 1.25rem;
  transition: var(--transition);
}

.list-group-item:hover {
  background-color: var(--light-color);
  padding-right: 1.5rem;
}

.list-group-item i {
  width: 20px;
  text-align: center;
}

/* نوار پیشرفت */
.step-progress-bar {
  margin-bottom: 2rem;
}

.progress {
  height: 10px;
  border-radius: 5px;
}

.progress-bar {
  border-radius: 5px;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e0e0e0;
  z-index: 1;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  cursor: pointer;
  width: 20%;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  color: white;
  font-size: 1.2rem;
}

.step-label {
  font-size: 0.85rem;
  text-align: center;
  color: var(--text-light);
}

.step.completed .step-icon {
  background: var(--secondary-color);
}

.step.active .step-icon {
  background: var(--primary-color);
  transform: scale(1.1);
}

.step-completed-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--secondary-color);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* کارت‌های اطلاعات */
.card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
  font-weight: bold;
  padding: 1rem;
}

.card-body {
  padding: 1.5rem;
}

.alert {
  border-radius: var(--border-radius);
  padding: 1rem;
}

/* جدول وضعیت */
.table {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.table thead th {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem;
}

.table tbody tr {
  transition: var(--transition);
}

.table tbody tr:hover {
  background-color: rgba(52, 152, 219, 0.1);
}

.badge {
  font-weight: normal;
  padding: 0.5rem 1rem;
  border-radius: 50px;
}

/* دکمه‌ها */
.btn {
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-lg {
  padding: 0.75rem 2rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn i {
  margin-left: 0.5rem;
}

/* فوتر */
.main-footer {
  background: var(--dark-color);
  color: white;
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-title {
  margin-bottom: 1rem;
}

.footer-title i {
  font-size: 1.5rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: white;
  padding-right: 0.5rem;
}

.hover-text-primary:hover {
  color: var(--primary-color) !important;
}

.social-icons .btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* رسپانسیو */
@media (max-width: 992px) {
  .main-wrapper {
    flex-direction: column;
  }
  
  .student-sidebar {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .marquee-box {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-item {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .header-bg-image {
    height: 120px;
  }
  
  .logo-img {
    max-height: 60px;
  }
  
  .steps-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .step {
    width: 45%;
    margin-bottom: 1rem;
  }
  
  .steps-container::before {
    display: none;
  }
}

@media (max-width: 576px) {
  .card-body {
    padding: 1rem;
  }
  
  .btn-lg {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .d-flex.flex-wrap {
    flex-direction: column;
  }
  
  .footer .col-md-6 {
    text-align: center !important;
    margin-bottom: 1rem;
  }
}

/* انیمیشن‌ها */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* افکت‌های ویژه */
.hover-effect {
  transition: var(--transition);
}

.hover-effect:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* استایل‌های سفارشی برای پنل دانش آموزی */
.student-panel {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  min-height: 100vh;
}

.status-badge {
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-weight: 500;
}

.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

.status-approved {
  background-color: #d4edda;
  color: #155724;
}

.status-rejected {
  background-color: #f8d7da;
  color: #721c24;
}

/* استایل‌های سفارشی برای منو */
.nav-pills .nav-link.active {
  background-color: var(--primary-color);
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.nav-pills .nav-link {
  color: var(--dark-color);
  border-radius: var(--border-radius);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.nav-pills .nav-link:hover {
  background-color: rgba(52, 152, 219, 0.1);
}

/* استایل برای حالت‌های مختلف وضعیت */
.bg-warning-light {
  background-color: #fff3cd;
  color: #856404;
}

.bg-success-light {
  background-color: #d4edda;
  color: #155724;
}

.bg-info-light {
  background-color: #d1ecf1;
  color: #0c5460;
}

/* استایل برای کارت‌های داشبورد */
.dashboard-card {
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.dashboard-card .card-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* استایل برای جداول */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.data-table th {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  text-align: right;
}

.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background-color: rgba(52, 152, 219, 0.05);
}

/* استایل برای فرم‌ها */
.form-control {
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

/* استایل برای آپلود فایل */
.file-upload {
  border: 2px dashed #ddd;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.file-upload:hover {
  border-color: var(--primary-color);
  background-color: rgba(52, 152, 219, 0.05);
}

.file-upload i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* استایل برای پیام‌های سیستم */
.system-message {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  min-width: 300px;
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.system-message.success {
  background-color: var(--secondary-color);
  color: white;
}

.system-message.error {
  background-color: var(--danger-color);
  color: white;
}

.system-message.warning {
  background-color: var(--warning-color);
  color: white;
}

/* استایل برای صفحه‌بندی */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-link {
  color: var(--primary-color);
  margin: 0 0.25rem;
  border-radius: var(--border-radius) !important;
}

/* استایل برای تب‌ها */
.nav-tabs .nav-link {
  border: none;
  color: var(--text-light);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.nav-tabs .nav-link.active {
  color: var(--primary-color);
  background-color: white;
  border-bottom: 3px solid var(--primary-color);
}

/* استایل برای تگ‌ها */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--light-color);
  border-radius: 50px;
  font-size: 0.85rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.tag-primary {
  background-color: rgba(52, 152, 219, 0.1);
  color: var(--primary-color);
}

.tag-success {
  background-color: rgba(46, 204, 113, 0.1);
  color: var(--secondary-color);
}

/* استایل برای پیش‌نمایش فایل */
.file-preview {
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.file-preview-info {
  display: flex;
  align-items: center;
}

.file-preview-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
  color: var(--primary-color);
}

.file-preview-name {
  font-weight: 500;
}

.file-preview-size {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* استایل برای تایمر */
.timer {
  font-family: monospace;
  font-size: 1.2rem;
  color: var(--danger-color);
  background-color: rgba(231, 76, 60, 0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  display: inline-block;
}

/* استایل برای اسپینر */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* استایل برای توضیحات کوچک */
.text-small {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* استایل برای جداول پاسخگو */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* استایل برای کارت‌های آمار */
.stats-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  background: white;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.stats-card .stats-value {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin: 0.5rem 0;
}

.stats-card .stats-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* استایل برای نوار ابزار */
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.toolbar-actions {
  display: flex;
  gap: 0.5rem;
}

/* استایل برای مدال‌ها */
.modal-content {
  border-radius: var(--border-radius);
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: none;
  padding-bottom: 0;
}

.modal-footer {
  border-top: none;
  padding-top: 0;
}

/* استایل برای نوار جستجو */
.search-bar {
  position: relative;
  max-width: 400px;
}

.search-bar input {
  padding-right: 2.5rem;
  border-radius: 50px;
}

.search-bar .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

/* استایل برای لیست‌های درختی */
.tree-list {
  list-style: none;
  padding-right: 0;
}

.tree-list li {
  position: relative;
  padding-right: 1.5rem;
  margin-bottom: 0.5rem;
}

.tree-list li:before {
  content: '';
  position: absolute;
  right: 0;
  top: 0.75rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.tree-list ul {
  list-style: none;
  padding-right: 1.5rem;
  margin-top: 0.5rem;
}

/* استایل برای ستاره‌های امتیازدهی */
.rating-stars {
  color: #f1c40f;
  font-size: 1.2rem;
}

/* استایل برای نوار وضعیت */
.status-bar {
  height: 6px;
  border-radius: 3px;
  background-color: #eee;
  overflow: hidden;
  margin-top: 0.5rem;
}

.status-bar-fill {
  height: 100%;
  background-color: var(--primary-color);
  transition: width 0.5s ease;
}

/* استایل برای کارت‌های محصول */
.product-card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--danger-color);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  z-index: 1;
}

.product-img {
  height: 180px;
  object-fit: cover;
}

.product-title {
  font-weight: 500;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-price {
  font-weight: bold;
  color: var(--primary-color);
}

/* استایل برای اسلایدر */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.slider-item {
  min-height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.slider-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
}

.slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1;
}

.slider-control {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-control:hover {
  background-color: rgba(255,255,255,0.4);
}

/* استایل برای کامنت‌ها */
.comment {
  display: flex;
  margin-bottom: 1.5rem;
}

.comment-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-left: 1rem;
  object-fit: cover;
}

.comment-body {
  flex: 1;
  background: white;
  padding: 1rem;
  border-radius: 0 var(--border-radius) var(--border-radius) var(--border-radius);
  box-shadow: var(--box-shadow);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.comment-author {
  font-weight: 500;
  color: var(--primary-color);
}

.comment-date {
  font-size: 0.85rem;
  color: var(--text-light);
}

.comment-text {
  margin-bottom: 0.5rem;
}

.comment-actions {
  display: flex;
  gap: 1rem;
}

.comment-action {
  font-size: 0.85rem;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.comment-action:hover {
  color: var(--primary-color);
}

/* استایل برای نوار کناری */
.sidebar-widget {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--box-shadow);
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.widget-title i {
  margin-left: 0.5rem;
  color: var(--primary-color);
}

/* استایل برای لیست دسته‌بندی */
.category-list {
  list-style: none;
  padding-right: 0;
}

.category-list li {
  margin-bottom: 0.5rem;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.category-list a:hover {
  background-color: rgba(52, 152, 219, 0.1);
  color: var(--primary-color);
}

.category-count {
  background-color: var(--light-color);
  color: var(--text-light);
  padding: 0.25rem 0.5rem;
  border-radius: 50px;
  font-size: 0.75rem;
}

/* استایل برای تگ‌های ابری */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-cloud a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--light-color);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.tag-cloud a:hover {
  background-color: var(--primary-color);
  color: white;
}

/* استایل برای کارت نویسنده */
.author-card {
  text-align: center;
  padding: 1.5rem;
}

.author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid white;
  box-shadow: var(--box-shadow);
}

.author-name {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.author-bio {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.author-social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.author-social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--light-color);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.author-social a:hover {
  background-color: var(--primary-color);
  color: white;
}

/* استایل برای نوار پیشرفت مهارت */
.skill-item {
  margin-bottom: 1rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-name {
  font-weight: 500;
}

.skill-percent {
  color: var(--text-light);
}

.skill-bar {
  height: 6px;
  background-color: #eee;
  border-radius: 3px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: width 1s ease;
}

/* استایل برای جدول زمانی */
.timeline {
  position: relative;
  padding-right: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #eee;
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 2px solid white;
  z-index: 1;
}

.timeline-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.timeline-text {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* استایل برای کارت قیمت */
.pricing-card {
  text-align: center;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  margin-bottom: 1.5rem;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-header {
  padding: 1.5rem;
  background-color: var(--primary-color);
  color: white;
}

.pricing-title {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0;
}

.pricing-body {
  padding: 1.5rem;
  background-color: white;
}

.pricing-features {
  list-style: none;
  padding-right: 0;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-footer {
  padding: 1rem 1.5rem;
  background-color: #f9f9f9;
}

/* استایل برای گالری */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* استایل برای نقشه */
.map-container {
  height: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* استایل برای نوار ابزار ویرایشگر */
.editor-toolbar {
  background-color: #f5f7fa;
  padding: 0.5rem;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  border: 1px solid #ddd;
  border-bottom: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.editor-toolbar button {
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
}

.editor-toolbar button:hover {
  background-color: #e0e0e0;
}

.editor-content {
  min-height: 200px;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* استایل برای نوار ابزار پایین */
.bottom-toolbar {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: white;
  padding: 0.5rem 1rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

/* استایل برای حالت پرینت */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: none;
    font-size: 12pt;
  }
  
  .container {
    width: auto;
    max-width: 100%;
    padding: 0;
  }
  
  .card, .table {
    border: 1px solid #ddd;
    box-shadow: none;
  }
  
  .table th {
    background-color: white !important;
    color: black !important;
  }
  
 