/* Public shell — header & footer */

:root {
  --ocean-blue: #0066ff;
  --ocean-blue-app: #0879fd;
  --ocean-blue-app-hover: #0667e6;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-tertiary: #9ca3af;
  --text-muted: #9ca3af;
  --public-body: #f8f9fa;
  --public-surface: #ffffff;
  --public-border: #e5e7eb;
  --os-bg-hover: #f9fafb;
  --os-bg-elevated: #ffffff;
  --ocean-dropdown: #ffffff;
  --ocean-border: #e5e7eb;
  --glass-border-light: rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --os-public-header-h: 4rem;
}

html.dark,
html[data-theme="dark"] {
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-tertiary: #6b7280;
  --text-muted: #6b7280;
  --public-body: #0d1117;
  --public-surface: #0d1117;
  --public-border: rgba(48, 54, 61, 0.5);
  --os-bg-hover: rgba(255, 255, 255, 0.06);
  --os-bg-elevated: #161b22;
  --ocean-dropdown: #161b22;
  --ocean-border: rgba(48, 54, 61, 0.8);
  --glass-border-light: rgba(255, 255, 255, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.os-public-body {
  margin: 0;
  font-family: 'Titillium Web', 'Inter', system-ui, sans-serif;
  background: var(--public-body);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.os-public-main {
  margin-top: 0;
  margin-left: 0;
  min-height: 100vh;
  transition: margin-left 0.3s ease;
  --navbar-h: 72px;
}

.nav-glass-segment--auth .os-public-signin,
.nav-button-wrapper.for-mobile .os-public-signin {
  min-height: 38px;
}

/* Header */
.os-public-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  height: var(--os-public-header-h);
  border-bottom: 1px solid var(--public-border);
  background: var(--public-surface);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.os-public-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 80rem;
  height: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.os-public-header__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.os-public-header__logo {
  display: flex;
  align-items: center;
}

.os-public-header__logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.os-public-logo--dark {
  display: none;
}

html.dark .os-public-logo--light,
html[data-theme="dark"] .os-public-logo--light {
  display: none;
}

html.dark .os-public-logo--dark,
html[data-theme="dark"] .os-public-logo--dark {
  display: block;
}

.os-public-header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .os-public-header__nav {
    display: flex;
  }
}

.os-public-header__nav-link {
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.os-public-header__nav-link:hover,
.os-public-header__nav-link.is-active {
  color: var(--ocean-blue);
}

.os-public-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.os-public-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.os-public-icon-btn:hover {
  background: var(--os-bg-hover);
  color: var(--text-primary);
}

.os-public-icon-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.os-public-signin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

@media (min-width: 768px) {
  .os-public-signin {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
}

.os-public-signin svg {
  width: 1.25rem;
  height: 1.25rem;
}

.os-public-lang {
  display: none;
  position: relative;
}

@media (min-width: 768px) {
  .os-public-lang {
    display: block;
  }
}

.os-public-lang__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.os-public-lang__trigger:hover {
  background: var(--os-bg-hover);
  color: var(--text-primary);
}

.os-public-lang__flag img {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 9999px;
  object-fit: cover;
}

.os-public-lang__code {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* User menu (auth) */
.os-public-user {
  position: relative;
}

.os-public-user__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 2px solid var(--public-border);
  border-radius: 9999px;
  background: var(--os-bg-hover);
  overflow: hidden;
  cursor: pointer;
}

.os-public-user__trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.os-public-user__initials {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ocean-blue);
}

.os-public-user__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 100;
  min-width: 12rem;
  padding: 0.375rem;
  border: 1px solid var(--ocean-border);
  border-radius: 0.75rem;
  background: var(--ocean-dropdown);
  box-shadow: var(--shadow-lg);
}

.os-public-user__menu[hidden] {
  display: none;
}

.os-public-user__menu-link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.os-public-user__menu-link:hover {
  background: var(--os-bg-hover);
  color: var(--text-primary);
}

/* Dropdowns (theme + lang) */
.os-public-dropdown-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.os-public-dropdown {
  position: fixed;
  z-index: 10000;
  overflow: hidden;
  border: 1px solid var(--ocean-border);
  border-radius: 0.75rem;
  background: var(--ocean-dropdown);
  box-shadow: var(--shadow-lg);
}

.os-public-dropdown--theme {
  width: 10rem;
  padding: 0.375rem;
}

.os-public-dropdown--lang {
  width: 15rem;
}

.os-public-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.os-public-dropdown__item:hover {
  background: var(--os-bg-hover);
  color: var(--text-primary);
}

.os-public-dropdown__item.is-active {
  background: color-mix(in srgb, var(--ocean-blue) 12%, transparent);
  color: var(--ocean-blue);
}

.os-public-dropdown__item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.os-public-dropdown__check {
  margin-left: auto;
}

.os-public-dropdown__search {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--glass-border-light);
}

.os-public-dropdown__search-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.os-public-dropdown__search svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.os-public-dropdown__search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.875rem;
}

.os-public-dropdown__search input::placeholder {
  color: var(--text-tertiary);
}

.os-public-dropdown__list {
  max-height: 15.75rem;
  overflow-y: auto;
  padding: 0.25rem 0.5rem;
  scrollbar-width: thin;
}

.os-public-dropdown__empty {
  padding: 0.75rem 1rem;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  text-align: center;
}

.os-public-lang-option__flag img {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 9999px;
  object-fit: cover;
}

/* Footer */
.os-public-footer {
  border-top: 1px solid var(--public-border);
  background: var(--public-surface);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.os-public-footer__container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.os-public-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .os-public-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .os-public-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.os-public-footer__brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.os-public-footer__tagline {
  margin: 1rem 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.os-public-footer__social {
  display: flex;
  gap: 0.75rem;
}

.os-public-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--os-bg-hover);
  color: var(--text-secondary);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.os-public-footer__social-link:hover {
  background: rgba(0, 0, 0, 0.14);
  color: var(--text-primary);
}

html.dark .os-public-footer__social-link:hover {
  background: rgba(255, 255, 255, 0.18);
}

.os-public-footer__social-link svg {
  width: 1rem;
  height: 1rem;
}

.os-public-footer__heading {
  margin: 0 0 1rem;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  font-weight: 700;
}

.os-public-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.os-public-footer__links li + li {
  margin-top: 0.75rem;
}

.os-public-footer__links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.os-public-footer__links a:hover {
  color: var(--text-primary);
}

.os-public-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--public-border);
}

@media (min-width: 768px) {
  .os-public-footer__bottom {
    flex-direction: row;
  }
}

.os-public-footer__copyright {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-align: center;
}

@media (min-width: 768px) {
  .os-public-footer__copyright {
    text-align: left;
  }
}

.os-public-footer__payments {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.os-public-footer__payments span {
  color: var(--text-primary);
  font-size: 0.875rem;
  white-space: nowrap;
}

.os-public-footer__payments img {
  max-width: 280px;
  height: 2rem;
  object-fit: contain;
}

/* Dark mode — hero público */
html.dark .home-2-hero-bundle,
html[data-theme="dark"] .home-2-hero-bundle {
  background: var(--public-body);
}

html.dark .section.home-2-hero .beneer-main-title,
html.dark .section.home-2-hero .benner-details,
html.dark .section.home-2-hero .os-home-hero-social-proof__rating,
html[data-theme="dark"] .section.home-2-hero .beneer-main-title,
html[data-theme="dark"] .section.home-2-hero .benner-details,
html[data-theme="dark"] .section.home-2-hero .os-home-hero-social-proof__rating {
  color: var(--text-primary);
}

html.dark .section.home-2-hero .body-tag-gradient-bg,
html[data-theme="dark"] .section.home-2-hero .body-tag-gradient-bg {
  background: transparent;
  border-color: rgba(48, 54, 61, 0.65);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

html.dark .section.home-2-hero .body-tag-gradient-bg:focus-within,
html[data-theme="dark"] .section.home-2-hero .body-tag-gradient-bg:focus-within {
  outline-color: rgba(8, 121, 253, 0.55);
}

html.dark .section.home-2-hero .body-tag,
html[data-theme="dark"] .section.home-2-hero .body-tag {
  background: rgba(13, 17, 23, 0.62);
  box-shadow: none;
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
}

html.dark .section.home-2-hero .body-tag-text,
html[data-theme="dark"] .section.home-2-hero .body-tag-text {
  color: rgba(249, 250, 251, 0.92);
}

html.dark .section.home-2-hero .body-tag-link,
html[data-theme="dark"] .section.home-2-hero .body-tag-link {
  color: #60a5fa;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(48, 54, 61, 0.65);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

html.dark .section.home-2-hero .body-tag-link--roll:hover,
html.dark .section.home-2-hero .body-tag-link--roll:focus-visible,
html[data-theme="dark"] .section.home-2-hero .body-tag-link--roll:hover,
html[data-theme="dark"] .section.home-2-hero .body-tag-link--roll:focus-visible {
  color: #93c5fd;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(8, 121, 253, 0.22);
}

html.dark .section.home-2-hero .body-tag-link:hover:not(.body-tag-link--roll),
html[data-theme="dark"] .section.home-2-hero .body-tag-link:hover:not(.body-tag-link--roll) {
  color: #93c5fd;
}

html.dark .os-home-hero-social-proof__rating,
html[data-theme="dark"] .os-home-hero-social-proof__rating {
  color: var(--text-primary);
}

html.dark .os-home-hero-social-proof__caption,
html[data-theme="dark"] .os-home-hero-social-proof__caption {
  color: var(--text-muted);
}

html.dark .os-home-hero-social-proof__face,
html[data-theme="dark"] .os-home-hero-social-proof__face {
  border-color: #0d1117;
  background-color: #374151;
}

/* Widget de soporte (agente + WhatsApp) */
.os-support-agent,
#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel {
  --os-support-offset-bottom: env(safe-area-inset-bottom, 0px);
  --os-support-offset-right: env(safe-area-inset-right, 0px);
}

.os-support-agent {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 9990;
  font-family: 'Titillium Web', system-ui, sans-serif;
  padding-bottom: var(--os-support-offset-bottom);
  padding-right: var(--os-support-offset-right);
  --os-support-agent-size: 15rem;
}

.os-support-agent.is-panel-open {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.os-support-agent__card {
  position: relative;
  width: var(--os-support-agent-size, 15rem);
  background: transparent;
  box-shadow: none;
}

.os-support-agent__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  text-align: inherit;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  line-height: 0;
}

.os-support-agent__avatar {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  transform: translateX(-0.125rem);
  vertical-align: bottom;
}

.os-support-agent__status {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin: 0;
  padding: 0.5rem 0.375rem;
  background: #0879fd;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border-radius: 0.5rem 0.5rem 0 0;
}

.os-support-agent__status-dot {
  flex-shrink: 0;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: os-support-agent-dot-pulse 1.8s ease-in-out infinite;
}

@keyframes os-support-agent-dot-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }

  50% {
    opacity: 0.75;
    box-shadow: 0 0 0 0.25rem rgba(34, 197, 94, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .os-support-agent__status-dot {
    animation: none;
  }
}

/* Panel de soporte WhatsApp (mismo contenido que el sidebar del panel) */
#whatsapp-widget-container.whatsapp-widget-container--public {
  position: relative;
  z-index: 9995;
}

#whatsapp-widget-container.whatsapp-widget-container--public a {
  text-decoration: none;
  color: inherit;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-panel-dim {
  position: fixed;
  inset: 0;
  z-index: 9985;
  background-color: rgba(4, 18, 31, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-panel-dim.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel {
  position: fixed;
  right: var(--os-support-offset-right);
  bottom: var(--os-support-offset-bottom);
  z-index: 9995;
  width: min(350px, 100vw);
  max-height: min(85vh, 100%);
  overflow: hidden;
  border: 1px solid var(--public-border);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  background: var(--os-bg-elevated);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 52px 16px 18px;
  background: #25d366;
  color: #fff;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__minimize {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.875rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__minimize:hover,
#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__minimize:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.55);
  outline: none;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__minimize:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__minimize:active {
  transform: scale(0.94);
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__header-icon {
  flex-shrink: 0;
  font-size: 2.75rem;
  line-height: 1;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__header-text h3 {
  margin: 0 0 4px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__header-text p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__content {
  padding: 10px 16px 18px;
  max-height: calc(85vh - 96px);
  overflow-y: auto;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__response-time {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding-left: 4px;
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__member {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px 10px 10px 12px;
  border-left: 3px solid #25d366;
  border-radius: 8px;
  background: var(--os-bg-hover);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__member.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__member:last-child {
  margin-bottom: 0;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__member:hover {
  background: rgba(37, 211, 102, 0.12);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__member-avatar {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__member-info {
  flex: 1;
  min-width: 0;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__member-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__member-info p {
  margin: 3px 0 0;
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__online {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  color: #16a34a;
  font-size: 0.6875rem;
  font-weight: 700;
  vertical-align: middle;
}

html.dark #whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__online,
html[data-theme="dark"] #whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__online {
  background: rgba(34, 197, 94, 0.22);
  color: #4ade80;
}

#whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__member-action {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: #25d366;
  font-size: 1.5rem;
}

@media (max-width: 480px) {
  #whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel {
    right: var(--os-support-offset-right);
    bottom: var(--os-support-offset-bottom);
    width: 100%;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel,
  #whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-panel-dim,
  #whatsapp-widget-container.whatsapp-widget-container--public .whatsapp-widget-panel__member {
    transition: none;
  }
}
