/* ========== Cupons (aba Garantia) ========== */
.cupom-form-card, .cupom-lista-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.cupom-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cupom-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cupom-row label {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  gap: 4px;
}

.cupom-row input[type="text"],
.cupom-row input[type="number"],
.cupom-row input[type="date"],
.cupom-row select {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
}

.cupom-row input:focus,
.cupom-row select:focus {
  outline: none;
  border-color: #2d7a4f;
  box-shadow: 0 0 0 3px rgba(45,122,79,.12);
}

.cupom-desconto-grp {
  display: flex;
  gap: 8px;
}
.cupom-desconto-grp input { flex: 2; }
.cupom-desconto-grp select { flex: 3; }

.cupom-aviso {
  background: #fff8dc;
  border-left: 3px solid #e0a800;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: #7a5a00;
  margin-top: 8px;
}

#cupom-avancado {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cupom-tabela {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.cupom-tabela th,
.cupom-tabela td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.cupom-tabela th {
  background: #f8f9fa;
  font-weight: 600;
  color: #555;
  font-size: 13px;
}
.cupom-tabela tr:hover {
  background: #fafafa;
}
.btn-cupom-deletar {
  background: #fee;
  border: 1px solid #fbb;
  color: #c00;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.btn-cupom-deletar:hover {
  background: #fdd;
}

@media (max-width: 640px) {
  .cupom-row { flex-direction: column; gap: 10px; }
  .cupom-tabela { font-size: 12px; }
  .cupom-tabela th, .cupom-tabela td { padding: 6px 4px; }
}
