:root {
  --primary: #008080;
  --secondary: #FFB81C;
  --accent-warm: #DA7321;
  --accent-cool: #00C6C8;
  --neutral-light: #F4F4F4;
  --neutral-medium: #888888;
  --neutral-dark: #222222;
}

body {
  font-family: 'Manrope', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--neutral-light);
  color: var(--neutral-dark);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Bree Serif', serif;
  color: var(--primary);
}

main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

code {
  background-color: var(--neutral-light);
  border-radius: 5px;
  padding: 4px 6px;
  font-family: monospace;
  display: inline-block;
}

pre {
  background-color: var(--neutral-light);
  border-left: 4px solid var(--primary);
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
}   

.tooltip {
  display: inline-block;
  position: relative;
  cursor: pointer;
  color: #008080;
  font-weight: bold;
  margin-left: 0.5rem;
}

.tooltip-content {
  display: none;
  position: absolute;
  left: 0;
  top: 120%;
  background: white;
  color: #222222;
  border: 1px solid #008080;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 1rem;
  width: 260px;
  z-index: 10;
  font-size: 0.9rem;
}

.tooltip-content ul {
  margin: 0.5rem 0 0 1rem;
  padding: 0;
}

.tooltip-content li {
  list-style: none;
  margin: 0.2rem 0;
}

.tooltip.active .tooltip-content {
  display: block;
}

ol {
  padding-left: 1.2rem;
}

footer {
  text-align: right;
  padding: 1rem;
  background-color: var(--neutral-dark);
  color: white;
  margin-top: 2rem;
  font-size: .8rem;
}

.example {
  background-color: var(--neutral-light);
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.highlight {
  color: var(--accent-warm);
  font-weight: 600;
}

/* --- ESTILOS PARA EL SELECTOR DE IDIOMA --- */
.lang-switcher {
  text-align: right;
  margin-bottom: 1.5rem;
}
.lang-switcher button {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  margin-left: 8px;
  transition: background-color 0.2s, color 0.2s;
}
.lang-switcher button:hover {
  background-color: var(--primary);
  color: white;
}
.lang-switcher button.active {
  background-color: var(--primary);
  color: white;
  font-weight: 700;
}

/* --- ESTILOS DE LA PÁGINA DE SOPORTE --- */

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.contact-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: var(--secondary);
  color: var(--neutral-dark);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-button:hover {
  background-color: var(--accent-warm);
  color: white;
  text-decoration: none; /* Sobreescribe el 'underline' del 'a:hover' */
}

.faq {
  margin-top: 2rem;
}

.faq h3 {
  margin-top: 1.5rem;
  color: var(--accent-cool);
}