/* Basic Styles */

body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1, h2, p {
  margin: 0 0 1rem;
}

h1 {
  font-size: 1.8rem;
}

p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Navbar Styles */

.navbar {
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: bold;
}

.navbar-nav .nav-link {
  font-size: 1rem;
}

.navbar-nav .nav-link:hover {
  color: #3498db;
}

/* Card Styles */

.card {
  border-radius: 15px;
  border: none;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.card-text {
  margin-bottom: 20px;
}

.btn-primary {
  background-color: #3498db;
  border-color: #3498db;
  transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
  background-color: #2980b9;
  border-color: #2980b9;
}

.form-group {
  margin-bottom: 15px;
}

.form-control-file {
  padding: 5px;
}

#upload-status {
  text-align: center;
  color: #dc3545;
}

/* Table Styles */

.table-responsive {
  margin-top: 20px;
}

.table-hover tbody tr:hover {
  background-color: #f1f1f1;
}

.table-hover tbody tr {
  transition: background-color 0.3s;
}

.thead-light th {
  background-color: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
}

.alert-info {
  margin-top: 20px;
}

.btn-danger {
  transition: background-color 0.3s, border-color 0.3s;
}

.btn-danger:hover {
  background-color: #c82333;
  border-color: #bd2130;
}

/* Estilos para la pantalla de carga */
.loading-screen {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #22a6b3;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-screen p {
    margin-top: 20px;
    font-size: 1.2em;
    color: #333;
}

