body {
  background-color: #f9fafb;
  font-family: 'Open Sans', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  flex-direction: column;
}
.login-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  padding: 35px 25px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  position: relative;
}
.login-logo {
  max-width: 130px;
  margin-bottom: 22px;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.05));
}
h3 {
  font-weight: 300;
  margin-bottom: 20px;
  color: #333;
  letter-spacing: 0.04em;
}
label.form-label {
  font-weight: 400;
  color: #555;
}
.form-control {
  border-radius: 6px;
  border: 1.5px solid #ddd;
  transition: border-color 0.25s ease;
}
.form-control:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 8px #a4c8ff;
}
.btn-primary {
  background-color: #4a90e2;
  border-color: #4a90e2;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #357ABD;
  border-color: #357ABD;
  box-shadow: 0 0 12px rgba(53, 122, 189, 0.7);
}
.alert-danger {
  font-weight: 600;
  background-color: #ffe6e6;
  color: #b00020;
  border: none;
  border-radius: 6px;
  padding: 12px;
}
footer.login-footer {
  margin-top: 20px;
  color: #999;
  font-size: 0.85rem;
  text-align: center;
  max-width: 380px;
  width: 100%;
  font-style: italic;
  user-select: none;
}
@media (max-width: 480px) {
  .login-card {
    padding: 30px 20px;
  }
}

/* Estilo general */
body {
  background-color: #f9fafb;
  font-family: 'Open Sans', sans-serif;
  min-height: 100vh;
  padding: 20px;
  color: #333;
}

/* Contenedor principal */
.container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  padding: 30px 25px;
}

/* Títulos */
h2, h3 {
  font-weight: 600;
  color: #4a90e2;
  margin-bottom: 25px;
}

/* Botones */
.btn-primary, .btn-secondary, .btn-success, .btn-info, .btn-outline-danger {
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #4a90e2;
  border-color: #4a90e2;
  color: white;
}

.btn-primary:hover {
  background-color: #357ABD;
  border-color: #357ABD;
  box-shadow: 0 0 12px rgba(53, 122, 189, 0.7);
}

.btn-secondary {
  background-color: #9e9e9e;
  border-color: #9e9e9e;
  color: white;
}

.btn-secondary:hover {
  background-color: #707070;
  border-color: #707070;
  box-shadow: 0 0 8px rgba(112, 112, 112, 0.6);
}

.btn-success {
  background-color: #43a047;
  border-color: #43a047;
  color: white;
}

.btn-success:hover {
  background-color: #2e7d32;
  border-color: #2e7d32;
  box-shadow: 0 0 10px rgba(46, 125, 50, 0.7);
}

.btn-info {
  background-color: #039be5;
  border-color: #039be5;
  color: white;
}

.btn-info:hover {
  background-color: #0277bd;
  border-color: #0277bd;
  box-shadow: 0 0 10px rgba(2, 119, 189, 0.7);
}

.btn-outline-danger {
  border-color: #e53935;
  color: #e53935;
}

.btn-outline-danger:hover {
  background-color: #e53935;
  color: white;
  box-shadow: 0 0 10px rgba(229, 57, 53, 0.7);
}

/* Tabla */
table {
  width: 100%;
  border-collapse: collapse;
}

thead tr {
  background-color: #4a90e2;
  color: white;
}

tbody tr:nth-child(even) {
  background-color: #f1f8ff;
}

th, td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

th {
  font-weight: 600;
}

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 20px 15px;
  }
  table, thead, tbody, th, td, tr {
    display: block;
  }
  thead tr {
    display: none;
  }
  tbody tr {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
  }
  tbody td {
    border: none;
    padding: 8px 10px;
    position: relative;
    padding-left: 50%;
  }
  tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    font-weight: 600;
    color: #4a90e2;
  }
}

