.cz-ic-add {
  font-family: var(--e-global-typography-522d4d3-font-family, Inter, sans-serif) !important;
  font-size: var(--e-global-typography-522d4d3-font-size, 14px) !important;
  font-weight: var(--e-global-typography-522d4d3-font-weight, 600) !important;
  line-height: var(--e-global-typography-522d4d3-line-height, 1.3) !important;
  border-radius: 8px !important;
  padding: 12px 25px !important;
  color: var(--e-global-color-accent, #fff) !important;
  background-color: var(--e-global-color-b1e6b0d, #dc2626) !important;
  border-color: var(--e-global-color-b1e6b0d, #dc2626) !important;
  transition: all 0.2s !important;
  box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.3),
    0 4px 6px -4px rgba(239, 68, 68, 0.3) !important;
}

.cz-ic-add:hover,
.cz-ic-add:focus-visible {
  background-color: var(--e-global-color-secondary, #ed8e30) !important;
  border-color: var(--e-global-color-secondary, #ed8e30) !important;
}

.cz-ic-add:disabled {
  opacity: 0.7;
  cursor: wait;
}

.cz-ic-tab {
  font-family: var(--e-global-typography-522d4d3-font-family, Inter, sans-serif) !important;
  font-size: var(--e-global-typography-522d4d3-font-size, 14px) !important;
  font-weight: var(--e-global-typography-522d4d3-font-weight, 600) !important;
  line-height: var(--e-global-typography-522d4d3-line-height, 1.3) !important;
  border-radius: 8px !important;
  padding: 12px 25px !important;
  color: var(--e-global-color-accent, #fff) !important;
  background-color: var(--e-global-color-primary, #0164d9) !important;
  border-color: var(--e-global-color-primary, #0164d9) !important;
  transition: all 0.2s !important;
  box-shadow: 0 10px 15px -3px rgba(1, 100, 217, 0.3),
    0 4px 6px -4px rgba(1, 100, 217, 0.3) !important;
}

.cz-ic-tab:hover {
  background-color: var(--e-global-color-secondary, #ed8e30) !important;
  border-color: var(--e-global-color-secondary, #ed8e30) !important;
}

.cz-ic-table td,
.cz-ic-choose {
  text-align: center !important;
}

.cz-ic-tabs {
  gap: 8px;
  display: flex;
  flex-wrap: wrap;
}

.cz-ic-tabs button.is-active {
  background-color: var(--e-global-color-7fa6ab4, #0b3a73) !important;
  border-color: var(--e-global-color-7fa6ab4, #0b3a73) !important;
}

.cz-ic-provider-logo {
  max-width: 110px;
  width: 90px;
  height: auto;
  display: inline-block;
}

table.cz-ic-table td,
table.cz-ic-table th {
  border: none;
}

.cz-ic-table {
  width: 100%;
  border-collapse: collapse;
}

.cz-ic-table th,
.cz-ic-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  vertical-align: middle;
}

table.cz-ic-table thead {
  border-bottom: 1px solid #bcbcbc;
}

.cz-ic-error {
  padding: 10px;
  background: #fff3f3;
  border: 1px solid #ffd0d0;
  color: #7a1c1c;
  border-radius: 6px;
}

.cz-ic-note {
  margin: 8px 0;
  color: #6b7280;
  font-size: 13px;
}

.cz-ic-fee-note {
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.3;
}

.cz-ic-add {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  white-space: normal;
}

.cz-ic-add::after {
  content: attr(data-rate-label);
  font-size: 13px;
  opacity: 0.85;
  margin-top: 2px;
}

.cz-fc-dialog {
  border: none;
  border-radius: 12px;
  padding: 24px;
  max-width: 420px;
  width: calc(100% - 32px);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.15);
}

.cz-fc-dialog::backdrop {
  background: rgba(11, 14, 18, 0.45);
}

.cz-fc-dialog__title {
  margin: 0 0 12px;
  font-size: 18px;
}

.cz-fc-dialog__body {
  margin: 0 0 20px;
  color: #374151;
}

.cz-fc-dialog__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cz-fc-dialog__cancel {
  border-radius: 8px !important;
  padding: 12px 25px !important;
}

.cz-fc-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 721.98px) {
  .cz-ic-table thead {
    display: none;
  }

  .cz-ic-table,
  .cz-ic-table tbody,
  .cz-ic-table tr,
  .cz-ic-table td {
    display: block;
    width: 100%;
  }

  .cz-ic-table tbody tr {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 12px;
  }

  .cz-ic-table tbody tr td:not(.cz-ic-choose) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 6px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
  }

  .cz-ic-table tbody tr td:not(.cz-ic-choose)::before {
    flex: 0 0 auto;
    font-weight: 600;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    content: "";
  }

  .cz-ic-table tbody tr td:not(.cz-ic-choose):nth-child(1)::before { content: "Rata lunară"; }
  .cz-ic-table tbody tr td:not(.cz-ic-choose):nth-child(2)::before { content: "Total de plată"; }
  .cz-ic-table tbody tr td:not(.cz-ic-choose):nth-child(3)::before { content: "Dobânda"; }
  .cz-ic-table tbody tr td:not(.cz-ic-choose):nth-child(4)::before { content: "Finanțator"; }

  .cz-ic-table tbody tr td:not(.cz-ic-choose):nth-child(4) {
    border-bottom: 0;
    padding-bottom: 10px;
  }

  .cz-ic-table tbody tr td.cz-ic-choose {
    display: block;
    width: 100%;
    padding: 10px 6px 6px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    margin-top: 6px;
    text-align: left;
    box-sizing: border-box;
  }

  .cz-ic-table tbody tr td.cz-ic-choose .cz-ic-add {
    width: 100%;
    display: inline-flex;
    justify-content: center;
  }
}
