:root {
  --color-principal: #1E3A8A;
  --color-secundario: #FBBF24;
  --color-beige: #FDF6EC;
  --color-gris-hielo: #E5E7EB;
  --fuente: 'Courier New', Courier, monospace;
}

/* Tipografía y fondo */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom right, #e3f2fd, #e0f7fa);
  color: #212529;
  min-height: 100vh;
  padding-top: 2rem;
}

/* Contenedor principal */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
}

/* Botón modal */
.btn-primary {
  margin-bottom: 2rem;
}

/* Tabla de empleados */
.table {
  background-color: #ffffff;
  border-radius: 0.5rem;
  overflow-x: auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.table th {
  background-color: #0d6efd;
  color: white;
  font-weight: 500;
}

.table td {
  vertical-align: middle;
}

/* Imagen de empleado */
.img-thumbnail {
  max-width: 100px;
  height: auto;
  border-radius: 0.5rem;
}

/* Botones de acción */
form input[type="submit"],
form button {
  margin: 0.25rem 0.25rem 0.25rem 0;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  border-radius: 0.3rem;
}

/* Modal */
.modal-content {
  border-radius: 0.75rem;
}

.modal-header {
  background-color: #0d6efd;
  color: white;
  border-bottom: none;
}

/* 🦶 Pie de página */
footer {
  background: var(--color-gris-hielo);
  color: var(--color-principal);
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .form-group {
    width: 100% !important;
  }

  .table {
    font-size: 0.9rem;
  }

  .modal-dialog {
    max-width: 95%;
  }
}

@media (max-width: 480px) {
  .btn-primary {
    width: 100%;
  }

  .table th,
  .table td {
    font-size: 0.85rem;
  }

  .modal-footer {
    flex-direction: column;
    gap: 0.5rem;
  }
}