/* ==========================================================
   METEOR ALGERIA - Modern Editorial Media Platform
   Brand Palette: Algerian Green, Algerian Red, Gold, Obsidian
   ========================================================== */

:root {
  --primary: #006633;
  --primary-hover: #004d26;
  --primary-light: #e6f4ea;
  --accent-red: #d21034;
  --accent-red-hover: #b00d2b;
  --accent-gold: #d4af37;
  --accent-gold-light: #fdf8e2;

  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.12), 0 8px 10px -6px rgb(0 0 0 / 0.08);

  --font-serif: "Merriweather", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-arabic: "Tajawal", "Amiri", "Segoe UI", Tahoma, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --max-w: 1280px;
}

[data-theme="dark"] {
  --bg-main: #0b0f17;
  --bg-card: #131a26;
  --bg-subtle: #1c2536;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --border: #243044;
  --border-strong: #334155;
  --primary-light: rgba(0, 102, 51, 0.2);
}

/* RTL Mode for Arabic */
[dir="rtl"] {
  font-family: var(--font-arabic);
}

[dir="rtl"] .ticker-title {
  border-right: none;
  border-left: 2px solid var(--accent-red);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Top bar & Ticker */
.top-bar {
  background-color: #05080e;
  color: #e2e8f0;
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.ticker-badge {
  background-color: var(--accent-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.ticker-text {
  font-weight: 500;
  color: #cbd5e1;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang-selector button,
.theme-toggle,
.btn-icon {
  background: transparent;
  border: 1px solid var(--border);
  color: inherit;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s;
}

.lang-selector button.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Main Header */
.main-header {
  background-color: var(--bg-card);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-branding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, #004d26 60%, var(--accent-red) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(0, 102, 51, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-sans);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
}

.logo-title span {
  color: var(--primary);
}

.logo-sub {
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
}

.header-right-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-premium {
  background: linear-gradient(135deg, #d4af37 0%, #aa8c2c 100%);
  color: #1a1a1a;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);
}
.btn-premium:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}
.btn-outline:hover {
  background-color: var(--bg-subtle);
}

/* Nav Menu */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  border-top: 1px solid var(--border);
  padding: 0.45rem 0;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.4rem;
  white-space: nowrap;
}

.nav-item a {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.nav-item a:hover,
.nav-item.active a {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-item.badge-special a {
  color: var(--accent-red);
}

/* Ad Banners */
.ad-slot {
  margin: 1.25rem auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.ad-slot-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  padding: 0.2rem 0;
  background: var(--bg-subtle);
}

.ad-slot img {
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s;
}
.ad-slot img:hover {
  transform: scale(1.01);
}

/* Grid Layouts */
.editorial-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.75rem;
  margin: 2rem 0;
}

@media (max-width: 960px) {
  .editorial-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Article Card */
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-card);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.hero-media-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-card:hover .hero-media-wrapper img {
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #ffffff;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  width: fit-content;
  margin-bottom: 0.75rem;
}

.badge-tag.primary {
  background-color: var(--primary);
  color: #fff;
}
.badge-tag.premium {
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  color: #000;
}
.badge-tag.breaking {
  background-color: var(--accent-red);
  color: #fff;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.65rem;
  color: #ffffff;
}

.hero-summary {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: #cbd5e1;
  flex-wrap: wrap;
}

/* Sidebar Columns */
.sidebar-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.widget-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.4rem;
}

.widget-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  list-style: none;
}

.widget-item {
  display: flex;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.widget-item:hover {
  transform: translateX(3px);
}
[dir="rtl"] .widget-item:hover {
  transform: translateX(-3px);
}

.widget-num {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.5;
  line-height: 1;
}

.widget-content h4 {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}
.widget-content p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Article Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.news-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.news-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0.5rem 0;
  color: var(--text-primary);
}

.news-card-summary {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 0.85rem;
  flex: 1;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.65rem;
}

/* Social Share Bar */
.social-share-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
}

.social-share-label {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-right: 0.5rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.775rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}
.share-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.share-btn.fb { background-color: #1877f2; }
.share-btn.insta { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.share-btn.tw { background-color: #000000; }
.share-btn.wa { background-color: #25d366; }
.share-btn.tg { background-color: #229ed9; }
.share-btn.in { background-color: #0077b5; }
.share-btn.copy { background-color: var(--text-secondary); }

/* Paywall Box */
.paywall-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(0, 102, 51, 0.1) 100%);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin: 2rem 0;
  box-shadow: var(--shadow-lg);
}

.paywall-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

.paywall-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.paywall-price {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0.75rem 0;
}

/* Section Containers & Headers */
.section-block {
  margin: 3rem 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 0.85rem;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

[dir="rtl"] .section-title {
  padding-left: 0;
  padding-right: 0.85rem;
}
[dir="rtl"] .section-title::before {
  left: auto;
  right: 0;
}

/* Data Algeria Section */
.data-algeria-hero {
  background: linear-gradient(135deg, #0b1e13 0%, #004d26 50%, #006633 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
}

.data-indicators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.indicator-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.indicator-domain {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.indicator-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0.35rem 0 0.75rem 0;
  line-height: 1.3;
}

.indicator-value-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.indicator-val {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-primary);
}

.indicator-unit {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.indicator-change {
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.35rem;
}
.indicator-change.positive { color: #16a34a; }
.indicator-change.negative { color: var(--accent-red); }

.indicator-source {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* Media Junior Section */
.junior-container {
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 3px solid #f97316;
  color: #7c2d12;
}

[data-theme="dark"] .junior-container {
  background: linear-gradient(135deg, #2c1a0e 0%, #431407 100%);
  color: #fed7aa;
}

.quiz-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 1rem 0;
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
}

.quiz-opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}
[dir="rtl"] .quiz-opt {
  text-align: right;
}
.quiz-opt:hover {
  border-color: #f97316;
  background-color: #fff7ed;
}
.quiz-opt.selected {
  border-color: var(--primary);
  background-color: var(--primary-light);
  font-weight: 700;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  position: relative;
  padding: 2rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-subtle);
  border: none;
  font-size: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
[dir="rtl"] .modal-close {
  right: auto;
  left: 1rem;
}

/* Footer */
.main-footer {
  background-color: #05080e;
  color: #94a3b8;
  padding: 3.5rem 0 1.5rem 0;
  margin-top: 4rem;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 850px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 550px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.15rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}
[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

/* ==========================================================
   ULTRA-MODERN UIX ENHANCEMENTS (Septembre 2026)
   - Chargily Pay v2 (Edahabia & CIB)
   - Bibliothèque Documentaire Dynamique
   - MySQL Database Management in UIX
   - Login & User Profiles Modal
   - Floating Podcast Player & Audio Wave
   - Mobile Bottom Action Bar & Drawer
   ========================================================== */

/* Glassmorphism Classes */
.glass-header {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}
[data-theme="dark"] .glass-header {
  background: rgba(19, 26, 38, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

/* Card Hover Lift & Transitions */
.hover-lift {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Pulse animation for Breaking News */
.pulse-glow {
  box-shadow: 0 0 0 0 rgba(210, 16, 52, 0.6);
  animation: pulse-glow-anim 1.8s infinite;
}
@keyframes pulse-glow-anim {
  0% { transform: scale(0.98); box-shadow: 0 0 0 0 rgba(210, 16, 52, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(210, 16, 52, 0); }
  100% { transform: scale(0.98); box-shadow: 0 0 0 0 rgba(210, 16, 52, 0); }
}

/* Chargily Pay v2 Styling */
.chargily-box {
  background: linear-gradient(135deg, #053b20 0%, #006633 50%, #032b17 100%);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 102, 51, 0.3);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
}
.chargily-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.chargily-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.chargily-badge {
  background: #d4af37;
  color: #052e16;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}
.chargily-card-sim {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chargily-chip {
  width: 38px;
  height: 28px;
  background: linear-gradient(135deg, #d4af37 0%, #f6e05e 50%, #b7791f 100%);
  border-radius: 4px;
}
.chargily-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.chargily-method-btn {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-primary);
}
.chargily-method-btn:hover,
.chargily-method-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  font-weight: 700;
}

/* Bibliothèque Modern Styling */
.biblio-hero {
  background: linear-gradient(135deg, #0b131f 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.biblio-hero::after {
  content: '📚';
  position: absolute;
  bottom: -20px;
  right: 20px;
  font-size: 8rem;
  opacity: 0.08;
  pointer-events: none;
}
[dir="rtl"] .biblio-hero::after {
  right: auto;
  left: 20px;
}
.biblio-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  background: var(--bg-card);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.biblio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.biblio-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.biblio-card-img {
  height: 160px;
  width: 100%;
  object-fit: cover;
}
.biblio-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.wilaya-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.725rem;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

/* MySQL Database Manager Panel (UIX) */
.db-dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.db-status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border-left: 5px solid var(--primary);
  margin-bottom: 1.5rem;
}
[dir="rtl"] .db-status-banner {
  border-left: none;
  border-right: 5px solid var(--primary);
}
.code-block-viewer {
  background: #0b131f;
  color: #38bdf8;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: monospace;
  font-size: 0.85rem;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,0.1);
  margin: 0.75rem 0;
}

/* Login Modal & Role Switcher UI */
.login-persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.65rem;
  margin: 1.25rem 0;
  max-height: 250px;
  overflow-y: auto;
  padding: 0.25rem;
}
.login-persona-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
[dir="rtl"] .login-persona-item {
  text-align: right;
}
.login-persona-item:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

/* Floating Mini Audio Player for Podcast & Live Radio */
.floating-audio-player {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 1.25rem;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
[dir="rtl"] .floating-audio-player {
  right: auto;
  left: 1.5rem;
}
.sound-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 18px;
}
.sound-bar {
  width: 3px;
  background: var(--primary);
  border-radius: 2px;
  animation: sound-wave-anim 1.2s infinite ease-in-out alternate;
}
.sound-bar:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.sound-bar:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.sound-bar:nth-child(3) { height: 40%; animation-delay: 0.2s; }
.sound-bar:nth-child(4) { height: 80%; animation-delay: 0.4s; }
@keyframes sound-wave-anim {
  0% { height: 20%; }
  100% { height: 100%; }
}

/* Mobile Quick Navigation Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
  z-index: 95;
  padding: 0.4rem 0.75rem;
  justify-content: space-around;
}
.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
  gap: 0.2rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  cursor: pointer;
}
.mobile-bottom-item.active,
.mobile-bottom-item:hover {
  color: var(--primary);
}

.premium-mobile-text {
  display: none;
}
.premium-full-text {
  display: inline;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
  }
  body {
    padding-bottom: 60px;
  }
  .floating-audio-player {
    bottom: 4.5rem;
    right: 1rem;
  }
  [dir="rtl"] .floating-audio-player {
    right: auto;
    left: 1rem;
  }

  /* Header Mobile Responsiveness */
  .header-branding {
    padding: 0.5rem 0;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  .logo-wrapper {
    gap: 0.5rem;
  }
  .logo-symbol {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .logo-title {
    font-size: 1.25rem;
  }
  .logo-sub {
    font-size: 0.65rem;
  }
  .header-right-tools {
    gap: 0.4rem;
  }
  .premium-full-text {
    display: none;
  }
  .premium-mobile-text {
    display: inline;
  }
  .btn-premium {
    font-size: 0.75rem;
    padding: 0.4rem 0.65rem;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .logo-sub {
    display: none;
  }
  .logo-title {
    font-size: 1.1rem;
  }
  .header-right-tools {
    gap: 0.3rem;
  }
  .btn-premium {
    font-size: 0.7rem;
    padding: 0.35rem 0.5rem;
  }
  .top-bar-content {
    font-size: 0.7rem;
  }
}



/* ==========================================================
   UIX BEAUTIFICATION & EDITORIAL POLISH (Septembre 2026)
   - Refined input & textarea controls
   - Focus ring & smooth transitions
   - Editor typography & tab styling
   - Elevated form cards & modal polish
   ========================================================== */

.form-control {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.925rem;
  font-family: var(--font-sans);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3.5px rgba(0, 102, 51, 0.15), inset 0 1px 2px rgba(0, 0, 0, 0.02);
  background: var(--bg-card);
}

textarea.form-control {
  line-height: 1.65;
  font-family: var(--font-sans);
  resize: vertical;
}

[dir="rtl"] textarea.form-control,
[dir="rtl"] input.form-control {
  font-family: 'Cairo', 'Inter', sans-serif;
  text-align: right;
}

.form-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  margin-bottom: 0.45rem;
}

.widget-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.widget-card:hover {
  border-color: var(--border-strong);
}

.lang-editor-tabs button {
  border: 1.5px solid var(--border-strong);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.lang-editor-tabs button.active {
  background: var(--primary);
  color: #ffffff;
}


/* ==========================================================
   UIX BEAUTIFICATION & EDITORIAL POLISH (Septembre 2026)
   - Refined input & textarea controls
   - Focus ring & smooth transitions
   - Editor typography & tab styling
   - Elevated form cards & modal polish
   ========================================================== */

.form-control {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.925rem;
  font-family: var(--font-sans);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3.5px rgba(0, 102, 51, 0.15), inset 0 1px 2px rgba(0, 0, 0, 0.02);
  background: var(--bg-card);
}

textarea.form-control {
  line-height: 1.65;
  font-family: var(--font-sans);
  resize: vertical;
}

[dir="rtl"] textarea.form-control,
[dir="rtl"] input.form-control {
  font-family: 'Cairo', 'Inter', sans-serif;
  text-align: right;
}

.form-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  margin-bottom: 0.45rem;
}

.widget-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.widget-card:hover {
  border-color: var(--border-strong);
}

.lang-editor-tabs button {
  border: 1.5px solid var(--border-strong);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.lang-editor-tabs button.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(0, 102, 51, 0.25);
}

.lang-editor-tabs button:hover:not(.active) {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* ==========================================================================
   CENTRE DE NOTIFICATIONS & BADGE DE NOTIFICATION
   ========================================================================== */
.notification-bell-btn {
  position: relative !important;
  border: 1.5px solid rgba(0, 102, 51, 0.25) !important;
  font-size: 1.15rem !important;
  cursor: pointer !important;
  padding: 0.35rem 0.75rem !important;
  border-radius: 99px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  color: #006633 !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  z-index: 1000 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}
.notification-bell-btn:hover {
  border-color: #006633 !important;
  background-color: #f0fdf4 !important;
  background: #f0fdf4 !important;
  transform: scale(1.06) !important;
}
.notification-bell-btn:active,
.notification-bell-btn.active {
  background-color: #ecfdf5 !important;
  background: #ecfdf5 !important;
  border-color: #006633 !important;
}
.top-bar .notification-bell-btn {
  background-color: #ffffff !important;
  background: #ffffff !important;
  color: #006633 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}
.top-bar .notification-bell-btn:hover {
  background-color: #f0fdf4 !important;
  background: #f0fdf4 !important;
}
[data-theme="dark"] .notification-bell-btn,
[data-theme="dark"] .top-bar .notification-bell-btn {
  background-color: #1a2332 !important;
  background: #1a2332 !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  color: #10b981 !important;
}
.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #dc2626;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 5px rgba(220, 38, 38, 0.5);
  animation: pulse-badge 2s infinite;
}
/* ==========================================================================
   METEOR ALGERIA - CENTRE UNIVERSEL DE NOTIFICATIONS BOOTSTRAP PRO (V7)
   100% Autonome, 100% Opaque, Zéro Dépendance Externe, Support Clair & Sombre
   ========================================================================== */

/* 1. Backdrop Plein Écran */
.meteor-notif-backdrop {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
  z-index: 99999998 !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
}

.meteor-notif-backdrop.active,
.meteor-notif-backdrop.show {
  display: block !important;
}

/* 2. Conteneur Principal du Volet (Card Flottante Opaque) */
.meteor-notif-panel,
.notification-panel {
  display: none !important;
  position: fixed !important;
  top: 65px !important;
  right: 20px !important;
  bottom: auto !important;
  left: auto !important;
  width: 410px !important;
  max-width: calc(100vw - 24px) !important;
  max-height: calc(100vh - 85px) !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  opacity: 1 !important;
  border-radius: 16px !important;
  border: 1.5px solid rgba(0, 102, 51, 0.22) !important;
  box-shadow: 0 25px 65px -10px rgba(0, 0, 0, 0.35), 0 10px 25px -5px rgba(0, 102, 51, 0.15), 0 0 0 1px rgba(0, 102, 51, 0.08) !important;
  z-index: 99999999 !important;
  flex-direction: column !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  animation: notifModalEntrance 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.meteor-notif-panel.active,
.meteor-notif-panel.show,
.notification-panel.active,
.notification-panel.show {
  display: flex !important;
}

[data-theme="dark"] .meteor-notif-panel,
[data-theme="dark"] .notification-panel {
  background-color: #111827 !important;
  background: #111827 !important;
  border: 1.5px solid rgba(16, 185, 129, 0.3) !important;
  box-shadow: 0 25px 65px -10px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

@keyframes notifModalEntrance {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 3. En-tête Algérien Émeraude */
.meteor-notif-header {
  padding: 12px 16px !important;
  background-color: #006633 !important;
  background: linear-gradient(135deg, #006633 0%, #004d26 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  color: #ffffff !important;
  flex-shrink: 0 !important;
}

.meteor-notif-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.meteor-notif-bell-badge {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.18) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1rem !important;
  flex-shrink: 0 !important;
}

.meteor-notif-header-titles {
  display: flex !important;
  flex-direction: column !important;
}

.meteor-notif-title {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.meteor-notif-subtitle {
  font-size: 0.72rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.meteor-notif-badge-unread {
  background: #f59e0b !important;
  color: #0f172a !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  padding: 2px 8px !important;
  border-radius: 99px !important;
  margin-left: 4px !important;
}

.meteor-notif-header-right {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.meteor-notif-btn-readall {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 99px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: all 0.2s ease !important;
}

.meteor-notif-btn-readall:hover {
  background: #ffffff !important;
  color: #006633 !important;
  border-color: #ffffff !important;
}

.meteor-notif-btn-close {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  line-height: 1 !important;
  padding: 0 !important;
}

.meteor-notif-btn-close:hover {
  background: #ffffff !important;
  color: #dc2626 !important;
  border-color: #ffffff !important;
  transform: scale(1.08) !important;
}

/* 4. Barre de Filtres & Navigation */
.meteor-notif-filter-bar {
  background-color: #f8fafc !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 8px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-shrink: 0 !important;
}

[data-theme="dark"] .meteor-notif-filter-bar {
  background-color: #1e293b !important;
  background: #1e293b !important;
  border-bottom: 1px solid #334155 !important;
}

.meteor-notif-tabs {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.meteor-notif-tab {
  background: transparent !important;
  border: 1px solid transparent !important;
  color: #64748b !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 4px 12px !important;
  border-radius: 99px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: all 0.18s ease !important;
}

.meteor-notif-tab:hover {
  background: rgba(0, 102, 51, 0.08) !important;
  color: #006633 !important;
}

[data-theme="dark"] .meteor-notif-tab {
  color: #94a3b8 !important;
}

[data-theme="dark"] .meteor-notif-tab:hover {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #10b981 !important;
}

.meteor-notif-tab.active {
  background: #006633 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 102, 51, 0.25) !important;
}

[data-theme="dark"] .meteor-notif-tab.active {
  background: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25) !important;
}

.meteor-notif-tab-badge {
  background: rgba(0, 0, 0, 0.08) !important;
  padding: 1px 6px !important;
  border-radius: 99px !important;
  font-size: 0.7rem !important;
}

.meteor-notif-tab.active .meteor-notif-tab-badge {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

.meteor-notif-refresh-btn {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #64748b !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
}

.meteor-notif-refresh-btn:hover {
  color: #006633 !important;
  border-color: #006633 !important;
  background: #ecfdf5 !important;
}

[data-theme="dark"] .meteor-notif-refresh-btn {
  background: #334155 !important;
  border-color: #475569 !important;
  color: #cbd5e1 !important;
}

.meteor-notif-refresh-btn.spinning svg {
  animation: spinNotif 0.5s linear infinite !important;
}

/* 5. Corps Scrollable de Notifications */
.meteor-notif-body {
  max-height: 380px !important;
  overflow-y: auto !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  margin: 0 !important;
  padding: 0 !important;
}

[data-theme="dark"] .meteor-notif-body {
  background-color: #111827 !important;
  background: #111827 !important;
}

.meteor-notif-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  border-left: 4px solid transparent !important;
  cursor: pointer !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
}

[data-theme="dark"] .meteor-notif-item {
  background-color: #111827 !important;
  background: #111827 !important;
  border-bottom: 1px solid #1e293b !important;
}

.meteor-notif-item:hover {
  background-color: #f8fafc !important;
  background: #f8fafc !important;
}

[data-theme="dark"] .meteor-notif-item:hover {
  background-color: #162234 !important;
  background: #162234 !important;
}

.meteor-notif-item.unread {
  background-color: #f6fef9 !important;
  background: linear-gradient(90deg, #ecfdf5 0%, #ffffff 100%) !important;
  border-left: 4px solid #006633 !important;
}

[data-theme="dark"] .meteor-notif-item.unread {
  background-color: #0e241b !important;
  background: linear-gradient(90deg, #0d281e 0%, #111827 100%) !important;
  border-left: 4px solid #10b981 !important;
}

.meteor-notif-item.expanded {
  background-color: #f0fdf4 !important;
  border-left: 4px solid #006633 !important;
}

[data-theme="dark"] .meteor-notif-item.expanded {
  background-color: #152c22 !important;
  border-left: 4px solid #10b981 !important;
}

/* 6. Badges & Icônes Thématiques */
.meteor-notif-icon-circle {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  font-size: 0.95rem !important;
}

.icon-breaking { background: #fee2e2 !important; color: #dc2626 !important; }
.icon-editorial { background: #e0f2fe !important; color: #0284c7 !important; }
.icon-workflow { background: #fef3c7 !important; color: #d97706 !important; }
.icon-success { background: #dcfce7 !important; color: #16a34a !important; }
.icon-alert { background: #ffedd5 !important; color: #ea580c !important; }
.icon-info { background: #e6f4ea !important; color: #006633 !important; }

.meteor-notif-item-content {
  flex: 1 !important;
  min-width: 0 !important;
}

.meteor-notif-item-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 3px !important;
}

.meteor-notif-badge-pill {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  padding: 2px 7px !important;
  border-radius: 99px !important;
  text-transform: uppercase !important;
}

.pill-breaking { background: #fee2e2 !important; color: #dc2626 !important; border: 1px solid #fca5a5 !important; }
.pill-editorial { background: #e0f2fe !important; color: #0284c7 !important; border: 1px solid #bae6fd !important; }
.pill-workflow { background: #fef3c7 !important; color: #d97706 !important; border: 1px solid #fde68a !important; }
.pill-success { background: #dcfce7 !important; color: #16a34a !important; border: 1px solid #bbf7d0 !important; }
.pill-alert { background: #ffedd5 !important; color: #ea580c !important; border: 1px solid #fed7aa !important; }
.pill-info { background: #f1f5f9 !important; color: #475569 !important; border: 1px solid #e2e8f0 !important; }

.meteor-notif-time {
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
}

.meteor-notif-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: #006633 !important;
  display: inline-block !important;
  box-shadow: 0 0 8px rgba(0, 102, 51, 0.6) !important;
  flex-shrink: 0 !important;
}

[data-theme="dark"] .meteor-notif-dot {
  background-color: #10b981 !important;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6) !important;
}

.meteor-notif-item-title {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  margin: 2px 0 3px 0 !important;
}

[data-theme="dark"] .meteor-notif-item-title {
  color: #f8fafc !important;
}

.meteor-notif-item-snippet {
  font-size: 0.8rem !important;
  color: #475569 !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

[data-theme="dark"] .meteor-notif-item-snippet {
  color: #cbd5e1 !important;
}

.meteor-notif-expanded-box {
  margin-top: 8px !important;
  padding: 10px 12px !important;
  background: #f8fafc !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
}

[data-theme="dark"] .meteor-notif-expanded-box {
  background: #1e293b !important;
  border-color: #334155 !important;
}

.meteor-notif-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: #006633 !important;
  color: #ffffff !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 4px 14px !important;
  border-radius: 99px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0, 102, 51, 0.25) !important;
  transition: all 0.15s ease !important;
}

.meteor-notif-cta-btn:hover {
  background: #004d26 !important;
  transform: translateY(-1px) !important;
}

/* 7. Pied de Volet & Mini-Pagination */
.meteor-notif-footer {
  padding: 10px 16px !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-shrink: 0 !important;
}

[data-theme="dark"] .meteor-notif-footer {
  background-color: #111827 !important;
  background: #111827 !important;
  border-top: 1px solid #1e293b !important;
}

.meteor-notif-pagination {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.meteor-notif-page-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 3px 9px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.meteor-notif-page-btn:hover:not(:disabled) {
  background: #ecfdf5 !important;
  border-color: #006633 !important;
  color: #006633 !important;
}

.meteor-notif-page-btn:disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}

[data-theme="dark"] .meteor-notif-page-btn {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

.meteor-notif-page-indicator {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #006633 !important;
  background: #ecfdf5 !important;
  padding: 3px 8px !important;
  border-radius: 99px !important;
  border: 1px solid rgba(0, 102, 51, 0.2) !important;
}

[data-theme="dark"] .meteor-notif-page-indicator {
  background: rgba(0, 102, 51, 0.25) !important;
  color: #10b981 !important;
}

.meteor-notif-close-btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 4px 14px !important;
  border-radius: 99px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.meteor-notif-close-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

[data-theme="dark"] .meteor-notif-close-btn {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f1f5f9 !important;
}



/* Auth / Sign Up Tabs */
.auth-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
}
.auth-tab-btn {
  flex: 1;
  padding: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all 0.2s;
}
.auth-tab-btn.active {
  background: var(--primary);
  color: #fff;
}

/* ==========================================================
   9-STEP EDITORIAL WORKFLOW STEPPER & STATUS TRACKER
   ========================================================== */
.workflow-stepper-container {
  margin: 1.2rem 0;
  padding: 1.1rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow-x: auto;
}
.workflow-stepper-wrapper {
  min-width: 760px;
  position: relative;
  padding: 0.5rem 0 0.8rem 0;
}
.workflow-step-line-bg {
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 4px;
  background: var(--border-strong);
  z-index: 1;
  border-radius: 2px;
}
.workflow-step-line-fill {
  height: 100%;
  background: #16a34a;
  border-radius: 2px;
  transition: width 0.35s ease;
}
.workflow-stepper-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.workflow-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}
.workflow-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-strong);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.workflow-step-node.completed .workflow-step-circle {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
.workflow-step-node.current .workflow-step-circle {
  background: #006633;
  border-color: #006633;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 102, 51, 0.25);
  transform: scale(1.15);
}
.workflow-step-node.rejected .workflow-step-circle {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.25);
}
.workflow-step-label {
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 0.45rem;
  color: var(--text-secondary);
  line-height: 1.25;
  max-width: 80px;
}
.workflow-step-node.current .workflow-step-label {
  color: #006633;
  font-weight: 800;
}
.workflow-step-node.completed .workflow-step-label {
  color: #15803d;
  font-weight: 700;
}

/* Checklist milestone grid */
.workflow-milestones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.6rem;
  margin: 0.9rem 0;
  padding: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}
.workflow-milestone-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.workflow-milestone-check {
  font-weight: 700;
  font-size: 0.95rem;
}
.workflow-milestone-check.ok { color: #16a34a; }
.workflow-milestone-check.pending { color: #94a3b8; }
.workflow-milestone-check.alert { color: #dc2626; }

/* ==========================================================================
   UNIVERSAL BOOTSTRAP 5 PRO PAGINATION (UIX & DESIGN SYSTEM)
   ========================================================================== */
.meteor-pagination-container,
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.15rem 1.5rem;
  margin-top: 2rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.05);
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

[data-theme="dark"] .meteor-pagination-container,
[data-theme="dark"] .pagination-container {
  background: #131a26;
  border-color: #243044;
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.3);
}

.pagination-info-box,
.pagination-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pagination-badge-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 102, 51, 0.08);
  color: #006633;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 102, 51, 0.15);
}

[data-theme="dark"] .pagination-badge-count {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.25);
}

.pagination-range-text {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Bootstrap 5 Connected Pagination Bar */
.pagination,
.pagination-controls {
  display: inline-flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.page-item {
  display: inline-block;
  margin: 0;
}

.page-item:first-child .page-link {
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
}

.page-item:last-child .page-link {
  border-top-right-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

.page-link,
.pagination-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  margin-left: -1px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  user-select: none;
  min-width: 40px;
  height: 40px;
  box-sizing: border-box;
}

[data-theme="dark"] .page-link,
[data-theme="dark"] .pagination-btn {
  background-color: #1a2232;
  border-color: #334155;
  color: #f1f5f9;
}

.page-link:hover:not(:disabled) {
  z-index: 2;
  color: #006633;
  background-color: #ecfdf5;
  border-color: #10b981;
  box-shadow: 0 2px 8px rgba(0, 102, 51, 0.15);
}

[data-theme="dark"] .page-link:hover:not(:disabled) {
  color: #10b981;
  background-color: #1e332a;
  border-color: #10b981;
}

.page-item.active .page-link,
.pagination-btn.active {
  z-index: 3;
  color: #ffffff !important;
  background: linear-gradient(135deg, #006633 0%, #004d26 100%) !important;
  border-color: #006633 !important;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 102, 51, 0.35) !important;
}

[data-theme="dark"] .page-item.active .page-link,
[data-theme="dark"] .pagination-btn.active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  border-color: #10b981 !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
}

.page-item.disabled .page-link,
.page-link:disabled,
.pagination-btn:disabled {
  color: #94a3b8 !important;
  pointer-events: none;
  background-color: #f8fafc;
  border-color: #e2e8f0;
  opacity: 0.6;
  cursor: not-allowed;
}

[data-theme="dark"] .page-item.disabled .page-link,
[data-theme="dark"] .page-link:disabled {
  background-color: #0f172a;
  border-color: #243044;
  color: #475569 !important;
}

.page-link-ellipsis,
.pagination-ellipsis {
  background-color: #f8fafc;
  color: #94a3b8;
  border-color: #e2e8f0;
  cursor: default;
}

[data-theme="dark"] .page-link-ellipsis,
[data-theme="dark"] .pagination-ellipsis {
  background-color: #0f172a;
  border-color: #243044;
}

.pagination-page-indicator {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pagination-page-indicator .current-pill {
  color: #006633;
  font-weight: 800;
  background: rgba(0, 102, 51, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

[data-theme="dark"] .pagination-page-indicator .current-pill {
  color: #10b981;
  background: rgba(16, 185, 129, 0.2);
}

.pagination-page-indicator .total-pill {
  font-weight: 800;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .meteor-pagination-container,
  .pagination-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1rem;
  }
  .pagination-info-box,
  .pagination-info {
    flex-direction: column;
    gap: 0.4rem;
  }
  .pagination,
  .pagination-controls {
    flex-wrap: wrap;
    justify-content: center;
  }
  .page-link-text {
    display: none;
  }
}

/* ==========================================================================
   METEOR TOAST & BOOTSTRAP-STYLE ALERTS SYSTEM
   ========================================================================== */
#meteorToastContainer {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 420px;
  width: calc(100vw - 32px);
  pointer-events: none;
}

.meteor-toast {
  pointer-events: auto;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(12px);
}

.meteor-toast.hiding {
  opacity: 0;
  transform: translateX(30px);
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.meteor-toast-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem 0.5rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.meteor-toast-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
}

.meteor-toast-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0 0.25rem;
  line-height: 1;
  transition: color 0.15s ease;
}

.meteor-toast-close:hover {
  color: var(--text-primary);
}

.meteor-toast-body {
  padding: 0.5rem 1rem 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.meteor-toast-progress {
  height: 3.5px;
  width: 100%;
  background: rgba(0, 0, 0, 0.08);
}

.meteor-toast-progress-bar {
  height: 100%;
  width: 100%;
  transition: width linear;
}

/* Toast Variants */
.meteor-toast-success {
  border-left: 4px solid #16a34a !important;
}
.meteor-toast-success .meteor-toast-progress-bar {
  background: #16a34a;
}

.meteor-toast-error, .meteor-toast-danger {
  border-left: 4px solid #dc2626 !important;
}
.meteor-toast-error .meteor-toast-progress-bar,
.meteor-toast-danger .meteor-toast-progress-bar {
  background: #dc2626;
}

.meteor-toast-warning {
  border-left: 4px solid #f59e0b !important;
}
.meteor-toast-warning .meteor-toast-progress-bar {
  background: #f59e0b;
}

.meteor-toast-info {
  border-left: 4px solid #0284c7 !important;
}
.meteor-toast-info .meteor-toast-progress-bar {
  background: #0284c7;
}

/* BOOTSTRAP-STYLE INLINE ALERTS */
.alert {
  position: relative;
  padding: 0.9rem 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-success {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
  border-left: 4px solid #16a34a;
}

.alert-danger, .alert-error {
  background-color: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
  border-left: 4px solid #dc2626;
}

.alert-warning {
  background-color: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
  border-left: 4px solid #f59e0b;
}

.alert-info {
  background-color: #f0f9ff;
  border-color: #bae6fd;
  color: #075985;
  border-left: 4px solid #0284c7;
}

/* Dialog Prompt / Confirm Modal */
.meteor-dialog-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 10000001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.15s ease;
}

.meteor-dialog-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}




/* Action Toast Confirmation & Prompts */
.meteor-toast-confirm {
  box-shadow: 0 20px 45px -5px rgba(0, 0, 0, 0.35), 0 0 0 1.5px rgba(0, 102, 51, 0.35) !important;
  max-width: 440px !important;
  width: 100% !important;
}

.meteor-toast-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  margin-top: 12px !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="dark"] .meteor-toast-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.meteor-toast-btn-cancel {
  background: transparent !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #475569 !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  line-height: 1.2 !important;
}

.meteor-toast-btn-cancel:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

[data-theme="dark"] .meteor-toast-btn-cancel {
  border-color: #475569 !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .meteor-toast-btn-cancel:hover {
  background: #334155 !important;
  color: #ffffff !important;
}

.meteor-toast-btn-confirm {
  background: #006633 !important;
  border: 1.5px solid #006633 !important;
  color: #ffffff !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  padding: 6px 16px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  box-shadow: 0 3px 8px rgba(0, 102, 51, 0.35) !important;
  transition: all 0.15s ease !important;
  line-height: 1.2 !important;
}

.meteor-toast-btn-confirm:hover {
  background: #004d26 !important;
  border-color: #004d26 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 102, 51, 0.45) !important;
}

.meteor-toast-btn-warning {
  background: #d97706 !important;
  border-color: #d97706 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 8px rgba(217, 119, 6, 0.35) !important;
}

.meteor-toast-btn-warning:hover {
  background: #b45309 !important;
  border-color: #b45309 !important;
}

.meteor-toast-btn-danger,
.meteor-toast-btn-error {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 8px rgba(220, 38, 38, 0.35) !important;
}

.meteor-toast-btn-danger:hover,
.meteor-toast-btn-error:hover {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
}
