@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}

@page {
  size: A4 landscape;
  margin: 5mm;
}

/* ================= PRINT ================= */

.print-only {
  display: none;
}

@media print {
  .print-only {
    display: block;
  }

  body {
    background: #f5f5f5;
  }
}

/* ================= LAYOUT ================= */

.print-header {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
  align-items: stretch;
}

.print-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  padding: 12px;
}

/* ================= TITLES ================= */

.card-title {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.subtitle {
  font-size: 12px;
  color: #888;
}

/* ================= EFICIÊNCIA ================= */

.gauge-print {
  height: 120px;
}

.gauge-value {
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  margin-top: -12px;
}

.filters {
  font-size: 12px;
  color: #555;
  margin-top: 8px;
}

.card-eficiencia .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* ================= STATUS ================= */

.status-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: 92%;
}

.pie-print {
  width: 140px;
  height: 140px;
}

.status-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  margin-left: -18px !important;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.pendente {
  background: #ff9149;
}
.atrasada {
  background: #ff4961;
}
.concluida {
  background: #1565c0;
}
.atraso {
  background: #666ee8;
}
.dispensado {
  background: #7a7a7a;
}

/* ================= CONFIRMAÇÕES ================= */

.confirmacoes-list {
  list-style: none;
  margin: 0;
  font-size: 14px;
  padding: 0 16px;
}

.confirmacoes-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.confirmacoes-list li div {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 60%;
}

.icon {
  font-size: 18px;
}

.icon.circle {
  color: #aaa;
}
.icon.x {
  color: #f44336;
}
.icon.sync {
  color: #666ee8;
}
.icon.check {
  color: #28d094;
}

/* ================= TABELA ================= */

.card-table {
  margin-top: 20px;
}

.print-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.print-table th,
.print-table td {
  padding: 8px;
  border-bottom: 1px solid #eee;
}

.print-table th {
  font-weight: 600;
  color: #555;
}

.center {
  text-align: center;
}

/* ================= BADGES ================= */

.badge-status {
  border: 1px solid;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
}

.badge {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}

.badge.gray {
  color: #888;
  border: 1px solid #888;
}
.badge.blue {
  color: #666ee8;
  border: 1px solid #666ee8;
}
.badge.red {
  color: #ff4961;
  border: 1px solid #ff4961;
}
.badge.green {
  color: #28d094;
  border: 1px solid #28d094;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  border: 1px solid transparent;
}

.badgeStatus {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  border: 1px solid transparent;
}

.badgeStatus.orange {
  color: #ff9149;
  border-color: #ff9149;
  background: #fff5eb;
}
.badgeStatus.red {
  color: #ff4961;
  border-color: #ff4961;
  background: #ffecef;
}
.badgeStatus.blue {
  color: #1565c0;
  border-color: #1565c0;
  background: #eef4ff;
}
.badgeStatus.purple {
  color: #666ee8;
  border-color: #666ee8;
  background: #f2f3ff;
}
.badgeStatus.gray {
  color: #7a7a7a;
  border-color: #7a7a7a;
  background: #f5f5f5;
}
