/* styles.css */

/* Contenedor principal del contenido */
.content {
  max-width: 700px;
  margin: 3rem auto;
  background: #f0fdfa;
  padding: 2rem 3rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  font-size: 1.1rem;
  line-height: 1.6;
  color: #064e3b;
  text-align: justify;
}

/* Título de página */
.page-title {
  text-align: center;
  color: #065f46;
  margin-top: 1rem;
  font-size: 2rem;
  font-weight: 700;
  font-family: Arial, sans-serif;
}

/* Navegación */
.main-nav {
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
}

.main-nav a {
  color: #047857;
  text-decoration: none;
  margin: 0 1rem;
  font-size: 1.1rem;
}

.main-nav a:hover {
  text-decoration: underline;
}

/* Sección títulos */
.section-title {
  color: #047857;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: Arial, sans-serif;
}

/* Imagen alusiva */
.estafa-image {
  display: block;
  max-width: 100%;
  border-radius: 12px;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Caja de consejo extra */
.tip.consejo-extra {
  background: #d1fae5;
  padding: 1rem 1.5rem;
  border-left: 6px solid #059669;
  border-radius: 8px;
  font-weight: 600;
  color: #065f46;
  margin-top: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: left;
}

/* Botón para mostrar/ocultar consejo */
.btn-mostrar-consejo {
  background-color: #059669;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: background-color 0.3s ease;
  font-weight: 700;
}

.btn-mostrar-consejo:hover {
  background-color: #047857;
}

/* Pie de página */
.page-footer {
  background: #047857;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
  font-weight: 600;
  font-family: Arial, sans-serif;
}
