:root {
  --primary: #078ED0;
  --primary-rgb: 7, 142, 208;
  --primary-shade: #067db7;
  --primary-tint: #2099d5;

  --secondary: #131313;
  --secondary-rgb: 19, 19, 19;
  --secondary-shade: #111111;
  --secondary-tint: #2b2b2b;

  --cinza-claro: #E4E4E4;

  --texto-principal: #444444;
  --texto-secundario: #8D8D8D;

  --background: #EFEFEF;
}

/* BUTTONs */
a {
  color: var(--primary);
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.btn-primary {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  color: #fff;
  background-color: var(--primary-tint);
  border-color: var(--primary-shade);
}

.btn-primary:focus,
.btn-primary.focus {
  color: #fff;
  background-color: var(--primary-tint);
  border-color: var(--primary-shade);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.5);
}

.btn-primary.disabled,
.btn-primary:disabled {
  color: #fff;
  background-color: var(--primary-tint);
  border-color: var(--primary-tint);
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: var(--primary-shade);
  border-color: var(--primary-tint);
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.5);
}

.btn-secondary {
  color: #fff;
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  color: #fff;
  background-color: var(--secondary-tint);
  border-color: var(--secondary-shade);
}

.btn-secondary:focus,
.btn-secondary.focus {
  color: #fff;
  background-color: var(--secondary-tint);
  border-color: var(--secondary-shade);
  box-shadow: 0 0 0 0.2rem rgba(var(--secondary-rgb), 0.5);
}

.btn-secondary.disabled,
.btn-secondary:disabled {
  color: #fff;
  background-color: var(--secondary-tint);
  border-color: var(--secondary-tint);
}

.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
  color: #fff;
  background-color: var(--secondary-shade);
  border-color: var(--secondary-tint);
}

.btn-secondary:not(:disabled):not(.disabled):active:focus,
.btn-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--secondary-rgb), 0.5);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:focus,
.btn-outline-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.5);
}

.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
  color: var(--primary);
  background-color: transparent;
}

.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.5);
}

.btn-outline-secondary {
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline-secondary:hover {
  color: #fff;
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline-secondary:focus,
.btn-outline-secondary.focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--secondary-rgb), 0.5);
}

.btn-outline-secondary.disabled,
.btn-outline-secondary:disabled {
  color: var(--secondary);
  background-color: transparent;
}

.btn-outline-secondary:not(:disabled):not(.disabled):active,
.btn-outline-secondary:not(:disabled):not(.disabled).active,
.show > .btn-outline-secondary.dropdown-toggle {
  color: #fff;
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,
.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--secondary-rgb), 0.5);
}

.btn .spinner-border {
  width: 1.2rem;
  height: 1.2rem;
}

.btn-link {
  color: var(--secondary);
}

.btn-link:hover {
  color: var(--secondary-shade);
}

.btn-link:focus {
  box-shadow: 0 0 0 .2rem rgba(var(--secondary-rgb), .25);
}

.btn-link:disabled, .btn-link.disabled {
  color: var(--secondary-tint);
}

/* INPUTS */
.custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: var(--primary);
  background-color: var(--primary);
}

.custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25);
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
  border-color: var(--primary);
  background-color: var(--primary);
}

.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: rgba(var(--primary-rgb), 0.5);
}

.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before {
  background-color: rgba(var(--primary-rgb), 0.5);
}

.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: rgba(var(--primary-rgb), 0.5);
}

.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: rgba(var(--primary-rgb), 0.5);
}

.form-group label {
  color: var(--texto-principal);
}

.form-control::placeholder {
  color: var(--texto-secundario);
}

.form-control {
  color: var(--texto-principal);
}

/* TEXTs */
.text-primary {
  color: var(--primary) !important;
}

a.text-primary:hover,
a.text-primary:focus {
  color: var(--primary-tint) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

a.text-secondary:hover,
a.text-secondary:focus {
  color: var(--secondary-tint) !important;
}

/* BACKGROUNDs */
.bg-gradient-primary {
  background-color: var(--primary);
  background-image: linear-gradient(180deg, var(--primary) 10%, var(--primary-shade) 100%);
  background-size: cover;
}

.bg-gradient-secondary {
  background-color: var(--secondary);
  background-image: linear-gradient(180deg, var(--secondary) 10%, var(--secondary-shade) 100%);
  background-size: cover;
}

.bg-gradient-secondary-light {
  background: linear-gradient(180deg, rgba(var(--secondary-rgb), 0) 0%, rgba(var(--secondary-rgb), 0.5) 100%);
}

.bg-onboard {
  background-color: var(--background);
  background-image: url('/img/background-plantacao.webp');
  background-size: cover;
  background-position: top center;
}

.bg-filtrando {
  background-color: rgba(var(--primary-rgb), .01);
  background-image: linear-gradient(180deg, rgba(var(--primary-rgb), .01) 10%, rgba(var(--primary-rgb), .2) 100%);
  background-size: cover;
}

/* BORDERS */
.border-left-primary {
  border-left: 0.25rem solid var(--primary) !important;
}

.border-bottom-primary {
  border-bottom: 0.25rem solid var(--primary) !important;
}

.border-left-secondary {
  border-left: 0.25rem solid var(--secondary) !important;
}

.border-bottom-secondary {
  border-bottom: 0.25rem solid var(--secondary) !important;
}

/* TOPBAR NAVBAR */
.dropdown-item.active, .dropdown-item:active {
  background-color: var(--primary);
}

.dropdown-item:focus, .dropdown-item:hover {
  background-color: var(--primary-tint);
  color: #fff;
}

/* SIDEBAR */
.sidebar.bg-gradient-secondary .nav-item.active .nav-link {
  background-color: var(--secondary-tint);
}
@media (min-width: 768px) {
  .sidebar.toggled .nav-item .nav-link span.badge {
      display: inline;
  }
}

/* FOOTER */
footer.sticky-footer {
  padding: 1rem 0;
}

/* NAVBAR TABs */
.nav-tabs.nav-tabs-primary .nav-link {
  color: var(--texto-secundario);
  background-color: transparent;
  border: 1px solid var(--cinza-claro);
}

.nav-tabs.nav-tabs-primary .nav-item.show .nav-link,
.nav-tabs.nav-tabs-primary .nav-link.active {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary-shade);
}

.nav-tabs.nav-tabs-primary .nav-link:focus,
.nav-tabs.nav-tabs-primary .nav-link:hover {
  color: #fff;
  background-color: var(--primary-tint);
  border-color: var(--primary-shade);
}

/* CARDs */
.card-header {
  background-color: #FFF;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
}

.min-h-100vh {
  min-height: 100vh !important;
}

.noresize {
  resize: none !important;
}

.text-decoration-underline {
  text-decoration: underline;
}

.card-body .dropzone {
  border: 1px solid var(--secondary);
  border-radius: .35rem;
}

.invalid-form,
.invalid-image {
  border: 1px solid #ff0000;
}

.nav-tabs {
  border-bottom: 0px;
}

#pager {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  gap: 4px;
}

#pager .stepper-before,
#pager .stepper-next,
#pager .stepper {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 0.25rem 0.5rem;
  font-size: .875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  color: var(--secondary);
  border: 1px solid var(--secondary-tint);
  cursor: pointer;
}

#pager .stepper-before:hover,
#pager .stepper-next:hover,
#pager .stepper:hover,
#pager .stepper-active {
  color: var(--cinza-claro);
  background-color: var(--secondary-tint);
}

/* Login */
.bg-onboard {
  background-color: var(--primary);
  background-image: url('/img/background-predio.png');
  background-size: cover;
  background-position: bottom;
}

.bg-login-image, .bg-password-image {
  background-image: url('./img/alphacode_quadrado.jpg');
}

#login-subtitle {
  max-width: 293px;
  margin: auto;
}

.footer-login p {
  color: #FFFFFF;
  font-size: small;
}
.footer-login img {
  height: 23px;
}

/*
 * CredBoa admin — telas de auth (Login 19858:22376, Esqueci senha 19858:25042,
 * Nova senha 19858:25053, modal código 19858:25069).
 * Fundo: login-bg-credboa.png (frame com blur + overlay verde).
 * Card: branco 48px padding, gap 72px, raio 8px, sombra 0 0 14px #3A3B451A,
 * coluna formulário 355px; inputs 36px; botão primário #7a51a0; secundário outline.
 */
body.credboa-admin-login {
  margin: 0;
  min-height: 100vh;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Fundo: export do Figma frame 19858:22377 (dashboard + blur + overlay verde). */
.credboa-admin-login__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #e9f3e8;
  background-image: url('/img/restrito/login-bg-credboa.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none;
}

.credboa-admin-login__shell {
  position: relative;
  z-index: 1;
}

.credboa-admin-login__footer p {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.credboa-admin-login-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 72px;
  padding: 48px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(58, 59, 69, 0.1);
}

.credboa-admin-login-card__brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.credboa-admin-login-card__logo {
  display: block;
  width: min(364px, 72vw);
  height: auto;
}

.credboa-admin-login-card__form {
  flex-shrink: 0;
  width: 100%;
  max-width: 355px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.credboa-admin-login-card__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
  color: #121212;
}

.credboa-admin-login-card__subtitle {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #121212;
}

.credboa-admin-login-card__block {
  width: 100%;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(209, 211, 226, 0.5);
}

.credboa-admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 0;
}

.credboa-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  text-align: left;
}

.credboa-field__label {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #121212;
}

.credboa-field__input {
  box-sizing: border-box;
  width: 100%;
  height: 36px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.5px;
  color: #121212;
  background: #fff;
  border: 1px solid #d1d3e2;
  border-radius: 24px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.credboa-field__input::placeholder {
  color: #73726f;
}

.credboa-field__input:focus {
  border-color: #7a51a0;
  box-shadow: 0 0 0 3px rgba(122, 81, 160, 0.15);
}

.credboa-field__password-wrap {
  position: relative;
  width: 100%;
}

.credboa-field__password-wrap .credboa-field__input {
  padding-right: 44px;
}

.credboa-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: #73726f;
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.credboa-password-toggle:hover {
  color: #5a5a58;
  background-color: rgba(115, 114, 111, 0.08);
}

.credboa-password-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(122, 81, 160, 0.35);
}

.credboa-password-toggle .fas {
  font-size: 16px;
  line-height: 1;
}

.credboa-login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 38px;
  margin-top: 0;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  color: #fff !important;
  background: #7a51a0;
  border: none;
  border-radius: 24px;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
  cursor: pointer;
  transition: background-color 0.15s ease, filter 0.15s ease;
}

.credboa-login-submit:hover {
  filter: brightness(1.05);
  color: #fff !important;
  text-decoration: none;
}

.credboa-login-submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(122, 81, 160, 0.35), 0 0 3px rgba(58, 59, 69, 0.1);
}

.credboa-login-forgot {
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  color: #7a51a0 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.credboa-login-forgot:hover {
  color: #623d82 !important;
}

/* Botão secundário (outline) — Esqueci senha / Nova senha / Modal */
.credboa-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 38px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  text-decoration: none !important;
  color: #7a51a0 !important;
  background: #fff;
  border: 1px solid #7a51a0;
  border-radius: 24px;
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.1);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, filter 0.15s ease;
}

.credboa-btn-outline:hover {
  filter: brightness(0.98);
  color: #623d82 !important;
  border-color: #623d82;
}

.credboa-btn-outline:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(122, 81, 160, 0.25), 0 0 6px rgba(58, 59, 69, 0.1);
}

/* Link textual 12px roxo (ex.: "Já tem um código?") */
.credboa-auth-textlink {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  color: #7a51a0;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.credboa-auth-textlink:hover {
  color: #623d82;
  text-decoration: underline;
}

.credboa-auth-subtext {
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  color: #7a51a0 !important;
  text-decoration: none !important;
}

.credboa-auth-subtext:hover {
  color: #623d82 !important;
  text-decoration: underline !important;
}

/* Modal código (Figma 19858:25069) */
.credboa-modal-codigo .modal-dialog {
  max-width: 448px;
  margin: 1rem auto;
}

.credboa-modal-codigo .modal-content {
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(58, 59, 69, 0.1);
}

.credboa-modal-codigo__body {
  padding: 48px 54px;
}

.credboa-modal-codigo__title {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
  color: #121212;
  text-align: center;
}

.credboa-modal-codigo__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: stretch;
  margin-top: 24px;
  width: 100%;
}

.credboa-modal-codigo__actions .credboa-btn-outline,
.credboa-modal-codigo__actions .credboa-login-submit {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}

.modal-backdrop.credboa-modal-backdrop.show {
  background-color: #35373b;
  opacity: 0.85;
}

@media (max-width: 575.98px) {
  .credboa-modal-codigo__body {
    padding: 32px 24px;
  }

  .credboa-modal-codigo__actions {
    flex-direction: column;
  }
}

/* Modal formulário — Figma parcela paga (19858:23940) */
.credboa-modal-form .modal-dialog {
  max-width: 520px;
  margin: 1rem auto;
}

.credboa-modal-form .modal-content {
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(58, 59, 69, 0.1);
  overflow: hidden;
}

.credboa-modal-form__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 0;
  border-bottom: none;
}

.credboa-modal-form__title {
  margin: 0;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #121212;
}

.credboa-modal-form__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  color: #858796;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.credboa-modal-form__close:hover,
.credboa-modal-form__close:focus {
  color: #73726f;
  outline: none;
}

.credboa-modal-form__body {
  padding: 24px;
}

.credboa-modal-form__body .form-group {
  margin-bottom: 20px;
}

.credboa-modal-form__footer {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  padding: 0 24px 24px;
  border-top: none;
}

.credboa-modal-form__footer .credboa-modal-form__btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 40px;
  margin: 0;
}

@media (max-width: 575.98px) {
  .credboa-modal-form__header,
  .credboa-modal-form__body,
  .credboa-modal-form__footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .credboa-modal-form__footer {
    flex-direction: column;
  }
}

@media (max-width: 991.98px) {
  .credboa-admin-login-card {
    flex-direction: column;
    gap: 40px;
    padding: 32px 24px;
  }
}

.div-olho-senha {
  height: 0;
}

.div-olho-senha img#olho-senha {
  width: 25px;
  margin-right: 20px;
  margin-left: 0px;
  border: none;
  cursor: pointer;
  transform: translateY(-50%);
  margin-top: calc(calc(1.5em + 4rem + 2px) * -1);
}

form.user select.form-control-user {
  font-size: 0.8rem;
  border-radius: 10rem;
  padding: .375rem .75rem;
  height: 3.1rem;
}

::-webkit-calendar-picker-indicator {
  border-radius: 50%;
  margin-left: 0.1rem;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

::-webkit-calendar-picker-indicator:hover {
  -webkit-box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
}

#barra-hml {
  background-color: #ff0000;
  color: #ffffff;
  padding: 3px 10px;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* USUÁRIOS */
.img-avatar {
  position: relative;
  top: 0;
  left: 10px;
  width: 180px !important;
  height: 180px !important;
  border-radius: 50%;
  margin: 0px !important;
  cursor: pointer;
  object-fit: cover;
  margin-bottom: 30px !important;
  color: var(--primary);
}
/* FIM USUÁRIOS */

/* MULTISELECT */
span.multiselect-native-select select {
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  margin: -1px -1px -1px -3px !important;
  overflow: hidden !important;
  padding: 0.5rem !important;
  position: absolute !important;
  width: 1px !important;
  left: 50%;
  top: 30px;
}

select.form-control[multiple] {
  border-radius: 16px;
  background-color: #fff;
  border: 1px solid #ced4da;
}

span.multiselect-native-select .btn-group-vertical > .btn,
.btn-group > .btn {
  /* border-radius: 16px; */
  background-color: #fff;
  border: 1px solid #ced4da;
}

span.multiselect-native-select ul {
  width: 100%;
  padding: 10px 20px 0px 20px;
}

span.multiselect-native-select .multiselect-container label {
  width: 100%;
  cursor: pointer;
}

span.multiselect-native-select .btn-group-vertical > .btn,
.btn-group > .btn .disabled {
  background-color: #eaecf4;
  color: #6e707e;
}

span.multiselect-native-select .btn-group-vertical > .btn.disabled,
.btn-group > .btn.disabled {
  background-color: #eaecf4 !important;
  color: #6e707e;
  opacity: 1;
}
/* FIM MULTISELECT */

/* INPUT FILE */
input[type="file"] {
  padding: 0 0.75rem 0 0;
}

input[type="file"]::file-selector-button {
  background-color: #dde0e3;
  /* background-color: var(--primary); */
  color: #000;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: 0.3s;
  height: 100%;
  padding: 0.375rem;
  margin: 0 0.375rem 0 0;
}

input[type="file"]::file-selector-button:hover {
  background-color: #9d9fa1;
  color: #fff;
}
/* FIM INPUT FILE */

/* SWAL2 */
.swal2-styled.swal2-confirm {
  border: 0;
  border-radius: 0.25em;
  background: initial;
  background-color: var(--primary);
  color: #fff;
  font-size: 1em;
}
.swal2-styled.swal2-confirm:focus {
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.5);
}

/* Modal CredBoa — Figma Admin Modal (19858:24843) */
.credboa-swal-modal.swal2-popup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 480px;
  padding: 20px;
  background: #fcfcfc;
  border-radius: 8px;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
  font-family: 'Lato', 'Nunito', sans-serif;
}

.credboa-swal-modal .swal2-html-container {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  overflow: visible;
}

.credboa-swal-modal__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.credboa-swal-modal__icon-img {
  display: block;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}

.credboa-swal-modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.credboa-swal-modal__title {
  margin: 0;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  color: #121212;
}

.credboa-swal-modal__text {
  margin: 0;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #73726f;
}

.credboa-swal-modal__close.swal2-close {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: 0;
  padding: 16px;
  font-size: 24px;
  line-height: 1;
  color: #121212;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: opacity 0.15s ease;
}

.credboa-swal-modal__close.swal2-close:hover,
.credboa-swal-modal__close.swal2-close:focus {
  color: #121212;
  background: transparent;
  opacity: 0.7;
  box-shadow: none;
}

.credboa-swal-modal__actions.swal2-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.credboa-swal-modal__btn.swal2-styled {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  margin: 0 !important;
}

.credboa-swal-modal__btn-cancel {
  min-height: 38px;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.1);
}

.credboa-swal-modal__btn-confirm {
  min-height: 38px;
  border-radius: 8px;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
}
/* FIM SWAL2 */

/* Admin sidebar CredBoa — Figma Menu Admin (19858:25828 / 25830 / 25852) */
#accordionSidebar.sidebar-credboa {
  --credboa-sidebar-muted: #73726f;
  --credboa-sidebar-accent: #7a51a0;
  --credboa-sidebar-active-bg: #f5f1f8;
  background: #fff !important;
  background-image: none !important;
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.1);
  font-family: 'Lato', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--credboa-sidebar-muted);
}

#accordionSidebar.sidebar-credboa > .sidebar-credboa__brand-row {
  list-style: none;
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 768px) {
  #accordionSidebar.sidebar-credboa:not(.toggled) .nav-item .nav-link {
    width: 100% !important;
    box-sizing: border-box;
  }
}

#accordionSidebar.sidebar-credboa a.sidebar-credboa__brand.sidebar-brand {
  height: auto !important;
  min-height: 0;
  overflow: visible;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  box-sizing: border-box;
  width: 100%;
}

@media (min-width: 768px) {
  #accordionSidebar.sidebar-credboa:not(.toggled) a.sidebar-credboa__brand.sidebar-brand {
    padding: 23.521px 15.681px;
    min-height: 80px;
    align-items: center;
    justify-content: center;
  }

  #accordionSidebar.sidebar-credboa.toggled a.sidebar-credboa__brand.sidebar-brand {
    padding: 8px 10px;
    min-height: 80px;
  }
}

@media (max-width: 767.98px) {
  #accordionSidebar.sidebar-credboa a.sidebar-credboa__brand.sidebar-brand {
    padding: 16px 12px;
    min-height: 72px;
  }
}

#accordionSidebar.sidebar-credboa .sidebar-credboa__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

#accordionSidebar.sidebar-credboa .sidebar-credboa__logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

#accordionSidebar.sidebar-credboa .sidebar-credboa__logo--expanded {
  max-width: 143px;
  width: 100%;
  max-height: 46px;
}

#accordionSidebar.sidebar-credboa .sidebar-credboa__logo--compact {
  display: none;
  object-fit: contain;
}

@media (min-width: 768px) {
  #accordionSidebar.sidebar-credboa:not(.toggled) .sidebar-credboa__logo-wrap {
    position: relative;
  }

  #accordionSidebar.sidebar-credboa:not(.toggled) .sidebar-credboa__logo--expanded {
    position: relative;
    visibility: visible;
    clip: auto;
    left: auto;
    width: auto !important;
    height: auto !important;
    overflow: visible;
  }

  #accordionSidebar.sidebar-credboa.toggled .sidebar-credboa__logo--expanded {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    pointer-events: none !important;
  }

  #accordionSidebar.sidebar-credboa.toggled .sidebar-credboa__logo--compact {
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    left: auto !important;
    max-width: 53px;
    max-height: 52px;
  }

  #accordionSidebar.sidebar-credboa.toggled .sidebar-credboa__logo-wrap {
    position: relative;
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    margin: 0 auto;
    overflow: visible;
  }
}

@media (max-width: 767.98px) {
  #accordionSidebar.sidebar-credboa .sidebar-credboa__logo--compact {
    display: none !important;
  }

  #accordionSidebar.sidebar-credboa .sidebar-credboa__logo--expanded {
    display: block !important;
    max-width: min(143px, 88vw);
    max-height: 46px;
  }
}

#accordionSidebar.sidebar-credboa hr.sidebar-divider {
  display: none !important;
  margin: 0 !important;
  border: 0 !important;
  height: 0 !important;
  visibility: hidden !important;
}

#accordionSidebar.sidebar-credboa .nav-item .nav-link {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 6px;
  color: var(--credboa-sidebar-muted) !important;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 400;
  box-sizing: border-box;
  background: transparent !important;
  border-right: 2px solid transparent;
}

#accordionSidebar.sidebar-credboa .nav-item .nav-link:focus {
  box-shadow: none !important;
  outline: 0;
}

@media (min-width: 768px) {
  #accordionSidebar.sidebar-credboa:not(.toggled) .nav-item .nav-link {
    padding: 20px 16px;
    min-height: 68px;
  }

  #accordionSidebar.sidebar-credboa:not(.toggled) .nav-item .nav-link span {
    font-size: 12px;
    line-height: 15.6px;
    white-space: nowrap;
  }
}

#accordionSidebar.sidebar-credboa .nav-item .nav-link svg.sidebar-credboa-menu-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  overflow: hidden;
  filter: none !important;
  box-shadow: none !important;
}

#accordionSidebar.sidebar-credboa .nav-item .nav-link svg.sidebar-credboa-menu-icon image {
  filter: none !important;
}

#accordionSidebar.sidebar-credboa .nav-item .nav-link i {
  color: var(--credboa-sidebar-muted);
  width: 20px;
  text-align: center;
  text-shadow: none !important;
  filter: none !important;
}

@media (min-width: 768px) {
  #accordionSidebar.sidebar-credboa.toggled .nav-item .nav-link {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    min-height: 68px;
    padding: 16px;
    text-align: center;
  }

  #accordionSidebar.sidebar-credboa.toggled .nav-item .nav-link span {
    font-size: 12px;
    line-height: 15.6px;
    white-space: normal;
    text-align: center;
    display: block;
  }

  #accordionSidebar.sidebar-credboa.toggled .nav-item .nav-link svg.sidebar-credboa-menu-icon {
    margin-right: 0;
    margin-bottom: 0;
  }

  #accordionSidebar.sidebar-credboa.toggled .nav-item .nav-link i {
    margin-right: 0 !important;
  }
}

#accordionSidebar.sidebar-credboa .nav-item .nav-link:hover {
  color: var(--credboa-sidebar-accent) !important;
  background-color: rgba(115, 114, 111, 0.06) !important;
}

#accordionSidebar.sidebar-credboa .nav-item.active .nav-link {
  color: var(--credboa-sidebar-accent) !important;
  font-weight: 700;
  background-color: var(--credboa-sidebar-active-bg) !important;
  border-right: 2px solid var(--credboa-sidebar-accent);
  box-sizing: border-box;
}

#accordionSidebar.sidebar-credboa .nav-item.active .nav-link:hover {
  color: var(--credboa-sidebar-accent) !important;
  background-color: var(--credboa-sidebar-active-bg) !important;
}

#accordionSidebar.sidebar-credboa .nav-item.active .nav-link svg.sidebar-credboa-menu-icon {
  filter: brightness(0) saturate(100%) invert(35%) sepia(72%) saturate(669%) hue-rotate(243deg) brightness(92%) contrast(88%) !important;
}

#accordionSidebar.sidebar-credboa .nav-item.active .nav-link i {
  color: var(--credboa-sidebar-accent);
}

#accordionSidebar.sidebar-credboa .sidebar-credboa__toggle-wrap {
  margin-top: auto;
  padding: 16px 0 1.25rem;
  flex-shrink: 0;
}

#accordionSidebar.sidebar-credboa #sidebarToggle,
#accordionSidebar.sidebar-credboa .sidebar-credboa__toggle#sidebarToggle {
  box-sizing: border-box;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  padding: 0 !important;
  margin-bottom: 0;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  border-radius: 10.78px;
  border: 0 !important;
  background: var(--credboa-sidebar-accent) !important;
  box-shadow: none;
}

#accordionSidebar.sidebar-credboa #sidebarToggle::after {
  color: #fff;
  margin: 0 !important;
  font-size: 15.681px;
  line-height: 1;
  font-weight: 900;
}

#accordionSidebar.sidebar-credboa #sidebarToggle:hover {
  filter: brightness(1.05);
}

/* Usuários — aba Permissões: ícones iguais à sidebar CredBoa */
#lista-permissoes svg.sidebar-credboa-menu-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

#lista-permissoes i {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.35rem;
  width: 1.25rem;
  text-align: center;
  color: #73726f;
}

/* Admin interno CredBoa — Figma Admin Button / card labels (Fale Conosco, etc.) */
.text-credboa-section-label {
  color: #70aa3b !important;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.text-titulo {
  font-family: 'Lato', 'Nunito', sans-serif;
  font-weight: 600;
  color: #73726f !important;
}

.btn-credboa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: 38px;
  padding: 8px 16px;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #fcfcfc !important;
  background-color: #7a51a0;
  border: 1px solid #7a51a0;
  border-radius: 8px;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
  text-decoration: none !important;
  transition: filter 0.15s ease, background-color 0.15s ease;
}

.btn-credboa:hover,
.btn-credboa:focus {
  color: #fcfcfc !important;
  background-color: #623d82;
  border-color: #623d82;
  filter: brightness(1.02);
  text-decoration: none !important;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
}

.btn-credboa:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(122, 81, 160, 0.35), 0 0 3px rgba(58, 59, 69, 0.1);
}

.btn-credboa-sm {
  min-height: 31px;
  padding: 6px 16px;
  font-size: 16px;
}

.btn-credboa-icon {
  min-width: 52px;
  width: 52px;
  padding-left: 0;
  padding-right: 0;
}

.btn-credboa-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 40px;
  padding: 8px 16px;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #7a51a0 !important;
  background: #fff;
  border: 1px solid #7a51a0;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.1);
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-credboa-outline:hover,
.btn-credboa-outline:focus {
  color: #623d82 !important;
  border-color: #623d82;
  background: #f5f1f8;
  text-decoration: none !important;
}

#content .card.shadow {
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.1) !important;
}

#content .card-header {
  background-color: #fcfcfc;
  border-bottom: 1px solid #eee;
}

/* Tabela admin CredBoa — Figma Tabela Admin (19858:25378) */
.table-credboa,
#lista-suporte {
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 16px;
  color: #73726f;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  table-layout: fixed;
}

.table-credboa thead th,
.table-credboa tbody td,
#lista-suporte thead th,
#lista-suporte tbody td,
#lista-suporte [class*='_col_'] {
  text-align: center !important;
  vertical-align: middle !important;
}

.table-credboa thead th,
#lista-suporte thead th {
  background-color: #f7f8f8 !important;
  border-bottom: 1px solid #eee !important;
  color: #121212 !important;
  font-weight: 500;
  padding: 12px 24px;
  height: 56px;
  width: 25%;
}

.table-credboa tbody td,
#lista-suporte tbody td {
  padding: 12px 24px;
  height: 56px;
  border-bottom: 1px solid #eee !important;
  color: #73726f;
  width: 25%;
  word-break: break-word;
}

.table-credboa tbody tr:nth-child(odd) td {
  background-color: #fcfcfc !important;
}

.table-credboa tbody tr:nth-child(even) td {
  background-color: #f7f8f8 !important;
}

.table-credboa tbody tr:hover td {
  background-color: #f5f1f8 !important;
}

.table-credboa .btn-credboa,
.table-credboa .btn-credboa-sm {
  display: inline-flex;
  min-width: 66px;
}

.table-credboa a.btn-credboa {
  color: #fcfcfc !important;
}

#lista-suporte + .pagination,
.table-responsive .pagination {
  font-family: 'Lato', 'Nunito', sans-serif;
}

/* Paginação Figma — roxo ativo */
.pagination .page-item.active .page-link {
  background-color: #7a51a0;
  border-color: #7a51a0;
  color: #fff;
}

.pagination .page-link {
  color: #73726f;
  border-radius: 2px;
  margin: 0 3px;
  border: 0.2px solid #878684;
}

/* Botão filtrar no card */
#content form .btn-credboa .fa-filter {
  opacity: 1;
}

/* Fale Conosco — detalhe (Figma 19858:24850 / 19858:24889) */
.credboa-detail-page {
  font-family: 'Lato', 'Nunito', sans-serif;
}

.credboa-detail-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 28px rgba(58, 59, 69, 0.1) !important;
  overflow: hidden;
}

.credboa-detail-card__header {
  background-color: #fcfcfb !important;
  border-bottom: 1px solid #e3e6f0 !important;
  padding: 12px 20px !important;
}

.credboa-detail-card__body {
  padding: 20px !important;
  background: #fff;
}

.credboa-detail-card__footer {
  background-color: #f8f9fc !important;
  border-top: 1px solid #e3e6f0 !important;
  padding: 12px 20px !important;
}

.credboa-detail-card__btn-salvar {
  min-width: 193px;
}

.credboa-form-divider {
  border: 0;
  border-top: 1px solid #e3e6f0;
  margin: 20px 0;
}

.credboa-form-section {
  margin-bottom: 0;
}

.credboa-form-section__title {
  margin: 0 0 12px;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16.8px;
  text-transform: uppercase;
  color: #121212;
}

.credboa-form-row {
  margin-left: -16px;
  margin-right: -16px;
}

.credboa-form-row > [class*='col-'] {
  padding-left: 16px;
  padding-right: 16px;
}

.credboa-field-col {
  margin-bottom: 12px;
}

.credboa-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.credboa-field--btn {
  justify-content: flex-end;
  padding-top: 24px;
}

.credboa-field__label {
  margin: 0;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #858796;
}

.credboa-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 36px;
  padding: 8px 16px;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.5px;
  color: #858796;
  border-radius: 8px;
  border: 1px solid #d1d3e2;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.credboa-input--readonly {
  background-color: rgba(234, 236, 244, 0.36);
  border-color: #d1d3e2;
  cursor: default;
}

.credboa-input--editable {
  background-color: #fff;
  color: #73726f;
}

.credboa-input--editable::placeholder {
  color: #73726f;
}

.credboa-input--editable:focus {
  border-color: #7a51a0;
  outline: none;
  box-shadow: 0 0 0 2px rgba(122, 81, 160, 0.2);
}

.credboa-input--textarea {
  min-height: 80px;
  resize: vertical;
  line-height: 1.4;
}

.credboa-input-action {
  position: relative;
  width: 100%;
}

.credboa-input-action__field {
  padding-right: 120px;
}

.credboa-input-action__btn {
  position: absolute;
  top: 0;
  right: 0;
  height: 36px;
  min-height: 36px;
  border-radius: 8px;
  padding: 8px 16px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.credboa-input-action__btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(122, 81, 160, 0.35);
}

.credboa-detail-page .btn-credboa-outline.btn-block {
  width: 100%;
  min-height: 40px;
}

@media (max-width: 1199.98px) {
  .credboa-field--btn {
    padding-top: 0;
  }
}

/* Botão destrutivo CredBoa — lixeira na tabela admin (Figma Tabelas de taxas) */
.btn-credboa-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 6px 12px;
  background-color: #d94126;
  border: 1px solid #d94126;
  border-radius: 8px;
  color: #fff !important;
  font-size: 14px;
  text-decoration: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.btn-credboa-danger:hover,
.btn-credboa-danger:focus {
  background-color: #b83520;
  border-color: #b83520;
  color: #fff !important;
  text-decoration: none !important;
}

/* Botão lixeira icon-only — Figma 19858:28758 (Simulações, Tabelas de taxas) */
.btn-credboa-trash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 52px;
  width: 52px;
  min-height: 36px;
  height: 36px;
  padding: 8px 16px;
  background-color: #d94126;
  border: 1px solid #d94126;
  border-radius: 8px;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
  text-decoration: none !important;
  vertical-align: middle;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-credboa-trash:hover,
.btn-credboa-trash:focus {
  background-color: #b83520;
  border-color: #b83520;
  text-decoration: none !important;
}

.btn-credboa-trash__icon {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
}

#lista-simulacoes .btn-credboa-trash {
  margin-right: 6px;
}

/* ── Tabela de Taxas — listagem (#lista-tabela-taxas) ──────────────────────
   O framework SimplePHP gera <td> no <thead> (não <th>), então os seletores
   `.table-credboa thead th` não casam. Aplicamos os mesmos estilos via <td>.
   Com table-layout:fixed e 7 colunas, cada coluna precisa de largura explícita.
*/
#lista-tabela-taxas thead td {
  background-color: #f7f8f8 !important;
  border-bottom: 1px solid #eee !important;
  color: #121212 !important;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 24px;
  height: 56px;
  text-align: center !important;
  vertical-align: middle !important;
}

/* Larguras proporcionais das 7 colunas (soma = 100%): ID, Nome, Tipo, Taxa, TAC, Status, Ação */
#lista-tabela-taxas .lista-tabela-taxas_col_0 { width: 6% !important; }
#lista-tabela-taxas .lista-tabela-taxas_col_1 { width: 20% !important; text-align: left !important; }
#lista-tabela-taxas .lista-tabela-taxas_col_2 { width: 14% !important; }
#lista-tabela-taxas .lista-tabela-taxas_col_3 { width: 10% !important; }
#lista-tabela-taxas .lista-tabela-taxas_col_4 { width: 14% !important; }
#lista-tabela-taxas .lista-tabela-taxas_col_5 { width: 10% !important; }
#lista-tabela-taxas .lista-tabela-taxas_col_6 { width: 26% !important; white-space: nowrap; }

#lista-tabela-taxas .btn-credboa-trash {
  margin-right: 6px;
}

/* Garante cor roxa nos botões CredBoa mesmo com regra global de links */
a.btn-credboa,
button.btn-credboa {
  background-color: #7a51a0 !important;
  border-color: #7a51a0 !important;
  color: #fcfcfc !important;
}

a.btn-credboa:hover,
a.btn-credboa:focus,
button.btn-credboa:hover,
button.btn-credboa:focus {
  background-color: #623d82 !important;
  border-color: #623d82 !important;
  color: #fcfcfc !important;
  text-decoration: none !important;
}

/* Clientes — Figma 19858:22966 */
.credboa-modulo-page {
  font-family: 'Lato', 'Nunito', sans-serif;
}

.credboa-modulo-title {
  font-weight: 600;
  color: #73726f !important;
}

.credboa-modulo-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.1) !important;
}

.credboa-section-kicker {
  display: block;
  color: #70aa3b !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.credboa-subsection-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #121212;
}

.credboa-field-label {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #858796;
}

.credboa-control,
.credboa-modulo-page .form-control.credboa-control {
  min-height: 36px;
  border-radius: 8px;
  border-color: #d1d3e2;
  color: #73726f;
  font-size: 16px;
}

.credboa-control:focus,
.credboa-modulo-page .form-control.credboa-control:focus {
  border-color: #7a51a0;
  box-shadow: 0 0 0 2px rgba(122, 81, 160, 0.2);
}

.credboa-control::placeholder {
  color: #73726f;
}

.credboa-modulo-card.bg-filtrando {
  background-color: rgba(122, 81, 160, 0.02);
}

.btn-credboa-ver {
  min-width: 66px;
  min-height: 31px;
  padding: 6px 16px;
  font-size: 16px;
}

.credboa-back-btn {
  min-width: 52px;
  width: 52px;
  padding-left: 0;
  padding-right: 0;
}

.credboa-link-danger {
  color: #d94126 !important;
  text-decoration: none !important;
}

.credboa-link-danger:hover {
  color: #b83520 !important;
  text-decoration: underline !important;
}

.credboa-foto-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 190px;
  margin: 8px auto 20px;
}

.credboa-foto-upload__label {
  margin: 0;
  width: 100%;
  font-family: 'Nunito', 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  color: #4b4c51;
  text-align: center;
}

.credboa-foto-upload__hint {
  margin: 0;
  width: 100%;
  font-family: 'Nunito', 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  color: #858796;
  text-align: center;
}

.credboa-foto-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.credboa-foto-preview {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  padding: 50px;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.credboa-foto-preview--clickable {
  cursor: pointer;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.credboa-foto-preview--clickable:hover {
  filter: brightness(0.98);
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.14);
}

.credboa-foto-preview--clickable:focus-within {
  outline: none;
  box-shadow: 0 0 0 3px rgba(122, 81, 160, 0.25), 0 0 3px rgba(58, 59, 69, 0.1);
}

.credboa-foto-preview--disabled {
  cursor: default;
  pointer-events: none;
}

.credboa-foto-preview__icon {
  display: block;
  width: 80px;
  height: 80px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none;
  flex-shrink: 0;
}

.credboa-foto-preview__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.credboa-foto-preview:has(.credboa-foto-preview__img) {
  padding: 0;
}

.btn-credboa-pill {
  border-radius: 24px;
}

.btn-credboa-salvar {
  min-width: 120px;
}

/* Documentação — anexo Figma 19858:23021 (campo + botão Anexar arquivo) */
.credboa-doc-anexo {
  position: relative;
  width: 100%;
}

.credboa-doc-anexo__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.credboa-doc-anexo__field {
  position: relative;
  display: flex;
  align-items: center;
  height: 36px;
  background: #fff;
  border: 1px solid #d1d3e2;
  border-radius: 8px;
  overflow: hidden;
}

.credboa-doc-anexo__nome {
  flex: 1;
  min-width: 0;
  padding: 8px 16px;
  padding-right: 148px;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 19.5px;
  color: #73726f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.credboa-doc-anexo.has-file .credboa-doc-anexo__nome {
  padding-right: 80px;
}

.credboa-doc-anexo:not(.is-disabled) .credboa-doc-anexo__nome {
  cursor: pointer;
}

.credboa-doc-anexo__btn {
  position: absolute;
  top: 0;
  right: 0;
  height: 36px;
  min-width: 136px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  margin: 0;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #fff !important;
  background: #7a51a0 !important;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color 0.15s ease, filter 0.15s ease;
}

.credboa-doc-anexo__btn[data-mode="ver"] {
  min-width: 72px;
}

.credboa-doc-anexo__btn:hover {
  background: #623d82 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.credboa-doc-anexo.is-disabled .credboa-doc-anexo__field {
  background: rgba(234, 236, 244, 0.36);
}

.credboa-doc-anexo.is-disabled .credboa-doc-anexo__btn {
  pointer-events: none;
  cursor: default;
  opacity: 0.65;
}

.credboa-doc-anexo.is-disabled .credboa-doc-anexo__btn[data-mode="ver"] {
  pointer-events: auto;
  cursor: pointer;
  opacity: 1;
}

/* Tabela Clientes — Figma Tabela Admin (19858:25378) */
.credboa-table,
#lista-clientes {
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 16px;
  color: #73726f;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  table-layout: fixed;
}

.credboa-table thead th,
.credboa-table tbody td,
.credboa-table thead td,
#lista-clientes thead th,
#lista-clientes tbody td,
#lista-clientes thead td,
#lista-clientes [class*='_col_'] {
  text-align: center !important;
  vertical-align: middle !important;
}

.credboa-table thead th,
.credboa-table thead td,
#lista-clientes thead th,
#lista-clientes thead td {
  background-color: #f7f8f8 !important;
  border-bottom: 1px solid #eee !important;
  color: #121212 !important;
  font-weight: 500;
  padding: 12px 24px;
  height: 56px;
}

.credboa-table tbody td,
#lista-clientes tbody td {
  padding: 12px 24px;
  height: 56px;
  border-bottom: 1px solid #eee !important;
  color: #73726f;
  word-break: break-word;
}

.credboa-table tbody tr:nth-child(odd) td,
#lista-clientes tbody tr:nth-child(odd) td {
  background-color: #fcfcfc !important;
}

.credboa-table tbody tr:nth-child(even) td,
#lista-clientes tbody tr:nth-child(even) td {
  background-color: #f7f8f8 !important;
}

.credboa-table tbody tr:hover td,
#lista-clientes tbody tr:hover td {
  background-color: #f5f1f8 !important;
}

.credboa-table .btn-credboa,
.credboa-table .btn-credboa-ver,
#lista-clientes .btn-credboa,
#lista-clientes .btn-credboa-ver {
  display: inline-flex;
  min-width: 66px;
}

.credboa-table a.btn-credboa,
#lista-clientes a.btn-credboa {
  color: #fcfcfc !important;
}

/* Rodapé listagem Clientes — Figma 19858:22966 (total à esquerda, paginação à direita) */
.credboa-listagem-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.credboa-total-registros {
  font-family: 'Nunito', 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #73726f;
}

.credboa-total-registros strong {
  font-weight: 700;
  color: #73726f;
}

.credboa-listagem-footer .credboa-pager-wrap {
  margin-top: 0;
  flex-shrink: 0;
}

.credboa-listagem-footer .credboa-pager-wrap #pager {
  margin-bottom: 0;
}

/* Paginação roxa no módulo Clientes */
.credboa-pager-wrap #pager .stepper-before,
.credboa-pager-wrap #pager .stepper-next,
.credboa-pager-wrap #pager .stepper {
  color: #73726f;
  border: 0.2px solid #878684;
  border-radius: 2px;
}

.credboa-pager-wrap #pager .stepper-before:hover,
.credboa-pager-wrap #pager .stepper-next:hover,
.credboa-pager-wrap #pager .stepper:hover,
.credboa-pager-wrap #pager .stepper-active {
  color: #fff;
  background-color: #7a51a0;
  border-color: #7a51a0;
}

/* Dashboard CredBoa — Figma 19858:22391 */
.credboa-dashboard-page {
  background-color: #f7f8f8;
  padding-bottom: 24px;
}

.credboa-dashboard-header .credboa-modulo-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 33.6px;
}

.credboa-dashboard-btn-relatorio {
  min-width: 193px;
}

.credboa-input-icon {
  position: relative;
}

.credboa-input-icon .form-control {
  padding-right: 44px;
}

.credboa-input-icon__btn {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #73726f;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
}

.credboa-input-icon__btn:hover {
  color: #121212;
  background: rgba(0, 0, 0, 0.04);
}

.credboa-input-icon__btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(122, 81, 160, 0.35);
}

/* Datepicker CredBoa — Figma Admin Inputs (19858:26066) */
.flatpickr-calendar.credboa-datepicker-flatpickr {
  min-width: 300px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.1);
  border: 1px solid #eee;
  border-top: 3px solid #7a51a0;
  font-family: 'Lato', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-months {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  padding: 8px 8px 0;
  box-sizing: border-box;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-months .flatpickr-prev-month,
.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-months .flatpickr-next-month {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  flex: 0 0 32px;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px;
  min-height: 32px;
  max-width: 32px;
  max-height: 32px;
  padding: 6px !important;
  margin: 0 !important;
  box-sizing: border-box;
  border-radius: 4px;
  border: 1px solid #c7c6c4;
  background: #fff;
  color: #2f2f33;
  fill: #2f2f33;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-months .flatpickr-prev-month svg,
.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-months .flatpickr-next-month svg {
  width: 12px !important;
  height: 12px !important;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-months .flatpickr-next-month:hover {
  background: #f8f9fc;
  color: #7a51a0;
  fill: #7a51a0;
  border-color: #c7c6c4;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-months .flatpickr-month {
  overflow: visible !important;
  flex: 1 1 auto;
  min-width: 0;
  height: auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-current-month {
  position: relative !important;
  left: auto !important;
  width: auto !important;
  max-width: min(100%, 220px);
  transform: none !important;
  display: inline-flex !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 32px;
  padding: 0 !important;
  margin: 0 auto;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-current-month .credboa-datepicker-header-month,
.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-current-month .credboa-datepicker-header-year {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 150px;
  height: 32px !important;
  margin: 0 !important;
  padding: 0 24px 0 8px !important;
  border-radius: 4px;
  border: 1px solid #c7c6c4 !important;
  font-size: 14px !important;
  font-weight: 500;
  font-family: inherit;
  color: #121212;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2373726f' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  line-height: 30px;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-current-month .credboa-datepicker-header-year {
  max-width: 96px;
  min-width: 4.5rem;
  text-align: center;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-current-month .credboa-datepicker-header-month:focus,
.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-current-month .credboa-datepicker-header-year:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(122, 81, 160, 0.35);
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-current-month .credboa-datepicker-header-month:hover,
.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-current-month .credboa-datepicker-header-year:hover {
  background-color: #f8f9fc !important;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-current-month .credboa-datepicker-header-decade {
  display: none;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 10px;
  border-radius: 4px;
  border: 1px solid #c7c6c4;
  font-size: 14px;
  font-weight: 500;
  color: #121212;
  background: #fff;
  white-space: nowrap;
}

.flatpickr-calendar.credboa-datepicker-flatpickr.credboa-datepicker--years-open .flatpickr-current-month .credboa-datepicker-header-decade {
  display: inline-flex !important;
}

.flatpickr-calendar.credboa-datepicker-flatpickr.credboa-datepicker--months-open .credboa-datepicker-header-month {
  display: none !important;
}

.flatpickr-calendar.credboa-datepicker-flatpickr.credboa-datepicker--years-open .credboa-datepicker-header-month,
.flatpickr-calendar.credboa-datepicker-flatpickr.credboa-datepicker--years-open .credboa-datepicker-header-year {
  display: none !important;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .credboa-datepicker-picker-panel {
  display: none;
  width: 100%;
  padding: 8px 0 4px;
  box-sizing: border-box;
}

.flatpickr-calendar.credboa-datepicker-flatpickr.credboa-datepicker--months-open .credboa-datepicker-picker-panel,
.flatpickr-calendar.credboa-datepicker-flatpickr.credboa-datepicker--years-open .credboa-datepicker-picker-panel {
  display: block;
}

.flatpickr-calendar.credboa-datepicker-flatpickr.credboa-datepicker--months-open .flatpickr-innerContainer > .flatpickr-rContainer,
.flatpickr-calendar.credboa-datepicker-flatpickr.credboa-datepicker--years-open .flatpickr-innerContainer > .flatpickr-rContainer {
  display: none !important;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .credboa-datepicker-picker-panel__months,
.flatpickr-calendar.credboa-datepicker-flatpickr .credboa-datepicker-picker-panel__years {
  display: none;
  gap: 4px;
  width: 100%;
  justify-content: space-between;
}

.flatpickr-calendar.credboa-datepicker-flatpickr.credboa-datepicker--months-open .credboa-datepicker-picker-panel__months {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.flatpickr-calendar.credboa-datepicker-flatpickr.credboa-datepicker--years-open .credboa-datepicker-picker-panel__years {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.flatpickr-calendar.credboa-datepicker-flatpickr .credboa-datepicker-picker-cell {
  box-sizing: border-box;
  min-height: 40px;
  margin: 0;
  padding: 8px 4px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: #121212;
  cursor: pointer;
  text-align: center;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .credboa-datepicker-picker-cell:hover:not(.disabled):not(.selected) {
  background: rgba(122, 81, 160, 0.12);
}

.flatpickr-calendar.credboa-datepicker-flatpickr .credboa-datepicker-picker-cell.selected {
  background: #7a51a0 !important;
  color: #fcfcfc !important;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .credboa-datepicker-picker-cell.disabled {
  color: #c7c6c4;
  cursor: default;
  pointer-events: none;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-days {
  width: 100% !important;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .dayContainer {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  justify-content: flex-start !important;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-weekdays {
  padding: 8px 0 4px;
  width: 100%;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-weekdays .flatpickr-weekdaycontainer {
  width: 100%;
}

.flatpickr-calendar.credboa-datepicker-flatpickr span.flatpickr-weekday {
  color: #73726f;
  font-size: 12px;
  font-weight: 700;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-day {
  box-sizing: border-box !important;
  border-radius: 8px;
  font-size: 14px;
  color: #121212;
  line-height: 36px;
  height: 36px !important;
  width: 14.2857143% !important;
  max-width: none !important;
  flex-basis: 14.2857143% !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-day:hover {
  background: rgba(122, 81, 160, 0.12);
  border-color: transparent;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-day.selected,
.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-day.startRange,
.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-day.endRange {
  background: #7a51a0 !important;
  border-color: #7a51a0 !important;
  color: #fcfcfc !important;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-day.prevMonthDay,
.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-day.nextMonthDay {
  color: #c7c6c4;
}

.flatpickr-calendar.credboa-datepicker-flatpickr .flatpickr-day.today {
  border-color: #7a51a0;
}

.credboa-datepicker__footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px 16px;
  margin-top: 8px;
  border-top: 1px solid #eee;
}

.credboa-datepicker__cancel {
  border: none;
  background: none;
  padding: 8px 10px;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #73726f;
  cursor: pointer;
  border-radius: 8px;
}

.credboa-datepicker__cancel:hover {
  color: #121212;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.04);
}

.credboa-datepicker__apply {
  border: none;
  background: #7a51a0;
  color: #fcfcfc;
  padding: 8px 16px;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.1);
}

.credboa-datepicker__apply:hover {
  background: #623d82;
  color: #fcfcfc;
}

.credboa-dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.credboa-dashboard-kpi {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 102px;
  padding: 8px 20px;
  background: #fcfcfc;
  border-radius: 8px;
  border-left: 4px solid #7a51a0;
  box-shadow: 0 2px 14px rgba(58, 59, 69, 0.1);
}

.credboa-dashboard-kpi--purple {
  border-left-color: #7a51a0;
}

.credboa-dashboard-kpi--green {
  border-left-color: #6fbf40;
}

.credboa-dashboard-kpi--red {
  border-left-color: #d94126;
}

.credboa-dashboard-kpi--yellow {
  border-left-color: #ffbe00;
}

.credboa-dashboard-kpi__label {
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16.8px;
  text-transform: uppercase;
  color: #73726f;
}

.credboa-dashboard-kpi__value {
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
  color: #73726f;
}

.credboa-dashboard-chart-card {
  background: #fcfcfc;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.1) !important;
}

.credboa-dashboard-chart-card .card-body {
  padding: 16px;
}

.credboa-dashboard-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.credboa-dashboard-chart-title {
  margin: 0;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  color: #121212;
}

.credboa-dashboard-chart-link {
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #7a51a0 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.credboa-dashboard-chart-link:hover {
  color: #623d82 !important;
  text-decoration: none !important;
}

.credboa-dashboard-chart-wrap {
  position: relative;
  width: 100%;
}

.credboa-dashboard-chart-wrap--bar {
  height: 210px;
}

.credboa-dashboard-chart-wrap--grouped {
  height: 210px;
}

.credboa-dashboard-chart-scrollbar {
  width: 100%;
  margin-top: 8px;
}

.credboa-dashboard-chart-scrollbar__track {
  display: block;
  width: 100%;
  height: 6px;
  background: #eee;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.credboa-dashboard-chart-scrollbar__thumb {
  display: block;
  width: 24px;
  height: 6px;
  background: #c7c6c4;
  border-radius: 4px;
}

.credboa-dashboard-legend--distribuicao {
  justify-content: flex-start;
  gap: 24px;
}

.credboa-dashboard-charts-row {
  margin-top: 12px;
}

.credboa-dashboard-donut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 16px;
}

.credboa-dashboard-donut-canvas {
  position: relative;
  width: 200px;
  height: 200px;
}

.credboa-dashboard-donut-canvas canvas {
  width: 100% !important;
  height: 100% !important;
}

.credboa-dashboard-donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  width: 130px;
}

.credboa-dashboard-donut-center strong {
  display: block;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  color: #121212;
}

.credboa-dashboard-donut-center span {
  display: block;
  margin-top: 2px;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 12px;
  line-height: normal;
  color: #73726f;
}

.credboa-dashboard-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.credboa-dashboard-legend--inline {
  justify-content: flex-start;
}

.credboa-dashboard-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 14px;
  color: #121212;
}

.credboa-dashboard-legend__item--filter {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.credboa-dashboard-legend__item--filter:hover,
.credboa-dashboard-legend__item--filter.is-active {
  opacity: 1;
}

.credboa-dashboard-legend__item--filter:not(.is-active) {
  opacity: 0.72;
}

.credboa-dashboard-legend--recebimentos .credboa-dashboard-legend__item--filter.is-active {
  font-weight: 700;
}

.credboa-dashboard-donut-center--pendente strong,
.credboa-dashboard-donut-center--atraso strong,
.credboa-dashboard-donut-center--paga strong {
  font-weight: 700;
}

.credboa-dashboard-donut-center--pendente strong {
  color: #b38600;
}

.credboa-dashboard-donut-center--atraso strong {
  color: #a33420;
}

.credboa-dashboard-donut-center--paga strong {
  color: #82c04a;
}

.credboa-dashboard-legend__dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.credboa-dashboard-legend__dot--purple {
  background: #7a51a0;
}

.credboa-dashboard-legend__dot--green {
  background: #82c04a;
}

.credboa-dashboard-legend__dot--yellow {
  background: #ffbe00;
}

.credboa-dashboard-legend__dot--red {
  background: #d94126;
}

.credboa-dashboard-legend__dot--orange {
  background: #f47f20;
}

@media (max-width: 1399.98px) {
  .credboa-dashboard-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .credboa-dashboard-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credboa-dashboard-btn-relatorio {
    width: 100%;
    margin-top: 12px;
  }

  .credboa-dashboard-header {
    flex-direction: column;
    align-items: flex-start !important;
  }
}

@media (max-width: 575.98px) {
  .credboa-dashboard-kpis {
    grid-template-columns: 1fr;
  }
}

/* Simulações — listagem, cadastro e detalhe (Figma 19858:24440–24559) */

/* Prévia da simulação — cadastro (Figma 19858:24473) */
.credboa-simulacoes-preview-card {
  display: flex;
  flex-direction: column;
  border-left: 4px solid #7a51a0;
  border-radius: 8px;
  box-shadow: 0 0 28px rgba(58, 59, 69, 0.1);
  background: #fff;
  overflow: hidden;
  position: sticky;
  top: 1rem;
}

.credboa-simulacoes-preview-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #fcfcfb;
  border-bottom: 1px solid #e3e6f0;
}

.credboa-simulacoes-preview-card__icon {
  color: #8e67b2;
  font-size: 20px;
  line-height: 1;
}

.credboa-simulacoes-preview-card__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #8e67b2;
}

.credboa-simulacoes-preview-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
  background: #fff;
}

.credboa-simulacoes-preview-summary {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.credboa-simulacoes-preview-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.credboa-simulacoes-preview-item__label {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #858796;
}

.credboa-simulacoes-preview-item__value {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #70aa3b;
}

.credboa-simulacoes-parcelas-panel {
  background: #f7f8f8;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.1);
  overflow: hidden;
}

.credboa-simulacoes-page .credboa-simulacoes-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.credboa-simulacoes-page .credboa-simulacoes-kpis--page {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.credboa-simulacoes-kpi {
  background: #70aa3b;
  border-radius: 8px;
  padding: 16px;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.credboa-simulacoes-kpi__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 6px;
}

.credboa-simulacoes-kpi__value {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}

/* Ver simulação — Figma 19858:24510 */
.credboa-simulacoes-ver-page-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: #73726f !important;
}

.credboa-simulacoes-ver-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(58, 59, 69, 0.1) !important;
  overflow: hidden;
}

.credboa-simulacoes-ver-card__header {
  padding: 12px 20px;
  background: #fcfcfb;
  border-bottom: 1px solid #e3e6f0;
}

.credboa-simulacoes-ver-card__body {
  padding: 20px;
  background: #fff;
}

.credboa-simulacoes-ver-title {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: #73726f;
}

.credboa-simulacoes-detail-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.credboa-simulacoes-detail-card {
  min-height: 102px;
  padding: 8px 0;
  background: #fcfcfc;
  border-radius: 8px;
  border-left: 4px solid #7a51a0;
  box-shadow: 0 2px 14px rgba(58, 59, 69, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 20px;
  padding-right: 20px;
}

.credboa-simulacoes-detail-card--accent-b {
  border-left-color: #8e67b2;
}

.credboa-simulacoes-detail-card__label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #73726f;
}

.credboa-simulacoes-detail-card__value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #73726f;
}

.credboa-simulacoes-ver-section-title {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #262629;
}

.credboa-simulacoes-ver-fields {
  margin-left: -16px;
  margin-right: -16px;
}

.credboa-simulacoes-ver-fields > [class*='col-'] {
  padding-left: 16px;
  padding-right: 16px;
  margin-bottom: 12px;
}

.credboa-tabela-taxas-page .credboa-field-select,
.credboa-concessionaria-page .credboa-field-select,
.credboa-tabela-taxas-page .credboa-field .credboa-input:not(.credboa-input--textarea),
.credboa-concessionaria-page .credboa-field .credboa-input:not(.credboa-input--textarea) {
  width: 100%;
  min-height: 36px;
  height: 36px;
}

.credboa-tabela-taxas-page .credboa-field-select,
.credboa-concessionaria-page .credboa-field-select {
  padding: 8px 16px;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.5px;
  color: #73726f;
  border-radius: 8px;
  border: 1px solid #d1d3e2;
  background-color: #fff;
  appearance: auto;
  -webkit-appearance: menulist;
}

.credboa-tabela-taxas-page .credboa-field-select:focus,
.credboa-concessionaria-page .credboa-field-select:focus {
  border-color: #7a51a0;
  outline: none;
  box-shadow: 0 0 0 2px rgba(122, 81, 160, 0.2);
}

#lista-concessionarias .btn-credboa-trash {
  margin-right: 6px;
}

/* Usuários do sistema — listagem, formulário e abas */
.credboa-usuarios-page-title {
  font-size: 28px;
  line-height: 33.6px;
}

.credboa-usuarios-page .credboa-field-select,
.credboa-usuarios-page .credboa-field .credboa-input:not(.credboa-input--textarea) {
  width: 100%;
  min-height: 36px;
  height: 36px;
}

.credboa-usuarios-page .credboa-field-select {
  padding: 8px 16px;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.5px;
  color: #73726f;
  border-radius: 8px;
  border: 1px solid #d1d3e2;
  background-color: #fff;
  appearance: auto;
  -webkit-appearance: menulist;
}

.credboa-usuarios-page .credboa-field-select:focus {
  border-color: #7a51a0;
  outline: none;
  box-shadow: 0 0 0 2px rgba(122, 81, 160, 0.2);
}

.credboa-usuarios-page .credboa-field-label {
  color: #858796;
}

.credboa-usuarios-page .credboa-field-hint {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  line-height: normal;
  color: #73726f;
}

.credboa-usuarios-form-card {
  overflow: hidden;
  box-shadow: 0 0 14px rgba(58, 59, 69, 0.1) !important;
}

.credboa-usuarios-form-card .credboa-detail-card__footer {
  border-radius: 0 0 8px 8px;
}

.credboa-usuarios-tabs-wrap {
  width: 100%;
  background: #fff;
}

.credboa-usuarios-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0;
  padding: 0;
  margin: 0;
  border-bottom: 0;
  list-style: none;
}

.credboa-usuarios-tabs .nav-item {
  margin: 0;
}

.credboa-usuarios-page .credboa-usuarios-tabs .nav-link {
  background: #fcfcfc !important;
  border: 1px solid #eee !important;
  border-bottom: 0 !important;
  border-radius: 8px 8px 0 0 !important;
  margin: 0 0 -1px !important;
  padding: 8px 16px !important;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #73726f !important;
  line-height: 16.8px;
  white-space: nowrap;
}

.credboa-usuarios-page .credboa-usuarios-tabs .nav-item + .nav-item .nav-link {
  margin-left: -1px !important;
}

.credboa-usuarios-page .credboa-usuarios-tabs .nav-link:hover,
.credboa-usuarios-page .credboa-usuarios-tabs .nav-link:focus {
  color: #8e67b2 !important;
  background: #fcfcfc !important;
}

.credboa-usuarios-page .credboa-usuarios-tabs .nav-link.active {
  color: #8e67b2 !important;
  font-weight: 700;
  border-color: #9a78ba !important;
  background: #fcfcfc !important;
  z-index: 2;
  position: relative;
}

.credboa-usuarios-tab-subtitle {
  background: #fcfcfb;
  border-bottom: 1px solid #e3e6f0;
  padding: 12px 20px;
  width: 100%;
}

.credboa-usuarios-tab-subtitle__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #70aa3b;
  line-height: 16.8px;
}

.credboa-usuarios-tab-content {
  background: #fff;
  border-radius: 0 0 8px 8px;
}

.credboa-usuarios-tab-content > .tab-pane {
  padding: 20px;
}

.credboa-usuarios-form-grid .credboa-form-row {
  row-gap: 24px;
}

.credboa-usuarios-filtro-card__header {
  background: #fcfcfc;
  border-bottom: 1px solid #eee;
  padding: 12px 20px;
  border-radius: 8px 8px 0 0;
}

.credboa-usuarios-filtro-card__body {
  padding-top: 24px;
  padding-left: 20px;
  padding-right: 20px;
}

.credboa-usuarios-filtro-card.bg-filtrando {
  background-color: rgba(122, 81, 160, 0.02);
}

.credboa-usuarios-tabela-card__body {
  background: #f7f8f8;
  border-radius: 8px;
}

.credboa-usuarios-tabela-card .credboa-table thead th,
.credboa-usuarios-tabela-card .credboa-table thead td,
.credboa-usuarios-tabela-card .credboa-table tbody td {
  background: #f7f8f8;
  text-align: center;
  vertical-align: middle;
}

.credboa-usuarios-tabela-card .credboa-table tbody tr:nth-child(odd) td {
  background: #fcfcfc;
}

.credboa-usuarios-tabela-card .credboa-table tbody tr:nth-child(even) td {
  background: #f7f8f8;
}

.credboa-usuarios-tab-content > .tab-pane#permissoes {
  padding: 0;
}

.credboa-usuarios-permissoes {
  width: 100%;
}

.credboa-usuarios-permissoes__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  min-height: 56px;
  border-top: 1px solid #e3e6f0;
  background: #fcfcfc;
}

.credboa-usuarios-permissoes__row--alt {
  background: #f7f8f8;
}

.credboa-usuarios-permissoes__row--header {
  border-top: 1px solid #eee;
  background: #fcfcfc;
}

.credboa-usuarios-permissoes__modulo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 12px 24px;
}

.credboa-usuarios-permissoes__acao {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 12px 24px;
  border-left: 1px solid #e3e6f0;
}

.credboa-usuarios-permissoes__header-text {
  font-size: 16px;
  font-weight: 500;
  color: #121212;
}

.credboa-usuarios-permissoes__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.credboa-usuarios-permissoes__icon svg,
.credboa-usuarios-permissoes__icon img {
  width: 20px;
  height: 20px;
}

.credboa-usuarios-permissoes__label {
  font-size: 16px;
  color: #73726f;
}

.credboa-admin-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
  position: relative;
}

.credboa-admin-check__input {
  position: absolute;
  opacity: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
}

.credboa-admin-check__box {
  width: 20px;
  height: 20px;
  border: 1px solid #82c04a;
  border-radius: 5px;
  flex-shrink: 0;
  display: inline-block;
  position: relative;
  background: #fff;
}

.credboa-admin-check__input:checked + .credboa-admin-check__box {
  background: #82c04a;
  border-color: #82c04a;
}

.credboa-admin-check__input:checked + .credboa-admin-check__box::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.credboa-admin-check__label {
  font-size: 16px;
  font-weight: 500;
  color: #121212;
  line-height: 24px;
}

.credboa-admin-check__input:disabled + .credboa-admin-check__box {
  opacity: 0.55;
  cursor: not-allowed;
}

.credboa-admin-check__input:disabled ~ .credboa-admin-check__label {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 767.98px) {
  .credboa-usuarios-permissoes__row {
    grid-template-columns: 1fr 72px;
  }

  .credboa-usuarios-permissoes__acao {
    justify-content: center;
    padding-left: 12px;
    padding-right: 12px;
  }

  .credboa-admin-check__label {
    font-size: 14px;
  }
}

.credboa-control-readonly,
select.credboa-control:disabled,
.credboa-simulacoes-ver-page .form-control.credboa-control-readonly {
  background-color: rgba(234, 236, 244, 0.36);
  color: #858796;
  cursor: default;
}

.credboa-simulacoes-ver-page .credboa-field-label {
  margin-bottom: 8px;
}

.btn-credboa-pdf {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #82c04a !important;
  background: #fff;
  border: 1px solid #82c04a;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.1);
}

.btn-credboa-pdf:hover,
.btn-credboa-pdf:focus {
  color: #82c04a !important;
  background: rgba(130, 192, 74, 0.08);
  border-color: #82c04a;
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.1);
}

.credboa-simulacoes-parcelas-wrap--ver {
  max-height: none;
}

.credboa-simulacoes-preview {
  position: sticky;
  top: 1rem;
}

.credboa-simulacoes-parcelas-wrap {
  max-height: 336px;
  overflow-y: auto;
}

.credboa-simulacoes-parcelas {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.credboa-simulacoes-parcelas thead th {
  height: 56px;
  padding: 12px 24px;
  background: #f7f8f8;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  font-weight: 500;
  color: #121212;
  text-align: center;
  vertical-align: middle;
}

.credboa-simulacoes-parcelas tbody td {
  height: 56px;
  padding: 12px 24px;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  font-weight: 400;
  color: #73726f;
  text-align: center;
  vertical-align: middle;
}

.credboa-simulacoes-parcelas tbody tr:nth-child(odd) td {
  background: #fcfcfc;
}

.credboa-simulacoes-parcelas tbody tr:nth-child(even) td {
  background: #f7f8f8;
}

.credboa-simulacoes-parcelas-empty {
  height: 56px;
  padding: 12px 24px !important;
  text-align: center !important;
  color: #858796 !important;
  font-size: 16px;
  background: #fcfcfc !important;
}

.credboa-simulacoes-ver-actions {
  gap: 0;
}

@media (max-width: 991.98px) {
  .credboa-simulacoes-page .credboa-simulacoes-kpis--page,
  .credboa-simulacoes-detail-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credboa-simulacoes-preview-card {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .credboa-simulacoes-page .credboa-simulacoes-kpis,
  .credboa-simulacoes-page .credboa-simulacoes-kpis--page,
  .credboa-simulacoes-detail-cards {
    grid-template-columns: 1fr;
  }

  .credboa-simulacoes-ver-page-title,
  .credboa-simulacoes-ver-title {
    font-size: 22px;
  }
}

/* ── Créditos (Figma 19858:23612+) ─────────────────────────────────────── */

.credboa-creditos-detail-cards.credboa-simulacoes-detail-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.credboa-creditos-detail-cards--operacional {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.credboa-simulacoes-detail-card--accent-purple {
  border-left-color: #7a51a0;
}

.credboa-simulacoes-detail-card--accent-green {
  border-left-color: #6fbf40;
}

.credboa-simulacoes-detail-card--accent-yellow {
  border-left-color: #f5b301;
}

.credboa-simulacoes-detail-card--accent-red {
  border-left-color: #d94126;
}

/* ── Parcelas (Figma 19945:23048) ─────────────────────────────────────────── */

.credboa-parcelas-page .credboa-parcelas-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.credboa-parcelas-kpi__sub {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: #73726f;
}

.credboa-parcelas-table-wrap {
  overflow-x: auto;
}

.credboa-parcelas-table {
  table-layout: auto;
  width: 100%;
  min-width: 1060px;
}

.credboa-parcelas-table thead th:nth-child(2),
.credboa-parcelas-table tbody td:nth-child(2) {
  width: 95px;
  white-space: nowrap;
}

.credboa-parcelas-table thead th:nth-child(3),
.credboa-parcelas-table tbody td:nth-child(3) {
  width: 133px;
  white-space: nowrap;
}

.credboa-parcelas-table thead th:nth-child(4),
.credboa-parcelas-table tbody td:nth-child(4) {
  width: 132px;
  white-space: nowrap;
}

.credboa-parcelas-table thead th:nth-child(5),
.credboa-parcelas-table tbody td:nth-child(5) {
  width: 133px;
  white-space: nowrap;
}

.credboa-parcelas-table thead th:nth-child(1),
.credboa-parcelas-table tbody td:nth-child(1) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.credboa-parcelas-table thead th:last-child,
.credboa-parcelas-table tbody td:last-child {
  width: 340px;
  min-width: 340px;
  max-width: 340px;
  white-space: nowrap;
  text-align: center;
  padding: 12px 24px;
}

.credboa-parcelas-table .credboa-parcelas-acoes--listagem {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
}

.credboa-parcelas-table .btn-credboa-parcela-pagar--compact {
  flex: 0 0 auto;
  min-width: 44px !important;
  width: 44px;
  height: 32px;
  min-height: 32px;
  padding: 6px 12px !important;
}

.credboa-parcelas-table .btn-credboa-parcela-cobranca {
  flex: 0 0 auto;
  min-width: 0;
  min-height: 31px;
  height: 31px;
  padding: 8px 16px;
  font-size: 16px;
}

.credboa-parcelas-table .btn-credboa-parcela-ver {
  flex: 0 0 66px;
  box-sizing: border-box;
  width: 66px;
  min-width: 66px;
  max-width: 66px;
  min-height: 31px;
  height: 31px;
  padding: 8px 16px;
  font-size: 16px;
}

.btn-credboa-parcela-pagar--compact {
  min-width: 32px !important;
  width: 32px;
  padding: 6px !important;
}

.btn-credboa-parcela-pagar--compact span:not(.sr-only) {
  display: none;
}

.credboa-parcelas-acoes--detail {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
}

.credboa-parcelas-ver-header .credboa-modulo-title {
  color: #73726f;
}

.credboa-parcelas-comprovante-read {
  display: flex;
  align-items: center;
  min-height: 36px;
  background: rgba(234, 236, 244, 0.36) !important;
}

.credboa-parcelas-comprovante-read .credboa-link {
  color: #7a51a0 !important;
  text-decoration: none;
}

.credboa-parcelas-comprovante-read .credboa-link:hover {
  text-decoration: underline;
}

@media (max-width: 1199.98px) {
  .credboa-parcelas-page .credboa-parcelas-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .credboa-parcelas-page .credboa-parcelas-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .credboa-parcelas-page .credboa-parcelas-kpis {
    grid-template-columns: 1fr;
  }
}

.credboa-creditos-parcelas-card__body {
  padding: 0 0 12px;
}

.credboa-creditos-parcelas-card .credboa-simulacoes-parcelas-wrap--ver {
  padding: 0 20px;
}

.credboa-creditos-parcelas-wrap {
  overflow-x: auto;
}

.credboa-creditos-parcelas-table {
  table-layout: auto;
  min-width: 960px;
}

.credboa-simulacoes-parcelas.credboa-creditos-parcelas-table {
  table-layout: auto;
}

.credboa-creditos-parcelas-col--id {
  width: 90px;
}

.credboa-creditos-parcelas-col--vencimento,
.credboa-creditos-parcelas-col--valor,
.credboa-creditos-parcelas-col--pagamento,
.credboa-creditos-parcelas-col--status {
  width: 150px;
}

.credboa-creditos-parcelas-col--acao {
  width: 460px;
  min-width: 460px;
}

.credboa-creditos-parcelas-table thead th.credboa-parcelas-acoes-header,
.credboa-creditos-parcelas-table tbody td.credboa-parcelas-acoes-cell {
  text-align: center;
  padding: 12px 24px;
}

.credboa-creditos-parcelas-table tbody td.credboa-parcelas-acoes-cell {
  height: auto;
  min-height: 56px;
  vertical-align: middle;
}

.credboa-creditos-parcelas-footer {
  padding: 12px 20px 8px;
  margin-top: 0;
  border-top: none;
}

.credboa-creditos-parcelas-table .credboa-parcelas-acoes {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-credboa-parcela-pagar,
.btn-credboa-parcela-cobranca {
  flex: 0 0 auto;
  white-space: nowrap;
}

.btn-credboa-parcela-pagar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 187px;
  min-height: 32px;
  padding: 6px 12px;
  background: #6fbf40;
  border: 1px solid #6fbf40;
  border-radius: 8px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
}

.btn-credboa-parcela-pagar i {
  font-size: 14px;
}

.btn-credboa-parcela-pagar:hover:not(.is-disabled):not([disabled]),
.btn-credboa-parcela-pagar:focus:not(.is-disabled):not([disabled]) {
  background: #5da835;
  border-color: #5da835;
  color: #fff !important;
}

.btn-credboa-parcela-cobranca {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 32px;
  padding: 6px 12px;
  background: #f47f20;
  border: 1px solid #f47f20;
  border-radius: 8px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
}

.btn-credboa-parcela-cobranca:hover:not(.is-disabled):not([disabled]),
.btn-credboa-parcela-cobranca:focus:not(.is-disabled):not([disabled]) {
  background: #d96f18;
  border-color: #d96f18;
  color: #fff !important;
}

.credboa-creditos-parcelas-table .btn-credboa-parcela-ver {
  flex: 0 0 auto;
  min-width: 66px;
  min-height: 31px;
  padding: 6px 16px;
  font-size: 16px;
}

.btn-credboa-parcela-pagar.is-disabled,
.btn-credboa-parcela-pagar[disabled],
.btn-credboa-parcela-cobranca.is-disabled,
.btn-credboa-parcela-cobranca[disabled] {
  background: #eee !important;
  border-color: #eee !important;
  color: #9c9b98 !important;
  opacity: 1;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-credboa-parcela-pagar.is-disabled i,
.btn-credboa-parcela-pagar[disabled] i {
  color: #9c9b98;
}

.credboa-tag--listagem {
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.credboa-tag--listagem.credboa-tag--pendente {
  background: #f2ecd9;
  color: #998133;
}

.credboa-tag--listagem.credboa-tag--success {
  background: #e8f7ee;
  color: #1f7a45;
}

.credboa-tag--listagem.credboa-tag--danger {
  background: #fdecea;
  color: #c0392b;
}

.credboa-tag--listagem.credboa-tag--muted {
  background: #f3f3f3;
  color: #73726f;
}

#lista-creditos td:nth-child(7) {
  text-align: center;
}

#lista-creditos td:nth-child(8) {
  text-align: center;
  white-space: nowrap;
}

.credboa-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.credboa-tag--warning {
  background: #fff4e5;
  color: #b26a00;
}

.credboa-tag--success {
  background: #e8f7ee;
  color: #1f7a45;
}

.credboa-tag--danger {
  background: #fdecea;
  color: #c0392b;
}

.credboa-tag--info {
  background: #eef3ff;
  color: #3b5bdb;
}

.credboa-tag--assinatura {
  background: #f2ecd9;
  color: #998133;
  font-size: 16px;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 8px;
}

.credboa-tag--muted {
  background: #f3f3f3;
  color: #73726f;
}

.btn-credboa-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 16px;
  background-color: #6fbf40;
  border: 1px solid #6fbf40;
  border-radius: 8px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
  transition: background-color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.btn-credboa-success:hover,
.btn-credboa-success:focus {
  background-color: #5da835;
  border-color: #5da835;
  color: #fff !important;
}

.btn-credboa-approve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 8px;
  background-color: #6fbf40;
  border: 1px solid #6fbf40;
  border-radius: 8px;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-credboa-approve:hover,
.btn-credboa-approve:focus {
  background-color: #5da835;
  border-color: #5da835;
  color: #fff !important;
}

.credboa-creditos-ver-card {
  overflow: hidden;
}

.credboa-creditos-ver-card__header {
  padding: 12px 20px;
  background: #fcfcfb;
  border-bottom: 1px solid #e3e6f0;
}

.credboa-creditos-ver-card__body {
  padding: 20px;
}

.credboa-creditos-ver-card-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: #f8f9fc;
  border-top: 1px solid #e3e6f0;
}

.btn-credboa-aprovado-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 16px;
  background: #eee;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
  color: #9c9b98 !important;
  font-size: 16px;
  font-weight: 500;
  cursor: default;
}

.btn-credboa-recusado-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 193px;
  min-height: 38px;
  padding: 8px 16px;
  background: #eee;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
  color: #9c9b98 !important;
  font-size: 16px;
  font-weight: 500;
  cursor: default;
}

.credboa-creditos-ver-card-footer .btn-credboa {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
}

.credboa-creditos-ver-card-footer .credboa-creditos-ver-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 193px;
  min-height: 38px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
}

.credboa-creditos-ver-card-footer .btn-credboa-danger.credboa-creditos-ver-btn {
  background-color: #d94126;
  border-color: #d94126;
}

.credboa-creditos-ver-card-footer .btn-credboa-danger.credboa-creditos-ver-btn:hover,
.credboa-creditos-ver-card-footer .btn-credboa-danger.credboa-creditos-ver-btn:focus {
  background-color: #b83520;
  border-color: #b83520;
}

.credboa-creditos-ver-card-footer .btn-credboa-success.credboa-creditos-ver-btn {
  background-color: #6fbf40;
  border-color: #6fbf40;
}

.credboa-creditos-ver-card-footer .btn-credboa-success.credboa-creditos-ver-btn:hover,
.credboa-creditos-ver-card-footer .btn-credboa-success.credboa-creditos-ver-btn:focus {
  background-color: #5da835;
  border-color: #5da835;
}

.credboa-creditos-ver-card-footer .btn-credboa i {
  font-size: 14px;
}

.credboa-creditos-ver-page-title {
  font-size: 28px;
  font-weight: 700;
  color: #73726f;
  line-height: 1.2;
}

.credboa-creditos-ver-header {
  gap: 12px;
}

.credboa-creditos-ver-actions {
  gap: 8px;
}

.credboa-creditos-progresso__title {
  font-size: 18px;
  font-weight: 700;
  color: #73726f;
  margin-bottom: 16px;
}

.credboa-creditos-progresso__bar {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  height: 24px;
  border-radius: 4px;
  overflow: visible;
  background: transparent;
}

.credboa-creditos-progresso__segment {
  display: block;
  height: 24px;
  min-width: 0;
  border-radius: 0;
  transition: width 0.2s ease;
}

.credboa-creditos-progresso__segment--pago {
  background: #6fbf40;
}

.credboa-creditos-progresso__segment--atrasado {
  background: #d94126;
}

.credboa-creditos-progresso__segment--restante {
  background: #ffbe00;
}

.credboa-creditos-progresso__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 12px;
  font-size: 14px;
  color: #73726f;
}

.credboa-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.credboa-dot--pago {
  background: #6fbf40;
}

.credboa-dot--atrasado {
  background: #d94126;
}

.credboa-dot--restante {
  background: #ffbe00;
}

.credboa-creditos-historico__item {
  padding: 12px 0;
  border-bottom: 1px solid #ececec;
}

.credboa-creditos-historico__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.credboa-swal-modal--reprovar .swal2-html-container {
  text-align: left;
}

.credboa-swal-reprovar__head h2 {
  font-size: 22px;
  font-weight: 700;
  color: #73726f;
  margin: 0 0 8px;
}

.credboa-swal-reprovar__text {
  font-size: 15px;
  color: #858796;
  margin-bottom: 16px;
}

.credboa-clientes-ver-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.credboa-clientes-ver-card-footer .credboa-clientes-ver-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 193px;
  min-height: 38px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
}

.credboa-clientes-ver-card-footer .btn-credboa-danger.credboa-clientes-ver-btn {
  background-color: #d94126;
  border-color: #d94126;
}

.credboa-clientes-ver-card-footer .btn-credboa-danger.credboa-clientes-ver-btn:hover,
.credboa-clientes-ver-card-footer .btn-credboa-danger.credboa-clientes-ver-btn:focus {
  background-color: #b83520;
  border-color: #b83520;
}

.credboa-clientes-ver-card-footer .btn-credboa-success.credboa-clientes-ver-btn {
  background-color: #6fbf40;
  border-color: #6fbf40;
}

.credboa-clientes-ver-card-footer .btn-credboa-success.credboa-clientes-ver-btn:hover,
.credboa-clientes-ver-card-footer .btn-credboa-success.credboa-clientes-ver-btn:focus {
  background-color: #5da835;
  border-color: #5da835;
}

.credboa-modal-reprovar-cliente .credboa-modal-reprovar-cliente__text {
  font-size: 15px;
  color: #858796;
  margin-bottom: 16px;
}

.credboa-modal-reprovar-cliente .btn-credboa-danger {
  background-color: #d94126;
  border-color: #d94126;
  color: #fff !important;
}

.credboa-modal-reprovar-cliente .btn-credboa-danger:hover,
.credboa-modal-reprovar-cliente .btn-credboa-danger:focus {
  background-color: #b83520;
  border-color: #b83520;
  color: #fff !important;
}

/* ── Clientes ver — KPIs, abas Créditos / Parcelas (Figma 19858:23029+) ─── */

.credboa-clientes-ver-kpis.credboa-simulacoes-detail-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.credboa-clientes-ver-kpis .credboa-simulacoes-detail-card {
  flex: 0 0 auto;
  width: 245px;
  max-width: 100%;
  min-height: 102px;
  height: 102px;
  padding: 8px 4px 8px 20px;
}

.credboa-clientes-ver-kpis .credboa-simulacoes-detail-card__label {
  margin-bottom: 8px;
  line-height: 16.8px;
}

.credboa-clientes-ver-kpis .credboa-simulacoes-detail-card__value {
  font-size: 24px;
  line-height: 24px;
}

.credboa-clientes-ver-card-body--com-abas {
  padding: 0;
}

.credboa-clientes-ver-tabs-wrap {
  width: 100%;
}

.credboa-clientes-ver-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0;
  padding: 0;
}

.credboa-clientes-ver-nav__link {
  appearance: none;
  background: #fcfcfc;
  border: 1px solid #eee;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  margin: 0 0 -1px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #73726f;
  line-height: 16.8px;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.credboa-clientes-ver-nav__link + .credboa-clientes-ver-nav__link {
  margin-left: -1px;
}

.credboa-clientes-ver-nav__link:hover,
.credboa-clientes-ver-nav__link:focus {
  color: #8e67b2;
  outline: none;
}

.credboa-clientes-ver-nav__link.is-active {
  color: #8e67b2;
  font-weight: 700;
  border-color: #9a78ba;
  background: #fcfcfc;
  z-index: 2;
}

.credboa-clientes-ver-tab-subtitle {
  background: #fcfcfb;
  border-bottom: 1px solid #e3e6f0;
  padding: 12px 20px;
  width: 100%;
}

.credboa-clientes-ver-tab-subtitle__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #70aa3b;
  line-height: 16.8px;
}

.credboa-clientes-ver-card-body--com-abas .credboa-clientes-ver-panel {
  padding: 20px;
}

.credboa-clientes-ver-card-body--com-abas .credboa-clientes-ver-panel .credboa-section-kicker {
  display: none;
}

.credboa-clientes-ver-card-body--com-abas .form-row.mt-4,
.credboa-clientes-ver-card-body--com-abas .credboa-clientes-ver-card-footer {
  padding-left: 20px;
  padding-right: 20px;
}

.credboa-clientes-ver-card-body--com-abas .credboa-clientes-ver-card-footer {
  padding-bottom: 20px;
}

.credboa-clientes-ver-panel .credboa-section-kicker {
  display: inline-block;
  margin-top: 4px;
}

.credboa-clientes-ver-table-wrap {
  border-radius: 8px;
  overflow: hidden;
}

.credboa-clientes-parcelas-table {
  min-width: 860px;
}

.credboa-clientes-parcelas-table thead th:nth-child(1),
.credboa-clientes-parcelas-table tbody td:nth-child(1) {
  width: auto;
  max-width: none;
  text-align: center !important;
  padding-left: 10px;
  padding-right: 10px;
}

.credboa-clientes-parcelas-table thead th:last-child,
.credboa-clientes-parcelas-table tbody td:last-child {
  min-width: 280px;
  white-space: nowrap;
}

.credboa-clientes-parcelas-table .credboa-parcelas-acoes--listagem {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.credboa-clientes-creditos-table thead th:last-child,
.credboa-clientes-creditos-table tbody td:last-child {
  white-space: nowrap;
  width: 1%;
}

@media (max-width: 991.98px) {
  .credboa-clientes-ver-kpis .credboa-simulacoes-detail-card {
    width: calc(50% - 12px);
  }
}

@media (max-width: 575.98px) {
  .credboa-clientes-ver-kpis .credboa-simulacoes-detail-card {
    width: 100%;
  }

  .credboa-clientes-ver-nav__link {
    font-size: 11px;
    padding: 8px 12px;
  }
}

@media (max-width: 991.98px) {
  .credboa-creditos-detail-cards.credboa-simulacoes-detail-cards,
  .credboa-creditos-detail-cards--operacional {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .credboa-creditos-detail-cards.credboa-simulacoes-detail-cards,
  .credboa-creditos-detail-cards--operacional {
    grid-template-columns: 1fr;
  }

  .credboa-creditos-ver-page-title {
    font-size: 22px;
  }
}

.credboa-creditos-preview-inline {
  background: #fff;
  border: 1px solid #e3e6f0;
  border-left: 4px solid #70aa3b;
  border-radius: 8px;
  box-shadow: 0 0 28px rgba(58, 59, 69, 0.1);
  overflow: hidden;
}

.credboa-creditos-preview-inline__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #fcfcfb;
  border-bottom: 1px solid #e3e6f0;
  color: #70aa3b;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.credboa-creditos-preview-inline__header i {
  color: #70aa3b;
  font-size: 20px;
  line-height: 1;
}

.credboa-creditos-preview-inline__body {
  padding: 20px;
  background: #fff;
}

.credboa-creditos-preview-inline__label {
  display: block;
  font-size: 13px;
  color: #73726f;
  margin-bottom: 4px;
}

.credboa-creditos-preview-inline__body strong {
  font-size: 16px;
  font-weight: 700;
  color: #858796;
}

.credboa-creditos-preview-inline__hint {
  font-size: 14px;
  line-height: 1.4;
  color: #7a51a0;
}

.credboa-creditos-preview-inline__hint i {
  color: #7a51a0;
  margin-right: 4px;
}

.credboa-creditos-form-footer {
  border-top: 1px solid #ececec;
  padding-top: 16px;
}

.credboa-placa-input-wrap {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.credboa-placa-input-wrap .form-control {
  flex: 1 1 auto;
  min-width: 0;
}

.credboa-placa-input-wrap__btn {
  flex-shrink: 0;
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
}

/* Agenda de recebimentos */
.credboa-agenda-page .credboa-agenda-kpis.credboa-simulacoes-detail-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
}

.credboa-agenda-page .credboa-agenda-kpis .credboa-simulacoes-detail-card {
  flex: 0 0 auto;
  width: 245px;
  max-width: 100%;
  min-height: 102px;
}

.credboa-agenda-section {
  padding: 20px 24px 24px;
}

.credboa-agenda-calendario__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.credboa-agenda-calendario__title {
  margin: 0;
  min-width: 180px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #262629;
}

.credboa-agenda-calendario__nav {
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.credboa-agenda-calendario__weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.credboa-agenda-calendario__weekday {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #73726f;
  padding: 8px 4px;
}

.credboa-agenda-calendario__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.credboa-agenda-calendario__cell {
  min-height: 88px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #fcfcfc;
}

.credboa-agenda-calendario__cell--empty {
  background: transparent;
  border: none;
  min-height: 88px;
}

.credboa-agenda-calendario__day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  min-height: 88px;
  padding: 10px 6px 8px;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
  cursor: default;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.credboa-agenda-calendario__day:not([disabled]) {
  cursor: pointer;
}

.credboa-agenda-calendario__day:not([disabled]):hover {
  border-color: #7a51a0;
  box-shadow: 0 2px 8px rgba(122, 81, 160, 0.12);
}

.credboa-agenda-calendario__day[disabled] {
  background: #fafafa;
  color: #b7b7b7;
}

.credboa-agenda-calendario__day.is-today {
  border-color: #82c04a;
  box-shadow: inset 0 0 0 1px #82c04a;
}

.credboa-agenda-calendario__day.has-pendencias:not([disabled]) {
  border-color: #e8dcc8;
  background: #fffcf7;
}

.credboa-agenda-calendario__day-num {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: #262629;
}

.credboa-agenda-calendario__day[disabled] .credboa-agenda-calendario__day-num {
  color: #c5c5c5;
}

.credboa-agenda-calendario__badge {
  display: inline-block;
  max-width: 100%;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f5ead6;
  color: #8a7348;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.credboa-agenda-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Agenda: 6 colunas — coluna Ação é a 6ª (parcelas usa 7) */
.credboa-agenda-page .credboa-agenda-table.credboa-parcelas-table {
  table-layout: auto;
  width: 100%;
  min-width: 1100px;
}

.credboa-agenda-page .credboa-agenda-table.credboa-parcelas-table thead th:nth-child(6),
.credboa-agenda-page .credboa-agenda-table.credboa-parcelas-table tbody td:nth-child(6) {
  width: 457px;
  min-width: 457px;
  max-width: none;
  padding-right: 24px;
}

.credboa-agenda-page .credboa-agenda-table .credboa-parcelas-acoes--listagem {
  max-width: none;
  flex-wrap: nowrap;
  gap: 8px;
}

.credboa-modal-agenda-dia.credboa-modal-form .modal-dialog,
.credboa-modal-agenda-dia .credboa-modal-agenda-dia__dialog {
  max-width: 1249px;
  width: calc(100% - 2rem);
  margin: 1rem auto;
}

.credboa-modal-agenda-dia .modal-content {
  border-radius: 8px;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
}

.credboa-modal-agenda-dia__header {
  border-bottom: 1px solid #ececec;
  padding: 31px 32px 0;
}

.credboa-modal-agenda-dia__title {
  font-size: 28px;
  font-weight: 600;
  color: #73726f;
}

.credboa-modal-agenda-dia__body {
  padding: 32px;
}

.credboa-modal-agenda-dia__body .credboa-agenda-table-wrap {
  background: #f7f8f8;
  border-radius: 8px;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
}

.credboa-modal-agenda-dia .credboa-agenda-table--modal.credboa-parcelas-table {
  table-layout: auto;
  width: 100%;
  min-width: 870px;
}

.credboa-modal-agenda-dia .credboa-agenda-table--modal.credboa-parcelas-table thead th:nth-child(6),
.credboa-modal-agenda-dia .credboa-agenda-table--modal.credboa-parcelas-table tbody td:nth-child(6) {
  width: 314px;
  min-width: 314px;
  max-width: none;
}

.credboa-modal-agenda-dia .credboa-agenda-table .credboa-parcelas-acoes--listagem {
  max-width: none;
  flex-wrap: nowrap;
  gap: 8px;
}

@media (max-width: 991.98px) {
  .credboa-agenda-page .credboa-agenda-kpis .credboa-simulacoes-detail-card {
    width: calc(50% - 12px);
  }

  .credboa-agenda-calendario__day {
    min-height: 72px;
    padding-top: 8px;
  }

  .credboa-agenda-calendario__cell,
  .credboa-agenda-calendario__cell--empty {
    min-height: 72px;
  }
}

@media (max-width: 575.98px) {
  .credboa-agenda-page .credboa-agenda-kpis .credboa-simulacoes-detail-card {
    width: 100%;
  }

  .credboa-agenda-calendario__weekdays,
  .credboa-agenda-calendario__grid {
    gap: 4px;
  }

  .credboa-agenda-calendario__weekday {
    font-size: 11px;
    padding: 4px 0;
  }

  .credboa-agenda-calendario__day {
    min-height: 64px;
    padding: 6px 2px;
  }

  .credboa-agenda-calendario__day-num {
    font-size: 14px;
  }

  .credboa-agenda-calendario__badge {
    font-size: 9px;
    padding: 2px 4px;
  }
}

/* ── Encerramento de contas (Figma 19858:29574 / 19858:29635) ─────────────── */

.credboa-encerramento-page .credboa-encerramento-table thead th:nth-child(7),
.credboa-encerramento-page .credboa-encerramento-table tbody td:nth-child(7) {
  width: 96px;
  min-width: 96px;
  text-align: center;
  white-space: nowrap;
}

.credboa-encerramento-ver-body {
  padding-top: 8px;
}

.credboa-encerramento-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  font-size: 14px;
  color: #858796;
}

.credboa-encerramento-meta__item strong {
  color: #5a5c69;
  font-weight: 600;
}

.credboa-encerramento-alerta {
  border-radius: 8px;
  font-size: 14px;
}

.credboa-doc-anexo--readonly .credboa-doc-anexo__btn--static {
  pointer-events: none;
  cursor: default;
  opacity: 0.72;
}

.credboa-doc-anexo--readonly.has-file .credboa-doc-anexo__nome.credboa-link {
  color: var(--credboa-primary, #6f42c1);
  text-decoration: none;
}

.credboa-doc-anexo--readonly.has-file .credboa-doc-anexo__nome.credboa-link:hover {
  text-decoration: underline;
}

.credboa-encerramento-ver-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.credboa-encerramento-ver-footer .credboa-encerramento-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 193px;
  min-height: 38px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
}

.credboa-encerramento-ver-footer .btn-credboa-danger.credboa-encerramento-btn {
  background-color: #d94126;
  border-color: #d94126;
  color: #fff !important;
}

.credboa-encerramento-ver-footer .btn-credboa-danger.credboa-encerramento-btn:hover,
.credboa-encerramento-ver-footer .btn-credboa-danger.credboa-encerramento-btn:focus {
  background-color: #b83520;
  border-color: #b83520;
  color: #fff !important;
}

.credboa-encerramento-ver-footer .credboa-encerramento-btn--disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.credboa-modal-encerrar-conta .modal-dialog {
  max-width: 520px;
}

.credboa-modal-encerrar-conta .credboa-modal-encerrar-conta__text {
  font-size: 15px;
  color: #858796;
}

.credboa-modal-encerrar-conta .btn-credboa-danger {
  background-color: #d94126;
  border-color: #d94126;
  color: #fff !important;
}

.credboa-modal-encerrar-conta .btn-credboa-danger:hover,
.credboa-modal-encerrar-conta .btn-credboa-danger:focus {
  background-color: #b83520;
  border-color: #b83520;
  color: #fff !important;
}

/* Relatórios — Figma CredBoa */
.credboa-relatorios-page-head {
  gap: 8px;
}

.credboa-relatorios-kpis--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.credboa-relatorios-kpi-sub {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #858796;
}

.credboa-relatorios-hub-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 100%;
}

.credboa-relatorios-hub-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 102px;
  padding: 20px 24px 20px 20px;
  background: #fcfcfc;
  border-radius: 8px;
  border-left: 4px solid #7a51a0;
  box-shadow: 0 2px 14px rgba(58, 59, 69, 0.1);
  text-decoration: none !important;
  transition: box-shadow 0.2s ease;
}

.credboa-relatorios-hub-card:hover,
.credboa-relatorios-hub-card:focus {
  box-shadow: 0 4px 18px rgba(58, 59, 69, 0.14);
  text-decoration: none !important;
}

.credboa-relatorios-hub-card__title {
  display: block;
  margin-bottom: 8px;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #73726f;
}

.credboa-relatorios-hub-card__desc {
  display: block;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #73726f;
}

.credboa-relatorios-table-wrap {
  margin-bottom: 0;
}

.credboa-relatorios-table thead th {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #858796;
  border-top: none;
}

.credboa-relatorios-table tbody td {
  font-size: 14px;
  color: #5a5c69;
  vertical-align: middle;
}

.credboa-relatorios-table--contabil {
  min-width: 1100px;
}

.credboa-relatorios-resumo-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.credboa-relatorios-resumo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 16px;
  background: #fcfcfc;
  border-radius: 8px;
  border-left: 4px solid #d1d3e2;
  box-shadow: 0 1px 6px rgba(58, 59, 69, 0.06);
}

.credboa-relatorios-resumo-row--green {
  border-left-color: #6fbf40;
}

.credboa-relatorios-resumo-row--yellow {
  border-left-color: #ffbe00;
}

.credboa-relatorios-resumo-row--red {
  border-left-color: #d94126;
}

.credboa-relatorios-resumo-row--neutral {
  border-left-color: #7a51a0;
}

.credboa-relatorios-resumo-row__label {
  font-size: 14px;
  color: #858796;
}

.credboa-relatorios-resumo-row__value {
  font-size: 16px;
  font-weight: 700;
  color: #5a5c69;
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  .credboa-relatorios-hub-list {
    grid-template-columns: 1fr;
  }

  .credboa-relatorios-kpis--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .credboa-relatorios-kpis--3,
  .credboa-relatorios-page .credboa-simulacoes-detail-cards {
    grid-template-columns: 1fr;
  }
}

.credboa-relatorios-page-title__main {
  margin: 0 0 16px;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: #73726f;
}

.credboa-relatorios-page-title__sub {
  margin: 0;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: #73726f;
}

.credboa-relatorios-filter-card {
  overflow: hidden;
}

.credboa-relatorios-filter-card__header,
.credboa-relatorios-table-card__header {
  padding: 12px 20px 13px;
  border-bottom: 1px solid #eee;
  background: #fcfcfc;
}

.credboa-relatorios-filter-card.bg-filtrando .credboa-relatorios-filter-card__header,
.credboa-relatorios-filter-card .credboa-relatorios-filter-card__header.bg-filtrando {
  background-color: rgba(122, 81, 160, 0.02);
}

.credboa-relatorios-filter-row {
  gap: 8px 32px;
}

.credboa-relatorios-filter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.credboa-relatorios-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 138px;
  min-height: 38px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
}

.credboa-relatorios-filter-limpar .btn {
  min-height: 38px;
  border-radius: 8px;
}

.credboa-relatorios-filter-limpar:empty {
  display: none;
}

.credboa-relatorios-projecao .credboa-simulacoes-detail-card {
  border-left-color: #7a51a0;
}

.credboa-relatorios-table-card .card-body {
  padding-top: 20px;
}

.credboa-relatorios-kpis--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.credboa-relatorios-kpi-sub--green {
  color: #437326 !important;
}

.credboa-relatorios-kpi-sub--yellow {
  color: #997200 !important;
}

.credboa-relatorios-kpi-sub--red {
  color: #ad331f !important;
}

.credboa-relatorios-inadimplencia-grid {
  display: grid;
  grid-template-columns: minmax(280px, 528px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.credboa-relatorios-pie-card {
  background: #fcfcfc;
  border: 1px solid #eee;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(238, 238, 238, 1) !important;
}

.credboa-relatorios-pie-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 24px;
}

.credboa-relatorios-pie-card__title {
  align-self: stretch;
  margin: 0;
  font-family: 'Lato', 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  color: #121212;
}

.credboa-relatorios-pie-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 480px;
}

.credboa-relatorios-pie-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

.credboa-relatorios-pie-legend {
  justify-content: center;
  gap: 20px;
}

.credboa-relatorios-inadimplencia-resumos {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.credboa-relatorios-resumo-card {
  overflow: hidden;
}

.credboa-relatorios-resumo-table {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.credboa-relatorios-resumo-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 56px;
  padding: 12px 24px;
  border-bottom: 1px solid #eee;
}

.credboa-relatorios-resumo-table__row--green {
  background: #ebf6e4;
}

.credboa-relatorios-resumo-table__row--green .credboa-relatorios-resumo-table__label {
  color: #437326;
}

.credboa-relatorios-resumo-table__row--yellow {
  background: #fff8e5;
}

.credboa-relatorios-resumo-table__row--yellow .credboa-relatorios-resumo-table__label {
  color: #997200;
}

.credboa-relatorios-resumo-table__row--red {
  background: #fbebe9;
}

.credboa-relatorios-resumo-table__row--red .credboa-relatorios-resumo-table__label {
  color: #ad331f;
}

.credboa-relatorios-resumo-table__row--neutral {
  background: #fcfcfc;
}

.credboa-relatorios-resumo-table__label {
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  color: #121212;
  text-align: center;
}

.credboa-relatorios-resumo-table__value {
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #121212;
  text-align: center;
}

.credboa-relatorios-resumo-table__row--neutral .credboa-relatorios-resumo-table__label,
.credboa-relatorios-resumo-table__row--neutral .credboa-relatorios-resumo-table__value {
  font-weight: 500;
}

@media (max-width: 1199.98px) {
  .credboa-relatorios-kpis--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credboa-relatorios-inadimplencia-grid {
    grid-template-columns: 1fr;
  }

  .credboa-relatorios-pie-wrap {
    max-width: 360px;
    height: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .credboa-relatorios-kpis--4 {
    grid-template-columns: 1fr;
  }
}

.credboa-relatorios-page-title--actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.credboa-relatorios-gerar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  white-space: nowrap;
}

.credboa-relatorios-contabil .credboa-simulacoes-detail-card--accent-green {
  border-left-color: #82c04a;
}

.credboa-relatorios-fluxo-chart-wrap {
  height: 350px;
}

.credboa-relatorios-fluxo-legend {
  flex-wrap: wrap;
  gap: 20px 24px;
}