/* ==========================================================================
   Science Night Landing Page - Mobile-First Modern Design System
   دانشگاه صنعتی نوشیروانی بابل - رویداد شب علم
   ========================================================================== */

:root {
  --font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Cosmic Color Palette */
  --bg-deep: #06080d;
  --bg-surface: #0c1220;
  --bg-card: rgba(14, 21, 38, 0.78);
  --bg-card-hover: rgba(22, 32, 58, 0.88);
  --bg-glass: rgba(6, 8, 13, 0.88);
  
  /* Accents */
  --cyan: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.28);
  --cyan-light: #7dd3fc;
  --violet: #8b5cf6;
  --violet-glow: rgba(139, 92, 246, 0.22);
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  
  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(56, 189, 248, 0.25);
  --border-focus: #38bdf8;
  
  /* Status Colors */
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.12);
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.12);
  
  /* Sizing & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --container-max: 1140px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base Setup
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: clip;
  background: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.14) 0%, transparent 48%),
    radial-gradient(circle at 90% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 10% 70%, rgba(56, 189, 248, 0.06) 0%, transparent 40%),
    var(--bg-deep);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   Ambient Cosmic Glow Background Elements
   ========================================================================== */
.cosmic-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.cosmic-orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
  top: -120px;
  right: -80px;
}

.cosmic-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--violet-glow), transparent 70%);
  bottom: 10%;
  left: -150px;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(6, 8, 13, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.navbar.nav-scrolled {
  background: rgba(6, 8, 13, 0.96);
  border-bottom-color: rgba(56, 189, 248, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-emblem-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-accent);
  display: grid;
  place-items: center;
  box-shadow: 0 0 16px var(--cyan-glow);
  transition: var(--transition);
}

.brand:hover .brand-emblem-wrap {
  box-shadow: 0 0 24px var(--cyan-glow);
  border-color: var(--cyan);
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--cyan);
  font-weight: 500;
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-content {
  display: none;
}

@media (min-width: 900px) {
  .mobile-toggle {
    display: none;
  }

  .nav-content {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nav-link:hover {
  color: var(--cyan);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Drawer */
@media (max-width: 899px) {
  .nav-content.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    background: rgba(6, 8, 13, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-accent);
    padding: 1.5rem;
    gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    animation: slideDown 0.25s ease-out;
  }

  .nav-content.mobile-open .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.75rem;
  }

  .nav-content.mobile-open .nav-link {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-content.mobile-open .nav-auth {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Buttons & Core Components
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #06080d;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
  border-radius: var(--radius-md);
  box-shadow: 0 0 20px var(--cyan-glow);
  transition: var(--transition);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
  background: #ffffff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.btn-sm {
  min-height: 38px;
  padding: 0 1rem;
  font-size: 0.82rem;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 2rem;
  width: 100%;
  font-size: 1.05rem;
  font-weight: 700;
  color: #06080d;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
  border-radius: var(--radius-md);
  box-shadow: 0 0 24px var(--cyan-glow);
  position: relative;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(56, 189, 248, 0.55);
  background: #ffffff;
}

.btn-submit:disabled,
.btn-primary:disabled,
.btn-ghost:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fca5a5;
  background: var(--danger-bg);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md);
}

.btn-logout:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ffffff;
}

.badge-user-active {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: var(--success-bg);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-full);
  color: #6ee7b7;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

/* Spinner */
.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(6, 8, 13, 0.25);
  border-top-color: #06080d;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.btn-loading .spinner {
  display: inline-block;
}

.btn-loading .btn-text-content {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4rem 0 3.5rem;
  text-align: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 5.5rem 0 4.5rem;
  }
}

.hero-bg-atom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  opacity: 0.18;
  pointer-events: none;
  animation: orbitRotate 40s linear infinite;
}

@keyframes orbitRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}

.hero-crest-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(14, 21, 38, 0.85);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  margin-bottom: 1.75rem;
  box-shadow: 0 0 20px var(--cyan-glow);
}

.hero-crest-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.hero-pill-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
}

.hero-title {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 0 40px rgba(56, 189, 248, 0.2);
}

.hero-motto {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--cyan-light);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.95;
  margin-bottom: 2.25rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Hero Panoramic Banner Showcase */
.hero-banner-showcase {
  margin-top: 3rem;
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.banner-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  background: rgba(14, 21, 38, 0.7);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(56, 189, 248, 0.15);
  transition: var(--transition);
}

.banner-frame:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 45px rgba(56, 189, 248, 0.28);
  border-color: var(--cyan);
}

.banner-wide-img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(6, 8, 13, 0.95) 0%, rgba(6, 8, 13, 0.6) 70%, transparent 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.banner-badge-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.banner-badge {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.banner-pill-date {
  font-size: 0.75rem;
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.btn-banner-zoom {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-banner-zoom:hover {
  background: var(--cyan);
  color: #06080d;
  border-color: var(--cyan);
}

/* ==========================================================================
   Section Headers (Common)
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-accent);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.8vw, 2.3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ==========================================================================
   3. Landing Page News Slider & Header
   ========================================================================== */
.news-section {
  padding: 4.5rem 0;
  position: relative;
}

.news-section-header-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .news-section-header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-header-compact {
  text-align: right;
  max-width: 620px;
}

.btn-all-news {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  box-shadow: 0 0 16px var(--cyan-glow);
  transition: var(--transition);
  align-self: flex-start;
  white-space: nowrap;
}

.btn-all-news:hover {
  background: var(--cyan);
  color: #06080d;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.45);
  transform: translateX(-4px);
}

.news-slider-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.news-slider-container {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-accent);
  background: var(--bg-card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}

.news-slider-track {
  display: flex;
  direction: ltr !important;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.news-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  direction: rtl !important;
}

.news-slide-inner {
  display: flex;
  flex-direction: column-reverse;
  min-height: 380px;
}

@media (min-width: 860px) {
  .news-slide-inner {
    flex-direction: row;
    align-items: stretch;
  }
}

.news-slide-media {
  flex: 1 1 50%;
  min-height: 280px;
  background: #080d1a;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-slide-content {
  flex: 1 1 50%;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  box-sizing: border-box;
}

.news-slide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.news-slide-title {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.news-slide-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.95;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-slide-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  box-sizing: border-box;
}

.btn-read-news {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #06080d !important;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-light)) !important;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  box-shadow: 0 0 18px var(--cyan-glow);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-read-news:hover {
  background: #ffffff !important;
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.6);
  transform: translateY(-2px);
  color: #06080d !important;
}

.btn-read-news svg {
  stroke: #06080d;
}

.btn-slide-archive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0 1.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-slide-archive:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-accent);
  color: var(--cyan);
}

/* Slider Navigation Controls & Dots */
.news-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  position: relative;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14, 21, 38, 0.9);
  border: 1px solid var(--border-accent);
  color: #ffffff;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
  flex-shrink: 0;
}

.slider-arrow:hover {
  background: var(--cyan);
  color: #06080d;
  box-shadow: 0 0 20px var(--cyan-glow);
  transform: scale(1.08);
}

@media (min-width: 861px) {
  .slider-arrow {
    position: absolute;
    top: calc(50% - 1.5rem);
    transform: translateY(-50%);
  }
  .slider-arrow:hover {
    transform: translateY(-50%) scale(1.08);
  }
  .slider-arrow-prev {
    right: -24px;
  }
  .slider-arrow-next {
    left: -24px;
  }
}

@media (max-width: 860px) {
  .news-slide-content {
    padding: 1.75rem 1.5rem;
  }
  .slider-arrow {
    position: static;
    width: 40px;
    height: 40px;
    transform: none;
  }
  .news-slider-controls {
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .news-slide-content {
    padding: 1.35rem 1.15rem;
  }
  .news-slide-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding-top: 1rem;
  }
  .btn-read-news,
  .btn-slide-archive {
    width: 100%;
    min-height: 44px;
    padding: 0 1rem;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .news-slide-content {
    padding: 1.15rem 0.85rem;
  }
  .news-slide-title {
    font-size: 1.15rem;
  }
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.slider-dot.active {
  width: 28px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}

/* ==========================================================================
   App-Like Multi-Image In-Card Gallery
   ========================================================================== */
.mini-gallery {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mini-gallery-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 250px;
  max-height: 400px;
  overflow: hidden;
  cursor: pointer;
  background: #080d1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

.mini-gallery-viewport:hover .mini-gallery-img {
  transform: scale(1.03);
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(6, 8, 13, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 4;
  transition: var(--transition);
}

.gallery-nav-btn:hover {
  background: var(--cyan);
  color: #06080d;
  border-color: var(--cyan);
  box-shadow: 0 0 15px var(--cyan-glow);
}

.gallery-btn-prev {
  right: 10px;
}

.gallery-btn-next {
  left: 10px;
}

.gallery-counter-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  z-index: 4;
  letter-spacing: 0.05em;
}

.mini-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: rgba(4, 6, 11, 0.95);
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-thumb {
  width: 48px;
  height: 38px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.55;
  border: 1.5px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
}

.mini-thumb:hover {
  opacity: 0.85;
}

.mini-thumb.active {
  opacity: 1;
  border-color: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
}

/* Skeleton loader for news */
.news-loading-skeleton {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.skeleton-card {
  height: 320px;
  background: linear-gradient(90deg, rgba(14, 21, 38, 0.5) 25%, rgba(22, 32, 58, 0.7) 50%, rgba(14, 21, 38, 0.5) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* News Empty State */
.news-empty-state {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.news-empty-icon {
  font-size: 2.8rem;
  margin-bottom: 0.25rem;
}

.news-empty-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.news-empty-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.85;
}

/* ==========================================================================
   Dedicated News Archive Page Styles (news.html)
   ========================================================================== */
.news-archive-hero {
  padding: 3.5rem 0 2rem;
  text-align: center;
}

.news-search-wrapper {
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.news-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.news-search-icon {
  position: absolute;
  right: 1.15rem;
  color: var(--cyan);
  pointer-events: none;
}

.news-search-input {
  width: 100%;
  height: 52px;
  padding: 0 3.2rem 0 2.5rem;
  background: rgba(14, 21, 38, 0.85);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.95rem;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.12);
  transition: var(--transition);
}

/* Remove native browser search clear & cancel buttons */
.news-search-input::-webkit-search-cancel-button,
.news-search-input::-webkit-search-decoration,
.news-search-input::-webkit-search-results-button,
.news-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none !important;
}

.news-search-input::-ms-clear,
.news-search-input::-ms-reveal {
  display: none !important;
  width: 0;
  height: 0;
}

.news-search-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 25px var(--cyan-glow);
  background: rgba(14, 21, 38, 0.98);
}

.news-search-clear {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  transition: var(--transition);
  cursor: pointer;
  z-index: 2;
}

.news-search-clear:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.news-search-stats {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.65rem;
}

.news-archive-section {
  padding: 1.5rem 0 5rem;
}

.news-archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  max-width: 880px;
  margin: 0 auto;
}

.news-article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-article-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px var(--cyan-glow);
}

.news-article-card.highlighted-article {
  border-color: var(--cyan);
  box-shadow: 0 0 45px rgba(56, 189, 248, 0.45);
  animation: pulseHighlight 2s ease-in-out infinite;
}

@keyframes pulseHighlight {
  0%, 100% { border-color: var(--cyan); }
  50% { border-color: var(--gold); }
}

.news-article-header {
  padding: 1.75rem 2rem 1.25rem;
}

.news-article-badges {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.news-article-id {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.news-article-title {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.5;
}

.news-article-body {
  padding: 1.5rem 2rem;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 2.1;
  white-space: pre-wrap;
  text-align: justify;
}

.news-article-footer {
  padding: 1.15rem 2rem;
  background: rgba(8, 12, 22, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-share-article {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan);
  padding: 0.4rem 0.85rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-share-article:hover {
  background: var(--cyan);
  color: #06080d;
}

/* ==========================================================================
   4. Themes & Official Poster Section
   ========================================================================== */
.themes-section {
  padding: 4.5rem 0;
  position: relative;
}

.poster-themes-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .poster-themes-layout {
    grid-template-columns: 380px 1fr;
    gap: 3rem;
  }
}

.poster-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px var(--cyan-glow);
  transition: var(--transition);
  cursor: default;
}

.poster-img-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #05070c;
  cursor: default;
}

.poster-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.poster-badge-top {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(6, 8, 13, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
}

/* Hide hover overlay completely on non-desktop (mobile, tablet, touch screens) */
.poster-overlay-action {
  display: none !important;
}

/* Desktop & Large Displays (min-width: 992px): Enable hover effects, cursor pointer, and zoom action overlay */
@media (min-width: 992px) {
  .poster-card {
    cursor: pointer;
  }

  .poster-img-container {
    cursor: pointer;
  }

  .poster-overlay-action {
    display: flex !important;
    position: absolute;
    inset: 0;
    background: rgba(6, 8, 13, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  @media (hover: hover) {
    .poster-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 45px var(--cyan-glow);
      border-color: var(--cyan);
    }

    .poster-card:hover .poster-img {
      transform: scale(1.03);
    }

    .poster-card:hover .poster-overlay-action {
      opacity: 1;
    }
  }
}

.btn-poster-action {
  background: rgba(14, 21, 38, 0.95);
  border: 1px solid var(--cyan);
  color: #ffffff;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 20px var(--cyan-glow);
}

.poster-card-footer {
  padding: 1.15rem 1.4rem;
  background: rgba(8, 12, 22, 0.95);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.poster-footer-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
}

.poster-footer-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.btn-poster-download {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-poster-download:hover {
  background: var(--cyan);
  color: #06080d;
}

/* Themes Grid (Directly from Poster) */
.themes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 600px) {
  .themes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.theme-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: stretch;
  gap: 0.9rem;
  transition: var(--transition);
}

.theme-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.theme-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(56, 189, 248, 0.1);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  align-self: flex-start;
}

.theme-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.theme-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.theme-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   5. How It Works («مسیر رویداد»)
   ========================================================================== */
.steps-section {
  padding: 4.5rem 0;
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px var(--cyan-glow);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.step-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-accent);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}

.step-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

/* ==========================================================================
   6. Features Section («برنامه‌ها و امکانات»)
   ========================================================================== */
.features-section {
  padding: 4.5rem 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition);
}

@media (min-width: 768px) {
  .feature-card {
    flex-direction: row;
    align-items: flex-start;
  }
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px var(--cyan-glow);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

/* ==========================================================================
   6. Workshops Section («کارگاه‌های آموزشی و تخصصی»)
   ========================================================================== */
.workshops-section {
  padding: 5rem 0;
  position: relative;
}

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 2.25rem;
}

@media (max-width: 640px) {
  .workshops-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.workshop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
}

.workshop-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(56, 189, 248, 0.12);
}

.workshop-banner-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  background: #060913;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.workshop-banner-bg {
  position: absolute;
  inset: -15px;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.3);
  opacity: 0.65;
  pointer-events: none;
}

.workshop-banner-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.workshop-card:hover .workshop-banner-img {
  transform: scale(1.04);
}

.workshop-banner-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.15), rgba(8, 12, 22, 0.95));
  color: var(--text-muted);
}

.workshop-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.85rem;
  pointer-events: none;
}

.workshop-tag {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(6, 8, 13, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 6;
}

.workshop-expand-indicator {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(6, 8, 13, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  z-index: 6;
}

.workshop-card:hover .workshop-expand-indicator {
  background: rgba(56, 189, 248, 0.22);
  border-color: var(--cyan);
  color: #ffffff;
  transform: translateY(-2px);
}

.workshop-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.workshop-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.workshop-card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.btn-workshop-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-workshop-toggle:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--cyan);
  color: #ffffff;
  box-shadow: 0 0 12px var(--cyan-glow);
}

.btn-workshop-toggle .chevron-icon {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.workshop-card.expanded .btn-workshop-toggle .chevron-icon {
  transform: rotate(180deg);
}

.workshop-desc-accordion {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
}

.workshop-card.expanded .workshop-desc-accordion {
  max-height: 800px;
  opacity: 1;
}

.workshop-desc-inner {
  padding-top: 1rem;
  margin-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.workshop-full-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.95;
  white-space: pre-line;
}

.workshop-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
}

.btn-open-modal-detail {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.btn-open-modal-detail:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

/* Workshop Modal Styles */
.workshop-modal-box {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  max-width: 680px !important;
  max-height: 90vh !important;
  overflow: hidden !important;
  background: rgba(11, 16, 29, 0.98) !important;
  border: 1px solid var(--border-accent) !important;
  border-radius: var(--radius-lg) !important;
}

.workshop-modal-scrollable {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.workshop-modal-banner-frame {
  position: relative;
  width: 100%;
  min-height: 220px;
  max-height: 480px;
  background: #04060d;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
}

.workshop-modal-banner-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.28);
  opacity: 0.75;
  pointer-events: none;
}

.workshop-modal-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 460px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.workshop-modal-img:hover {
  transform: scale(1.015);
}

.workshop-modal-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.workshop-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.workshop-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.workshop-meta-pill {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.workshop-modal-desc-text {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 2.1;
  white-space: pre-line;
}

.workshop-modal-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  padding: 1.15rem 1.75rem;
  background: rgba(8, 12, 22, 0.98);
  border-top: 1px solid var(--border-subtle);
  z-index: 10;
}

.workshop-modal-footer .btn-primary,
.workshop-modal-footer .btn-workshop-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.workshop-modal-footer .btn-primary,
.workshop-modal-footer .btn-workshop-signup-action {
  background: var(--cyan);
  color: #06080d;
  border-color: var(--cyan);
  box-shadow: 0 4px 18px var(--cyan-glow);
}

.workshop-modal-footer .btn-primary:hover:not(:disabled),
.workshop-modal-footer .btn-workshop-signup-action:hover:not(:disabled) {
  background: #ffffff;
  color: #06080d;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
}

.workshop-modal-footer .btn-workshop-cancel-action {
  background: rgba(239, 68, 68, 0.16) !important;
  color: #fca5a5 !important;
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.15) !important;
}

.workshop-modal-footer .btn-workshop-cancel-action:hover:not(:disabled) {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(239, 68, 68, 0.5) !important;
}

.workshop-modal-footer .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.workshop-modal-footer .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

@media (max-width: 640px) {
  .workshop-modal-box {
    max-height: 92vh !important;
    width: calc(100% - 1.5rem) !important;
    margin: 0 auto;
  }

  .workshop-modal-banner-frame {
    max-height: 320px;
    min-height: 180px;
  }

  .workshop-modal-img {
    max-height: 320px;
  }

  .workshop-modal-body {
    padding: 1.25rem 1.25rem 1rem;
  }

  .workshop-modal-footer {
    flex-direction: column-reverse;
    gap: 0.6rem;
    padding: 0.9rem 1.25rem;
  }

  .workshop-modal-footer .btn-primary,
  .workshop-modal-footer .btn-workshop-action,
  .workshop-modal-footer .btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
  }
}

/* Admin Workshop Cards */
.admin-workshops-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.admin-workshop-item {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: rgba(6, 8, 13, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease;
}

.admin-workshop-item:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.admin-workshop-item-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
}

.admin-workshop-item-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

.admin-workshop-thumb {
  width: 72px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.admin-workshop-thumb-placeholder {
  width: 72px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.admin-workshop-details {
  min-width: 0;
  flex: 1;
}

.admin-workshop-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-workshop-desc-preview {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-del-workshop {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  background: var(--danger-bg);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-del-workshop:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: var(--danger);
  color: #ffffff;
}

/* Workshop Skeleton Loader */
.workshop-skeleton-card {
  height: 280px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(14, 21, 38, 0.6) 25%, rgba(22, 32, 58, 0.8) 50%, rgba(14, 21, 38, 0.6) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border: 1px solid var(--border-subtle);
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================================================
   7. About Section («درباره رویداد»)
   ========================================================================== */
.about-section {
  padding: 4.5rem 0;
  position: relative;
}

.about-card {
  background: linear-gradient(135deg, rgba(14, 21, 38, 0.88), rgba(8, 12, 22, 0.88));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px var(--cyan-glow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (min-width: 768px) {
  .about-card {
    padding: 3.5rem 3rem;
  }
}

.about-heading {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2rem;
  text-align: center;
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 2.1;
  text-align: justify;
}

.about-callout {
  margin-top: 2.5rem;
  padding: 1.4rem 1.75rem;
  background: rgba(56, 189, 248, 0.08);
  border-right: 4px solid var(--cyan);
  border-radius: var(--radius-md);
  color: var(--cyan-light);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.9;
}

/* ==========================================================================
   7.1. Sponsors & Supporters Section («حامیان رویداد»)
   ========================================================================== */
.sponsors-section {
  padding: 4.5rem 0;
  position: relative;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.sponsor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.sponsor-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 25px var(--cyan-glow);
}

.sponsor-logo-box {
  width: 100%;
  height: 130px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.sponsor-card:hover .sponsor-logo-box {
  transform: scale(1.03);
}

.sponsor-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.sponsor-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  width: 100%;
}

.sponsor-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.45;
}

.sponsor-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.sponsor-pill {
  display: inline-block;
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.85rem;
}

/* ==========================================================================
   8. Forms Section & Desktop-Optimized Labels
   ========================================================================== */
.forms-section {
  padding: 4.5rem 0;
  position: relative;
}

.forms-section.hidden-admin {
  display: none !important;
}

.form-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.card-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

@media (min-width: 640px) {
  .card-panel {
    padding: 2.75rem 2.25rem;
  }
}

.card-panel.highlighted {
  border-color: var(--border-accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px var(--cyan-glow);
}

.form-title-group {
  text-align: center;
  margin-bottom: 2rem;
}

.form-main-title {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.form-sub-title {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.form-alert {
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.6;
}

.form-alert.show {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}

.form-alert-error {
  background: var(--danger-bg);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label-hint {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 400;
}

.form-input {
  width: 100%;
  height: 52px;
  padding: 0 1rem;
  background: rgba(8, 12, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 16px; /* Crucial for preventing iOS Safari auto-zoom */
  transition: var(--transition);
}

.form-textarea {
  height: auto;
  min-height: 100px;
  padding: 0.85rem 1rem;
  resize: vertical;
  line-height: 1.8;
}

.form-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  background: rgba(8, 12, 22, 0.98);
}

.input-ltr {
  direction: ltr;
  text-align: left;
}

/* Three Columns for Companions (Mobile vs Desktop) */
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-row-3 .form-label-compact {
  font-size: 0.9rem;
}

/* DESKTOP REFINEMENT: Smaller font size for کودکان , نوجوانان and بزرگسالان to look balanced & proportioned */
@media (min-width: 640px) {
  .form-row-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .form-row-3 .form-label,
  .form-row-3 .form-label-compact {
    font-size: 0.78rem;
    font-weight: 500;
    gap: 0.25rem;
    white-space: nowrap;
  }

  .form-row-3 .form-label-hint {
    font-size: 0.68rem;
    color: var(--text-muted);
  }

  .form-row-3 .form-input {
    height: 46px;
    padding: 0 0.75rem;
    font-size: 0.95rem;
  }
}

/* Already registered state */
.registered-box {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.registered-box.show {
  display: block;
}

.registered-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--success-bg);
  border: 1px solid rgba(16, 185, 129, 0.4);
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  color: var(--success);
  font-size: 1.8rem;
}

/* ==========================================================================
   9. Executive Admin Panel
   ========================================================================== */
.admin-panel-section {
  display: none;
  padding: 4rem 0;
  position: relative;
}

.admin-panel-section.show {
  display: block;
}

.admin-dashboard-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 980px;
  margin: 0 auto;
}

.admin-header-card {
  background: linear-gradient(135deg, rgba(16, 24, 46, 0.95), rgba(12, 18, 32, 0.95));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: 0 0 35px var(--cyan-glow);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .admin-header-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-full);
  color: #c4b5fd;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.admin-heading {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.admin-info-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 620px;
}

.admin-sections-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 860px) {
  .admin-sections-grid {
    grid-template-columns: 340px 1fr;
  }
}

.admin-card {
  background: linear-gradient(135deg, rgba(16, 24, 46, 0.9), rgba(12, 18, 32, 0.9));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.admin-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.admin-card-header-flex {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-card-icon {
  font-size: 1.4rem;
}

.admin-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.admin-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.btn-download-excel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: var(--radius-md);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.35);
  width: 100%;
}

.btn-download-excel:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(16, 185, 129, 0.55);
}

.btn-download-excel:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* File Dropzone */
.file-upload-dropzone {
  position: relative;
  border: 2px dashed rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  background: rgba(8, 12, 22, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.file-upload-dropzone:hover {
  border-color: var(--cyan);
  background: rgba(56, 189, 248, 0.05);
}

.file-upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-upload-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--cyan);
  pointer-events: none;
}

.upload-label-main {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

.upload-label-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.upload-preview-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(14, 21, 38, 0.9);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.preview-pill-thumb {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
}

.preview-pill-remove {
  cursor: pointer;
  color: var(--danger);
  font-weight: 700;
  margin-right: 0.2rem;
}

/* Admin News Management List */
.admin-news-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.admin-news-item {
  background: rgba(8, 12, 22, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}

.admin-news-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.admin-news-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-news-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.admin-news-item-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.admin-news-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.admin-news-img-box {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.admin-news-img-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-del-img {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: rgba(239, 68, 68, 0.88);
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.btn-del-img:hover {
  background: var(--danger);
  transform: scale(1.1);
}

.admin-append-img-wrap {
  position: relative;
  display: inline-flex;
}

.btn-append-img-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px dashed rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-sm);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-append-img-label:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--cyan);
}

.btn-del-article {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  background: var(--danger-bg);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  color: #fca5a5;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-del-article:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ffffff;
  border-color: var(--danger);
}

.admin-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn-action-edit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-sm);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-action-edit:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: var(--cyan);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.25);
}

.admin-edit-panel {
  background: rgba(14, 21, 38, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.admin-edit-panel .form-group {
  margin-bottom: 0;
}

.admin-edit-panel .form-label {
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.admin-edit-panel .form-input,
.admin-edit-panel .form-textarea {
  font-size: 0.88rem;
  padding: 0.55rem 0.75rem;
  background: rgba(6, 8, 13, 0.85);
  border: 1px solid var(--border-subtle);
  width: 100%;
  box-sizing: border-box;
}

.admin-edit-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
  flex-wrap: wrap;
}

.btn-save-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 1.15rem;
  background: var(--cyan);
  color: #06080d;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-save-edit:hover {
  background: #7dd3fc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.btn-cancel-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.95rem;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-cancel-edit:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

@media (max-width: 640px) {
  .admin-workshop-item-main {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .admin-news-item-top {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .admin-item-actions {
    justify-content: flex-end;
  }
}

/* ==========================================================================
   10. Modals & Lightbox
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-overlay.open,
.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}

.modal-box {
  width: 100%;
  max-width: 440px;
  background: rgba(14, 21, 38, 0.96);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-box-large {
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* News Modal Contents */
.news-modal-header {
  margin-bottom: 1.25rem;
}

.news-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0.5rem;
  line-height: 1.6;
}

.news-modal-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.news-modal-img-wrap {
  flex: 1 1 200px;
  max-height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.news-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-modal-img-wrap:hover img {
  transform: scale(1.05);
}

.news-modal-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 2;
  white-space: pre-wrap;
}

/* Interactive Lightbox Overlay */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox-overlay.open {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.lightbox-close-btn {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  line-height: 1;
  z-index: 2;
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
}

.lightbox-caption {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */
.footer {
  margin-top: auto;
  background-color: #040609;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-organizers {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

.footer-date-badge {
  font-size: 0.82rem;
  color: var(--cyan);
  font-weight: 600;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.admin-discreet-trigger {
  color: var(--text-dim);
  opacity: 0.45;
  font-size: 0.78rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.admin-discreet-trigger:hover {
  opacity: 1;
  color: var(--cyan);
}

/* ==========================================================================
   12. Toast Notification System
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
  max-width: 360px;
  width: calc(100% - 2.5rem);
}

.toast {
  pointer-events: auto;
  background: rgba(14, 21, 38, 0.96);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(-20px) scale(0.95);
  opacity: 0;
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.toast-show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.toast.toast-hide {
  transform: translateY(-20px) scale(0.95);
  opacity: 0;
}

.toast-success {
  border-color: rgba(16, 185, 129, 0.4);
  border-right: 4px solid var(--success);
}

.toast-error {
  border-color: rgba(239, 68, 68, 0.4);
  border-right: 4px solid var(--danger);
}

.toast-info {
  border-color: var(--border-accent);
  border-right: 4px solid var(--cyan);
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast-success .toast-icon { color: var(--success); }
.toast-error .toast-icon { color: var(--danger); }
.toast-info .toast-icon { color: var(--cyan); }

.toast-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  flex: 1;
}

.toast-close {
  color: var(--text-dim);
  font-size: 1.25rem;
  line-height: 1;
  padding: 0 0.2rem;
  cursor: pointer;
}

.toast-close:hover {
  color: #ffffff;
}

/* ==========================================================================
   13. Scroll Reveal Animation Classes
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   Keynote Scientific Speeches Section («سخنرانی‌های علمی»)
   ========================================================================== */
.speeches-section {
  padding: 5rem 0;
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 60%);
}

.theme-card-speeches,
.theme-card-workshops {
  border-color: rgba(56, 189, 248, 0.35);
}

.theme-speeches-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-decoration: none;
  align-self: flex-start;
  width: fit-content;
}

.theme-speeches-btn:hover {
  background: var(--cyan);
  color: #06080d;
  border-color: var(--cyan);
  transform: translateX(-3px);
}

.speeches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 560px) {
  .speeches-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.speech-card {
  background: rgba(14, 21, 38, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
}

.speech-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 28px rgba(56, 189, 248, 0.16);
}

.speech-card-banner-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #04060d;
  overflow: hidden;
  cursor: pointer;
}

.speech-card-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.speech-card:hover .speech-card-banner-img {
  transform: scale(1.03);
}

.speech-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 8, 13, 0.9) 0%, rgba(6, 8, 13, 0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.speech-card:hover .speech-card-overlay {
  opacity: 1;
}

.speech-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(56, 189, 248, 0.3);
  border: 1px solid var(--cyan);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  transform: translateY(6px);
  transition: transform 0.3s ease;
}

.speech-card:hover .speech-overlay-btn {
  transform: translateY(0);
}

.speech-card-badge-top {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(6, 8, 13, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.speech-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.speech-speaker-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

.speech-speaker-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.speech-speaker-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 0;
}

.speech-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
  margin: 0.25rem 0 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.5rem;
}

.speech-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.speech-mini-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.speech-card-snippet {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.btn-speech-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.65rem 1rem;
  background: rgba(56, 189, 248, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  margin-top: auto;
}

.btn-speech-details:hover {
  background: var(--cyan);
  color: #06080d;
  border-color: var(--cyan);
  transform: translateY(-2px);
}

/* ==========================================================================
   Speech Details Modal Styles
   ========================================================================== */
.speech-modal-box {
  max-width: 940px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.speech-modal-scrollable {
  overflow-y: auto;
  padding: 1.75rem;
  flex: 1;
}

.speech-modal-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 820px) {
  .speech-modal-layout {
    grid-template-columns: 1fr;
  }
}

.speech-modal-banner-side {
  position: relative;
}

.speech-modal-banner-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.12);
  background: #04060d;
}

.speech-modal-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.speech-modal-img:hover {
  transform: scale(1.015);
}

.btn-poster-zoom-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-poster-zoom-pill:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--cyan);
  color: var(--cyan);
}

.speech-modal-speaker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-full);
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.speech-modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.speech-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.speech-meta-pill {
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
}

.speech-modal-desc-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.speech-modal-desc-text {
  font-size: 0.94rem;
  line-height: 2;
  color: #cbd5e1;
  text-align: justify;
}

.speech-modal-desc-text p {
  margin-bottom: 1rem;
}

.speech-modal-desc-text p:last-child {
  margin-bottom: 0;
}

.speech-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border-color);
  background: rgba(6, 8, 13, 0.95);
}

/* ==========================================================================
   Official Event Poster Switcher Tabs
   ========================================================================== */
.poster-tabs-bar {
  display: flex;
  background: rgba(14, 21, 38, 0.9);
  border-bottom: 1px solid var(--border-color);
  padding: 0.4rem 0.5rem;
  gap: 0.4rem;
}

.poster-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 0.65rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.poster-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.poster-tab-btn.active {
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
}

.poster-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: var(--transition);
}

.poster-tab-btn.active .poster-tab-dot {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

/* ==========================================================================
   Workshop Enrolled State & Cancellation Action
   ========================================================================== */
.workshop-meta-enrolled {
  background: rgba(34, 197, 94, 0.15) !important;
  border-color: rgba(34, 197, 94, 0.4) !important;
  color: #86efac !important;
  font-weight: 700 !important;
}

.btn-workshop-cancel-action {
  background: rgba(239, 68, 68, 0.16) !important;
  color: #fca5a5 !important;
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
}

.btn-workshop-cancel-action:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4) !important;
}

.workshop-enrolled-pill {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 10;
  background: rgba(16, 185, 129, 0.92);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ==========================================================================
   Workshop Capacity Reached Modal
   ========================================================================== */
.modal-box-alert {
  max-width: 490px;
  text-align: center;
  padding: 2.25rem 2rem;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, rgba(20, 26, 42, 0.98), rgba(10, 14, 24, 0.99));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(245, 158, 11, 0.18);
  border-radius: var(--radius-lg);
  position: relative;
}

.capacity-modal-icon {
  margin: 0 auto 1.25rem auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.capacity-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 0.75rem;
}

.capacity-modal-msg {
  font-size: 0.92rem;
  line-height: 1.85;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.capacity-email-box {
  background: rgba(56, 189, 248, 0.08);
  border: 1px dashed rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.capacity-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.05rem;
  direction: ltr;
  text-decoration: none;
  transition: var(--transition);
}

.capacity-email-link:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--cyan);
}

.capacity-modal-actions {
  display: flex;
  justify-content: center;
}
