/* VELO — aplicația CLIENȚILOR (carduri, portofel, recompense)
 * Paleta „Cupru & verde magazin” (v16)
 *
 * Modifici DOAR valorile din cele două blocuri de mai jos:
 *   :root  = modul LUMINOS
 *   .dark  = modul ÎNTUNECAT
 * Culori: #rrggbb sau rgba(r,g,b,transparență).
 * După salvare: reîncarcă pagina (Ctrl+F5) sau închide și redeschide aplicația.
 *
 * Culoarea butoanelor (cupru #B5523A) NU se pune aici, ci în admin → culoarea de brand.
 * Bara telefonului (verde #12392B) se pune în admin → PWA theme color.
 */
:root {
  /* Fundalul paginii și panourile */
  --velo-page-bg: #f8f4ee;
  --velo-panel-bg: #ffffff;
  --velo-panel-border: #e6ddd0;
  --velo-panel-border-width: 1px;
  --velo-panel-shadow: 0 1px 2px rgba(18,57,43,.05), 0 6px 18px rgba(18,57,43,.07);
  /* Casetele din interiorul panourilor (rânduri de reguli, iconițe, velorii) */
  --velo-inner-bg: #e8f0eb;

  /* Antetul (bara cu logo-ul) */
  --velo-header-bg: #00453a;
  --velo-header-border: rgba(233,201,168,.18);
  --velo-header-text: #f3e7da;
  --velo-header-text-muted: #c9b7a3;
  --velo-header-pill-border: rgba(233,201,168,.35);
  --velo-header-pill-hover: rgba(255,255,255,.08);
  /* Logo-ul pe antet. none = logo-ul original.
     brightness(0) invert(1) = logo alb. */
  --velo-logo-filter: none;
}
.dark {
  --velo-page-bg: #07110d;
  --velo-panel-bg: #002719;
  --velo-panel-border: #002b18;
  --velo-panel-border-width: 1px;
  --velo-panel-shadow: 0 1px 2px rgba(0,0,0,.55), 0 8px 22px rgba(0,0,0,.4);
  --velo-inner-bg: #163126;

  --velo-header-bg: #002b24;
  --velo-header-border: #1c3a2e;
  --velo-header-text: #eef2ee;
  --velo-header-text-muted: #9fb8aa;
  --velo-header-pill-border: #2a4a3c;
  --velo-header-pill-hover: rgba(255,255,255,.06);
  --velo-logo-filter: none;
}

/* Paleta „accent” a platformei (era portocalie, fixă în cod) → cupru.
   Se folosește la butoanele „Începe gratuit”, insigne, evidențieri. */
:root {
  --color-accent-50:  #fbf1ec;
  --color-accent-100: #f6ddd2;
  --color-accent-200: #eebba7;
  --color-accent-300: #e4987c;
  --color-accent-400: #d4765a;
  --color-accent-500: #b5523a;
  --color-accent-600: #9a4330;
  --color-accent-700: #7e3524;
  --color-accent-800: #622a1d;
  --color-accent-900: #4a2016;
  --color-accent-950: #2a110b;
}

/* ───────────── De aici în jos NU e nevoie de modificări ───────────── */

/* Butoanele „accent” aveau text închis pe portocaliu; pe cupru textul devine alb */
.from-accent-500.text-secondary-900 { color: #fff !important; }

/* Fundalul paginii */
body.bg-secondary-50 { background-color: var(--velo-page-bg) !important; }
.dark body.dark\:bg-secondary-950 { background-color: var(--velo-page-bg) !important; }

/* Panouri (chenare mari, rotunjite) — fundal */
:is(div, section, article, aside, form, li).bg-white:is(.rounded-xl, .rounded-2xl, .rounded-3xl) {
  background-color: var(--velo-panel-bg) !important;
}
.dark :is(div, section, article, aside, form, li):is(.rounded-xl, .rounded-2xl, .rounded-3xl):is(.dark\:bg-secondary-900, .dark\:bg-secondary-950) {
  background-color: var(--velo-panel-bg) !important;
}
/* Panouri — contur + umbră */
:is(div, section, article, aside, form, li):is(.rounded-xl, .rounded-2xl, .rounded-3xl):is(.border-secondary-100, .border-secondary-200) {
  border-color: var(--velo-panel-border) !important;
  border-width: var(--velo-panel-border-width) !important;
  box-shadow: var(--velo-panel-shadow);
}
.dark :is(div, section, article, aside, form, li):is(.rounded-xl, .rounded-2xl, .rounded-3xl):is(.dark\:border-secondary-700, .dark\:border-secondary-800) {
  border-color: var(--velo-panel-border) !important;
}
/* Casete din interiorul panourilor — nuanță de verde */
:is(div, section, li):is(.rounded-xl, .rounded-2xl):is(.bg-secondary-50, .bg-secondary-100) {
  background-color: var(--velo-inner-bg) !important;
  box-shadow: none;
}
.dark :is(div, section, li):is(.rounded-xl, .rounded-2xl):is(.dark\:bg-secondary-800, .dark\:bg-secondary-900\/50) {
  background-color: var(--velo-inner-bg) !important;
  box-shadow: none;
}

/* ═══════════ ANTET VERDE ═══════════
 * Vrei antetul deschis, ca înainte? Șterge tot de aici până la „SFÂRȘIT ANTET”.
 */
header.fixed.top-0.z-50 {
  background-color: var(--velo-header-bg) !important;
  border-bottom-color: var(--velo-header-border) !important;
}
.dark header.fixed.top-0.z-50 { background-color: var(--velo-header-bg) !important; }

/* Logo: pe verde folosim varianta pentru fundal închis (dacă ai încărcat una) */
header.fixed.top-0.z-50 img { filter: var(--velo-logo-filter); }
header.fixed.top-0.z-50 img.dark\:hidden:has(+ img.hidden) { display: none !important; }
header.fixed.top-0.z-50 img.hidden.dark\:block { display: block !important; }

/* Texte, iconițe și butoanele-pastilă din antet (fără meniul derulant alb) */
header.fixed.top-0.z-50 :is(.text-secondary-500, .text-secondary-600, .text-secondary-700, .text-secondary-900):not(.absolute *),
.dark header.fixed.top-0.z-50 :is(.dark\:text-secondary-300, .dark\:text-secondary-400, .dark\:text-white):not(.absolute *) {
  color: var(--velo-header-text) !important;
}
header.fixed.top-0.z-50 .text-secondary-400:not(.absolute *) { color: var(--velo-header-text-muted) !important; }
header.fixed.top-0.z-50 :is(.border-secondary-200, .border-secondary-200\/50):not(.absolute *),
.dark header.fixed.top-0.z-50 :is(.dark\:border-secondary-700, .dark\:border-secondary-700\/50):not(.absolute *) {
  border-color: var(--velo-header-pill-border) !important;
}
header.fixed.top-0.z-50 :is(a, button).rounded-full:not(.absolute *):hover {
  background-color: var(--velo-header-pill-hover) !important;
}
/* SFÂRȘIT ANTET */
