/*
 * Arquivo Base de Estilos - Processo Seletivo
 * Regras compartilhadas entre as telas do fluxo público.
 */

:root {
  color-scheme: light;
  --checkout-primary: #2779fc;
  --checkout-primary-dark: #1e63d4;
  --checkout-primary-hover: rgba(39, 121, 252, 0.9);
  --checkout-primary-light: #8eb5fb;
  --checkout-success: #009961;
  --checkout-success-dark: #007a4d;
  --checkout-success-hover: rgba(0, 153, 97, 0.9);
  --checkout-secondary: #f1f5f9;
  --checkout-secondary-hover: rgba(248, 250, 252, 0.9);
  --checkout-accent: #e6efff;
  --checkout-border: #d8e1f1;
  --checkout-muted: #65758b;
  --checkout-text: #535d6a;
  --checkout-card-bg: #ffffff;
  --checkout-bg: #f8fafc;
  --checkout-font: "Poppins", "Segoe UI", sans-serif;
  --checkout-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  --checkout-shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.15);
  --checkout-shadow-primary: 0 0 0 4px rgba(39, 121, 252, 0.2), 0 10px 15px -3px rgba(39, 121, 252, 0.3), 0 4px 6px -4px rgba(39, 121, 252, 0.3);
  --checkout-shadow-stepper: 0 10px 15px -3px rgba(39, 121, 252, 0.3), 0 4px 6px -4px rgba(39, 121, 252, 0.3);
  --ps-select2-check-icon: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.67 3L5.33438 10.33L2 6.99818' stroke='black' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ps-primary: var(--checkout-primary);
  --ps-bg: var(--checkout-bg);
  --ps-border: #e1e7ef;
  --ps-text: #334155;
  --ps-muted: #64748b;
}

body.checkout-novo-body,
body.processo-prova-body,
body.processo-redacao-body {
  margin: 0;
  font-family: var(--checkout-font);
  background: var(--checkout-bg);
  color: var(--checkout-text);
}

body.checkout-novo-body {
  min-height: 100vh;
}

.checkout-novo-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.checkout-novo-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid var(--checkout-border);
}

.checkout-novo-header-inner,
.checkout-novo-container {
  width: 100%;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.checkout-novo-header-inner {
  max-width: 390px;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-novo-header-inner img {
  width: 108px;
  height: 48px;
  object-fit: contain;
}

.checkout-novo-main {
  flex: 1;
  width: 100%;
}

.checkout-novo-container {
  max-width: 390px;
  padding: 32px 16px 48px;
}

.checkout-novo-intro {
  text-align: center;
  margin-bottom: 32px;
}

.checkout-novo-intro h1 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.checkout-novo-intro p {
  color: var(--checkout-muted);
  margin: 0 auto;
  max-width: 550px;
  font-size: 16px;
  line-height: 24px;
}

.checkout-novo-stepper {
  margin-bottom: 24px;
}

.checkout-stepper-desktop {
  display: none;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.checkout-stepper-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.checkout-stepper-track {
  display: flex;
  align-items: center;
  width: 100%;
}

.checkout-stepper-line {
  flex: 1;
  height: 2px;
  background: var(--checkout-border);
  transition: background 0.3s ease;
}

.checkout-stepper-line.muted {
  opacity: 0;
}

.checkout-stepper-line.active {
  background: var(--checkout-primary);
}

.checkout-stepper-circle {
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  background: #ffffff;
  border: 2px solid #e1e7ef;
  color: var(--checkout-muted);
  transition: all 0.3s ease;
  font-size: 14px;
  line-height: 20px;
}

.checkout-stepper-circle.active,
.checkout-stepper-circle.completed {
  background: var(--checkout-primary);
  border-color: var(--checkout-primary);
}

.checkout-stepper-circle.active {
  color: #ffff;
  box-shadow: var(--checkout-shadow-primary);
}

.checkout-stepper-circle.completed {
  color: #ffffff;
  box-shadow: var(--checkout-shadow-stepper);
}

.checkout-stepper-label {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--checkout-muted);
}

.checkout-stepper-label.active,
.checkout-stepper-label.completed {
  color: var(--checkout-primary);
}

.checkout-stepper-mobile {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-stepper-mobile-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--checkout-muted);
}

.checkout-stepper-mobile-row .current {
  color: var(--checkout-primary);
  font-weight: 600;
}

.checkout-stepper-progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--checkout-border);
  overflow: hidden;
}

.checkout-stepper-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--checkout-primary);
  transition: width 0.3s ease;
}

.checkout-novo-grid,
.processo-dados-grid,
.processo-curso-grid,
.processo-ingresso-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.processo-dados-container,
.processo-curso-container,
.processo-ingresso-container {
  padding-top: 32px;
  padding-bottom: 48px;
}

.checkout-card,
.ps-card {
  background: var(--checkout-card-bg);
  border-radius: 12px;
  border: 1px solid var(--checkout-border);
  box-shadow: var(--checkout-shadow);
  padding: 25px;
}

.checkout-form-steps {
  display: flex;
  flex-direction: column;
}

.checkout-step {
  display: none;
  flex-direction: column;
  gap: 18px;
  animation: fadeSlide 0.25s ease;
}

.checkout-card .checkout-step,
.checkout-step.active {
  display: flex;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.checkout-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--checkout-border);
}

.checkout-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(39, 121, 252, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--checkout-primary);
}

.checkout-step-title h3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  margin: 0 0 4px;
}

.checkout-step-title p {
  margin: 0;
  color: var(--checkout-muted);
  font-size: 14px;
  line-height: 20px;
}

.checkout-field-grid {
  display: grid;
  gap: 16px;
}

.checkout-field-row {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.checkout-field-row.row-2-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  margin-bottom: 13px;
  color: var(--checkout-text);
}

.checkout-input,
.checkout-select,
.checkout-static {
  width: 100%;
  height: 40px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid var(--checkout-border);
  padding: 8px 12px;
  font-size: 14px;
  background: hsl(210 40% 98%);
  color: var(--checkout-text);
  line-height: 22px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.checkout-input:focus,
.checkout-select:focus {
  outline: none;
  border-color: var(--checkout-primary);
  border-width: 1.5px;
  box-shadow: none;
}

.checkout-input:read-only,
.checkout-input.disabled,
.checkout-select.disabled,
.checkout-static {
  background: #f8fafc;
}

.checkout-input.has-error,
.checkout-select.has-error {
  border-color: #dc2626;
}

.checkout-select2 + .select2-container .select2-selection--single.has-error,
.ps-select2-container .select2-selection--single.has-error {
  border-color: #dc2626 !important;
}

.checkout-input[disabled],
.checkout-select[disabled] {
  background: #f1f5f9;
  color: #64748b;
}

.checkout-card .checkout-input[disabled].has-error,
.checkout-card .checkout-select[disabled].has-error,
.ps-card .checkout-input[disabled].has-error,
.ps-card .checkout-select[disabled].has-error {
  border-color: #dc2626 !important;
}

.checkout-required {
  display: block;
  font-size: 12px;
  line-height: 16px;
  color: var(--checkout-muted);
  margin-top: 0;
}

.checkout-error {
  font-size: 12px;
  color: #dc2626;
  min-height: 18px;
  margin-top: 4px;
}

.checkout-select2 + .select2-container,
.ps-select2-container {
  width: 100% !important;
  font-size: 14px;
}

.checkout-select2 + .select2-container .select2-selection--single,
.ps-select2-container.select2-container--default .select2-selection--single,
.ps-select2-container.select2-container--default.select2-container--focus .select2-selection--single {
  height: 40px !important;
  box-sizing: border-box !important;
  border-radius: 10px !important;
  border: 1px solid #e1e7ef !important;
  background: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 13px !important;
  box-shadow: none !important;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.ps-select2-container.select2-container--open .select2-selection--single,
.ps-select2-container.select2-container--focus .select2-selection--single {
  border-color: var(--checkout-primary) !important;
  border-width: 1.5px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}

.checkout-select2 + .select2-container .select2-selection__rendered,
.ps-select2-container.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 20px !important;
  color: #535d6a !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

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

.checkout-select2 + .select2-container .select2-selection__arrow,
.ps-select2-container.select2-container--default .select2-selection--single .select2-selection__arrow {
  position: absolute !important;
  top: 0 !important;
  right: 10px !important;
  height: 40px !important;
  width: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0.5 !important;
}

.checkout-select2 + .select2-container .select2-selection__arrow b,
.ps-select2-container .select2-selection__arrow b {
  display: none !important;
}

.checkout-select2 + .select2-container .select2-selection__arrow::after,
.ps-select2-container .select2-selection__arrow::after {
  content: "\ea4e" !important;
  font-family: "remixicon" !important;
  font-size: 16px !important;
  color: rgba(100, 116, 139, 0.8) !important;
  position: static !important;
  line-height: 1 !important;
  transform: none !important;
}

.checkout-card .checkout-select2 + .select2-container .select2-selection--single.has-error,
.checkout-card .ps-select2-container .select2-selection--single.has-error,
.ps-card .checkout-select2 + .select2-container .select2-selection--single.has-error,
.ps-card .ps-select2-container .select2-selection--single.has-error,
.checkout-novo-body .select2-container--default .select2-selection--single.has-error {
  border-color: #dc2626 !important;
}

.ps-select2-container.select2-container--disabled .select2-selection--single,
.checkout-select:disabled + .ps-select2-container .select2-selection--single {
  background: #f1f5f9 !important;
  border-color: #e1e7ef !important;
  color: #97a6ba !important;
  cursor: not-allowed !important;
}

.checkout-card .ps-select2-container.select2-container--disabled .select2-selection--single.has-error,
.checkout-card .checkout-select:disabled + .ps-select2-container .select2-selection--single.has-error,
.ps-card .ps-select2-container.select2-container--disabled .select2-selection--single.has-error,
.ps-card .checkout-select:disabled + .ps-select2-container .select2-selection--single.has-error {
  border-color: #dc2626 !important;
}

.ps-select2-dropdown.select2-dropdown {
  border-radius: 10px !important;
  border: 1px solid var(--checkout-border) !important;
  background: #ffffff !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12) !important;
  overflow: hidden !important;
  margin-top: 4px !important;
}

.ps-select2-dropdown.select2-dropdown.select2-dropdown--above {
  margin-top: 0 !important;
  margin-bottom: 4px !important;
}

.ps-select2-dropdown .select2-results__options {
  max-height: 384px !important;
  padding: 4px !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ps-select2-dropdown .select2-results__options::-webkit-scrollbar {
  display: none;
}

.ps-select2-dropdown .select2-results__option {
  position: relative;
  min-height: 32px;
  border-radius: 14px;
  padding: 6px 8px 6px 32px !important;
  font-size: 14px;
  line-height: 20px;
  color: #52606d !important;
  background: transparent !important;
}

.ps-select2-dropdown .select2-results__option--highlighted[aria-selected],
.ps-select2-dropdown .select2-results__option:hover {
  background: #eaf1ff !important;
  color: #1e40af !important;
  border-radius: 10px;
}

.ps-select2-dropdown .select2-results__option[aria-selected='true'] {
  background: var(--checkout-accent) !important;
  color: #1e40af !important;
}

.ps-select2-dropdown .select2-results__option[aria-selected='true']::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: var(--ps-select2-check-icon) no-repeat center / contain;
  mask: var(--ps-select2-check-icon) no-repeat center / contain;
}

.ps-select2-container.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.ps-select2-container.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}

.checkout-novo-body .ps-select2-container.select2-container--open .select2-dropdown--above {
  top: calc(100% + 4px) !important;
  bottom: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-radius: 14px !important;
}

.checkout-novo-body .ps-select2-container.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,
.checkout-novo-body .ps-select2-container.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
  border-radius: 10px !important;
}


.checkout-novo-body .select2-container--default.select2-container--disabled .select2-selection--single {
  background: #f1f5f9 !important;
  border-color: #e1e7ef !important;
  color: #97a6ba !important;
  cursor: not-allowed !important;
}

.checkout-novo-body .select2-container--default.select2-container--disabled .select2-selection--single.has-error {
  border-color: #dc2626 !important;
}

.checkout-novo-body .select2-container--default .select2-dropdown {
  border-radius: 10px !important;
  border: 1px solid var(--checkout-border) !important;
  background: #ffffff !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12) !important;
  overflow: hidden !important;
}

.checkout-novo-body .select2-container--open .select2-dropdown--below {
  margin-top: 4px;
}

.checkout-novo-body .select2-container--open .select2-dropdown--above {
  top: calc(100% + 4px) !important;
  bottom: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-radius: 14px !important;
}

.checkout-novo-body .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.checkout-novo-body .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,
.checkout-novo-body .select2-container--default.select2-container--open.select2-container--above .select2-selection--single,
.checkout-novo-body .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
  border-radius: 10px !important;
}

.checkout-novo-body .select2-container--default .select2-results__options {
  max-height: 384px;
  padding: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.checkout-novo-body .select2-container--default .select2-results__options::-webkit-scrollbar {
  display: none;
}

.checkout-novo-body .select2-container--default .select2-results__option {
  position: relative;
  min-height: 32px;
  border-radius: 14px;
  padding: 6px 8px 6px 32px !important;
  font-size: 14px;
  line-height: 20px;
  color: #52606d !important;
  background: transparent !important;
}

.checkout-novo-body .select2-container--default .select2-results__option--highlighted[aria-selected],
.checkout-novo-body .select2-container--default .select2-results__option:hover {
  background: #eaf1ff !important;
  color: #1e40af !important;
  border-radius: 10px;
}

.checkout-novo-body .select2-container--default .select2-results__option[aria-selected='true'] {
  background: var(--checkout-accent) !important;
  color: #1e40af !important;
}

.checkout-novo-body .select2-container--default .select2-results__option[aria-selected='true']::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: var(--ps-select2-check-icon) no-repeat center / contain;
  mask: var(--ps-select2-check-icon) no-repeat center / contain;
}
.checkout-coupon {
  display: flex;
  gap: 8px;
}

.checkout-coupon-input {
  flex: 1;
}

.checkout-summary-card {
  padding: 24px;
}

.checkout-summary-title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}

.checkout-summary-course {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: var(--checkout-accent);
}

.checkout-summary-course-info {
  flex: 1;
  min-width: 0;
}

.checkout-summary-course-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--checkout-text);
}

.checkout-summary-course-modality {
  font-size: 14px;
  font-weight: 400;
  color: var(--checkout-muted);
  margin-top: 4px;
}

.checkout-summary-list {
  margin-top: 16px;
  border-top: 1px solid var(--checkout-border);
  padding-top: 16px;
  display: grid;
  gap: 12px;
  font-size: 14px;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.checkout-summary-total {
  border-top: 1px solid var(--checkout-border);
  justify-content: space-between;
  display: flex;
  padding-top: 16px;
  align-self: stretch;
}

.checkout-btn {
  border: 1px solid var(--checkout-border);
  border-radius: 10px;
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  background: #f8fafc;
  color: var(--checkout-text);
}

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

.checkout-btn.primary:hover {
  background: var(--checkout-primary-hover);
  border-color: var(--checkout-primary-hover);
}

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

.checkout-btn.success:hover {
  background: var(--checkout-success-hover);
  border-color: var(--checkout-success-hover);
}

.checkout-btn:not(.primary):not(.success):not([disabled]):hover {
  background: var(--checkout-secondary-hover);
  border-color: rgba(216, 225, 241, 0.9);
}

.checkout-button-row {
  margin-top: 32px;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--checkout-border);
}

.checkout-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checkout-icon--arrow {
  width: 16px;
  height: 16px;
  stroke-width: 1.33333;
}

.checkout-footer {
  padding: 24px 16px;
  text-align: center;
  color: var(--checkout-muted);
  font-size: 14px;
  border-top: 1px solid var(--checkout-border);
  background: #ffffff;
}

.ps-swal-toast-container {
  padding: 0 24px 24px 0;
}

.ps-swal-toast-container--standalone {
  pointer-events: none;
  z-index: 10001 !important;
}

.ps-swal-toast-container--standalone .ps-swal-toast {
  pointer-events: auto;
}

.ps-swal-toast-container--standalone .ps-swal-toast .swal2-html-container.ps-swal-toast__html {
  padding-right: 56px;
}

.ps-swal-toast-container--standalone .ps-swal-toast__content {
  gap: 12px;
}

.ps-swal-toast-container--standalone .ps-swal-toast .swal2-close.ps-swal-toast__close {
  right: 20px;
}

.ps-swal-toast.swal2-popup.swal2-toast {
  position: relative;
  width: min(1120px, calc(100vw - 48px));
  max-width: min(1120px, calc(100vw - 48px));
  margin: 0;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
  background: rgba(255, 255, 255, 1);
  color: rgba(82, 92, 105, 1);
}

.ps-swal-toast .swal2-html-container.ps-swal-toast__html {
  margin: 0;
  padding: 20px 44px 20px 24px;
}

.ps-swal-toast__content {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.ps-swal-toast__icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ps-swal-toast__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.ps-swal-toast__message {
  margin: 0;
  color: var(--checkout-text);
  font-family: var(--checkout-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.15;
  max-width: 980px;
  text-align: left;
  text-wrap: balance;
}

.ps-swal-toast .swal2-close.ps-swal-toast__close {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 12px;
  height: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  transform: translateY(-50%);
  background: transparent;
  color: rgba(82, 92, 105, 1);
  font-size: 0;
  line-height: 0;
  font-weight: 400;
}

.ps-swal-toast .swal2-close.ps-swal-toast__close:focus {
  outline: none;
  box-shadow: none;
}

.ps-swal-toast .swal2-close.ps-swal-toast__close svg {
  display: block;
  width: 12px;
  height: 12px;
}

.ps-swal-toast .swal2-timer-progress-bar-container {
  height: 4px;
  border-radius: 0 0 18px 18px;
  background: rgba(239, 67, 67, 0.08);
}

.ps-swal-toast .swal2-timer-progress-bar.ps-swal-toast__progress {
  width: 100%;
  height: 100%;
  background: rgba(239, 67, 67, 0.38);
}

.ps-swal-toast--success .swal2-timer-progress-bar-container {
  background: color-mix(in srgb, var(--checkout-success) 8%, #ffffff 92%);
}

.ps-swal-toast--success .swal2-timer-progress-bar.ps-swal-toast__progress {
  background: var(--checkout-success);
}

.loadContainer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.45);
  z-index: 9999;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.loadShow {
  display: flex;
}

.custom-loader {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 8px solid;
  border-color: var(--checkout-primary) transparent;
  animation: processo-seletivo-loader 1s infinite;
}

@keyframes processo-seletivo-loader {
  to {
    transform: rotate(.5turn);
  }
}

.termo-modal__check-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.termo-modal__check-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #d8e1f1;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  margin: 0;
  transition: all 0.2s ease;
}

.termo-modal__check-row input[type="checkbox"]:checked {
  background-color: var(--checkout-primary);
  border-color: var(--checkout-primary);
}

.termo-modal__check-row input[type="checkbox"]:checked::before {
  content: "";
  width: 8px;
  height: 8px;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  background-color: white;
}

.termo-modal__check-row input[type="checkbox"]:focus {
  outline: 2px solid rgba(39, 121, 252, 0.2);
}

.termo-modal__scroll {
  font-size: 14px;
  font-weight: 400;
  line-height: 22.75px;
  color: #65758b;
}

.processo-prova-header,
.processo-redacao-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--ps-border);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.processo-prova-logo,
.processo-redacao-logo {
  position: absolute;
  left: 24px;
  width: 90px;
  height: 40px;
  object-fit: contain;
}

.processo-prova-timer-wrap,
.processo-redacao-timer-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ps-muted);
}

.processo-prova-timer,
.processo-redacao-timer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.processo-prova-timer span,
.processo-redacao-timer span {
  min-width: 28px;
  height: 28px;
  border: 1px solid var(--ps-border);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #475569;
  background: #fff;
}

.processo-prova-timer i,
.processo-redacao-timer i {
  color: #64748b;
  font-style: normal;
}

.processo-prova-main,
.processo-redacao-main {
  padding: 24px 16px 40px;
}

.processo-prova-actions,
.processo-redacao-actions {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.processo-prova-btn,
.processo-redacao-btn {
  height: 32px;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 11px;
  line-height: 32px;
  text-decoration: none;
  border: 1px solid transparent;
}

.processo-prova-btn.secondary,
.processo-redacao-btn.secondary {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #64748b;
}

.processo-prova-btn.secondary:hover,
.processo-redacao-btn.secondary:hover {
  background: hsl(217 97% 95%);
  border-color: hsl(217 97% 95%);
  color: rgba(3, 69, 176, 1);
  text-decoration: none;
}

.processo-prova-btn.primary,
.processo-redacao-btn.primary {
  background: var(--ps-primary);
  color: #fff;
}

.processo-prova-btn.primary:hover,
.processo-redacao-btn.primary:hover {
  background: rgba(39, 121, 252, 0.9);
  border-color: rgba(39, 121, 252, 0.9);
}

@media (max-width: 767px) {
  .checkout-novo-header-inner {
    max-width: 390px;
    padding: 16px 0;
  }

  .checkout-novo-container {
    max-width: 390px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .checkout-card,
  .ps-card {
    padding: 25px;
  }
}

@media (max-width: 767px) {
  .processo-prova-header {
    height: 120px;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
  }

  .processo-redacao-header {
    height: 100px;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
  }

  .processo-prova-logo,
  .processo-redacao-logo {
    position: static;
    width: 72px;
    height: 32px;
  }

  .processo-prova-timer-wrap {
    font-size: 12px;
  }

  .processo-redacao-timer-wrap {
    font-size: 11px;
  }

  .processo-prova-timer span,
  .processo-redacao-timer span {
    min-width: 24px;
    height: 26px;
    font-size: 12px;
    border-radius: 6px;
  }

  .processo-prova-main {
    padding-top: 20px;
  }

  .processo-redacao-main {
    padding-top: 16px;
  }

  .ps-swal-toast-container {
    padding: 0 20px 20px;
  }

  .ps-swal-toast.swal2-popup.swal2-toast {
    width: min(100%, 1120px);
    max-width: min(100%, 1120px);
  }

  .ps-swal-toast .swal2-html-container.ps-swal-toast__html {
    padding: 16px 60px 16px 20px;
  }

  .ps-swal-toast__content {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 16px;
  }

  .ps-swal-toast__icon,
  .ps-swal-toast__icon svg {
    width: 36px;
    height: 36px;
  }

  .ps-swal-toast__message {
    font-size: 14px;
    line-height: 1.15;
    max-width: none;
  }
}

@media (min-width: 768px) {
  .checkout-stepper-desktop {
    display: flex;
  }

  .checkout-stepper-mobile {
    display: none;
  }

  .ps-swal-toast.swal2-popup.swal2-toast {
    width: min(1240px, calc(100vw - 48px));
    max-width: min(1240px, calc(100vw - 48px));
  }

  .ps-swal-toast .swal2-html-container.ps-swal-toast__html {
    padding-right: 40px;
  }

  .ps-swal-toast__message {
    max-width: 1080px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .checkout-novo-header-inner {
    max-width: 768px;
    padding: 16px 20px;
  }

  .checkout-novo-container {
    max-width: 768px;
    padding: 32px 20px 48px;
  }
}

@media (min-width: 992px) {
  .checkout-novo-header-inner {
    max-width: 1400px;
    padding: 16px 20px;
  }

  .checkout-novo-container {
    max-width: 1120px;
    padding: 32px 0 48px;
  }

  .checkout-novo-intro h1 {
    font-size: 28px;
  }

  .checkout-novo-grid,
  .processo-dados-grid,
  .processo-curso-grid,
  .processo-ingresso-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}

.processo-info-text-header {
    font-size: 16px !important;
}

.checkout-btn .checkout-icon {
  width: 16px;
  height: 16px;
  color: currentColor;
  stroke: currentColor;
}

.checkout-button-row #checkout-back {
  width: 126px;
  padding: 0 17px;
  color: var(--checkout-text);
  background: #f8fafc;
  border: 1px solid #e1e7ef;
}

.checkout-button-row #checkout-back:not([disabled]):hover {
  background: hsl(217 97% 95%);
  border-color: hsl(217 97% 95%);
  color: rgba(3, 69, 176, 1);
  text-decoration: none;
}
