/* V1 Telecom Chatwoot theme — primary from https://www.v1telecom.com.br
   Primary: #2563eb (meta theme-color / bg-blue-600)
   Accent:  #2299dd (site progress bar)
   Overrides Chatwoot CE --blue-* tokens (default primary #2781F6).
   !important so overrides win vs Vite-injected :root from _next-colors.scss.
*/
:root {
  --blue-1: 253 253 255 !important;
  --blue-2: 248 250 254 !important;
  --blue-3: 241 245 254 !important;
  --blue-4: 232 238 253 !important;
  --blue-5: 220 230 252 !important;
  --blue-6: 206 220 250 !important;
  --blue-7: 163 189 247 !important;
  --blue-8: 96 141 240 !important;
  --blue-9: 37 99 235 !important;   /* #2563eb primary */
  --blue-10: 14 85 222 !important;  /* #0e55de hover */
  --blue-11: 6 79 213 !important;   /* #064fd5 active */
  --blue-12: 10 29 93 !important;   /* #0a1d5d deep */

  --border-blue: 37, 99, 235, 0.5 !important;
  --border-blue-strong: 29 78 216 !important; /* #1d4ed8 */
  --solid-blue: 219 234 254 !important;       /* #dbeafe */
  --solid-blue-2: 239 246 255 !important;     /* #eff6ff */

  /* legacy woot widget / older vars if present */
  --w-color-woot-500: #2563eb !important;
  --w-color-woot-600: #1d4ed8 !important;
  --w-color-woot-700: #1e40af !important;
}

.dark {
  --blue-1: 10 17 28 !important;
  --blue-2: 15 24 38 !important;
  --blue-3: 15 35 70 !important;
  --blue-4: 12 45 95 !important;
  --blue-5: 20 55 115 !important;
  --blue-6: 28 70 140 !important;
  --blue-7: 36 85 165 !important;
  --blue-8: 48 100 190 !important;
  --blue-9: 37 99 235 !important;    /* #2563eb */
  --blue-10: 59 130 246 !important;  /* #3b82f6 */
  --blue-11: 147 197 253 !important; /* #93c5fd */
  --blue-12: 219 234 254 !important; /* #dbeafe */

  --border-blue: 37, 99, 235, 0.5 !important;
  --border-blue-strong: 191 219 254 !important;
}

/* Login / primary buttons that hard-code old Chatwoot blue occasionally */
.bg-woot-500, .bg-woot-600,
button.bg-woot-500, a.bg-woot-500 {
  background-color: #2563eb !important;
}

/* Auth / login logo size — Chatwoot v3 login Index.vue uses img.h-8.mx-auto (32px).
   Target ~180px so the circular V1 mark balances above "Acessar plataforma". */
img.h-8.w-auto.mx-auto[src*="brand-assets"],
img.h-8.w-auto.mx-auto[src*="v1-logo"],
main img.h-8.mx-auto {
  height: 180px !important;
  width: auto !important;
  max-width: min(280px, 90vw);
  max-height: 180px;
  object-fit: contain;
}
