
/* === BASE GENERAL === */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #324E27, #2266AF);
  color: #FFFFFF;
  margin: 0;
  padding: 0;
  text-align: center;
}

.container {
  max-width: 600px;
  margin: auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Contenido interno a la izquierda */
}

/* === BARRA DE MODO ADMINISTRADOR === */
.admin-bar {
  background: #FFC857;
  color: #000;
  padding: 10px;
  font-size: 0.85rem;
  font-weight: bold;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  width: 100%;
  box-sizing: border-box;
}

.admin-bar a, .admin-bar button {
  margin-left: 10px;
  color: #2266AF;
  text-decoration: underline;
  font-weight: bold;
  cursor: pointer;
}

/* === PERFIL Y T01TULO === */
.profile-pic {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  align-self: center;
}

h1 {
  font-size: 2rem;
  margin: 0.5rem 0 0.2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  align-self: center;
}

p.lema {
  font-size: 1rem;
  color: #FFC857;
  margin-bottom: 1.5rem;
  align-self: center;
}

/* === ICONOS SOCIALES === */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0.5rem 0 1.5rem;
  width: 100%;
  align-self: center;
}

.social-icons a {
  background-color: #FFFFFF;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2266AF;
  font-size: 1.2rem;
  transition: background-color 0.3s, transform 0.2s;
}

.social-icons a:hover {
  background-color: #FFC857;
  transform: scale(1.1);
  color: #000000;
}

/* === ESTILO BADGE (Tšªtulos de secciš®n) === */
.badge-seccion {
  background-color: rgba(255, 255, 255, 0.05); 
  color: #bdc3c7; 
  border-left: 5px solid #95a5a6; 
  padding: 10px 18px;
  border-radius: 2px;
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 2.5rem 0 1rem;
  display: inline-block;
  text-align: left;
}

.subtitulo-pagina {
  font-size: 0.95rem;
  color: #FFC857;
  margin-bottom: 1.5rem;
  font-weight: 300;
  text-align: left;
  line-height: 1.4;
}

/* === BADGE DE ADMINISTRADOR (Check de Verificado) === */
.badge-admin {
    color: #27ae60; /* Verde šŠxito para el check de verificado */
    font-size: 1rem;
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

/* === CONTENEDOR DE RECURSO DESTACADO === */
.box-recurso-destacado {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
  margin: 0.5rem 0 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

/* === BOTONES UNIFICADOS === */
.btn, .btn-responder, .boton-ver-mas, form button, .form-respuesta button {
  display: inline-block;
  width: auto;
  min-width: 150px;
  padding: 12px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 10px;
  background-color: #FFC857;
  color: #000000;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.btn:hover, .btn-responder:hover, .boton-ver-mas:hover, form button:hover {
  background-color: #ffd97a;
  transform: translateX(5px);
}

/* === FORMULARIO Y COMENTARIOS === */
form, .comentarios {
  margin-top: 2.5rem;
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  color: #2266AF;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

form input, form textarea, .fila-prov-muni select {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.comentarios-vista { margin-top: 2rem; text-align: left; }

.comentarios-lista .comentario {
  background: rgba(255, 255, 255, 0.9);
  color: #2266AF;
  padding: 1.2rem;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  word-break: break-word;
  transition: border 0.3s ease;
  border-left: 6px solid transparent;
}

/* Resaltado especial para intervenciones tuyas */
.comentario-admin {
    border-left: 6px solid #FFC857 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.respuesta {
    margin-left: 20px; 
    border-left: 3px solid #FFC857; 
    padding: 10px 15px; 
    margin-top: 10px; 
    background: #fdfdfd; 
    border-radius: 0 8px 8px 0;
    color: #2266AF;
}

.fecha {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* === VIDEO TUTORIAL === */
.video-tutorial { margin-top: 2.5rem; text-align: left; width: 100%; }

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%; border: 0;
}

/* === GRID DE BOTONES (HOME) === */
.grid-botones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin-top: 1rem;
}

.btn-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 10px;
  background-color: #FFC857;
  color: #000000;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.8rem;
  border-radius: 10px;
  text-align: center;
  min-height: 60px;
  transition: transform 0.2s;
}

.btn-grid:hover {
  background-color: #ffd97a;
  transform: scale(1.03);
}

footer { 
  padding: 2rem 0; 
  font-size: 0.8rem; 
  opacity: 0.8; 
  text-align: center;
  width: 100%;
}

@media (max-width: 400px) {
  .btn-grid { font-size: 0.7rem; }
}