.cdc-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s, visibility 0.2s;
}
.cdc-modal[aria-hidden=false] {
  visibility: visible;
  opacity: 1;
}

.cdc-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.cdc-modal__container {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  transform: translateY(8px);
  transition: transform 0.2s;
}
.cdc-modal[aria-hidden=false] .cdc-modal__container {
  transform: translateY(0);
}

.cdc-modal__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  min-height: 28px;
}

.cdc-modal__title {
  font-size: 22px;
  font-weight: 700;
  color: #183c8f;
  margin: 0;
  font-family: "Poppins Bold", sans-serif;
  text-align: center;
  padding: 0 40px;
  line-height: 1.3;
}

.cdc-modal__close {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: 1px solid #183c8f;
  border-radius: 8px;
  padding: 4px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: #183c8f;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s, background-color 0.15s;
  flex-shrink: 0;
}
.cdc-modal__close:hover {
  opacity: 0.7;
  background-color: rgba(24, 60, 143, 0.05);
}

.cdc-modal__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cdc-modal__actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cdc-modal__actions--single {
  display: flex;
}
.cdc-modal__actions--single .cdc-btn {
  width: 100%;
  min-width: unset;
  height: 56px;
  font-size: 16px;
  font-weight: 500;
}

.cdc-modal__feedback {
  font-size: 14px;
  line-height: 1.4;
  border-radius: 8px;
  padding: 0;
  min-height: 0;
  transition: all 0.2s;
}
.cdc-modal__feedback.is-success {
  color: #1a7f4b;
  background: #e8f5ef;
  padding: 10px 14px;
}
.cdc-modal__feedback.is-error {
  color: #c0392b;
  background: #fdf0ee;
  padding: 10px 14px;
}

.cdc-form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.cdc-form-group--flex1 {
  flex: 1;
}

.cdc-form-group--flex2 {
  flex: 2;
}

.cdc-form-group--flex3 {
  flex: 3;
}

.cdc-form-row {
  display: flex;
  gap: 16px;
}

.cdc-form-group--cep .cdc-form-cep-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.cdc-form-group--cep .cdc-form-cep-wrap {
  width: calc(50% - 8px);
  max-width: 100%;
  position: relative;
}
.cdc-form-group--cep .cdc-form-help {
  color: #f00000;
}

.cdc-form-label {
  font-size: 14px;
  font-weight: 500;
  color: #183c8f;
  line-height: 1.4;
}

.cdc-form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cdc-form-cep-link {
  font-size: 14px;
  color: #183c8f;
  text-decoration: underline;
  white-space: nowrap;
  line-height: 1.4;
  font-weight: 500;
}
.cdc-form-cep-link:hover {
  color: #0a1c59;
}

.cdc-form-required {
  color: #183c8f;
}

.cdc-form-input,
.cdc-form-select {
  height: 48px;
  padding: 0 20px;
  border: 1px solid #183c8f;
  border-radius: 14px;
  font-size: 16px;
  color: #333;
  background: #fff;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
}
.cdc-form-input::placeholder,
.cdc-form-select::placeholder {
  color: #989898;
}
.cdc-form-input:focus,
.cdc-form-select:focus {
  outline: none;
  border-color: #183c8f;
  box-shadow: 0 0 0 3px rgba(24, 60, 143, 0.12);
}
.cdc-form-input.is-invalid,
.cdc-form-select.is-invalid {
  border-color: #183c8f;
  box-shadow: none;
}
.cdc-form-input--readonly,
.cdc-form-select--readonly {
  background: #f4f4f4;
  color: #989898;
  cursor: not-allowed;
  border-color: #d9d9d9;
}

.cdc-form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23183c8f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 44px;
  cursor: pointer;
}

.cdc-form-help {
  font-size: 12px;
  color: #989898;
  line-height: 1.4;
}

.cdc-form-cep-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cdc-cep-spinner {
  position: absolute;
  right: 20px;
  width: 16px;
  height: 16px;
  border: 2px solid #d9d9d9;
  border-top-color: #183c8f;
  border-radius: 50%;
  animation: cdc-spin 0.7s linear infinite;
}
.cdc-cep-spinner.is-hidden {
  display: none;
}

@keyframes cdc-spin {
  to {
    transform: rotate(360deg);
  }
}
.cdc-btn {
  height: 48px;
  padding: 0 28px;
  border-radius: 32px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  border: none;
}
.cdc-btn--primary {
  background: #183c8f;
  color: #fff;
  border: 1px solid #183c8f;
}
.cdc-btn--primary:hover {
  background: #0a1c59;
  border-color: #0a1c59;
}
.cdc-btn--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cdc-btn--outline {
  background: transparent;
  color: #183c8f;
  border: 1px solid #183c8f;
}
.cdc-btn--outline:hover {
  background: #183c8f;
  color: #fff;
}

@media (max-width: 768px) {
  .cdc-form-row {
    flex-direction: column;
    gap: 16px;
  }
  .cdc-form-group--cep .cdc-form-cep-wrap {
    width: 100%;
  }
  .cdc-form-group--cep .cdc-form-help {
    position: static;
    line-height: 1.4;
    white-space: normal;
  }
  .cdc-modal {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
  }
  .cdc-modal__overlay {
    display: none;
  }
  .cdc-modal__container {
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    padding: 24px 20px;
    box-shadow: none;
  }
  .cdc-modal__title {
    font-size: 20px;
  }
  .cdc-modal__actions {
    flex-direction: column-reverse;
  }
  .cdc-modal__actions .cdc-btn {
    width: 100%;
  }
}

/*# sourceMappingURL=cdc-form-modal.css.map */
