/* ============================================
   NIRT - National Iran Radio & Television
   Ultra-Modern Premium Dark UI
   Architecture: Static Frontend + Data Layer
   ============================================ */

/* CSS Variables & Design System */
:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a25;
  
  /* Neon Accents */
  --neon-blue: #00f3ff;
  --neon-purple: #bc13fe;
  --neon-pink: #ff006e;
  
  /* Glass Effect */
  --glass-bg: rgba(20, 20, 30, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.05);
  
  /* Text */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  
  /* Spacing */
  --nav-width: 80px;
  --section-padding: 2rem;
  --container-max: 1400px;
  
  /* Effects */
  --glow-blue: 0 0 20px rgba(0, 243, 255, 0.3);
  --glow-purple: 0 0 20px rgba(188, 19, 254, 0.3);
  --shadow-depth: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
@font-face {
  font-family: 'IranianSans';
  src: url('../fonts/IranianSans.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  direction: rtl;
  overflow: hidden; /* No Scroll Policy */
}

body {
  font-family: 'IranianSans', 'Tahoma', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  height: 100vh;
  width: 100vw;
  overflow: hidden; /* No Scroll Policy */
  position: relative;
  line-height: 1.6;
}

/* Dynamic Background Orbs */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--neon-blue);
  top: -100px;
  right: 20%;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--neon-purple);
  bottom: -50px;
  left: 10%;
  animation-delay: -5s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: var(--neon-pink);
  top: 40%;
  left: 30%;
  animation-delay: -10s;
}

.orb-4 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  top: 20%;
  right: 40%;
  animation-delay: -15s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* Glass Panel Utility */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 
    var(--shadow-depth),
    inset 0 1px 0 var(--glass-highlight);
}

/* Side Navigation (Desktop) */
.side-nav {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-item {
  position: relative;
}

.nav-btn {
  width: 60px;
  height: 60px;
  border: none;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(188, 19, 254, 0.1));
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-btn:hover::before {
  opacity: 1;
}

.nav-icon {
  width: 24px;
  height: 24px;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
}

.nav-text {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  pointer-events: none;
  font-weight: 500;
}

.nav-btn:hover {
  width: 100px;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--glow-blue);
}

.nav-btn:hover .nav-icon {
  opacity: 0;
  transform: translateY(-10px);
}

.nav-btn:hover .nav-text {
  opacity: 1;
  transform: translateY(0);
}

.nav-item.active .nav-btn {
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.2), rgba(188, 19, 254, 0.2));
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
}

.nav-item.active .nav-icon {
  color: var(--neon-blue);
}

/* Mobile Header */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0 1.5rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
}

.logo-small {
  font-size: 1.25rem;
  font-weight: bold;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hamburger {
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  right: 0;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background: var(--bg-secondary);
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active .mobile-menu-content {
  transform: translateX(0);
}

.close-menu {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
}

.mobile-nav-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 4rem;
}

.mobile-nav-btn {
  padding: 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-align: right;
}

.mobile-nav-btn:hover,
.mobile-nav-btn.active {
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.2), rgba(188, 19, 254, 0.2));
  border-color: var(--neon-blue);
}

/* Main Container */
.main-container {
  position: relative;
  z-index: 10;
  height: 100vh;
  width: calc(100vw - 160px); /* Space for nav */
  margin-right: 160px;
  padding: var(--section-padding);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Page Management (SPA) */
.page {
  position: absolute;
  width: 100%;
  max-width: var(--container-max);
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}

.page.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: all;
}

.page-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 300;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

/* Home Page */
.page-home {
  max-width: 900px;
}

.home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.video-section {
  width: 100%;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 
    0 0 0 1px var(--glass-border),
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 243, 255, 0.1);
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s;
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-hint {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s, background 0.3s;
}

.play-hint:hover {
  transform: scale(1.1);
  background: rgba(0, 243, 255, 0.3);
}

.play-hint svg {
  width: 30px;
  height: 30px;
  margin-right: -5px;
}

/* Video Controls */
.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}

.video-container:hover .video-controls,
.video-container.paused .video-controls {
  opacity: 1;
  transform: translateY(0);
}

.control-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--neon-blue);
}

.control-btn svg {
  width: 20px;
  height: 20px;
}

.play-pause .pause-icon { display: none; }
.play-pause.playing .play-icon { display: none; }
.play-pause.playing .pause-icon { display: block; }

.progress-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: visible;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--neon-blue);
}

.progress-handle {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s;
  left: 0%;
}

.progress-bar:hover .progress-handle {
  opacity: 1;
}

.time-display {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: monospace;
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.volume-slider {
  width: 80px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
}

/* Social Section */
.social-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 1px;
}

.social-grid {
  display: flex;
  gap: 1.5rem;
}

.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.social-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
  filter: blur(8px);
}

.social-btn:hover {
  transform: translateY(-5px) scale(1.1);
  color: white;
  border-color: transparent;
}

.social-btn:hover::before {
  opacity: 0.6;
}

.social-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Programs Page */
.programs-content {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.program-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(0, 243, 255, 0.2);
  border-color: rgba(0, 243, 255, 0.3);
}

.program-image {
  width: 100%;
  height: 60%;
  object-fit: cover;
  transition: transform 0.5s;
}

.program-card:hover .program-image {
  transform: scale(1.1);
}

.program-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, var(--bg-primary) 20%, transparent);
  transform: translateY(20px);
  transition: transform 0.3s;
}

.program-card:hover .program-info {
  transform: translateY(0);
}

.program-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.program-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s 0.1s;
}

.program-card:hover .program-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Ads Page */
.ads-content {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.ads-info {
  padding: 2.5rem;
}

.ads-info .page-title {
  text-align: right;
  margin-bottom: 1.5rem;
}

.ads-description {
  color: var(--text-secondary);
  line-height: 2;
  font-size: 1rem;
}

.ads-form-container {
  padding: 2.5rem;
}

.form-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--neon-blue);
  font-weight: 500;
}

/* Forms */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.25rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1rem 1rem 0.5rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s;
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group label {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s;
  background: var(--bg-secondary);
  padding: 0 0.5rem;
}

.form-group textarea ~ label {
  top: 1.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px rgba(0, 243, 255, 0.1);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 0;
  transform: translateY(-50%) scale(0.9);
  color: var(--neon-blue);
}

.form-group select {
  appearance: none;
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  border: none;
  border-radius: 12px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.submit-btn.btn-success {
  background: linear-gradient(135deg, #00c97a, #00ff96) !important;
  box-shadow: 0 10px 30px rgba(0, 255, 150, 0.35);
}

.submit-btn.btn-error {
  background: linear-gradient(135deg, #ff0050, #ff4d7a) !important;
  box-shadow: 0 10px 30px rgba(255, 0, 80, 0.35);
}
.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 243, 255, 0.3);
}

.submit-btn svg {
  width: 18px;
  height: 18px;
}

/* Contact Page */
.contact-content {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.contact-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: auto;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.contact-form-container {
  padding: 2rem;
}

.map-container {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.map-placeholder {
  flex: 1;
  background: var(--bg-tertiary);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 2px dashed var(--glass-border);
  gap: 1rem;
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .map-container {
    grid-column: 1 / -1;
    height: 200px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  body {
    overflow-y: auto; /* Allow scroll on mobile for usability, but design fits */
  }
  
  .mobile-header {
    display: flex;
  }
  
  .side-nav {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .main-container {
    width: 100%;
    margin-right: 0;
    margin-top: 60px;
    padding: 1rem;
    height: calc(100vh - 60px);
  }
  
  .page {
    position: relative;
    height: auto;
    min-height: calc(100vh - 60px);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  
  .page.active {
    display: flex;
  }
  
  .programs-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
  
  .ads-content {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .page-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-height: 700px) and (min-width: 769px) {
  .page-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .video-container {
    max-height: 50vh;
  }
  
  .social-grid {
    gap: 1rem;
  }
  
  .social-btn {
    width: 40px;
    height: 40px;
  }
}

/* Selection */
::selection {
  background: var(--neon-blue);
  color: var(--bg-primary);
}

/* Scrollbar (if ever needed, though hidden) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon-blue);
}
/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  min-width: 260px;
  max-width: 480px;
  background-color: #333;
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  direction: rtl;
  text-align: right;
  font-size: 14px;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-title {
  font-weight: bold;
  margin-bottom: 4px;
}

.toast-message {
  font-size: 13px;
}

.toast-success {
  border-right: 4px solid #4caf50;
}

.toast-error {
  border-right: 4px solid #f44336;
}

/* در assets/css/style.css اضافه کن */
.submit-btn.btn-loading {
  opacity: 0.7;
  cursor: default;
  pointer-events: none;
}

.submit-btn.btn-success {
  background: linear-gradient(135deg, #00c97a, #00ff96) !important;
  box-shadow: 0 12px 30px rgba(0, 255, 150, 0.35);
}

.submit-btn.btn-error {
  background: linear-gradient(135deg, #ff0050, #ff4d7a) !important;
  box-shadow: 0 12px 30px rgba(255, 0, 80, 0.35);
}