/* Acoes compartilhadas do modulo financeiro. */
.financeiro-action,
.financeiro-modal .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 38px;
  padding: .45rem .85rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}

.financeiro-action img,
.financeiro-action i,
.financeiro-modal .btn img,
.financeiro-modal .btn i {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  font-size: 18px;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
}

.btn-group-sm > .btn img,
.btn-group > .btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
}

.financeiro-modal .modal-content {
  border-radius: 14px;
  overflow: hidden;
}

.financeiro-modal .modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
  flex-wrap: wrap;
}

.financeiro-modal .btn-secondary {
  background: #eef2f7;
  border-color: #d6dee8;
  color: #40546b;
}

.financeiro-modal .btn-secondary:hover,
.financeiro-modal .btn-secondary:focus {
  background: #e2e8f0;
  border-color: #c5d0dd;
  color: #26384c;
}

.financeiro-modal .btn-primary,
.financeiro-modal .btn-success,
.financeiro-modal .btn-danger,
.financeiro-modal .btn-warning {
  border-width: 1px;
}

.financeiro-modal .btn-primary {
  background: #e9f0ff;
  border-color: #c9dbff;
  color: #1f4271;
}

.financeiro-modal .btn-primary:hover,
.financeiro-modal .btn-primary:focus {
  background: #d4e3ff;
  border-color: #b3cdff;
  color: #1f4271;
}

.financeiro-modal .btn-success {
  background: #e6f6eb;
  border-color: #bfe5c9;
  color: #216238;
}

.financeiro-modal .btn-success:hover,
.financeiro-modal .btn-success:focus {
  background: #d4efdc;
  border-color: #a6d7b4;
  color: #174b29;
}

.financeiro-modal .btn-danger {
  background: #fdeaea;
  border-color: #f4c4c4;
  color: #9d2929;
}

.financeiro-modal .btn-danger:hover,
.financeiro-modal .btn-danger:focus {
  background: #f9dada;
  border-color: #eda9a9;
  color: #7e1f1f;
}

.financeiro-modal .btn-warning {
  background: #fff4d8;
  border-color: #f1d58a;
  color: #805d00;
}

.financeiro-modal .btn-warning:hover,
.financeiro-modal .btn-warning:focus {
  background: #ffedb8;
  border-color: #e8c765;
  color: #674b00;
}

.financeiro-modal .modal-footer .btn:focus-visible,
.financeiro-action:focus-visible {
  outline: 3px solid rgba(31, 66, 113, .25);
  outline-offset: 2px;
}

@media (max-width: 576px) {
  .financeiro-modal .modal-footer .btn {
    flex: 1 1 auto;
  }
}
