/* فقط این کد رو در سایت اصلی بذار */

html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* فقط برای کامپوننت‌های خاص */
.header, .header * {
  box-sizing: border-box;
}

.footer, .footer * {
  box-sizing: border-box;
}

.modern-slider, .modern-slider * {
  box-sizing: border-box;
}

.header {
  width: 100%;
  max-width: 100vw;
}

.sidebar-menu {
  max-width: 100vw;
}

/* فونت‌ها */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap');

/* هدر تیره */
.header {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  box-shadow: 0 2px 15px rgba(0,0,0,0.3);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 70px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* لوگو برای هدر تیره */
.logo h1 {
  font-family: 'Rubik', 'Vazirmatn', Arial, sans-serif;
  color: #fff;
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(45deg, #ecf0f1, #bdc3c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* دکمه همبرگر منو */
.menu-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 24px;
  justify-content: space-between;
  transition: all 0.3s ease;
  padding: 5px;
}

.menu-toggle:hover {
  transform: scale(1.1);
}


/* دکمه همبرگر برای هدر تیره */
.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #ecf0f1;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* انیمیشن تبدیل به ضربدر */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
  background: #c0392b;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
  background: #c0392b;
}

/* منوی کشویی */
.sidebar-menu {
  position: fixed;
  top: 70px;
  right: calc(-100vw / 3);
  width: calc(100vw / 3);
  height: calc(100vh - 70px);
  background: linear-gradient(180deg, #1a252f 0%, #2c3e50 100%);
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 999;
  overflow-y: auto;
  box-shadow: -5px 0 20px rgba(0,0,0,0.3);
}

.sidebar-menu.active {
  right: 0;
}

/* پوشش تیره پس‌زمینه */
.menu-overlay {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 70px);
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: -1;
  backdrop-filter: blur(5px);
}

.sidebar-menu.active .menu-overlay {
  opacity: 1;
  visibility: visible;
}

/* محتوای منو */
.menu-content {
  padding: 20px 0;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  transform: translateX(50px);
  opacity: 0;
}

.menu-item:hover {
  background: linear-gradient(90deg, #2980b9, #1f618d);
  transform: translateX(-5px);
  box-shadow: inset 5px 0 0 #fff;
}

.menu-link {
  display: block;
  padding: 20px 30px;
  color: #ecf0f1;
  text-decoration: none;
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.menu-link:hover {
  color: #fff;
  padding-right: 40px;
  font-weight: 600;
}

.menu-link::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: right 0.6s ease;
}

.menu-link:hover::before {
  right: 100%;
}

/* نقطه‌های تزئینی */
.menu-link::after {
  content: '◀';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
  color: #2980b9;
  font-size: 12px;
}

.menu-link:hover::after {
  opacity: 1;
  left: 30px;
}

/* انیمیشن ورود */
body.menu-open {
  overflow: hidden;
}

/* افکت‌های اضافی */
.menu-item.animate {
  transform: translateX(0);
  opacity: 1;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .sidebar-menu {
    width: 60vw;
    right: -60vw;
  }
  
  .logo h1 {
    font-size: 24px;
  }
  
  .menu-link {
    font-size: 15px;
    padding: 18px 25px;
  }
}

@media (max-width: 480px) {
  .sidebar-menu {
    width: 60vw;
    right: -60vw;
  }
  
  .container {
    padding: 0 15px;
  }
}


/* فوتر حرفه‌ای */
.footer {
  background: linear-gradient(135deg, #1a252f 0%, #2c3e50 50%, #34495e 100%);
  color: #ecf0f1;
  font-family: 'Vazirmatn', Arial, sans-serif;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #2980b9, #1abc9c, #16a085);
  background-size: 400% 400%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* محتوای اصلی فوتر */
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  position: relative;
}

/* بخش‌های فوتر */
.footer-section {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* عناوین فوتر */
.footer-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #fff;
  position: relative;
  padding-bottom: 15px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  border-radius: 2px;
}

/* توضیحات */
.footer-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #bdc3c7;
  margin-bottom: 25px;
  text-align: justify;
}

/* شبکه‌های اجتماعی */
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
  opacity: 0.8;
  transition: all 0.3s ease;
  z-index: -1;
}

.social-link:hover::before {
  transform: scale(1.2);
  opacity: 1;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* رنگ‌های مخصوص هر شبکه */
.social-link.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.telegram {
  background: linear-gradient(135deg, #0088cc, #229ED9);
}

.social-link.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-link.rubika {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.social-link.eitaa {
  background: linear-gradient(135deg, #ff8c00, #ff7700);
}

.social-link.linkedin {
  background: linear-gradient(135deg, #0077b5, #00669c);
}

/* استایل تصاویر لوگو */
.social-link img {
  border-radius: 4px;
  transition: all 0.3s ease;
}

.social-link:hover img {
  transform: scale(1.1);
}

/* لینک‌های فوتر */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
  position: relative;
  padding-right: 20px;
}

.footer-links li::before {
  content: '◀';
  position: absolute;
  right: 0;
  top: 2px;
  color: #3498db;
  font-size: 10px;
  transition: all 0.3s ease;
}

.footer-link {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-link:hover {
  color: #3498db;
  transform: translateX(-5px);
}

.footer-links li:hover::before {
  color: #5dade2;
  transform: translateX(-3px);
}

/* اطلاعات تماس */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-item:hover {
  padding-right: 10px;
  border-bottom-color: #3498db;
}

.contact-icon {
  font-size: 18px;
  width: 25px;
  text-align: center;
  color: #3498db;
}

.contact-item span {
  color: #bdc3c7;
  font-size: 14px;
  transition: color 0.3s ease;
}

.contact-item:hover span {
  color: #ecf0f1;
}

/* دکمه تماس مستقیم */
.contact-button-container {
  margin-top: 20px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
  border: 2px solid transparent;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.5);
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-btn svg {
  animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(-10deg); }
  20% { transform: rotate(10deg); }
}

/* خط جداکننده */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #34495e, transparent);
  margin: 0 20px;
}

/* پایین فوتر */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 25px 0;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: #95a5a6;
  font-size: 14px;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
}

.bottom-link {
  color: #95a5a6;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
  position: relative;
}

.bottom-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 1px;
  background: #3498db;
  transition: width 0.3s ease;
}

.bottom-link:hover {
  color: #3498db;
}

.bottom-link:hover::after {
  width: 100%;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    padding: 40px 15px 30px;
    gap: 30px;
  }
  
  .footer-title {
    font-size: 20px;
  }
  
  .footer-desc {
    font-size: 14px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-content {
    padding: 30px 10px 20px;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .contact-item {
    font-size: 13px;
  }
  
  .footer-bottom-links {
    flex-direction: column;
    gap: 15px;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

/* ریست و تنظیمات کلی */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.admin-body {
  font-family: 'Vazirmatn', Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  direction: rtl;
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

/* صفحه ورود مدیر */
.admin-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

.login-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-header {
  margin-bottom: 40px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.logo svg {
  color: #667eea;
}

.logo h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #2c3e50;
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-subtitle {
  color: #7f8c8d;
  font-size: 1.1rem;
  font-weight: 500;
}

/* فرم ورود */
.login-form {
  margin-bottom: 30px;
}

.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #95a5a6;
  pointer-events: none;
}

#adminPassword {
  width: 100%;
  padding: 18px 50px 18px 20px;
  border: 2px solid #e9ecef;
  border-radius: 16px;
  font-size: 1rem;
  font-family: inherit;
  background: #f8f9fa;
  transition: all 0.3s ease;
  outline: none;
}

#adminPassword:focus {
  border-color: #667eea;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

#adminPassword::placeholder {
  color: #adb5bd;
}

.login-btn {
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.login-btn:active {
  transform: translateY(0);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.error {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 15px;
  padding: 10px;
  background: rgba(231, 76, 60, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(231, 76, 60, 0.2);
}

.login-footer {
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.login-footer p {
  color: #95a5a6;
  font-size: 0.85rem;
}

/* پنل مدیریت اصلی */
.admin-panel {
  min-height: 100vh;
  background: #f8f9fa;
}

/* نوار بالایی */
.admin-header {
  background: #fff;
  padding: 20px 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e9ecef;
}

.header-left {
  display: flex;
  align-items: center;
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-logo svg {
  color: #667eea;
}

.admin-logo span {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.admin-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #f8f9fa;
  border-radius: 12px;
}

.admin-avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-avatar svg {
  width: 18px;
  height: 18px;
  color: white;
}

.admin-info span {
  font-weight: 600;
  color: #495057;
  font-size: 0.9rem;
}

.logout-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  background: #c0392b;
  transform: translateY(-1px);
}

.logout-btn svg {
  width: 16px;
  height: 16px;
}

/* محتوای اصلی */
.admin-main {
  padding: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

/* آمار کلی */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon.pending {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.stat-icon.approved {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.stat-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.stat-info h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 5px;
}

.stat-info p {
  color: #7f8c8d;
  font-weight: 500;
}

/* نوار کنترل */
.controls-bar {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  border: 1px solid #e9ecef;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #95a5a6;
  pointer-events: none;
}

#searchInput {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #f8f9fa;
  transition: all 0.3s ease;
  outline: none;
}

#searchInput:focus {
  border-color: #667eea;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.filter-buttons {
  display: flex;
  gap: 10px;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid #e9ecef;
  background: #fff;
  color: #495057;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: #667eea;
  color: #667eea;
}

.filter-btn.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-color: #667eea;
  color: white;
}

.refresh-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}

.refresh-btn:hover {
  background: linear-gradient(135deg, #229954, #27ae60);
  transform: translateY(-1px);
}

.refresh-btn svg {
  width: 16px;
  height: 16px;
}

/* بخش نظرات */
.comments-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 30px;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
}

.section-title svg {
  width: 24px;
  height: 24px;
  color: #667eea;
}

.comment-list {
  padding: 20px;
  max-height: 600px;
  overflow-y: auto;
}

/* کارت نظر */
.comment-card {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.comment-card:hover {
  border-color: #667eea;
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.1);
}

.comment-card.pending {
  border-color: #f39c12;
  background: #fef9e7;
}

.comment-card.approved {
  border-color: #27ae60;
  background: #eafaf1;
}

.comment-card .status-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.comment-card.pending .status-badge {
  background: #f39c12;
  color: white;
}

.comment-card.approved .status-badge {
  background: #27ae60;
  color: white;
}

.comment-card p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #495057;
}

.comment-card p:last-of-type {
  margin-bottom: 20px;
}

.comment-card strong {
  color: #2c3e50;
  font-weight: 600;
}

.comment-card .message-text {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  font-style: italic;
  color: #495057;
  line-height: 1.7;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.actions button {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.actions .approve-btn {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
}

.actions .approve-btn:hover {
  background: linear-gradient(135deg, #229954, #27ae60);
  transform: translateY(-1px);
}

.actions .delete-btn {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
}

.actions .delete-btn:hover {
  background: linear-gradient(135deg, #c0392b, #a93226);
  transform: translateY(-1px);
}

/* حالت خالی */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #7f8c8d;
}

.empty-state svg {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #495057;
}

.empty-state p {
  font-size: 1rem;
  opacity: 0.8;
}

/* لودینگ */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.loading-spinner {
  background: white;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e9ecef;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-spinner p {
  color: #495057;
  font-weight: 600;
  margin: 0;
}

/* اسکرولبار سفارشی */
.comment-list::-webkit-scrollbar {
  width: 8px;
}

.comment-list::-webkit-scrollbar-track {
  background: #f1f3f4;
  border-radius: 4px;
}

.comment-list::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.comment-list::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* ریسپانسیو */
@media (max-width: 1200px) {
  .admin-main {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .admin-header {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .header-right {
    justify-content: center;
  }

  .login-container {
    padding: 30px;
    margin: 10px;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .controls-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    min-width: auto;
  }

  .filter-buttons {
    justify-content: center;
  }

  .comment-card {
    padding: 20px;
  }

  .actions {
    flex-direction: column;
  }

  .actions button {
    justify-content: center;
  }

  .comment-list {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .admin-main {
    padding: 15px;
  }

  .login-container {
    padding: 25px;
  }

  .comment-card {
    padding: 15px;
  }

  .section-title {
    padding: 20px;
    font-size: 1.1rem;
  }

  .controls-bar {
    padding: 15px;
  }
}