/* Plus Jakarta Sans is loaded from the auth HTML so this file is not render-blocked by Google Fonts. */

html.asegurame-auth {
  --aseg-navy: #003763;
  --aseg-cyan: #0099b7;
  --aseg-magenta: #a01779;
  --aseg-muted: #5f7791;
  --aseg-label: #34536f;
  --aseg-border: #e0e8ef;
  --aseg-page: #fff;
  --aseg-text: #003763;
  --aseg-input-bg: #fafcfd;
  --aseg-input-focus: #fff;
  --aseg-badge-bg: #eaf7fa;
  --aseg-badge-text: #0f7e95;
  --aseg-footer: #93a7ba;
  --aseg-link: #0099b7;
  --aseg-link-hover: #003763;
  --aseg-btn: #003763;
  --aseg-btn-hover: #00243f;
  --aseg-btn-shadow: rgba(0, 55, 99, 0.24);
  --aseg-hero: #003763;
  color-scheme: light;
}

html.asegurame-auth.aseg-dark {
  --aseg-muted: #8aa4b8;
  --aseg-label: #9bb6c9;
  --aseg-border: #1e3d56;
  --aseg-page: #07131f;
  --aseg-text: #eaf3fa;
  --aseg-input-bg: #0c1c2b;
  --aseg-input-focus: #102233;
  --aseg-badge-bg: rgba(0, 153, 183, 0.16);
  --aseg-badge-text: #6fd9ec;
  --aseg-footer: #6b8498;
  --aseg-link: #4ec5d9;
  --aseg-link-hover: #fff;
  --aseg-btn: #0099b7;
  --aseg-btn-hover: #00b4d4;
  --aseg-btn-shadow: rgba(0, 153, 183, 0.32);
  --aseg-hero: #02101c;
  color-scheme: dark;
}

html.asegurame-auth,
html.asegurame-auth body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
  background: var(--aseg-page) !important;
  color: var(--aseg-text) !important;
}

html.asegurame-auth *,
html.asegurame-auth *::before,
html.asegurame-auth *::after {
  box-sizing: border-box;
}

html.asegurame-auth body {
  overflow-x: hidden;
}

html.asegurame-auth #app,
html.asegurame-auth #app > div,
html.asegurame-auth .min-h-screen,
html.asegurame-auth .bg-n-brand\/5,
html.asegurame-auth [class*="bg-n-brand/5"] {
  background: var(--aseg-page) !important;
  background-color: var(--aseg-page) !important;
}

/* App.vue wraps every auth view in another min-h-screen; keep it full-bleed white. */
html.asegurame-auth #app > div.min-h-screen:not(.aseg-shell) {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

html.asegurame-auth #app {
  opacity: 0 !important;
}

html.asegurame-auth.aseg-ready #app {
  opacity: 1 !important;
}

html.asegurame-auth main.min-h-screen {
  opacity: 0 !important;
}

html.asegurame-auth.aseg-ready main.min-h-screen {
  opacity: 1 !important;
}

@keyframes aseg-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes aseg-riseL {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: none; }
}
@keyframes aseg-pop {
  from { opacity: 0; transform: translateY(20px) scale(0.94); }
  to { opacity: 1; transform: none; }
}
@keyframes aseg-floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes aseg-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate3d(36px, -30px, 0) scale(1.15); opacity: 0.82; }
}
@keyframes aseg-typedot {
  0%, 70%, 100% { transform: translateY(0); opacity: 0.35; }
  35% { transform: translateY(-5px); opacity: 1; }
}
@keyframes aseg-sweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}
@keyframes aseg-ring {
  0% { transform: scale(0.6); opacity: 0.55; }
  100% { transform: scale(1.9); opacity: 0; }
}

html.asegurame-auth .aseg-shell {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  width: 52.5% !important;
  min-height: 100vh !important;
  padding: 0 56px !important;
  margin: 0 !important;
  background: var(--aseg-page) !important;
  background-color: var(--aseg-page) !important;
  max-width: none !important;
}

html.asegurame-auth .aseg-shell::after {
  content: none !important;
  display: none !important;
}

html.asegurame-auth .aseg-brand {
  position: fixed;
  top: 40px;
  left: 56px;
  z-index: 6;
  animation: aseg-riseL 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.asegurame-auth .aseg-brand img {
  display: block;
  width: 168px;
  height: auto;
}

html.asegurame-auth .aseg-shell > section:first-of-type {
  width: 392px;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

html.asegurame-auth .aseg-shell > section:first-of-type p:not(.aseg-subtitle) {
  display: none !important;
}

html.asegurame-auth .aseg-shell > section:first-of-type img {
  display: none !important;
}

html.asegurame-auth .aseg-shell h1,
html.asegurame-auth .aseg-shell h2 {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 9px !important;
  font-size: 31px !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.14 !important;
  color: var(--aseg-text) !important;
  text-align: left !important;
}

html.asegurame-auth .aseg-shell form > h1::before,
html.asegurame-auth .aseg-shell > section:first-of-type h2::before {
  content: "Bandeja omnicanal";
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 20px;
  padding: 5px 11px 5px 8px;
  border-radius: 999px;
  background: var(--aseg-badge-bg);
  color: var(--aseg-badge-text);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

html.asegurame-auth .aseg-shell > section:first-of-type h2::after {
  content: "Ingresa para atender las conversaciones de tus clientes en un solo lugar.";
  display: block;
  margin: 9px 0 8px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.55;
  color: var(--aseg-muted);
  text-transform: none;
}

html.asegurame-auth.aseg-onboarding .aseg-shell > section:first-of-type h2::after,
html.asegurame-auth .aseg-shell > section:first-of-type h2:has(+ p)::after {
  content: none !important;
  display: none !important;
}

html.asegurame-auth .aseg-subtitle,
html.asegurame-auth .aseg-shell form > h1 + p,
html.asegurame-auth .aseg-shell > section:first-of-type h2 + p.aseg-subtitle {
  margin: 0 0 30px !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  color: var(--aseg-muted) !important;
  max-width: 392px;
}

html.asegurame-auth .aseg-shell > section.bg-white,
html.asegurame-auth .aseg-shell > section.shadow,
html.asegurame-auth .aseg-shell > section.sm\:shadow-lg,
html.asegurame-auth .aseg-shell > form {
  width: 392px !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

html.asegurame-auth .aseg-shell form > .space-y-5 > .space-y-1:first-of-type::before {
  content: "Correo corporativo";
  display: block;
  margin-bottom: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--aseg-label);
}

html.asegurame-auth .aseg-shell label {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: var(--aseg-label) !important;
  display: block;
  margin-bottom: 7px;
}

html.asegurame-auth .aseg-shell .space-y-5,
html.asegurame-auth .aseg-shell .space-y-1,
html.asegurame-auth .aseg-shell form.space-y-5 {
  margin-top: 0 !important;
}

html.asegurame-auth .aseg-back {
  margin: 16px 0 0 !important;
  text-align: left;
  font-size: 13px !important;
  color: var(--aseg-muted) !important;
}

html.asegurame-auth .aseg-shell [data-testid="submit_button"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html.asegurame-auth .aseg-shell input {
  width: 100% !important;
  max-width: 100% !important;
  height: 49px !important;
  border-radius: 12px !important;
  border: 1.5px solid var(--aseg-border) !important;
  background: var(--aseg-input-bg) !important;
  color: var(--aseg-text) !important;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  outline: none !important;
}

html.asegurame-auth .aseg-shell input:focus {
  border-color: #0099b7 !important;
  background: var(--aseg-input-focus) !important;
  box-shadow: 0 0 0 4px rgba(0, 153, 183, 0.14) !important;
}

html.asegurame-auth .aseg-password {
  position: relative;
}

html.asegurame-auth .aseg-password input {
  padding-right: 44px !important;
}

html.asegurame-auth .aseg-password-toggle {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 49px !important;
  margin: 0 !important;
  padding: 0;
  border: 0 !important;
  border-radius: 12px;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--aseg-muted);
  cursor: pointer;
}

html.asegurame-auth .aseg-password-toggle svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

html.asegurame-auth .aseg-password-toggle:hover,
html.asegurame-auth .aseg-password-toggle:focus-visible {
  color: var(--aseg-text);
  outline: none;
}

html.asegurame-auth .aseg-shell a {
  color: var(--aseg-link) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-decoration: none !important;
}

html.asegurame-auth .aseg-shell a:hover {
  color: var(--aseg-link-hover) !important;
}

html.asegurame-auth .aseg-shell button[type="submit"],
html.asegurame-auth .aseg-shell [data-testid="submit_button"] {
  position: relative;
  overflow: hidden;
  height: 51px !important;
  width: 100% !important;
  margin-top: 6px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--aseg-btn) !important;
  background-color: var(--aseg-btn) !important;
  color: #fff !important;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  box-shadow: 0 10px 22px var(--aseg-btn-shadow) !important;
  opacity: 1 !important;
}

html.asegurame-auth .aseg-shell button[type="submit"] span,
html.asegurame-auth .aseg-shell [data-testid="submit_button"] span {
  color: #fff !important;
}

html.asegurame-auth .aseg-shell button[type="submit"]:disabled,
html.asegurame-auth .aseg-shell [data-testid="submit_button"]:disabled {
  background: var(--aseg-btn) !important;
  background-color: var(--aseg-btn) !important;
  color: #fff !important;
  opacity: 0.55 !important;
  cursor: not-allowed;
}

html.asegurame-auth .aseg-shell button[type="submit"]::after,
html.asegurame-auth .aseg-shell [data-testid="submit_button"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  animation: aseg-sweep 2.8s ease-in-out infinite;
  pointer-events: none;
}

html.asegurame-auth .aseg-shell button[type="submit"]:hover,
html.asegurame-auth .aseg-shell button[type="submit"]:focus-visible,
html.asegurame-auth .aseg-shell [data-testid="submit_button"]:hover,
html.asegurame-auth .aseg-shell [data-testid="submit_button"]:focus-visible {
  background: var(--aseg-btn-hover) !important;
  box-shadow: 0 14px 28px var(--aseg-btn-shadow) !important;
}

html.asegurame-auth .aseg-login__footer {
  position: fixed;
  left: 56px;
  bottom: 34px;
  z-index: 6;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--aseg-footer);
}

html.asegurame-auth .aseg-login__hero {
  position: fixed;
  top: 0;
  right: 0;
  width: 47.5%;
  height: 100vh;
  min-height: 100vh;
  z-index: 4;
  overflow: hidden;
  background: var(--aseg-hero);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 52px;
}

html.asegurame-auth .aseg-hero__orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  animation: aseg-drift 13s ease-in-out infinite;
}

html.asegurame-auth .aseg-hero__orb--cyan {
  width: 620px;
  height: 620px;
  top: -220px;
  right: -200px;
  background: radial-gradient(circle, rgba(0, 153, 183, 0.55), rgba(0, 153, 183, 0) 68%);
}

html.asegurame-auth .aseg-hero__orb--magenta {
  width: 480px;
  height: 480px;
  bottom: -180px;
  left: -140px;
  background: radial-gradient(circle, rgba(160, 23, 121, 0.42), rgba(160, 23, 121, 0) 68%);
  animation-duration: 17s;
  animation-direction: reverse;
}

html.asegurame-auth .aseg-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 56px 56px;
}

html.asegurame-auth .aseg-hero__live {
  position: absolute;
  right: 44px;
  top: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  animation: aseg-floaty 6s ease-in-out infinite;
}

html.asegurame-auth .aseg-hero__live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #6fd9ec;
  box-shadow: 0 0 0 4px rgba(111, 217, 236, 0.22);
}

html.asegurame-auth .aseg-hero__copy {
  position: relative;
  max-width: 430px;
  z-index: 1;
}

html.asegurame-auth .aseg-hero__copy h3 {
  margin: 0 0 14px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.16;
  color: #fff;
}

html.asegurame-auth .aseg-hero__copy p {
  margin: 0 0 34px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 380px;
}

html.asegurame-auth .aseg-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 392px;
}

html.asegurame-auth .aseg-bubble {
  display: flex;
  gap: 11px;
  align-items: flex-end;
  max-width: 88%;
  animation: aseg-pop 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.asegurame-auth .aseg-bubble--in { align-self: flex-start; }
html.asegurame-auth .aseg-bubble--out {
  align-self: flex-end;
  flex-direction: row-reverse;
  max-width: 84%;
  animation-delay: 0.28s;
}

html.asegurame-auth .aseg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  flex: none;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
}

html.asegurame-auth .aseg-msg {
  border-radius: 16px 16px 16px 5px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

html.asegurame-auth .aseg-bubble--out .aseg-msg {
  background: #0099b7;
  border: 0;
  border-radius: 16px 16px 5px 16px;
  box-shadow: 0 8px 20px rgba(0, 153, 183, 0.3);
}

html.asegurame-auth .aseg-msg__meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6fd9ec;
  text-transform: uppercase;
  margin-bottom: 5px;
}

html.asegurame-auth .aseg-msg__text {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

html.asegurame-auth .aseg-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 13px 16px;
}

html.asegurame-auth .aseg-typing span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fff;
  animation: aseg-typedot 1.3s ease-in-out infinite;
}

html.asegurame-auth .aseg-typing span:nth-child(2) { animation-delay: 0.18s; }
html.asegurame-auth .aseg-typing span:nth-child(3) { animation-delay: 0.36s; }

html.asegurame-auth .aseg-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

html.asegurame-auth .aseg-stats strong {
  display: block;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

html.asegurame-auth .aseg-stats span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 3px;
}

html.asegurame-auth .aseg-install {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #003763;
  color: #fff;
  box-shadow: 0 14px 32px rgba(0, 55, 99, 0.28);
}

html.asegurame-auth .aseg-install.is-visible {
  display: flex;
}

html.asegurame-auth .aseg-install p {
  margin: 0;
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

html.asegurame-auth .aseg-install button {
  flex: none;
  border: 0;
  border-radius: 10px;
  padding: 9px 12px;
  background: #0099b7;
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

html.asegurame-auth .aseg-install__close {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 9px 8px !important;
}

@media (max-width: 1100px) {
  html.asegurame-auth .aseg-hero__copy h3 {
    font-size: 28px;
  }

  html.asegurame-auth .aseg-stats {
    gap: 18px;
  }
}

@media (max-width: 980px) {
  html.asegurame-auth .aseg-shell {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: stretch !important;
    width: 100% !important;
    min-height: 100dvh !important;
    padding: 88px 20px 72px !important;
    overflow-x: hidden;
  }

  html.asegurame-auth .aseg-brand {
    top: 16px;
    left: 20px;
  }

  html.asegurame-auth .aseg-brand img {
    width: 148px;
  }

  html.asegurame-auth .aseg-login__hero {
    display: none !important;
  }

  html.asegurame-auth .aseg-login__footer {
    left: 20px;
    right: 20px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  html.asegurame-auth .aseg-shell > section:first-of-type,
  html.asegurame-auth .aseg-shell > section.bg-white,
  html.asegurame-auth .aseg-shell > section.shadow,
  html.asegurame-auth .aseg-shell > form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html.asegurame-auth .aseg-shell h1,
  html.asegurame-auth .aseg-shell h2 {
    font-size: 26px !important;
    letter-spacing: -0.03em !important;
  }
}

@media (max-width: 480px) {
  html.asegurame-auth .aseg-shell {
    padding: 80px 16px 64px !important;
  }

  html.asegurame-auth .aseg-brand {
    top: 14px;
    left: 16px;
  }

  html.asegurame-auth .aseg-shell h1,
  html.asegurame-auth .aseg-shell h2 {
    font-size: 23px !important;
  }

  html.asegurame-auth .aseg-subtitle,
  html.asegurame-auth .aseg-shell form > h1 + p {
    font-size: 13.5px;
  }
}

html.asegurame-auth .aseg-shell input::placeholder {
  color: var(--aseg-muted);
  opacity: 0.72;
}

html.asegurame-auth.aseg-dark .aseg-shell input:focus {
  box-shadow: 0 0 0 4px rgba(0, 153, 183, 0.22) !important;
}

html.asegurame-auth .aseg-theme {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 40;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  border: 1.5px solid var(--aseg-border);
  background: var(--aseg-input-bg);
  color: var(--aseg-text);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 55, 99, 0.1);
}

html.asegurame-auth .aseg-theme svg {
  width: 18px;
  height: 18px;
}

html.asegurame-auth .aseg-theme__sun {
  display: none;
}

html.asegurame-auth.aseg-dark .aseg-theme__moon {
  display: none;
}

html.asegurame-auth.aseg-dark .aseg-theme__sun {
  display: block;
}

html.asegurame-auth .aseg-theme:hover,
html.asegurame-auth .aseg-theme:focus-visible {
  border-color: #0099b7;
  outline: none;
}

@media (min-width: 981px) {
  html.asegurame-auth .aseg-theme {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    box-shadow: none;
  }

  html.asegurame-auth .aseg-theme:hover,
  html.asegurame-auth .aseg-theme:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
  }
}

@media (max-width: 980px) {
  html.asegurame-auth .aseg-theme {
    top: 14px;
    right: 14px;
  }
}

/* Global Asegurame palette for dashboard, widget, portal, and super admin.
   Login layout stays under html.asegurame-auth and must not be applied here. */
html.asegurame,
html.asegurame-auth,
html.asegurame-wizard {
  --aseg-navy: #003763;
  --aseg-navy-dark: #00243f;
  --aseg-cyan: #0099b7;
  --aseg-magenta: #a01779;
  --blue-1: 234 247 250;
  --blue-2: 232 244 248;
  --blue-3: 214 237 243;
  --blue-4: 186 226 235;
  --blue-5: 154 211 224;
  --blue-6: 112 191 208;
  --blue-7: 64 168 189;
  --blue-8: 0 153 183;
  --blue-9: 0 55 99;
  --blue-10: 0 36 63;
  --blue-11: 0 121 145;
  --blue-12: 0 36 63;
  --border-blue: 0, 55, 99, 0.45;
  --border-blue-strong: 0 55 99;
  --solid-blue: 214 237 243;
  --solid-blue-2: 234 247 250;
  --text-blue: 0 55 99;
  --widget-color: #003763;
  accent-color: #003763;
}

html.asegurame.dark,
html.dark.asegurame,
html.asegurame-auth.aseg-dark {
  --blue-8: 0 153 183;
  --blue-9: 0 153 183;
  --blue-10: 0 180 212;
  --blue-11: 111 217 236;
  --blue-12: 234 243 250;
  --border-blue: 0, 153, 183, 0.45;
  --border-blue-strong: 0 153 183;
  --solid-blue: 15 39 56;
  --solid-blue-2: 10 24 36;
  --text-blue: 234 243 250;
  --widget-color: #0099b7;
  accent-color: #0099b7;
}

html.asegurame .bg-n-brand,
html.asegurame-wizard .bg-n-brand {
  background-color: #003763 !important;
}

html.asegurame.dark .bg-n-brand,
html.dark.asegurame .bg-n-brand {
  background-color: #0099b7 !important;
}

html.asegurame .text-n-brand,
html.asegurame-wizard .text-n-brand {
  color: #003763 !important;
}

html.asegurame.dark .text-n-brand,
html.dark.asegurame .text-n-brand {
  color: #4ec5d9 !important;
}

html.asegurame .border-n-brand,
html.asegurame .outline-n-brand,
html.asegurame .ring-n-brand {
  border-color: #003763 !important;
  outline-color: #0099b7 !important;
  --tw-ring-color: #0099b7 !important;
}

html.asegurame .bg-n-brand\/5 {
  background-color: rgb(0 55 99 / 0.05) !important;
}
html.asegurame .bg-n-brand\/10,
html.asegurame .hover\:bg-n-brand\/10:hover,
html.asegurame .hover\:enabled\:bg-n-brand\/10:hover:enabled {
  background-color: rgb(0 55 99 / 0.1) !important;
}
html.asegurame .bg-n-brand\/20,
html.asegurame .hover\:bg-n-brand\/20:hover,
html.asegurame .hover\:enabled\:bg-n-brand\/20:hover:enabled {
  background-color: rgb(0 55 99 / 0.2) !important;
}

html.asegurame .bg-woot-25 { background-color: #eaf7fa !important; }
html.asegurame .bg-woot-50 { background-color: #e8f4f8 !important; }
html.asegurame .bg-woot-75 { background-color: #d6edf3 !important; }
html.asegurame .bg-woot-100 { background-color: #bae2eb !important; }
html.asegurame .bg-woot-500,
html.asegurame .bg-woot-600 {
  background-color: #003763 !important;
}
html.asegurame .hover\:bg-woot-600:hover,
html.asegurame .hover\:bg-woot-700:hover {
  background-color: #00243f !important;
}
html.asegurame .text-woot-500,
html.asegurame .text-woot-600,
html.asegurame .hover\:text-woot-500:hover {
  color: #003763 !important;
}
html.asegurame .hover\:text-woot-700:hover {
  color: #00243f !important;
}
html.asegurame .border-woot-500,
html.asegurame .ring-woot-500,
html.asegurame .focus\:ring-woot-500:focus,
html.asegurame .focus\:ring-woot-500:focus-visible,
html.asegurame .focus-visible\:outline-woot-500:focus-visible {
  border-color: #003763 !important;
  --tw-ring-color: #0099b7 !important;
  outline-color: #0099b7 !important;
}

html.asegurame [fill="#1F93FF"],
html.asegurame [fill="#1f93ff"],
html.asegurame [fill="#2781F6"],
html.asegurame [fill="#2781f6"] {
  fill: #003763 !important;
}

html.asegurame-wizard,
html.asegurame-wizard body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
}

html.asegurame-wizard button[type="submit"] {
  background-color: #003763 !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(0, 55, 99, 0.24);
}

html.asegurame-wizard button[type="submit"]:hover:enabled,
html.asegurame-wizard button[type="submit"]:focus-visible {
  background-color: #00243f !important;
}

html.asegurame-wizard.aseg-dark button[type="submit"] {
  background-color: #0099b7 !important;
}

/* Native selects — replace the bare browser control across the app. */
html.asegurame select:not([multiple]):not([size]),
html.asegurame-wizard select:not([multiple]):not([size]),
html.asegurame-auth select:not([multiple]):not([size]) {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  min-height: 42px;
  min-width: 9.5rem;
  padding: 8px 14px !important;
  padding-right: 2.75rem !important;
  padding-inline-end: 2.75rem !important;
  padding-inline-start: 0.85rem !important;
  text-align: start !important;
  border: 1.5px solid #e0e8ef !important;
  border-radius: 12px !important;
  background-color: #fafcfd !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23003763' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 18px !important;
  color: #003763 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  cursor: pointer;
  outline: none !important;
  box-shadow: 0 1px 2px rgba(0, 55, 99, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

html.asegurame select:not([multiple]):not([size]):hover {
  border-color: #b7c9d6 !important;
  background-color: #fff !important;
}

html.asegurame select:not([multiple]):not([size]):focus,
html.asegurame select:not([multiple]):not([size]):focus-visible {
  border-color: #0099b7 !important;
  background-color: #fff !important;
  box-shadow: 0 0 0 4px rgba(0, 153, 183, 0.16) !important;
}

html.asegurame select:not([multiple]):not([size]):disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

html.asegurame select option,
html.asegurame select optgroup {
  color: #003763;
  background: #fff;
  font-weight: 500;
}

html.asegurame.dark select:not([multiple]):not([size]),
html.dark.asegurame select:not([multiple]):not([size]) {
  border-color: #1e3d56 !important;
  background-color: #0c1c2b !important;
  color: #eaf3fa !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236fd9ec' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
}

html.asegurame.dark select:not([multiple]):not([size]):focus,
html.dark.asegurame select:not([multiple]):not([size]):focus {
  border-color: #0099b7 !important;
  box-shadow: 0 0 0 4px rgba(0, 153, 183, 0.22) !important;
}

html.asegurame.dark select option,
html.dark.asegurame select option {
  color: #eaf3fa;
  background: #0c1c2b;
}

/* Hide the extra lucide chevron Chatwoot paints next to native selects. */
html.asegurame .relative:has(> select) > .absolute,
html.asegurame .relative:has(> select) > [class*="i-lucide-chevron"],
html.asegurame select + .absolute.pointer-events-none,
html.asegurame select + [class*="i-lucide-chevron"] {
  display: none !important;
}

/* ComboBox / custom dropdown triggers. */
html.asegurame [class*="group/combobox"] > div > button,
html.asegurame [class*="group/combobox"] button[class*="justify-between"] {
  min-height: 42px !important;
  border-radius: 12px !important;
  border: 1.5px solid #e0e8ef !important;
  background: #fafcfd !important;
  color: #003763 !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 2px rgba(0, 55, 99, 0.04);
}

html.asegurame [class*="group/combobox"] > div > button:hover,
html.asegurame [class*="group/combobox"] button[class*="justify-between"]:hover:enabled {
  border-color: #b7c9d6 !important;
  background: #fff !important;
}

html.asegurame [class*="group/combobox"] > div > button:focus-visible,
html.asegurame [class*="group/combobox"] button[class*="justify-between"].focused,
html.asegurame [class*="group/combobox"] button[class*="justify-between"]:focus {
  border-color: #0099b7 !important;
  box-shadow: 0 0 0 4px rgba(0, 153, 183, 0.16) !important;
}

/* Dropdown panels and options. */
html.asegurame [role="listbox"] {
  border-radius: 12px !important;
  overflow: hidden;
}

html.asegurame [role="listbox"] [role="option"] {
  border-radius: 8px;
  margin: 2px 4px;
}

html.asegurame [role="listbox"] [role="option"]:hover,
html.asegurame [role="listbox"] [role="option"][aria-selected="true"] {
  background: #eaf7fa !important;
  color: #003763 !important;
}

html.asegurame .absolute.z-50.shadow-lg,
html.asegurame .absolute.z-40.shadow-lg {
  border-color: #e0e8ef !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(0, 55, 99, 0.12) !important;
}

html.asegurame select.aseg-select-bound {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  background: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html.asegurame .aseg-select-wrap {
  position: relative;
}

html.asegurame .aseg-select {
  position: relative;
  display: inline-flex;
  min-width: 13.5rem;
  max-width: 100%;
  vertical-align: middle;
}

html.asegurame .aseg-select__trigger {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 8px 14px 8px 16px !important;
  border: 1.5px solid #e0e8ef !important;
  border-radius: 12px !important;
  background: #fafcfd !important;
  box-shadow: 0 1px 2px rgba(0, 55, 99, 0.05);
  color: #003763 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: left;
  cursor: pointer;
}

html.asegurame .aseg-select.is-empty .aseg-select__trigger-label {
  color: #7f96ab;
  font-weight: 500;
}

html.asegurame .aseg-select__trigger:hover {
  border-color: #b7c9d6 !important;
  background: #fff !important;
}

html.asegurame .aseg-select.is-open .aseg-select__trigger,
html.asegurame .aseg-select__trigger:focus-visible {
  border-color: #0099b7 !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(0, 153, 183, 0.16) !important;
  outline: none !important;
}

html.asegurame .aseg-select__trigger-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.asegurame .aseg-select__chevron {
  display: inline-flex;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #003763;
  transition: transform 0.16s ease;
}

html.asegurame .aseg-select.is-open .aseg-select__chevron {
  transform: rotate(180deg);
}

html.asegurame .aseg-select__chevron svg {
  width: 18px;
  height: 18px;
}

html.asegurame .aseg-select__menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483000;
  min-width: 13.5rem;
  width: max-content;
  max-width: min(22rem, calc(100vw - 24px));
  max-height: 280px;
  overflow: auto;
  padding: 8px;
  border: 1px solid #d7e3ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 55, 99, 0.16), 0 2px 6px rgba(0, 55, 99, 0.06);
}

html.asegurame .aseg-select__menu.is-open {
  display: block;
  animation: aseg-select-in 0.16s ease;
}

@keyframes aseg-select-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

html.asegurame .aseg-select__group {
  padding: 10px 12px 6px;
  color: #7f96ab;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html.asegurame .aseg-select__option {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  margin: 0 0 2px;
  padding: 8px 12px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #003763 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: left;
  cursor: pointer;
}

html.asegurame .aseg-select__option:last-child {
  margin-bottom: 0;
}

html.asegurame .aseg-select__option:hover,
html.asegurame .aseg-select__option:focus-visible {
  background: #eaf7fa !important;
  outline: none !important;
}

html.asegurame .aseg-select__option.is-selected {
  background: #eaf7fa !important;
  color: #003763 !important;
}

html.asegurame .aseg-select__option.is-placeholder,
html.asegurame .aseg-select__option.is-disabled {
  color: #93a7ba !important;
  font-weight: 500 !important;
  cursor: default;
}

html.asegurame .aseg-select__option.is-placeholder:hover,
html.asegurame .aseg-select__option.is-disabled:hover {
  background: transparent !important;
}

html.asegurame .aseg-select__check {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: #0099b7;
}

html.asegurame .aseg-select__check svg {
  width: 16px;
  height: 16px;
}

html.asegurame.dark .aseg-select__trigger,
html.dark.asegurame .aseg-select__trigger {
  border-color: #1e3d56 !important;
  background: #0c1c2b !important;
  color: #eaf3fa !important;
}

html.asegurame.dark .aseg-select__menu,
html.dark.asegurame .aseg-select__menu {
  border-color: #1e3d56;
  background: #102233;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

html.asegurame.dark .aseg-select__option,
html.dark.asegurame .aseg-select__option {
  color: #eaf3fa !important;
}

html.asegurame.dark .aseg-select__option:hover,
html.asegurame.dark .aseg-select__option.is-selected,
html.dark.asegurame .aseg-select__option:hover,
html.dark.asegurame .aseg-select__option.is-selected {
  background: rgba(0, 153, 183, 0.16) !important;
}

/* Stock Chatwoot sidebar mark (circle + bubble). Hide paths and show Asegurame. */
html.asegurame svg[viewBox="0 0 16 16"]:has(path[d^="M8 16"]),
html.asegurame svg[viewBox="0 0 16 16"]:has(path[d*="M11.4172"]) {
  background: url("/brand-assets/logo_thumbnail.svg") center / contain no-repeat !important;
  border-radius: 4px;
}
html.asegurame svg[viewBox="0 0 16 16"]:has(path[d^="M8 16"]) > *,
html.asegurame svg[viewBox="0 0 16 16"]:has(path[d*="M11.4172"]) > * {
  opacity: 0 !important;
}

/* CSAT survey: navy page with cyan / magenta orbs and a white card. */
html.asegurame-survey {
  --aseg-navy: #003763;
  --aseg-cyan: #0099b7;
  --aseg-magenta: #a01779;
  color-scheme: light;
}

html.asegurame-survey,
html.asegurame-survey body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
  background-color: #003763 !important;
  color: #003763 !important;
  min-height: 100%;
}

html.asegurame-survey body {
  position: relative;
  overflow-x: hidden;
}

html.asegurame-survey body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #003763;
  background-image: url("/brand-assets/survey-bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

html.asegurame-survey body::after {
  display: none;
}

html.asegurame-survey #app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  background: transparent !important;
  opacity: 0;
  transition: opacity 0.18s ease;
}

html.asegurame-survey.aseg-survey-ready #app {
  opacity: 1;
}

html.asegurame-survey .min-h-screen,
html.asegurame-survey .bg-n-background {
  background: transparent !important;
  background-color: transparent !important;
}

html.asegurame-survey,
html.asegurame-survey body,
html.asegurame-survey .woot-survey-wrap {
  height: auto !important;
  min-height: 100% !important;
  min-height: 100dvh !important;
}

html.asegurame-survey .woot-survey-wrap {
  box-sizing: border-box;
  width: 100% !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

html.asegurame-survey .woot-survey-wrap > div {
  box-sizing: border-box;
  width: 100% !important;
  height: auto !important;
  min-height: 100dvh !important;
  padding: 28px 16px !important;
  overflow-x: hidden !important;
}

html.asegurame-survey .bg-n-solid-1 {
  background: #fff !important;
  border: none !important;
  box-shadow: 0 24px 64px rgba(0, 20, 40, 0.32) !important;
  border-radius: 20px !important;
  width: 100% !important;
  max-width: 520px !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  overflow: hidden;
}

html.asegurame-survey .prose {
  max-width: 100% !important;
  overflow-wrap: anywhere;
}

html.asegurame-survey .ratings {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  gap: 0.25rem;
  width: 100%;
  padding: 0.75rem 0 !important;
}

html.asegurame-survey .ratings button,
html.asegurame-survey .emoji-button {
  margin: 0 !important;
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 767px) {
  html.asegurame-survey body::before {
    background-position: top center;
    background-size: 100% auto;
  }

  html.asegurame-survey .woot-survey-wrap > div {
    align-items: flex-start !important;
    padding: max(12px, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom)) !important;
  }

  html.asegurame-survey .bg-n-solid-1 {
    margin-top: 18vw !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 40px rgba(0, 20, 40, 0.28) !important;
  }

  html.asegurame-survey .px-12 {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  html.asegurame-survey .pt-12 {
    padding-top: 1.25rem !important;
  }

  html.asegurame-survey .pb-6 {
    padding-bottom: 1rem !important;
  }

  html.asegurame-survey .text-lg {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  html.asegurame-survey .mb-8 {
    margin-bottom: 1rem !important;
  }

  html.asegurame-survey .logo {
    max-height: 2.25rem !important;
    max-width: 70% !important;
  }

  html.asegurame-survey .ratings button,
  html.asegurame-survey .emoji-button {
    font-size: 1.75rem !important;
  }

  html.asegurame-survey .float-right {
    float: none !important;
    display: flex !important;
    width: 100%;
    justify-content: stretch;
  }

  html.asegurame-survey .float-right button {
    width: 100%;
  }
}

html.asegurame-survey .text-n-slate-12,
html.asegurame-survey .text-n-slate-11,
html.asegurame-survey label {
  color: #003763 !important;
}

html.asegurame-survey .branding--link {
  filter: none !important;
  -webkit-filter: none !important;
  grayscale: 0 !important;
  color: #0099b7 !important;
  opacity: 1 !important;
}

html.asegurame-survey .branding--link:hover {
  color: #003763 !important;
}

html.asegurame-survey button.bg-n-brand,
html.asegurame-survey button[class*="bg-n-brand"] {
  background: #003763 !important;
  box-shadow: 0 10px 22px rgba(0, 55, 99, 0.24) !important;
}

html.asegurame-survey button.bg-n-brand:hover:enabled,
html.asegurame-survey button[class*="bg-n-brand"]:hover:enabled {
  background: #00243f !important;
}

html.asegurame-survey textarea {
  border-color: #e0e8ef !important;
  background: #fafcfd !important;
  color: #003763 !important;
  border-radius: 12px !important;
}

html.asegurame-survey textarea:focus {
  border-color: #0099b7 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 153, 183, 0.18) !important;
}

/*
 * Mobile sidebar FAB: branding maps bg-n-brand → Andina blue, while the
 * launcher also forces !text-n-slate-12, so the hamburger disappears on the
 * blue circle. Keep brand blue and force a white icon/mask.
 */
html.asegurame #mobile-sidebar-launcher button {
  background-color: #003763 !important;
  color: #fff !important;
}
html.asegurame #mobile-sidebar-launcher button [class*="i-lucide"],
html.asegurame #mobile-sidebar-launcher button [class*="i-ri-"] {
  color: #fff !important;
  background-color: currentColor !important;
  opacity: 1 !important;
}
html.asegurame.aseg-dark #mobile-sidebar-launcher button,
html.dark.asegurame #mobile-sidebar-launcher button {
  background-color: #0099b7 !important;
  color: #fff !important;
}
