/* 
   Login / Registre
    */

.login_registre {
  background: linear-gradient(135deg, #5b5bd6, #9b5cf5);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.login {
  background: #f2f2f2;
  width: 380px;
  border-radius: 16px;
  text-align: center;
  padding: 40px 32px;
}

.login input {
  margin-bottom: 15px;
  margin-top: 10px;
  width: 300px;
  border-radius: 5px;
  border: none;
  background-color: rgb(177, 178, 178);
  padding: 10px;
}

.login button {
  width: 300px;
  border-radius: 5px;
  border: none;
  padding: 10px;
  background: linear-gradient(135deg, #5b5bd6, #9b5cf5);
  margin-bottom: 15px;
}

/* 
   Layout general
   */

.logo {
  font-size: 28px;
  font-weight: 700;
  color: #5b5bd6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.Mur_General {
  background-color: rgb(244, 246, 251);
  color: #333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 
   Header
    */

.header {
  background: rgb(237, 235, 235);
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  border-bottom: 1px solid #e5e7eb;
}

.header h1 {
  margin-top: 5%;
  color: red;
}

.logout {
  background: red;
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}

.logout:hover {
  background-color: rgb(177, 0, 0);
  color: rgb(167, 167, 167);
}

/*
   Estructura principal
  */

.paginaPrincipalMuro {
  display: flex;
  gap: 25px;
  padding: 30px;
  max-width: 1300px;
  margin: auto;
}

/*
   Menú lateral izquierdo
    */

.lateral_izquierda {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.item_Lateral {
  padding: 12px 16px;
  border: none;
  background: white;
  border-radius: 10px;
  text-align: left;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  cursor: pointer;
  display: block;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.item_Lateral:hover {
  background-color: #f0effe;
}



/*
   Columna central
   */

.mainPrincipalMuro {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.contenido {
  background: white;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 
   Tarjeta de perfil
    */

.perfil-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.btn-editar {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 1.5px solid #5b5bd6;
  color: #5b5bd6;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-editar:hover {
  background: #5b5bd6;
  color: white;
}

.profile-avatar-big {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #5b5bd6;
  color: white;
  font-size: 5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.user-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #1a1a2e;
}

.user-bio {
  font-size: 14px;
  color: #888;
  margin: 0 0 18px;
}

.stats-row {
  display: flex;
  gap: 32px;
  margin-top: 4px;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.stat-box strong {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
}

.stat-box span {
  font-size: 13px;
  color: #888;
}

/*
   Título de sección
   */

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}

/* 
   Publicaciones
   */

.cabeceraContenido {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 12px;
}

.avatar-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #5b5bd6;
  color: white;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.post-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.btn-action-edit,
.btn-action-delete {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1.5px solid #e5e7eb;
  background: white;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.btn-action-edit:hover {
  background: #f0effe;
  border-color: #5b5bd6;
}

.btn-action-delete:hover {
  background: #fff0f0;
  border-color: #e24b4a;
}

.post-body {
  padding: 4px 0 12px;
}

.post-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #1a1a2e;
}

.horaContenido {
  font-size: 12px;
  color: #777;
  margin: 2px 0 0;
}

.contenidoFooter {
  display: flex;
  gap: 25px;
  padding: 12px 0 0;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #e5e7eb;
}

.post-img {
  width: 100%;
  display: block;
  margin-top: 10px;
}

.inputComentario {
  display: flex;
  gap: 10px;
  padding: 12px 0 0;
  border-top: 1px solid #e5e7eb;
  margin-top: 12px;
}

.inputComentario input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  font-family: inherit;
}

.inputComentario button {
  background: #5b5ce2;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 14px;
}

.inputComentario button:hover {
  background: #4a4bd1;
}

/* 
   Panel derecho
   */

.tendenciasDerecha {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tendenciasDerecha > div {
  background: white;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tendenciasDerecha h4 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
}

.placeholder-grafico {
  background: #f4f6fb;
  border-radius: 10px;
  height: 120px;
  margin-bottom: 10px;
}

.grafico-caption {
  font-size: 12px;
  color: #aaa;
  text-align: center;
  margin: 0;
}
