/* Tipografía general */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f9f9fa;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
}

/* Cards */
.card {
  background: white;
  border: none;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Botones */
.btn {
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  padding: 10px 16px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

/* Botones outline */
.btn-outline-primary {
  border: 1px solid #007aff;
  color: #007aff;
}

.btn-outline-primary:hover {
  background-color: #007aff;
  color: white;
}

.btn-outline-secondary {
  border: 1px solid #6c757d;
  color: #6c757d;
}

.btn-outline-secondary:hover {
  background-color: #6c757d;
  color: white;
}

/* Input fields */
input.form-control,
select.form-select,
textarea.form-control {
  border-radius: 10px;
  border: 1px solid #ddd;
  transition: border-color 0.3s;
}

input.form-control:focus,
select.form-select:focus,
textarea.form-control:focus {
  border-color: #007aff;
  box-shadow: none;
}

/* Tablas */
.table {
  border-radius: 12px;
  overflow: hidden;
}

.table th {
  background-color: #f2f4f7;
  font-weight: 600;
}

.table td,
.table th {
  vertical-align: middle;
}

/* Badges */
.badge {
  border-radius: 12px;
  padding: 5px 10px;
  font-size: 0.85rem;
  font-weight: 500;
}

.badge.bg-danger {
  background-color: #ff3b30 !important;
}

.badge.bg-success {
  background-color: #34c759 !important;
}

.badge.bg-warning {
  background-color: #ffcc00 !important;
  color: #333 !important;
}

.badge.bg-primary {
  background-color: #007aff !important;
}

/* Modal personalizado */
.modal-content {
  border-radius: 20px;
}

/* Iconos grandes en botones */
.btn i {
  font-size: 1.3em;
}

/* Estilo Apple limpio*

/* Redondeo visual en tablas dentro de tarjetas */
.table-rounded {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
}

/* Redondear solo el primer y último `th` */
.table-rounded thead th:first-child {
  border-top-left-radius: 12px;
}
.table-rounded thead th:last-child {
  border-top-right-radius: 12px;
}

footer {
  margin-top: auto;
  padding: 1rem 0;
  text-align: center;
  color: #6c757d;
  border-top: 1px solid #dee2e6;
  background: transparent;
}