/* Tipografía y base */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 20px;
  color: #333;
}

h2, h3 {
  text-align: center;
  margin-bottom: 20px;
}

/* Secciones */
.section {
  background: #fff;
  padding: 20px;
  margin: 20px auto;
  max-width: 700px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

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

input, textarea, select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type="submit"] {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px;
  margin-top: 15px;
  cursor: pointer;
  border-radius: 4px;
}

input[type="submit"]:hover {
  background-color: #555;
}

/* Listas */
ul {
  list-style: none;
  padding: 0;
}

li {
  margin-bottom: 10px;
}

.archivo {
  font-size: 0.9em;
  color: #555;
}

/* Correos */
.correo-box {
  margin-bottom: 25px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fafafa;
  transition: opacity 0.5s ease;
}

/* Acciones */
.acciones a {
  margin-right: 10px;
  font-size: 0.9em;
  text-decoration: none;
}

.acciones a.eliminar {
  color: red;
}

.acciones a.editar {
  color: #0077cc;
}

/* Enlaces generales */
a {
  color: #0077cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Responsive básico */
@media (max-width: 768px) {
  .section {
    margin: 10px;
    padding: 15px;
  }

  input, textarea, select {
    font-size: 16px;
  }
}
