/* styles.css */

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: white;
}

header {
    color: black;
    padding: 1rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

nav {
    background-color: #1e1e1e;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    border-bottom: 1px solid #0f0;
}

nav a {
    color: #0f0;
    text-decoration: none;
    font-weight: bold;
    border-right: 1px solid white;
}

nav a:last-child {
  border-right: none; /* No poner línea después del último */
}

nav a:hover {
    color: white;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: #1b1b1b;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,255,0,0.2);
}

.post {
    background-color: #2a2a2a;
    border: 1px solid #0f0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.post-meta {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 0.5rem;
}

button, input[type="submit"] {
    background-color: #121212;  /* mismo fondo que la página */
    color: #0f0;                /* texto verde */
    border: 1px solid #0f0;     /* borde verde para visibilidad */
    padding: 0.5rem 1rem;
    border-radius: 0px;         /* bordes rectos, o podés poner 0 si querés totalmente cuadrados */
    cursor: pointer;
    font-weight: bold;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

button:hover, input[type="submit"]:hover {
    color: white;              /* cambia el texto a blanco */
    border-color: white;       /* opcional: borde blanco al pasar el mouse */
}

input[type="text"], input[type="password"] , input[type="email"] , input[type="date"], input[name="miembros"], input[name="nombre_equipo"] {
    width: 97%;
    padding: 0.7rem;
    margin: 0.5rem 0;
    border: 1px solid #0f0;
    border-radius: 10px;
    background-color: #121212;
    color: white;
    font-family: inherit;
}

.custom-select {
    width: 97%;
    padding: 0.7rem;
    margin: 0.5rem 0;
    border: 1px solid #0f0;
    border-radius: 10px;
    background-color: #121212;
    color: white;
    font-family: inherit;
}

textarea {
  width: 97%;
  height: 30px; /* Ajustá este valor a gusto */
  padding: 0.7rem;
  margin: 0.5rem 0;
  border: 1px solid #0f0;
  border-radius: 10px;
  background-color: #121212;
  color: white;
  resize: none; /* Esto lo hace fijo */
  font-family: inherit;
}


.emoji {
    font-size: 1.2rem;
    cursor: pointer;
    margin-right: 5px;
}

.like-button
{
  background-color: #121212;
  border: 1px solid #0f0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #0f0;
  padding: 4px 8px;
  transition: all 0.3s ease;
}

.alentar-button 
{
  background-color: #121212;
  border: 1px solid #0f0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #0f0;
  padding: 4px 8px;
  transition: all 0.3s ease;
  margin-left: 6px;
}

.like-button.liked {
  background-color: #0f0;
  color: #121212;
  font-weight: bold;
}

.like-button:hover {
  background-color: #0f0;
  color: #121212;
}

.card {
    background-color: #222;
    border: 1px solid #0f0;
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
}

.login-form {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #1b1b1b;
    border: 1px solid #0f0;
    border-radius: 10px;
}

footer {
    margin-top: 2rem;
    padding: 15px;
    background: #333;
    color: white;
    font-size: 14px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.login-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
  }

  .banner-container {
    border: 2px solid #0f0;
    width: 90%;
    margin: 10px auto;    
    box-sizing: border-box; /* Asegura que el borde no desborde */
    text-align: center;
    background-color: black; /* opcional, para contraste futbolero */
    border-radius: 12px;  
    padding: 5px;
  }
  
  .banner-img {
    max-width: 100%;
    height: auto;
    display: inline-block;
  }

  a.site:link,
  a.site:visited,
  a.site:active {
  color: white;           /* o el color que quieras */
  text-decoration: none;  /* opcional: para sacar el subrayado */
  font-weight: bold;
  }

  a.site:hover {
    color: #00ff00; /* verde, por ejemplo */
    text-decoration: underline;
  }

  .mensaje-error {
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
    background-color: #ffebee;
    border-left: 5px solid #d32f2f;
    border-radius: 8px;
    color: #d32f2f;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.mensaje-exito {
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
    background-color: #e6ffed;
    border-left: 5px solid #00cc00;
    border-radius: 8px;
    color: #006600;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 255, 0, 0.1);
    box-sizing: border-box;
}

.mensaje-gol {
  max-width: 600px;
  margin: 20px auto;
  padding: 15px;
  background-color: #e6ffed;
  border-left: 5px solid #e06600;
  border-radius: 8px;
  color:burlywood;
  font-size: 13px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 255, 0, 0.1);
  box-sizing: border-box;
  font-weight: bold;
}

.user-info {
    color: #0f0;
    font-weight: bold;
    margin-right: 1rem;
  }

  .user-info1 {
    color:#e6ffed;
    font-weight: bold;
    margin-right: 1rem;
  }

  /* Estilo para párrafos */
.p_1 {
    font-size: 14px;
    line-height: 1.5;
    color: #e0e0e0;  /* texto gris claro */
    margin-bottom: 1rem;
  }

    /* Estilo para párrafos */
.p_2 {
  font-size: 16px;
  line-height: 1.5;
  color: #e0e0e0;  /* texto gris claro */
  margin-bottom: 1rem;
  text-align: center;
}
  
  /* Estilo para listas sin orden */
  ul {
    padding-left: 0;
    margin-bottom: 1rem;
    color: #cfcfcf;
    list-style-type: none; /* o 'square' si querés otro estilo */
  }
  
  /* Estilo para los ítems de la lista */
  ul li {
    margin-bottom: 0.5rem;
  }

  ul li::before {
    content: "⚠️"; /* Ícono o emoji personalizado */
    margin-right: 8px;
  }
  
  .avatar-selection {
    margin: 2rem auto;
    padding: 1rem;
    background-color: #1b1b1b;
    border: 1px solid #0f0;
    border-radius: 10px;
    text-align: center;
    color: #0f0;
}

.avatar-selection p {
    font-weight: bold;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.avatar-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.avatar-grid label {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 5px;
    transition: border 0.3s ease, transform 0.2s ease;
}

.avatar-grid label:hover {
    border-color: #0f0;
    transform: scale(1.05);
}

.avatar-grid input[type="radio"] {
    display: none;
}

.avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #333;
    background-color: #222;
    transition: border-color 0.3s ease;
}

.avatar-grid input[type="radio"]:checked + .avatar-img {
    border-color: #0f0;
}

input[type="date"] {
  color-scheme: dark;
}

h2 {
  text-decoration: underline;
}

.despub
{
  text-decoration: underline;
  text-align: center;
  font-weight: bold;
}

.sp {
  text-decoration: underline;
  color:#d32f2f;
  text-align: center;
  font-weight: bold;
}

.spchat {
  color:#00cc00;
  text-align: center;
  font-weight: bold;
}

.ib {
  color:#d32f2f;
  font-weight: bold;
}

.avatar-post {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  object-fit: cover;
  border: 2px solid #0f0; /* borde verde */
}

.comentarios-lista {
  background-color: #1a1a1a;
  padding: 10px;
  border-left: 3px solid #0f0;
  margin-top: 10px;
  border-radius: 8px;
}

.comentario {
  color: #ccc;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.coment-username {
  font-weight: bold;
  color: #ccc; /* Gris claro que contraste con fondo oscuro */
  margin-right: 5px;
}

.acciones-post form {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.acciones-post button,
.acciones-post input[type="submit"] {
  white-space: nowrap; /* Para que no se rompa el family o en 2 líneas */
  flex-shrink: 0;
}

.delete-form {
  margin-left: auto; /* Empuja el botón a la derecha */
}

.delete-button {
  background-color: #121212;
  border: 1px solid #d32f2f;
  color: #d32f2f;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 0.9rem;

}
  

.delete-button:hover {
  background-color: #d32f2f;
  color: #121212;
}


.fila-botones {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.like-form, .delete-form {
  display: inline-block;
  margin: 0;
}

.comentar-form {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tabla-equipos {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.tabla-equipos th, .tabla-equipos td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.tabla-equipos th {
  background-color:#333;
}

/* Campos visualmente estilizados */
input[name="miembros"]
{
  width: 40%;
  padding: 0.7rem;
  margin: 0.5rem 0;
  border: 1px solid #0f0;
  border-radius: 10px;
  background-color: #121212;
  color: white;
  font-family: inherit;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.equi-container {
  display: flex;
  justify-content: center;       /* Centrado horizontal */
  align-items: center;           /* Centrado vertical */
  text-align: center;
  margin-top: 1rem;
  border: 2px solid #00cc00;
  border-radius: 10px;
  padding: 1rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.equi-info1 {
  color:#ddd;
  font-weight: bold;
  font-size: 1.40em;
  margin: 0; /* Eliminar margen extra */
}

.trofeo-img {
  width: 50px;
  height: 50px;
  border-radius: 20%;
  border: 2px solid #0f0;
  transition: border-color 0.3s ease;
}

.msgs_chat {
  border:1px solid #ccc; 
  height:300px; 
  overflow:auto; 
  padding:5px;
}
