/* style.css */
:root {
  --primary-color: #007bff; /* Azul vibrante para CTA y títulos */
  --secondary-color: #6c757d; /* Gris para enlaces secundarios */
  --success-color: #28a745;
  --danger-color: #dc3545;
  --text-color: #343a40;
  --bg-color: #f8f9fa; /* Fondo gris muy claro */
  --card-bg: #ffffff; /* Fondo blanco para tarjetas */
  --border-color: #dee2e6;
  --font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Centrado vertical */
}

.container {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px; /* Ancho estándar para formularios */
  text-align: center;
}

h2 {
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: 600;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: stretch;
}

input[type="text"],
input[type="password"],
input[type="file"] {
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1em;
}

button[type="submit"] {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  font-weight: 600;
  transition: background-color 0.2s;
}

button[type="submit"]:hover {
  background-color: #0056b3;
}

.error-msg {
  color: var(--danger-color);
  padding: 10px;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  margin-bottom: 15px;
  font-weight: 500;
}

.success-msg {
  color: var(--success-color);
  padding: 10px;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  margin-bottom: 15px;
  font-weight: 500;
}

/* Enlaces de navegación global */
.global-links {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  gap: 15px;
}

.global-links a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
}

.global-links a:hover {
  color: var(--primary-color);
}

/* Archivos específicos (files.php) */
.file-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.file-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.file-list li:last-child {
  border-bottom: none;
}

.file-actions a {
  color: var(--primary-color);
  text-decoration: none;
  margin-left: 10px;
}
.file-list li label {
    display: flex; 
    align-items: center;
    cursor: pointer; 
    flex-grow: 1; 
    padding-right: 10px; 
}

/* Estilo para el checkbox mismo */
.file-list li input[type="checkbox"] {
 
    margin-right: 15px; 
  
    min-width: 18px; 
    min-height: 18px;
}


.file-list li .file-name {
  
    word-break: break-word; 
}
.file-container {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px; /* Más ancho para la lista */
  text-align: center;
  margin-bottom: 20px; /* Espacio entre secciones */
}
.aitor-section {
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}
