/* =========================================================
   STRANA ORTODOXĂ — DESIGN BIZANTIN AUTENTIC & MODERN
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Inter:wght@400;500;600;700&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Paletă liturgică bizantină */
  --burgundy-dark:   #23060f;
  --burgundy:        #380c18;
  --burgundy-light:  #4f1324;
  --burgundy-card:   #420f1e;
  
  --gold-primary:    #dfb86c;
  --gold-hover:      #efca82;
  --gold-dark:       #9e7631;
  --gold-subtle:     rgba(223, 184, 108, 0.15);

  --bg-page:         #DFD3BF;
  --bg-card:         #ECE2D0;
  --text-dark:       #241812;
  --text-muted:      #5C4B3E;
  --border-light:    #C8BCA8;
  --border-gold:     #DFB86C;

  --red-feast:       #B71C1C;
  --red-bg:          rgba(183, 28, 28, 0.12);
  --blue-ro:         #1565C0;
  --blue-ro-bg:      rgba(21, 101, 192, 0.10);

  --radius-sm:       6px;
  --radius-md:       10px;
  --radius-lg:       14px;
  --shadow-sm:       0 2px 8px rgba(35, 6, 15, 0.06);
  --shadow-md:       0 4px 20px rgba(35, 6, 15, 0.10);
  --shadow-lg:       0 10px 30px rgba(35, 6, 15, 0.15);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.15s ease;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* =========================================================
   1. TOPBAR (Sfântul zilei)
   ========================================================= */
.topbar {
  background: var(--burgundy-dark);
  color: #d1c5b8;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(223, 184, 108, 0.15);
  padding: 6px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar-left .calendar-icon {
  font-size: 0.95rem;
}
.topbar-left .today-date {
  font-weight: 600;
  color: #f1ebd9;
}
.topbar-left .saint-highlight {
  color: var(--gold-primary);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-right a {
  color: #c9bfb4;
}
.topbar-right a:hover {
  color: var(--gold-primary);
}

/* =========================================================
   2. DATA BANNER (sub header, sub linia aurie)
   ========================================================= */
.date-banner {
  background: linear-gradient(90deg, var(--burgundy-dark) 0%, #2e0c14 100%);
  border-bottom: 1px solid rgba(223, 184, 108, 0.2);
  padding: 7px 0;
  font-size: 0.82rem;
  color: #e8dccf;
  text-align: center;
}
.date-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.date-banner .date-text {
  font-weight: 700;
  color: #f1ebd9;
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
}
.date-banner .saint-text {
  color: var(--gold-primary);
}
.date-banner .sep {
  color: rgba(223, 184, 108, 0.4);
}

/* =========================================================
   3. MAIN HEADER (Logo, Navigație, Căutare)
   ========================================================= */
.site-header {
  background: var(--burgundy);
  border-bottom: 2px solid var(--gold-primary);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 6px 0;
  gap: 8px 16px;
}

.brand {
  order: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-logo {
  height: 44px !important;
  width: auto !important;
  border-radius: 6px;
  filter: drop-shadow(0 0 6px rgba(223, 184, 108, 0.35));
  flex-shrink: 0;
}
.brand-cross {
  font-size: 2.2rem;
  color: var(--gold-primary);
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(223, 184, 108, 0.4));
}
.brand-titles {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: 'Cinzel', serif;
  font-size: 1.38rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.1;
}
.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 700;
  color: #e5cdad;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Navigatie - pe rand dedicat sub logo si titlu, pe un singur rand */
.main-nav {
  order: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0;
  padding: 8px 0 2px 0;
  border-top: 1px solid rgba(223, 184, 108, 0.18);
}
.main-nav::-webkit-scrollbar {
  display: none;
}
.nav-item {
  color: #e5dac9;
  font-size: 0.83rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 6px 4px;
  position: relative;
  transition: color 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-item:hover, .nav-item.active {
  color: var(--gold-primary);
}
.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}

/* Căutare în Header - Ascunsă conform preferinței utilizatorului */
.header-search {
  display: none !important;
}

/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */
.mobile-menu-btn {
  display: none;
  background: rgba(223, 184, 108, 0.15);
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-primary);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 1.45rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  align-items: center;
  justify-content: center;
}
.mobile-menu-btn:hover {
  background: var(--gold-subtle);
  color: #fff;
  border-color: #fff;
}

/* =========================================================
   MOBILE OVERLAY MENU (DRAWER DIN STÂNGA)
   ========================================================= */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}
.mobile-nav-overlay.open {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(320px, 86vw);
  height: 100%;
  background: linear-gradient(180deg, var(--burgundy-dark) 0%, #17040a 100%);
  border-right: 2.5px solid var(--gold-primary);
  padding: 0;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.65);
  z-index: 10000;
}
.mobile-nav-overlay.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1.5px solid rgba(223, 184, 108, 0.25);
  background: var(--burgundy);
}
.mobile-nav-head span {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.5px;
}
.mobile-nav-close {
  background: rgba(223, 184, 108, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.mobile-nav-close:hover {
  background: var(--gold-primary);
  color: var(--burgundy-dark);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 18px 16px;
  gap: 10px;
  flex: 1;
  overflow-y: auto;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(223, 184, 108, 0.22);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: all 0.18s ease;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: linear-gradient(135deg, var(--gold-primary) 0%, #dfb86c 100%);
  color: var(--burgundy-dark);
  border-color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(223, 184, 108, 0.45);
  transform: translateX(5px);
}
.mobile-nav-links a .nav-icon {
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
  color: var(--gold-primary);
  transition: color 0.18s ease;
}
.mobile-nav-links a:hover .nav-icon,
.mobile-nav-links a.active .nav-icon {
  color: var(--burgundy-dark);
}

.mobile-nav-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(223, 184, 108, 0.15);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* =========================================================
   4. HERO SECTION
   ========================================================= */
.hero {
  background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 50%, var(--burgundy-light) 100%);
  color: #fff;
  padding: 50px 0 60px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(223, 184, 108, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-family: 'Cinzel', serif;
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-content p {
  font-size: 1.05rem;
  color: #ebdcd0;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-gold {
  background: var(--gold-primary);
  color: var(--burgundy-dark);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(223, 184, 108, 0.3);
  transition: transform 0.15s, background 0.15s;
}
.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
}
.btn-outline-gold:hover {
  background: var(--gold-subtle);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
}

/* Agenda Zilei Card */
.agenda-card {
  background: rgba(43, 10, 20, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(223, 184, 108, 0.35);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.agenda-header {
  background: var(--burgundy-card);
  padding: 12px 18px;
  border-bottom: 1px solid rgba(223, 184, 108, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
}
.agenda-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.3px;
}

.agenda-body {
  padding: 18px;
}
.agenda-body .saint-day-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.agenda-body .saint-day-desc {
  font-size: 0.88rem;
  color: #d6c6b8;
  line-height: 1.5;
  margin-bottom: 14px;
}
.agenda-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.agenda-pill {
  font-size: 0.75rem;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(223, 184, 108, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(223, 184, 108, 0.3);
}

/* =========================================================
   5. CONȚINUT PRINCIPAL
   ========================================================= */
.main-content {
  padding: 40px 0 60px;
  flex: 1;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 34px;
}

.section-block {
  margin-bottom: 40px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--border-light);
  position: relative;
}
.section-head::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 70px;
  height: 2px;
  background: var(--gold-dark);
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--burgundy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title span.icon {
  color: var(--gold-dark);
}

.see-all-link {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--burgundy-light);
  letter-spacing: 0.6px;
}
.see-all-link:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* Carduri partituri */
.partitura-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}
.partitura-card:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.partitura-info {
  flex: 1;
  min-width: 0;
}
.partitura-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
  word-break: break-word;
}
.partitura-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}
.tag-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}
.tag-glas { background: rgba(223, 184, 108, 0.25); color: #694500; border: 1px solid rgba(158, 118, 49, 0.35); }
.tag-moment { background: rgba(25, 103, 210, 0.15); color: #0f4691; border: 1px solid rgba(25, 103, 210, 0.3); }
.tag-slujba { background: rgba(19, 115, 51, 0.15); color: #105923; border: 1px solid rgba(19, 115, 51, 0.3); }
.tag-autor { background: rgba(118, 39, 187, 0.15); color: #4b1480; border: 1px solid rgba(118, 39, 187, 0.3); }

.partitura-action .btn-drive {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--burgundy);
  border: 1px solid rgba(223, 184, 108, 0.4);
  border-radius: var(--radius-sm);
  color: var(--gold-primary);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.15s;
}
.partitura-action .btn-drive:hover {
  background: var(--burgundy-light);
  color: #ffffff;
  border-color: var(--gold-hover);
  transform: translateY(-1px);
}

.partitura-action {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-fav {
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  color: var(--text-muted);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}
.btn-fav:hover {
  border-color: var(--gold-primary);
  color: var(--gold-dark);
  transform: scale(1.15);
  background: rgba(212, 175, 55, 0.1);
}
.btn-fav.active {
  color: #f59e0b;
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.25);
}
body.dark-mode .btn-fav {
  border-color: rgba(255, 255, 255, 0.15);
  color: #9ca3af;
}
body.dark-mode .btn-fav:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.18);
}
body.dark-mode .btn-fav.active {
  color: #fbbf24;
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.2);
}

/* Toast Notificare */
.strana-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--burgundy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  border: 1px solid var(--gold-primary);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.strana-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Aspect pe telefon / ecrane înguste */
@media (max-width: 768px) {
  .partitura-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 16px !important;
    gap: 8px !important;
  }
  .partitura-info {
    width: 100% !important;
  }
  .partitura-title {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
    width: 100% !important;
  }
  .partitura-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
    margin-bottom: 6px !important;
  }
  .partitura-action {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    padding-top: 12px !important;
    margin-top: 4px !important;
    border-top: 1px dashed var(--border-light) !important;
  }
  body.dark-mode .partitura-action {
    border-top-color: rgba(255, 255, 255, 0.12) !important;
  }
  .partitura-action .btn-drive {
    flex: 1 !important;
    max-width: 250px !important;
    justify-content: center !important;
    padding: 10px 16px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    height: 40px !important;
  }
  .partitura-action .btn-fav {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.3rem !important;
    flex-shrink: 0 !important;
  }
}

/* =========================================================
   6. WIDGET CALENDAR ORTODOX
   ========================================================= */
.calendar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.calendar-widget-header {
  background: var(--burgundy);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calendar-widget-title {
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.calendar-nav-btn {
  background: none;
  border: none;
  color: var(--gold-primary);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.1s;
}
.calendar-nav-btn:hover {
  background: rgba(223, 184, 108, 0.2);
}

.calendar-widget-header .pill-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.calendar-widget-header .pill-btn:hover {
  background: var(--gold-primary);
  color: var(--burgundy-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.calendar-grid {
  padding: 14px;
}
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.1s;
  color: var(--text-dark);
}
.calendar-day:hover {
  background: #f4eee3;
}
.calendar-day.today {
  background: var(--burgundy);
  color: var(--gold-primary);
  font-weight: 700;
}
.calendar-day.red-feast {
  color: var(--red-feast);
  font-weight: 700;
}
.calendar-day.other-month {
  color: #ccc;
  cursor: default;
}
.calendar-day.selected-day {
  background: var(--gold-primary) !important;
  color: #2a0812 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 0 2px var(--burgundy);
}

/* Calendar Compact */
.calendar-widget.compact-calendar {
  max-width: 460px;
  margin: 0 auto 25px auto;
}
.calendar-widget.compact-calendar .calendar-grid {
  padding: 10px;
}
.calendar-widget.compact-calendar .calendar-day {
  max-height: 38px;
  font-size: 0.82rem;
}

.calendar-info-box {
  padding: 12px 14px;
  background: #faf7f2;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

#btnToggleSinaxar {
  background: var(--burgundy) !important;
  color: #fbf6ec !important;
  border: 1px solid var(--gold-primary) !important;
  border-radius: 8px !important;
}
#btnToggleSinaxar:hover {
  background: var(--burgundy-light) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(90, 18, 32, 0.3) !important;
}

/* =========================================================
   7. FOOTER
   ========================================================= */
.site-footer {
  background: var(--burgundy-dark);
  color: #b7a99c;
  border-top: 2px solid var(--gold-dark);
  padding: 40px 0 20px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  text-align: center;
  font-size: 0.78rem;
  color: #8c7f72;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .main-nav {
    gap: 12px;
  }
  .nav-item {
    font-size: 0.77rem;
    letter-spacing: 0.4px;
    padding: 5px 2px;
  }
  .header-search {
    min-width: 160px;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .content-layout {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none !important;
  }
  .header-search {
    display: none;
  }
  .header-inner {
    padding: 10px 0;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }
  .brand {
    gap: 12px;
  }
  .brand-logo {
    height: 48px !important;
  }
  .brand-title {
    font-size: 1.35rem;
    line-height: 1.15;
  }
  .brand-subtitle {
    font-size: 0.72rem;
    letter-spacing: 1.4px;
    font-weight: 700;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .header-inner {
    padding: 10px 0;
    gap: 10px;
    justify-content: space-between;
  }
  .brand {
    gap: 10px;
  }
  .brand-logo {
    height: 48px !important;
  }
  .brand-title {
    font-size: 1.32rem;
    line-height: 1.15;
    letter-spacing: 0.5px;
  }
  .brand-subtitle {
    font-size: 0.72rem;
    letter-spacing: 1.3px;
    font-weight: 700;
  }
  .mobile-menu-btn {
    margin-left: auto;
    width: 44px;
    height: 44px;
    font-size: 1.45rem;
  }
  .hero {
    padding: 24px 0 34px;
  }
  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .hero-content p {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions a {
    width: 100%;
    min-width: unset !important;
    text-align: center;
    justify-content: center;
  }
  .agenda-card {
    margin-top: 10px;
  }
  .date-banner-inner {
    flex-direction: column;
    gap: 5px;
    text-align: center;
    padding: 8px 12px;
  }
  .date-banner-inner .sep {
    display: none;
  }
  .calendar-widget.compact-calendar {
    max-width: 100%;
  }
  .calendar-days .calendar-day {
    height: 38px;
    font-size: 0.8rem;
  }
  .section-title {
    font-size: 1.15rem;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    height: 42px !important;
  }
  .brand-title {
    font-size: 1.18rem;
  }
  .brand-subtitle {
    font-size: 0.65rem;
    letter-spacing: 1px;
  }
  .mobile-menu-btn {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
  }
  .hero-content h1 {
    font-size: 1.75rem;
  }
}

/* =========================================================
   PAGINA DE DONAȚII — STILURI DEDICATE
   ========================================================= */
.donatii-hero {
  text-align: center;
  margin-bottom: 35px;
}
.donatii-hero h1 {
  font-family: 'Cinzel', serif;
  color: var(--burgundy);
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.donatii-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

.donatii-transparency-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 35px;
  box-shadow: var(--shadow-sm);
}
.donatii-transparency-box h3 {
  font-family: 'Cinzel', serif;
  color: var(--burgundy);
  font-size: 1.15rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.costuri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.cost-item {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(56, 12, 24, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.cost-item span.icon {
  font-size: 1.25rem;
  line-height: 1;
}

.donatii-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 35px;
}

.donatie-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.donatie-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-primary);
}
.donatie-card.featured {
  border: 2px solid var(--gold-primary);
}
.donatie-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, var(--burgundy) 0%, #5a1220 100%);
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
}

.donatie-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.donatie-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.donatie-icon-revolut {
  background: #000;
  color: #fff;
  font-weight: 800;
  font-family: sans-serif;
  border: 1px solid #333;
}
.donatie-icon-coffee {
  background: #FFDD00;
  color: #000;
  border: 1px solid #e0c200;
}
.donatie-icon-bank {
  background: #eef3fa;
  color: #0c3866;
  border: 1px solid #d0deec;
}

.donatie-card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  color: var(--burgundy);
  font-weight: 700;
  line-height: 1.2;
}
.donatie-card-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.donatie-card-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.donatie-field {
  background: #faf8f5;
  border: 1px solid #ebdcc5;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.donatie-field-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}
.donatie-field-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--burgundy);
  font-family: monospace;
  word-break: break-all;
}
.btn-copy {
  background: #fff;
  border: 1px solid var(--gold-primary);
  color: var(--burgundy);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-copy:hover {
  background: var(--gold-primary);
  color: #fff;
}
.btn-copy.copied {
  background: #2e7d32;
  border-color: #2e7d32;
  color: #fff;
}

.qr-preview-wrap {
  text-align: center;
  margin: 14px 0 16px;
  padding: 14px;
  background: #faf8f5;
  border-radius: 10px;
  border: 1px dashed var(--gold-primary);
}
.qr-preview-img {
  max-width: 170px;
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  display: inline-block;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.qr-preview-img:hover {
  transform: scale(1.03);
}

.donatie-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  margin-top: 6px;
}
.btn-revolut {
  background: #000;
  color: #fff !important;
  border: 1px solid #222;
}
.btn-revolut:hover {
  background: #222;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.btn-coffee {
  background: #FFDD00;
  color: #000 !important;
  border: 1px solid #e5c700;
}
.btn-coffee:hover {
  background: #ffd000;
  box-shadow: 0 4px 12px rgba(255, 221, 0, 0.4);
}

.donatii-blessing-box {
  background: linear-gradient(135deg, var(--burgundy) 0%, #290812 100%);
  color: #fbf6ec;
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
}
.donatii-blessing-box h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-primary);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.donatii-blessing-box p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #f0e6d6;
  max-width: 760px;
  margin: 0 auto;
}

/* =========================================================
   MOD NOCTURN (DARK MODE) PENTRU STRANA ORTODOXĂ
   ========================================================= */
html.dark-mode,
body.dark-mode {
  --bg-page:         #120f14;
  --bg-card:         #1a151e;
  --text-dark:       #ece4d8;
  --text-muted:      #aba092;
  --border-light:    #2d2232;
  --border-gold:     #b89047;

  --burgundy-dark:   #120307;
  --burgundy:        #2a0610;
  --burgundy-light:  #3b0b18;
  --burgundy-card:   #22050e;

  --gold-primary:    #e5c278;
  --gold-hover:      #f5d58f;
  --gold-dark:       #cca24b;
  --gold-subtle:     rgba(229, 194, 120, 0.12);

  --red-feast:       #ff6b6b;
  --red-bg:          #301217;
  --blue-ro:         #64B5F6;
  --blue-ro-bg:      #12233a;

  --shadow-sm:       0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md:       0 4px 20px rgba(0, 0, 0, 0.7);
  --shadow-lg:       0 10px 30px rgba(0, 0, 0, 0.9);
}

body.dark-mode {
  background-color: var(--bg-page);
  color: var(--text-dark);
}

body.dark-mode .site-header {
  background: var(--burgundy-dark);
  border-bottom-color: var(--gold-dark);
}

body.dark-mode .date-banner {
  background: #0d0407;
  border-bottom-color: rgba(223, 184, 108, 0.15);
}

body.dark-mode .calendar-widget {
  background: var(--bg-card);
  border-color: var(--border-light);
}

body.dark-mode .calendar-widget-header {
  background: var(--burgundy);
}

body.dark-mode .calendar-widget-header .pill-btn {
  background: #251e2b;
  color: var(--gold-primary);
  border-color: rgba(223, 184, 108, 0.3);
}

body.dark-mode .calendar-widget-header .pill-btn:hover {
  background: #33283a;
  color: #fff;
}

body.dark-mode .partitura-card {
  background: var(--bg-card);
  border-color: var(--border-light);
}

body.dark-mode .partitura-card:hover {
  border-color: var(--gold-primary);
  background: #221a28;
}

body.dark-mode .partitura-title {
  color: var(--gold-primary) !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
  color: var(--gold-primary) !important;
}

body.dark-mode details {
  background: var(--bg-card) !important;
  border-color: var(--border-light) !important;
}

body.dark-mode details summary {
  color: var(--gold-primary) !important;
}

body.dark-mode .tag-badge {
  background: #271f2e !important;
  color: #e5cdad !important;
  border-color: #3d3047 !important;
}

body.dark-mode .tag-badge.tag-glas {
  background: #2d2214 !important;
  color: #ffd27d !important;
  border-color: #57431e !important;
}

body.dark-mode .tag-badge.tag-moment {
  background: #152634 !important;
  color: #8ac7f0 !important;
  border-color: #23435c !important;
}

body.dark-mode .tag-badge.tag-slujba {
  background: #301625 !important;
  color: #f1a3d0 !important;
  border-color: #552741 !important;
}

body.dark-mode .tag-badge.tag-autor {
  background: #251733 !important;
  color: #cda8f7 !important;
  border-color: #4b3066 !important;
}

body.dark-mode .btn-drive {
  background: #2b0f17 !important;
  color: var(--gold-primary) !important;
  border-color: rgba(223, 184, 108, 0.4) !important;
}

body.dark-mode .btn-drive:hover {
  background: var(--gold-primary) !important;
  color: #1a040b !important;
}

body.dark-mode .search-big-input,
body.dark-mode .header-search input {
  background: #211926 !important;
  color: #ece4d8 !important;
  border-color: rgba(223, 184, 108, 0.35) !important;
}

body.dark-mode .pill-btn {
  background: #211a26;
  color: #aba092;
  border-color: #382c3f;
}

body.dark-mode .pill-btn:hover {
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}

body.dark-mode .pill-btn.active {
  background: var(--burgundy-light);
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}

body.dark-mode .site-footer {
  background: #0d0306;
  border-top-color: rgba(223, 184, 108, 0.15);
}

body.dark-mode .mobile-nav-panel {
  background: #18131d;
  color: #ece4d8;
}

body.dark-mode .mobile-nav-head {
  background: #24050d;
  border-bottom-color: rgba(223, 184, 108, 0.2);
}

body.dark-mode .mobile-nav-links a {
  color: #d8cec1;
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .mobile-nav-links a:hover,
body.dark-mode .mobile-nav-links a.active {
  color: var(--gold-primary);
  background: rgba(223, 184, 108, 0.1);
}

body.dark-mode .nav-item {
  color: #d8cec1;
}

body.dark-mode .nav-item:hover,
body.dark-mode .nav-item.active {
  color: var(--gold-primary);
}

/* Buton Theme Toggle */
.theme-toggle-btn {
  order: 10;
  margin-left: auto;
  background: rgba(223, 184, 108, 0.15);
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-primary);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  padding: 0;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  line-height: 1;
}

.theme-toggle-btn:hover {
  background: var(--gold-subtle);
  color: #fff;
  border-color: #fff;
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .theme-toggle-btn {
    order: 2;
    margin-left: auto;
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }
  .mobile-menu-btn {
    order: 3;
    margin-left: 10px !important;
  }
}

.mobile-theme-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 18px !important;
  font-weight: 600 !important;
  color: var(--gold-primary) !important;
  border-top: 1px solid rgba(223, 184, 108, 0.2) !important;
  margin-top: 10px !important;
}

/* =========================================================
   STILURI SPECIFICE DARK MODE PENTRU TOATE PAGINILE
   ========================================================= */

/* Toate cardurile cu inline style background:#fff sau background:white */
body.dark-mode div[style*="background:#fff"],
body.dark-mode div[style*="background: #fff"],
body.dark-mode div[style*="background:#ffffff"],
body.dark-mode div[style*="background: #ffffff"],
body.dark-mode div[style*="background: white"],
body.dark-mode div[style*="background:white"],
body.dark-mode main div[style*="background:#fff"],
body.dark-mode main div[style*="background: #fff"] {
  background: var(--bg-card) !important;
  border-color: var(--border-light) !important;
  color: var(--text-dark) !important;
}

/* 1. PAGINA DONAȚII */
body.dark-mode .donatii-transparency-box {
  background: var(--bg-card) !important;
  border-color: var(--border-light) !important;
  border-left: 4px solid var(--gold-primary) !important;
}
body.dark-mode .donatii-transparency-box h3 {
  color: var(--gold-primary) !important;
}
body.dark-mode .cost-item {
  background: #231b26 !important;
  border-color: #3d2f44 !important;
  color: var(--text-dark) !important;
}
body.dark-mode .cost-item strong {
  color: var(--gold-primary) !important;
}
body.dark-mode .cost-item div {
  color: var(--text-muted) !important;
}

body.dark-mode .donatie-card {
  background: var(--bg-card) !important;
  border-color: var(--border-light) !important;
  color: var(--text-dark) !important;
}
body.dark-mode .donatie-card:hover {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6) !important;
}
body.dark-mode .donatie-card.featured {
  border: 2px solid var(--gold-primary) !important;
}
body.dark-mode .donatie-card-title {
  color: var(--gold-primary) !important;
}
body.dark-mode .donatie-card-subtitle {
  color: var(--text-muted) !important;
}
body.dark-mode .donatie-card-body,
body.dark-mode .donatie-card-body p {
  color: var(--text-dark) !important;
}
body.dark-mode .donatie-field {
  background: #231b26 !important;
  border-color: #3d2f44 !important;
}
body.dark-mode .donatie-field-label {
  color: var(--text-muted) !important;
}
body.dark-mode .donatie-field-val {
  color: var(--gold-primary) !important;
}
body.dark-mode .btn-copy {
  background: #2b1219 !important;
  border-color: rgba(223, 184, 108, 0.45) !important;
  color: var(--gold-primary) !important;
}
body.dark-mode .btn-copy:hover {
  background: var(--gold-primary) !important;
  color: #120307 !important;
}
body.dark-mode .qr-preview-wrap {
  background: #231b26 !important;
  border: 1px solid var(--border-light) !important;
}
body.dark-mode .donatie-icon-bank {
  background: #192736 !important;
  color: #89bdf0 !important;
  border-color: #273e57 !important;
}
body.dark-mode .donatii-blessing-box {
  background: linear-gradient(135deg, #24050d 0%, #150308 100%) !important;
  border-color: var(--gold-primary) !important;
}
body.dark-mode .donatii-blessing-box p {
  color: var(--text-dark) !important;
}

/* 2. PAGINA CANALE YOUTUBE */
body.dark-mode #canaleContainer > div {
  background: var(--bg-card) !important;
  border-color: var(--border-light) !important;
  color: var(--text-dark) !important;
}
body.dark-mode #canaleContainer h3 {
  color: var(--gold-primary) !important;
}

/* 3. PAGINA COMUNITATE */
body.dark-mode div[style*="border-left:4px solid #25D366"],
body.dark-mode div[style*="border-left: 4px solid #25D366"] {
  background: var(--bg-card) !important;
  border-color: var(--border-light) !important;
  border-left: 4px solid #25D366 !important;
}

/* 4. PAGINA DESPRE */
body.dark-mode div[style*="background:#f4f1eb"],
body.dark-mode div[style*="background: #f4f1eb"] {
  background: #231b26 !important;
}
body.dark-mode span[style*="background:#fff8e6"],
body.dark-mode span[style*="background: #fff8e6"] {
  background: #2d2012 !important;
  color: #ffd27d !important;
  border-color: #553b19 !important;
}
body.dark-mode span[style*="color:#777"],
body.dark-mode div[style*="color:#888"] {
  color: var(--gold-primary);
  background: rgba(223, 184, 108, 0.1);
}

body.dark-mode .nav-item {
  color: #d8cec1;
}

body.dark-mode .nav-item:hover,
body.dark-mode .nav-item.active {
  color: var(--gold-primary);
}

/* Buton Theme Toggle */
.theme-toggle-btn {
  order: 10;
  margin-left: auto;
  background: rgba(223, 184, 108, 0.15);
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-primary);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  padding: 0;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  line-height: 1;
}

.theme-toggle-btn:hover {
  background: var(--gold-subtle);
  color: #fff;
  border-color: #fff;
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .theme-toggle-btn {
    order: 2;
    margin-left: auto;
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }
  .mobile-menu-btn {
    order: 3;
    margin-left: 10px !important;
  }
}

.mobile-theme-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 18px !important;
  font-weight: 600 !important;
  color: var(--gold-primary) !important;
  border-top: 1px solid rgba(223, 184, 108, 0.2) !important;
  margin-top: 10px !important;
}

/* =========================================================
   STILURI SPECIFICE DARK MODE PENTRU TOATE PAGINILE
   ========================================================= */

/* Toate cardurile cu inline style background:#fff sau background:white */
body.dark-mode div[style*="background:#fff"],
body.dark-mode div[style*="background: #fff"],
body.dark-mode div[style*="background:#ffffff"],
body.dark-mode div[style*="background: #ffffff"],
body.dark-mode div[style*="background: white"],
body.dark-mode div[style*="background:white"],
body.dark-mode main div[style*="background:#fff"],
body.dark-mode main div[style*="background: #fff"] {
  background: var(--bg-card) !important;
  border-color: var(--border-light) !important;
  color: var(--text-dark) !important;
}

/* 1. PAGINA DONAȚII */
body.dark-mode .donatii-transparency-box {
  background: var(--bg-card) !important;
  border-color: var(--border-light) !important;
  border-left: 4px solid var(--gold-primary) !important;
}
body.dark-mode .donatii-transparency-box h3 {
  color: var(--gold-primary) !important;
}
body.dark-mode .cost-item {
  background: #231b26 !important;
  border-color: #3d2f44 !important;
  color: var(--text-dark) !important;
}
body.dark-mode .cost-item strong {
  color: var(--gold-primary) !important;
}
body.dark-mode .cost-item div {
  color: var(--text-muted) !important;
}

body.dark-mode .donatie-card {
  background: var(--bg-card) !important;
  border-color: var(--border-light) !important;
  color: var(--text-dark) !important;
}
body.dark-mode .donatie-card:hover {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6) !important;
}
body.dark-mode .donatie-card.featured {
  border: 2px solid var(--gold-primary) !important;
}
body.dark-mode .donatie-card-title {
  color: var(--gold-primary) !important;
}
body.dark-mode .donatie-card-subtitle {
  color: var(--text-muted) !important;
}
body.dark-mode .donatie-card-body,
body.dark-mode .donatie-card-body p {
  color: var(--text-dark) !important;
}
body.dark-mode .donatie-field {
  background: #231b26 !important;
  border-color: #3d2f44 !important;
}
body.dark-mode .donatie-field-label {
  color: var(--text-muted) !important;
}
body.dark-mode .donatie-field-val {
  color: var(--gold-primary) !important;
}
body.dark-mode .btn-copy {
  background: #2b1219 !important;
  border-color: rgba(223, 184, 108, 0.45) !important;
  color: var(--gold-primary) !important;
}
body.dark-mode .btn-copy:hover {
  background: var(--gold-primary) !important;
  color: #120307 !important;
}
body.dark-mode .qr-preview-wrap {
  background: #231b26 !important;
  border: 1px solid var(--border-light) !important;
}
body.dark-mode .donatie-icon-bank {
  background: #192736 !important;
  color: #89bdf0 !important;
  border-color: #273e57 !important;
}
body.dark-mode .donatii-blessing-box {
  background: linear-gradient(135deg, #24050d 0%, #150308 100%) !important;
  border-color: var(--gold-primary) !important;
}
body.dark-mode .donatii-blessing-box p {
  color: var(--text-dark) !important;
}

/* 2. PAGINA CANALE YOUTUBE */
body.dark-mode #canaleContainer > div {
  background: var(--bg-card) !important;
  border-color: var(--border-light) !important;
  color: var(--text-dark) !important;
}
body.dark-mode #canaleContainer h3 {
  color: var(--gold-primary) !important;
}

/* 3. PAGINA COMUNITATE */
body.dark-mode div[style*="border-left:4px solid #25D366"],
body.dark-mode div[style*="border-left: 4px solid #25D366"] {
  background: var(--bg-card) !important;
  border-color: var(--border-light) !important;
  border-left: 4px solid #25D366 !important;
}

/* 4. PAGINA DESPRE */
body.dark-mode div[style*="background:#f4f1eb"],
body.dark-mode div[style*="background: #f4f1eb"] {
  background: #231b26 !important;
}
body.dark-mode span[style*="background:#fff8e6"],
body.dark-mode span[style*="background: #fff8e6"] {
  background: #2d2012 !important;
  color: #ffd27d !important;
  border-color: #553b19 !important;
}
body.dark-mode span[style*="color:#777"],
body.dark-mode div[style*="color:#888"] {
  color: var(--text-muted) !important;
}

/* =========================================================
   MODUL „LIVE PE STRANĂ” (CHANTER MODE / READER)
   ========================================================= */
.live-strana-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #11080b;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.live-strana-overlay.open {
  display: block !important;
}

/* Mod Priveghere (Night / Vigil Mode) */
.live-strana-overlay.priveghere {
  background: #000000 !important;
  color: #f5eedc !important;
}

.live-strana-overlay.priveghere .live-top-bar {
  background: rgba(12, 5, 8, 0.96) !important;
  border-bottom: 2px solid var(--gold-primary);
}

.live-strana-overlay.priveghere .live-bottom-bar {
  background: rgba(12, 5, 8, 0.96) !important;
  border-top: 1px solid rgba(223, 184, 108, 0.3);
}

/* Top bar (Adobe style - floating overlay) */
.live-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: rgba(35, 6, 15, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border-bottom: 2px solid var(--gold-primary);
  gap: 10px;
  flex-wrap: wrap;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

.live-top-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 220px;
}

.live-chant-title {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

.live-chant-meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  display: flex;
  gap: 8px;
  align-items: center;
}

.live-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Butoane de control în Live Mode */
.live-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--gold-primary);
  background: rgba(223, 184, 108, 0.12);
  color: #fff;
  transition: all 0.2s ease;
  user-select: none;
  white-space: nowrap;
}

.live-btn:hover {
  background: var(--gold-primary);
  color: #1a0507;
  transform: translateY(-1px);
}

.live-btn.active {
  background: var(--gold-primary) !important;
  color: #1a0507 !important;
  box-shadow: 0 0 12px rgba(223, 184, 108, 0.6);
}

/* BUTON CRITIC: 🔒 BLOCARE ORIZONTALĂ LA ZOOM */
.live-btn-lock {
  border: 2px solid #dfb86c;
  background: #200910;
  color: #dfb86c;
  padding: 8px 16px;
}

.live-btn-lock.locked {
  background: #137333 !important;
  color: #fff !important;
  border-color: #34a853 !important;
  box-shadow: 0 0 14px rgba(52, 168, 83, 0.6) !important;
  animation: pulseLock 2.5s infinite;
}

@keyframes pulseLock {
  0% { box-shadow: 0 0 8px rgba(52, 168, 83, 0.5); }
  50% { box-shadow: 0 0 18px rgba(52, 168, 83, 0.85); }
  100% { box-shadow: 0 0 8px rgba(52, 168, 83, 0.5); }
}

/* VIEWPORT CONTAINER (Full View ecran complet) */
.live-viewport-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0f0709;
}

.live-viewport {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  margin: 0;
  position: relative;
  transition: filter 0.2s ease;
  scroll-behavior: smooth;
}

#liveViewerContent {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 50px;
  box-sizing: border-box;
  transition: padding 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Când este activată BLOCAREA ORIZONTALĂ */
.live-viewport.lock-horizontal {
  overflow-x: hidden !important;
  touch-action: pan-y !important;
}

/* Inversare note pentru citit pe întuneric (white on black) */
.live-viewport.invert-score iframe,
.live-viewport.invert-score canvas,
.live-viewport.invert-score img {
  filter: invert(0.92) hue-rotate(180deg) contrast(1.18) brightness(0.95) !important;
}

/* =========================================================
   ADOBE-STYLE: TAP PENTRU BARE / FULL VIEW IMERSIV
   ========================================================= */
.live-strana-overlay.bars-hidden .live-top-bar {
  transform: translateY(-105%);
  opacity: 0;
  pointer-events: none;
}

.live-strana-overlay.bars-hidden .live-bottom-bar {
  transform: translateY(105%);
  opacity: 0;
  pointer-events: none;
}

.live-strana-overlay.bars-hidden .live-nav-floating {
  opacity: 0;
  pointer-events: none;
}

.live-strana-overlay.bars-hidden #liveViewerContent {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* PARTITURĂ MARE PE ECRAN */
.live-score-frame {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100vh;
  border: none;
  background: #fff;
  border-radius: 0;
}

.live-canvas-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
}

.live-canvas-page {
  width: 100%;
  max-width: 1150px;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  background: #fff;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .live-canvas-container {
    max-width: 100%;
    gap: 8px;
  }
  .live-canvas-page {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .live-top-bar {
    padding: 6px 10px;
    gap: 6px;
  }
  .live-chant-title {
    font-size: 0.95rem;
    max-width: 200px;
  }
  .live-btn {
    padding: 5px 10px;
    font-size: 0.78rem;
  }
  #liveViewerContent {
    padding-top: 54px;
    padding-bottom: 46px;
  }
}

/* Butoane plutitoare stânga/dreapta pe marginile ecranului */
.live-nav-floating {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 64px;
  background: rgba(35, 6, 15, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--gold-primary);
  border: 1px solid rgba(223, 184, 108, 0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 500;
  transition: all 0.25s ease;
}

.live-nav-floating:hover {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--gold-primary);
  transform: translateY(-50%) scale(1.08);
}

.live-nav-prev { left: 10px; }
.live-nav-next { right: 10px; }

/* Bara inferioară playlist */
.live-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: rgba(22, 7, 12, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(223, 184, 108, 0.3);
  color: #fff;
  gap: 12px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.35);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

.live-playlist-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  overflow-x: auto;
  padding: 4px;
  max-width: 65vw;
}

.live-dot {
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.live-dot:hover {
  background: rgba(223, 184, 108, 0.25);
  color: #fff;
}

.live-dot.active {
  background: var(--gold-primary);
  color: #1a0507;
  box-shadow: 0 0 10px rgba(223, 184, 108, 0.5);
}

.live-strana-overlay.priveghere .live-dot {
  background: rgba(255,255,255,0.08);
  color: #aaa;
}

.live-strana-overlay.priveghere .live-dot.active {
  background: var(--gold-primary);
  color: #1a0507;
}

/* Toast notificare la swipe / navigare */
.live-nav-toast {
  position: absolute;
  top: 75px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(22, 7, 12, 0.94);
  border: 1px solid var(--gold-primary);
  color: #fff;
  padding: 9px 20px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 6px 25px rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), top 0.25s ease;
  z-index: 10000;
  white-space: nowrap;
  max-width: 90vw;
  text-overflow: ellipsis;
  overflow: hidden;
}

.live-nav-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.live-strana-overlay.bars-hidden .live-nav-toast {
  top: 20px !important;
}

@keyframes liveSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Suport complet pentru ecranul telefonului (True OS Fullscreen) */
:fullscreen,
:-webkit-full-screen {
  width: 100% !important;
  height: 100% !important;
  background: #000 !important;
}

:fullscreen body,
:-webkit-full-screen body {
  overflow: hidden !important;
  background: #000 !important;
}

:fullscreen .live-strana-overlay,
:-webkit-full-screen .live-strana-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #000 !important;
}

/* Prompt plutitor pe telefon dacă ecranul complet nu e încă activ */
.mobile-fs-prompt-wrap {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1500;
  display: flex;
  pointer-events: auto;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-fs-prompt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--burgundy) 0%, #150308 100%);
  color: var(--gold-primary);
  border: 1.5px solid var(--gold-primary);
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 6px 22px rgba(0,0,0,0.65);
  cursor: pointer;
  animation: pulseFsBtn 2.2s infinite;
  white-space: nowrap;
}

.mobile-fs-prompt-btn:hover {
  background: var(--gold-primary);
  color: #1a0507;
}

@keyframes pulseFsBtn {
  0% { box-shadow: 0 0 8px rgba(223, 184, 108, 0.4); }
  50% { box-shadow: 0 0 18px rgba(223, 184, 108, 0.85); }
  100% { box-shadow: 0 0 8px rgba(223, 184, 108, 0.4); }
}

.live-strana-overlay.bars-hidden .mobile-fs-prompt-wrap {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
}

/* =========================================================
   CROP / TRIM INTERACTIV MODAL
   ========================================================= */
.crop-modal-box {
  background: var(--bg-card);
  border: 2px solid var(--gold-primary);
  border-radius: 16px;
  max-width: 980px;
  width: 96%;
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 50px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.crop-toolbar-section {
  padding: 8px 16px;
  background: rgba(0,0,0,0.03);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.crop-nav-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.crop-btn-sm {
  padding: 4px 10px;
  font-size: 0.8rem;
}

.crop-page-badge {
  font-size: 0.86rem;
  color: var(--text-dark);
}

.crop-checkbox-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(46, 125, 50, 0.12);
  border: 1px solid #2e7d32;
  color: #1b5e20;
  transition: all 0.15s;
  user-select: none;
}
.crop-checkbox-container.excluded {
  background: rgba(183, 28, 28, 0.1);
  border-color: #b71c1c;
  color: #b71c1c;
}
body.dark-mode .crop-checkbox-container {
  background: rgba(46, 125, 50, 0.25);
  color: #81c784;
}
body.dark-mode .crop-checkbox-container.excluded {
  background: rgba(183, 28, 28, 0.25);
  color: #ef9a9a;
}

.crop-range-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.crop-range-field {
  padding: 5px 10px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.84rem;
  width: 140px;
  background: var(--bg-card);
  color: var(--text-main);
}

.crop-summary-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  background: rgba(212, 175, 55, 0.15);
  padding: 3px 8px;
  border-radius: 6px;
}
body.dark-mode .crop-summary-tag {
  color: var(--gold-primary);
}

.crop-modes-bar {
  padding: 8px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.crop-mode-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.crop-mode-btn {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}
.crop-mode-btn:hover {
  border-color: var(--gold-primary);
  color: var(--burgundy);
}
.crop-mode-badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  font-size: 0.75rem;
  font-weight: 700;
}
.crop-mode-btn.active.mode-global {
  background: #fef9c3;
  border-color: #eab308;
  color: #854d0e;
  font-weight: 700;
}
body.dark-mode .crop-mode-btn.active.mode-global {
  background: #423b0a;
  border-color: #eab308;
  color: #fef08a;
}
.crop-mode-btn.active.mode-page {
  background: #ecfeff;
  border-color: #06b6d4;
  color: #0e7490;
  font-weight: 700;
}
body.dark-mode .crop-mode-btn.active.mode-page {
  background: #083344;
  border-color: #06b6d4;
  color: #67e8f9;
}

.crop-canvas-wrapper {
  position: relative;
  overflow: hidden;
  height: 60vh;
  max-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1c1c1c;
  padding: 8px;
  user-select: none;
}

.crop-selection-box {
  position: absolute;
  border: 2px dashed #eab308;
  background: rgba(234, 179, 8, 0.15);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
  cursor: move;
  pointer-events: auto;
  z-index: 10;
}
.crop-selection-box.mode-page {
  border-color: #06b6d4;
  background: rgba(6, 182, 212, 0.18);
}

.crop-box-tag {
  position: absolute;
  top: -18px;
  left: 0;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(15, 15, 15, 0.85);
  color: #fef08a;
  border: 1px solid rgba(234, 179, 8, 0.4);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1.2;
  z-index: 15;
}
.crop-selection-box.mode-page .crop-box-tag {
  color: #a5f3fc;
  border-color: rgba(6, 182, 212, 0.5);
}

/* Dacă chenarul atinge marginea de sus, eticheta se mută discret în colțul din dreapta jos */
.crop-selection-box.tag-bottom-corner .crop-box-tag {
  top: auto;
  bottom: 2px;
  left: auto;
  right: 2px;
}

.crop-ghost-box {
  position: absolute;
  border: 2px dotted rgba(234, 179, 8, 0.65);
  background: transparent;
  pointer-events: none;
  z-index: 5;
}
.crop-ghost-box .crop-box-tag {
  top: -16px;
  left: 0;
  font-size: 0.52rem;
  padding: 0 4px;
  opacity: 0.75;
}

.crop-excluded-banner {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff8a80;
  font-size: 1.1rem;
  font-weight: 700;
  z-index: 20;
  text-align: center;
  padding: 20px;
  backdrop-filter: blur(2px);
}

.crop-handle {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #eab308;
  border: 2px solid #111;
  border-radius: 50%;
  z-index: 12;
}
.crop-selection-box.mode-page .crop-handle {
  background: #06b6d4;
}

.crop-handle-nw { top: -7px; left: -7px; cursor: nwse-resize; }
.crop-handle-ne { top: -7px; right: -7px; cursor: nesw-resize; }
.crop-handle-sw { bottom: -7px; left: -7px; cursor: nesw-resize; }
.crop-handle-se { bottom: -7px; right: -7px; cursor: nwse-resize; }
.crop-handle-n  { top: -7px; left: 50%; transform: translateX(-50%); cursor: ns-resize; }
.crop-handle-s  { bottom: -7px; left: 50%; transform: translateX(-50%); cursor: ns-resize; }
.crop-handle-w  { left: -7px; top: 50%; transform: translateY(-50%); cursor: ew-resize; }
.crop-handle-e  { right: -7px; top: 50%; transform: translateY(-50%); cursor: ew-resize; }

.crop-footer-actions {
  padding: 12px 20px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================================================
   QR CODE & SHARE MODAL
   ========================================================= */
.share-modal-box {
  background: var(--bg-card);
  border: 2px solid var(--gold-primary);
  border-radius: 16px;
  max-width: 520px;
  width: 90%;
  padding: 24px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.5);
  text-align: center;
}

#qrcodeContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  width: fit-content;
  margin: 16px auto;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

#qrcodeContainer img, #qrcodeContainer canvas {
  display: block;
}
