/* FinanKey 1.5.4 — exclusão segura e reversível no planejamento */
.forecast-account-copy > div {
  justify-content: space-between;
}

.forecast-account-tools {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.forecast-delete-account {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #ff9c9c;
  background: #1d1112;
  border: 1px solid #ff6f6f26;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.forecast-delete-account:hover,
.forecast-delete-account:focus-visible {
  color: #fff;
  background: #8f272d;
  border-color: #ff8585;
  outline: none;
}

.forecast-delete-account svg {
  width: 14px;
  height: 14px;
}

.forecast-restore-accounts {
  min-height: 34px;
  padding: 0 12px;
  color: #bcbcb7;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.forecast-restore-accounts:hover,
.forecast-restore-accounts:focus-visible {
  color: #fff;
  outline: none;
}

.forecast-restore-accounts:disabled {
  opacity: .55;
  cursor: wait;
}

@media (max-width: 819px) {
  .forecast-restore-accounts {
    width: 100%;
    text-align: left;
  }
}

/* Pagamento rápido e progresso de compras parceladas */
.bill-installment-progress {
  display: block;
  margin-top: 5px;
  color: #9bd7b4;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .01em;
}

.bill-batch-pay {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  color: #bdbdb8;
  background: #090909;
  border: 1px solid #292929;
  border-radius: 14px;
  font-size: 11px;
  white-space: nowrap;
}

.bill-batch-pay input {
  width: 50px;
  height: 30px;
  padding: 0 6px;
  color: #fff;
  background: #151515;
  border: 1px solid #363636;
  border-radius: 9px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.bill-batch-pay input:focus {
  border-color: #6fe99f;
  outline: 2px solid #6fe99f24;
}

@media (max-width: 980px) {
  .monthly-bill-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .monthly-bill-actions {
    grid-column: 2 / -1;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .monthly-bill-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .bill-batch-pay {
    width: 100%;
    max-width: 100%;
    grid-column: 1 / -1;
    justify-content: center;
    box-sizing: border-box;
  }

  .bill-status-toggle {
    width: 100%;
    min-width: 0;
    grid-column: 1;
    justify-content: center;
  }

  .bill-edit-button {
    grid-column: 2;
  }
}
