/*Fonts*/
/* Inter */
/* No se hostea manualmente. Se usa si está disponible y, si no, entra el fallback. */
  
:root {
  --vpt-theme-text-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --vpt-theme-headline-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Refuerzo directo */
body,
p,
h1, h2, h3, h4, h5, h6 {
  font-family: var(--vpt-theme-text-font);
}

/*Logo*/
/* Estilos para la lista que contiene el logo */
.top-bar-left ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 20px; /* Ajusta el espacio entre los elementos si hay más en la lista */
    align-items: center;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #ffffff; /* Color de fondo del header (ajustable) */
}

/* Estilos específicos para el logo */
.header__navigation--logo img {
    width: 166px; /* Tamaño del logo, ajusta según prefieras */
    height: auto;
    display: block;
}

.header__navigation--logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header__navigation--logo i18n-message {
    display: none; /* Oculta el texto alternativo para accesibilidad (opcional) */
}

/* HEADER LINKS AS INDIVIDUAL SAAS-STYLE CTA BUTTONS */
.header .header-links ul {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header .header-links li {
  margin: 0;
  padding: 0;
}

.header .header-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--vpt-theme-text-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #002423;
  background: #D2E1EA;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  transition: none;
  white-space: nowrap;
}

.header .header-links a:hover,
.header .header-links a:focus,
.header .header-links a:active,
.header .header-links a:visited {
  color: #002423;
  background: #D2E1EA;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  transform: none;
  filter: none;
  text-decoration: none;
}

.header .header-links a:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 2px;
}

/*Secciones custom*/
/* Contenedor para las secciones "News" y "Updates" */
.space-overview__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2%;
}

/* Opcional: Ajuste de estilo de cabecera */
.space-overview__content__heading {
    display: flex;
    align-items: center;
}

/*Tiles*/
/* Estilos para los Tiles */
.tile {
    border-radius: 15px;
    border: none;
    outline: none;
    box-shadow: none;
    padding: 16px;
    margin: 10px;
    background-color: #2F4754;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 140px;
}

/* Hover en una versión más clara del mismo tono */
.tile:hover {
    background-color: #3f7f6b;
    border: none;
    outline: none;
    box-shadow: none;
}

/* Imagen del tile más grande */
.tile-image {
    width: 120px;
    max-width: 120px;
    height: auto;
}

/* Título del tile */
.tile-title a {
    color: #ffffff;
    text-decoration: none;
}

/* Ocultar cualquier texto adicional */
.tile .tile__description,
.tile .tile__excerpt {
    display: none !important;
}

/* Global page background for docs pages and subsections */
body,
main,
main.home-page.body,
#content {
  background-color: #f0f5f8 !important;
}

/* Main content wrappers on internal pages */
.content,
.space-overview,
.space-overview__content,
.space-overview__detail,
.space-page,
.page,
.page-content {
  background-color: #f0f5f8 !important;
}

/* Section blocks inside content areas */
section.spaces,
.items.tiles {
  background-color: transparent !important;
}

/* Main landing page full-width dark background */
main.home-page.body,
#content {
  background-color: #f0f5f8 !important;
}

/* Left article navigation sidebar background */
#navigator-nav,
#navigator-nav.navigator-body {
  background-color: #f0f5f8 !important;
}

/* Left article navigation tree items background */
#navigator-nav .tree,
#navigator-nav .tree-item,
#navigator-nav .tree-item-header,
#navigator-nav .tree-item-header a {
  background-color: #f0f5f8 !important;
}

/* Right "On this Page" index background */
nav.toc,
nav.toc.sticky,
nav.toc[data-component="toc"] {
  background-color: #f0f5f8 !important;
}

/* TOC inner content background */
nav.toc .toc-heading,
nav.toc .toc-list,
nav.toc .toc-list-item,
nav.toc .toc-link {
  background-color: #f0f5f8 !important;
}


/* FOOTER (Scroll Sites) */
/* Grid general del footer */
footer.footer[data-component="footer"]{
  display: grid;
  grid-template-columns: 1fr auto;   /* logo izq, redes der */
  grid-auto-rows: auto;
  row-gap: 12px;
  column-gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 2px solid #0f5132;     /* divider superior */
}

/* Logo: usa el dark por defecto (puedes ajustar según tu theme) */
footer.footer[data-component="footer"] img.footer-logo{
  grid-column: 1;
  grid-row: 1;
  width: 120px;
  height: auto;
  display: block;
}

/* Footer logo horizontal position */
footer.footer[data-component="footer"] img.footer-logo {
  position: relative;
  left: 20px;
}

/* Si no quieres duplicado visual, oculta una variante */
footer.footer[data-component="footer"] img.footer-logo--light{
  display: none;
}

/* Redes sociales */
footer.footer[data-component="footer"] ul.footer-links{
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;

  font-size: 0;     /* oculta texto visual */
  line-height: 0;
  white-space: nowrap;
}

footer.footer[data-component="footer"] ul.footer-links li{
  margin: 0;
  padding: 0;
}

/* Footer bottom row first item alignment */
footer.footer[data-component="footer"] ul.footer-content li:first-child {
  margin-left: 20px;
}

/* chips */
footer.footer[data-component="footer"] ul.footer-links a{
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #d2e1ea;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  transition: transform .12s ease, filter .2s ease;
  margin-right: 12px;
}

footer.footer[data-component="footer"] ul.footer-links a:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* iconos via ::before */
footer.footer[data-component="footer"] ul.footer-links a::before{
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

footer.footer[data-component="footer"] ul.footer-links a[href*="linkedin.com"]::before{
  background-image: url("https://simpleicon.com/wp-content/uploads/linkedin.svg");
}
footer.footer[data-component="footer"] ul.footer-links a[href*="twitter.com"]::before,
footer.footer[data-component="footer"] ul.footer-links a[href*="x.com"]::before{
  background-image: url("https://img.icons8.com/ios-glyphs/30/twitterx--v2.png");
}
footer.footer[data-component="footer"] ul.footer-links a[href*="youtube.com"]::before,
footer.footer[data-component="footer"] ul.footer-links a[href*="youtu.be"]::before{
  background-image: url("https://simpleicon.com/wp-content/uploads/play.svg");
}

/* Contenido inferior ocupa todo el ancho */
footer.footer[data-component="footer"] ul.footer-content{
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .95rem;
  color: #ffffff;
  text-align: left;
}

footer.footer[data-component="footer"] ul.footer-content a{
  color: inherit;
  text-decoration: none;
}

footer.footer[data-component="footer"] ul.footer-content a:hover{
  text-decoration: underline;
}

/*CSS for AI search message*/
section[aria-label="AI Search"] .lw-ai-support-link {
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

section[aria-label="AI Search"] .lw-ai-support-link:hover,
section[aria-label="AI Search"] .lw-ai-support-link:focus {
  text-decoration: underline;
}

/* Salesforce Embedded Messaging launcher */
embeddedservice-messaging-launcher,
embeddedservice-messaging-launcher *,
embeddedservice-messaging-button,
.embeddedMessagingConversationButton,
.embeddedMessagingConversationButtonWrapper {
  box-sizing: border-box;
}

/* Subir el launcher */
embeddedservice-messaging-launcher,
.embeddedMessagingConversationButtonWrapper,
.embeddedMessagingConversationButton {
  bottom: 120px !important;
  right: 20px !important;
}
.embeddedMessagingConversationButtonWrapper {
  pointer-events: none !important;
}

/* Ajuste mobile */
@media (max-width: 767px) {
  embeddedservice-messaging-launcher,
  .embeddedMessagingConversationButtonWrapper,
  .embeddedMessagingConversationButton {
    bottom: 96px !important;
    right: 16px !important;
  }
}
