/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY + BACKGROUND */
body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background: #e1e4e8; /* fondo gris claro */
  color: #333;
}

/* HEADER */
.main-header {
  background: linear-gradient(120deg, #3a71ca, #2b61b3);
  padding: 15px 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-title {
  color: #fff;
  font-size: 1.6rem;
  margin: 0;
  font-weight: 600;
}

.header-btn {
  background-color: #fff;
  color: #2b61b3;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  text-decoration: none;
}

.header-btn:hover {
  background-color: #f2f2f2;
  color: #2b61b3;
}

/* MAIN CONTENT */
.main-content {
  max-width: 1100px;
  margin: auto;
}

/* FORM LABELS */
.form-label.fw-semibold {
  font-weight: 600;
  color: #444;
}

/* INPUTS */
.search-input, .form-control {
  border-radius: 6px;
}

.search-input:focus, .form-control:focus {
  outline: none;
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
}

/* TABLE WRAPPER */
.table-wrapper {
  border-radius: 8px;
  background-color: #fff;
}

/* TABLE STYLES */
.table {
  font-size: 0.9rem;
  border: none;
}

/* CABECERA DE TABLA */
.table thead.table-header {
  background-color: #335a9e; /* azul más oscuro */
  color: #fff;
}

.table thead.table-header th {
  border: none;
  font-weight: 600;
}

/* COLUMNAS DE FOLIO Y STATUS EN NEGRITAS */
/* Folio => 2a columna, Status => 5a columna */
.table tbody td:nth-child(2),
.table tbody td:nth-child(5) {
  font-weight: 600;
  color: #333; /* puedes ajustar el color si deseas */
}

/* BORDES y ESPACIOS de CELDAS */
.table-bordered > :not(caption) > * > * {
  border-color: #ddd;
}

/* HOVER ROWS */
.table-hover tbody tr:hover {
  background-color: #f6faff;
}

/* MODAL */
.modal-custom {
  border-radius: 0.5rem;
  overflow: hidden;
}

.modal-custom .modal-header {
  background-color: #f0f2f5;
  border-bottom: 1px solid #ccc;
}

.modal-custom .modal-body {
  color: #333;
}

.modal-custom .modal-footer {
  border-top: none;
}

/* BUTTONS */
.btn {
  font-size: 0.85rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.btn-primary {
  background-color: #3a71ca;
  border-color: #3a71ca;
}

.btn-primary:hover {
  background-color: #305fa3;
  border-color: #2a5590;
}

/* RESPONSIVE */
@media (max-width: 576px) {
  .header-title {
    font-size: 1.3rem;
  }
  .header-btn {
    font-size: 0.85rem;
  }
  .btn {
    font-size: 0.8rem;
  }
  .table {
    font-size: 0.8rem;
  }
  .search-input {
    font-size: 0.85rem;
  }
}
