/* file input análise */

.label-anaysis-input-xml {
  border-left: 5px solid #28a745;
  padding-left: 5px;
}

.label-anaysis-input-txt {
  border-left: 5px solid rgb(255 100 100);
  padding-left: 5px;
}

.send-analysis-xml {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
}

.send-analysis-txt {
  background-color: rgb(255 100 100) !important;
  border-color: rgb(255 100 100) !important;
}

.send-analysis-ai {
  background-color: rgb(0, 95, 173) !important;
  border-color: rgb(0, 95, 173) !important;
  margin-top: 0px !important;
}

.tributo-valor-sugerido {
  color: green;
}

.separator-analysis {
  position: relative;
  width: 100%;
  height: 2px;
  margin-top: 50px;
  margin-bottom: 50px;
  background-color: #adadad;
}

.separator-analysis p {
  position: absolute;
  top: -10px;
  left: calc(50% - 26px);
  margin: 0;
  padding-left: 5px;
  padding-right: 5px;
  background: white;
}

.send-analysis-button {
  width: 100%;
  margin-top: 50px;
  margin-bottom: 10px;
  border-radius: 0px;
}

#sending-analysis {
  display: none;
  justify-content: center;
  margin-top: 20px;
}

#sending-analysis p {
  margin-bottom: 5px;
}

.analysis-result-title {
  margin-top: 60px;
  margin-bottom: 15px;
}

.total-label {
  font-weight: bold;
}

#table-actions {  
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

#table-actions .base-button {
  min-width: 130px;
  height: 30px;
  padding: 0 15px;
  border: 0;
  cursor: pointer;
}

#table-actions .excel-button {
  background: #00731a;
}

#table-actions .print-button {
  background: #6b7177;
}

#table-actions .save-products-button {
  background: #6b7177;
}

#table-actions .base-button span {
  padding-left: 7px;
  color: #ffffff
}

#table-actions .button-separator {
  width: 10px;
}

#data-table-products-ai td {
  vertical-align: top;
}

.product-status {
  width: 16px;
  height: 16px;
  display: block;
  border-radius: 8px;
  margin: 0 auto;
}

.product-status-valid {
  background: #3AAE3A;
}

.product-status-invalid {
  background: #DC5F5F;
}

.product-status-not-conciliate {
  background: #008BFF;
}

#analysys-information {
  display: flex;
  flex: 1;
  align-items: center;
}

#analysys-information label {
  font-weight: bold;
  margin: 0;
}

#analysys-information p {
  margin-right: 25px;
  margin-left: 5px;
  margin-bottom: 0;
  color: black;
}

#modal-invalid-files .separator {
  display: block;
  height: 1px;
  width: 100%;
  background-color: #dadada;
}

#modal-invalid-files p {
  margin: 10px 0;
}

#anaylis-info-invalid-nfes-card {
  cursor: pointer;
}

#data-table-products .product-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 140px;
}

.feedback-button {
  background: #0d6efd;
  border: none;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.feedback-button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.feedback-existing-list {
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  padding: 10px;
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 15px;
}

.feedback-item {
  border-bottom: 1px solid #e1e1e1;
  padding: 10px 0;
}

.feedback-item:last-child {
  border-bottom: none;
}

.feedback-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.feedback-item-tipo {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 12px;
  color: #fff;
}

.feedback-item-tipo.positivo {
  background: #28a745;
}

.feedback-item-tipo.negativo {
  background: #dc3545;
}

.feedback-item-tipo.sugestao {
  background: #ffc107;
  color: #333;
}

.feedback-item-tipo.geral {
  background: #0d6efd;
}

.feedback-item-tipo.produto {
  background: #17a2b8;
}

.feedback-item-data {
  font-size: 11px;
  color: #777;
}

.feedback-item-usuario {
  font-size: 12px;
  color: #555;
  margin-bottom: 5px;
  font-weight: 500;
}

.feedback-item-comentario {
  font-size: 13px;
  color: #333;
  margin-top: 5px;
  line-height: 1.4;
}

.feedback-product-selected {
  font-weight: 600;
  margin-bottom: 10px;
}

@media (min-width: 576px) {
  #modal-invalid-files .modal-dialog {
    max-width: 700px;
  }

  #modal-feedback .modal-dialog {
    max-width: 700px;
  }
}
