/* MQ Cripto Compliance — estilos custom */

:root {
  --mq-dark: #0d1b2a;
  --mq-darker: #061018;
  --mq-mid: #1b263b;
  --mq-light: #415a77;
  --mq-text: #e0e1dd;
  --mq-accent: #ffc107;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: #f4f5f7;
  color: #1f2933;
  font-size: 14px;
}

main.container-fluid {
  max-width: 1400px;
}

h1, h2, h3, h4, h5, h6 {
  color: #0d1b2a;
  font-weight: 600;
}

h2 {
  font-size: 1.5rem;
}

.navbar-brand {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.navbar-dark .nav-link {
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem !important;
}

.navbar-dark .nav-link:hover {
  color: #ffc107 !important;
}

/* Cards */
.card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.card-header {
  background: #fafbfc;
  border-bottom: 1px solid #e5e7eb;
  font-weight: 600;
}

/* KPI cards */
.kpi-card {
  border-left: 4px solid var(--mq-accent);
  transition: transform 0.15s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.kpi-card .display-6 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 4px 0;
}

/* Tables */
.table {
  font-size: 0.875rem;
}

.table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: #6b7280;
  border-bottom: 2px solid #e5e7eb;
}

.table-hover tbody tr:hover {
  background: #fffbeb;
}

/* Forms */
.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 0.25rem;
}

.form-control, .form-select {
  font-size: 0.875rem;
  border-color: #d1d5db;
}

.form-control:focus, .form-select:focus {
  border-color: var(--mq-accent);
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.15);
}

/* Buttons */
.btn-warning {
  background: var(--mq-accent);
  border-color: var(--mq-accent);
  color: #0d1b2a;
  font-weight: 600;
}

.btn-warning:hover {
  background: #e0a800;
  border-color: #e0a800;
  color: #0d1b2a;
}

/* Badges */
.badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
}

/* Section headings inside forms */
form h5.text-warning {
  color: #0d1b2a !important;
  font-size: 1rem;
  border-bottom: 2px solid #ffc107;
  padding-bottom: 6px;
  margin-top: 8px;
  margin-bottom: 16px;
}

form h5.text-warning i {
  color: #ffc107;
}

form h6.text-muted {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
}

/* Alerts */
.alert {
  border: none;
  border-left: 4px solid;
  border-radius: 6px;
  font-size: 0.9rem;
}

.alert-success { border-left-color: #198754; background: #d1e7dd; }
.alert-danger  { border-left-color: #dc3545; background: #f8d7da; }
.alert-warning { border-left-color: #ffc107; background: #fff3cd; }
.alert-info    { border-left-color: #0dcaf0; background: #cff4fc; }

/* Footer */
footer {
  background: #fafbfc;
  font-size: 0.75rem;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  main.container-fluid { padding: 1rem; }
  .kpi-card .display-6 { font-size: 1.4rem; }
  h2 { font-size: 1.25rem; }
}
