@import url("header.css");
@import url("form.css");

body {
  font-family: Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  color: #111827;
  background: #f1f5f9;
}

.dash-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  background-color: #fff;

}

.meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #4b5563;
}

.pager {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pager button {
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 0.85rem;
}

.pager button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pager .page-label {
  min-width: 120px;
  text-align: center;
}

.btn{
  text-decoration: none;
  border-radius: 4px;
  padding: 15px 30px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.btn.inactive, .btn.inactive:hover{
  cursor: not-allowed !important;
  opacity: 0.7 !important;
  background-color: #ccc !important;
  color: #666 !important;
  border-color: #ccc !important;
}


.btn-primary {
  border: 1px solid #1E3A8A;
  background-color: #1E3A8A;
  color: #fff;
}
.btn-primary:hover{
  background-color: #132453;
}

.btn-secondary {
  /* border: 1px solid #d1d5db; */
  border: 1px solid #1E3A8A;
  background-color: #fff;
  /* color: #64748b; */
  color: #1E3A8A;
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.dt-card .dataTables_wrapper {
  padding: 12px 14px 16px;
}

.dt-card table.dataTable thead th {
  background: #f8fafc;
}


.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

th,
td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}

th {
  background: #f8fafc;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}

tbody tr:hover {
  background: #f8fafc;
}

td.num {
  white-space: nowrap;
  color: #64748b;
}

td.link-cell {
  max-width: 280px;
}

td.link-cell a {
  color: #1E3A8A;
  word-break: break-all;
}

.alert {
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.alert.err {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert.info {
  background: #e0f2fe;
  color: #075985;
  border: 1px solid #bae6fd;
}

.empty {
  padding: 32px;
  text-align: center;
  color: #64748b;
}
.btn-light{
  border-color:#d3d4d5; 
  background-color: #d3d4d5; 
  color: #000;
}
.btn-danger { 
  border-color: #ff0000; 
  background: #ff0000; 
  color: #fff 
}
.gap-1{
  gap: 10px;
}
.d-flex{
  display: flex;
}
.align-items-center{
  align-items: center;
}
.justify-space-between{
  justify-content: space-between;
}

.loading{

  height: 10px;
  width: 10px;
  border: 3px solid #1E3A8A;
  border-bottom: 3px solid #ccc;
  border-radius: 100%;
  animation: girar 1s linear infinite;
  margin: 0 auto;
}

@keyframes girar {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
