.processo-dados-container .checkout-page-header h1 {
  color: #535d6a;
}

.processo-dados-container .checkout-page-header p {
  color: #65758b;
}

.processo-dados-container .checkout-novo-stepper {
  margin-bottom: 32px;
}

.processo-dados-container .checkout-stepper-mobile-row {
  font-weight: 500;
  color: #65758b;
}

.processo-dados-container .checkout-stepper-mobile-row .current {
  font-weight: 600;
}

.processo-dados-card .checkout-field-row {
  margin-bottom: 0;
}

.processo-row-cpf-nome {
  grid-template-columns: 200px minmax(0, 1fr);
}

.processo-row-emails-cel {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 200px;
}

.processo-row-cep-log-num {
  grid-template-columns: 180px minmax(0, 1fr) 100px;
}

.processo-row-comp-bairro-cidade-uf {
  grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1fr) 128px;
}

.processo-dados-card .checkout-label {
  margin-bottom: 13px;
}

.processo-dados-card .checkout-input,
.processo-dados-card .checkout-select {
  background: #f8fafc;
  text-transform: uppercase;
}

.processo-dados-card .checkout-input,
.processo-dados-card .checkout-input::placeholder,
.processo-dados-card .checkout-select,
.processo-dados-card .checkout-select::placeholder,
.processo-dados-card .checkout-required {
  color: #65758b;
}

.processo-dados-card .checkout-input[disabled],
.processo-dados-card .checkout-select[disabled] {
  background: #f8fafc;
  border-color: #e1e7ef;
  color: #65758b;
}

.processo-dados-card .checkout-select2 + .select2-container .select2-selection--single,
.processo-dados-card .ps-select2-container.select2-container--default .select2-selection--single,
.processo-dados-card .ps-select2-container.select2-container--default.select2-container--focus .select2-selection--single,
.processo-dados-card .ps-select2-container.select2-container--disabled .select2-selection--single,
.processo-dados-card .checkout-select:disabled + .ps-select2-container .select2-selection--single {
  height: 40px !important;
  border-color: #e1e7ef !important;
  background: #f8fafc !important;
}

.processo-dados-card .checkout-select2 + .select2-container .select2-selection__rendered,
.processo-dados-card .ps-select2-container.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 20px !important;
  color: #535d6a !important;
}

.processo-dados-card .checkout-select2 + .select2-container .select2-selection__placeholder,
.processo-dados-card .ps-select2-container.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #535d6a !important;
}

.processo-dados-card .checkout-select2 + .select2-container .select2-selection__arrow,
.processo-dados-card .ps-select2-container.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px !important;
}

.processo-dados-card .checkout-btn {
  border-radius: 10px;
}

.processo-dados-card #checkout-back {
  opacity: 0.5;
  pointer-events: none;
}

.swal2-container:has(.token-access-modal) {
  padding: 24px;
}

.token-access-modal {
  width: auto;
  max-width: min(404px, calc(100vw - 48px));
  max-height: min(810px, calc(100vh - 48px));
  border-radius: 12px;
  border: 1px solid #d8e1f1;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
  padding: 24px;
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.token-access-modal .swal2-icon,
.token-access-modal .swal2-icon-content,
.token-access-modal .swal2-validation-message {
  display: none !important;
}

.token-access-modal__title {
  margin: 0 !important;
  padding: 0 !important;
  width: 356px;
  max-width: 100%;
  font-size: 18px !important;
  line-height: 28px !important;
  font-weight: 600 !important;
  color: #535d6a !important;
  text-align: left !important;
}

.token-access-modal__html {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.token-access-modal__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.token-access-modal__description {
  width: 356px;
  max-width: 100%;
  margin: 0;
  font-size: 14px;
  line-height: 22.75px;
  color: #65758b;
}

.token-access-modal__field {
  width: 356px;
  max-width: 100%;
  display: block;
}

.token-access-modal__input {
  width: 356px;
  height: 40px;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid var(--checkout-border);
  padding: 8px 12px;
  font-size: 14px;
  line-height: 22px;
  color: #535d6a;
  background: #f8fafc;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.token-access-modal__field .checkout-error {
  text-align: left;
}

.token-access-modal__input::placeholder {
  color: #64748b;
}

.token-access-modal__input:focus {
  outline: none;
  border-color: var(--checkout-primary);
  border-width: 1.5px;
  box-shadow: none;
}

.token-access-modal__actions {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: flex-end;
  gap: 8px;
}

.token-access-modal__button {
  margin: 0 !important;
  border: 1px solid var(--checkout-border) !important;
  border-radius: 10px !important;
  min-width: 88px;
  height: 40px;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

.token-access-modal__button:focus {
  box-shadow: none !important;
}

.token-access-modal__button--primary {
  background: var(--checkout-primary) !important;
  border-color: var(--checkout-primary) !important;
  color: #ffffff !important;
}

.token-access-modal__button--primary:hover {
  background: var(--checkout-primary-hover) !important;
  border-color: var(--checkout-primary-hover) !important;
}

.token-access-modal__button--secondary {
  background: #f8fafc !important;
  color: #64748b !important;
}

.token-access-modal__button--secondary:hover {
  background: hsl(217 97% 95%) !important;
  border-color: hsl(217 97% 95%) !important;
  color: rgba(3, 69, 176, 1) !important;
}

.token-access-modal--loading .token-access-modal__button {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none !important;
}

.token-access-modal--loading .token-access-modal__button--primary {
  background: color-mix(in srgb, var(--checkout-primary) 22%, #ffffff 78%) !important;
  border-color: color-mix(in srgb, var(--checkout-primary) 32%, #ffffff 68%) !important;
  color: rgba(3, 69, 176, 1) !important;
}

.token-access-modal--loading .token-access-modal__button--secondary {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(225, 231, 239, 1) !important;
}

@media (max-width: 767px) {
  .processo-dados-card {
    padding: 25px;
  }

  .processo-row-cpf-nome,
  .processo-row-emails-cel,
  .processo-row-cep-log-num,
  .processo-row-comp-bairro-cidade-uf {
    grid-template-columns: 1fr;
  }

  .processo-dados-card .checkout-input,
  .processo-dados-card .checkout-select {
    font-size: 16px;
  }

  .processo-dados-card .checkout-input::placeholder {
    font-size: 16px;
  }

  .processo-dados-card .checkout-button-row {
    flex-direction: row;
  }

  .processo-dados-card .checkout-button-row .checkout-btn {
    width: auto;
  }

  .swal2-container:has(.token-access-modal) {
    padding: 16px;
  }

  .token-access-modal {
    width: min(100%, 356px);
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    padding: 20px 16px;
  }

  .token-access-modal__title {
    width: 100%;
    text-align: left !important;
    font-size: 20px !important;
    line-height: 28px !important;
  }

  .token-access-modal__description,
  .token-access-modal__field,
  .token-access-modal__input {
    width: 100%;
    max-width: 100%;
  }

  .token-access-modal__actions {
    flex-direction: column-reverse;
  }

  .token-access-modal__button {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .processo-dados-container .checkout-page-header h1 {
    font-size: 30px;
    line-height: 36px;
  }
}
