/* General */
body {
  height: 100vh;
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #f4f7f9;
  color: #333;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
}

h1, h2 {
  color: #2C3E50;
}

h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.8em;
  margin-top: 10px;
  margin-bottom: 15px;
}

label {
  font-weight: bold;
  margin-top: 10px;
  display: block;
}

input, textarea, button {
  width: 100%;
  max-width: 400px;
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1em;
}

textarea {
  resize: none;
}

button {
  background-color: #3498DB;
  color: white;
  font-size: 1em;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #2980B9;
}

button:disabled {
  background-color: #BDC3C7;
  cursor: not-allowed;
}

/* Sección de inicio de sesión */
#local-auth {
  width: 100%;
  max-width: 400px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#local-auth input {
  border: 1px solid #BDC3C7;
}

/* Controles específicos */
#group-search, #image-uploads, #text-messages {
  display: none; /* Ocultos inicialmente */
}

#group-search input, #group-search button {
  margin-bottom: 10px;
}

#image-uploads input[type="file"] {
  border: none;
}

#text-messages textarea {
  margin-bottom: 10px;
  height: 100px;
}

/* Botones y estados */
#status {
  margin: 20px 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #2ECC71;
}

#logout-btn {
  margin-top: 20px;
  background-color: #E74C3C;
}

#logout-btn:hover {
  background-color: #C0392B;
}

/* Tabla de resultados */
#group-search-results ul {
  list-style: none;
  padding: 0;
}

#group-search-results li {
  background: #ECF0F1;
  border-radius: 5px;
  padding: 10px;
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#group-search-results li input {
  margin-right: 10px;
}
