/** Start of Selection */
.material-symbols-outlined {
  font-variation-settings: 
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}
body {
  min-height: max(884px, 100dvh);
  background-color: #F0F4F8;
  font-family: 'Inter', sans-serif;
}
.main-card {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.logo-header {
  margin-bottom: 1rem;
}
.compact-footer {
  margin-top: 0.75rem !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  font-size: 0.8rem !important;
}
.compact-footer p {
  margin-bottom: 0.25rem !important;
  line-height: 1.2;
}
.compact-footer p:last-child {
  margin-bottom: 0 !important;
}
.proportional-logo {
  max-width: 70vw;
  width: 200px;
  height: auto;
  max-height: 90px;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 480px) {
  .proportional-logo {
    max-width: 80vw;
    width: 160px;
    max-height: 70px;
  }
  .logo-header {
    margin-bottom: 0.75rem;
  }
  .main-card {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .compact-footer {
    margin-top: 0.5rem !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    font-size: 0.75rem !important;
  }
}
@media (max-width: 360px) {
  .proportional-logo {
    max-width: 85vw;
    width: 140px;
    max-height: 60px;
  }
}
#payment-methods-group label {
  border-radius: 0.85rem !important;
  transition: box-shadow 0.22s, border-color 0.22s;
  border-width: 1px !important;
  cursor: pointer;
}
.label-not-selected {
  box-shadow: none !important;
  border-color: #e5e7eb !important;
  background: white;
  position: relative;
}
.label-selected {
  box-shadow: 0 1px 5px 0 rgba(13,110,253,0.09), 0 2px 8px 0 rgba(13,110,253,0.04);
  border-color: #0D6EFD !important;
  z-index: 2;
  position: relative;
  background: #eff6ff;
  transition: box-shadow 0.22s, border-color 0.22s, background 0.22s;
}
#payment-methods-group label:focus-within {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(13,110,253,0.10);
}
/* Custom round checkbox for concordo */
.custom-checkbox {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 11px;
  vertical-align: middle;
}
.custom-checkbox input[type="checkbox"] {
  opacity: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  cursor: pointer;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}
.checkmark {
  border-radius: 50%;
  border: 1.3px solid #adb5bd;
  background-color: #fff;
  width: 22px;
  height: 22px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 4px rgba(52, 64, 84, 0.04);
}
.custom-checkbox input[type="checkbox"]:checked ~ .checkmark {
  border-color: #0D6EFD;
  background-color: #e7f0fe;
  box-shadow: 0 0 0 2px rgba(13,110,253,0.10);
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.custom-checkbox input[type="checkbox"]:checked ~ .checkmark:after {
  display: block;
}
.custom-checkbox .checkmark:after {
  left: 7px;
  top: 4.5px;
  width: 6px;
  height: 11px;
  border: solid #0D6EFD;
  border-width: 0 2px 2px 0;
  border-radius: 1.5px;
  transform: rotate(42deg);
  content: '';
  position: absolute;
  display: none;
}
.custom-checkbox input[type="checkbox"]:checked ~ .checkmark:after {
  display: block;
  animation: popmark .13s;
}
@keyframes popmark {
  0%   { transform: scale(0) rotate(42deg);}
  95%  { transform: scale(1.12) rotate(42deg);}
  100% { transform: scale(1.0) rotate(42deg);}
}
/* Suaviza o botão continuar */
#botaoContinuar {
  border-radius: 20px !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #0D6EFD !important;
  background: linear-gradient(90deg, #1791fa 0%, #046efd 100%);
  box-shadow: 0 2px 7px 0 rgba(13,110,253,0.07);
  font-size: 1.14rem !important;
  font-weight: 500 !important;
  padding: 0.7rem 0 !important;
  transition: background 0.22s, box-shadow 0.22s, border-color 0.17s;
  min-height: 46px;
}
#botaoContinuar:disabled, #botaoContinuar[disabled] {
  opacity: .61;
  background: #c9ddf8 !important;
  color: #ffffff !important;
  border-color: #b4caea !important;
  cursor: not-allowed;
}
#botaoContinuar:active, #botaoContinuar:focus {
  box-shadow: 0 0 0 2px rgba(13,110,253,0.10);
  outline: none !important;
}

/* Fundo dos inputs de CPF e WhatsApp */
#cpf, #whatsapp {
  background-color: #f6fafd !important;
}

/* Checkmark radio customizado */
.custom-radio-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.8px solid #adb5bd;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: border-color .18s;
  margin-left: 8px;
}
.payment-radio {
  opacity: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  cursor: pointer;
}
.custom-radio-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: transparent;
  transition: background .16s;
  position: absolute;
  left: 5.5px;
  top: 5.5px;
  pointer-events: none;
}
.custom-radio-icon.selected {
  border-color: #0D6EFD;
}
.custom-radio-icon.selected .custom-radio-dot {
  background: #0D6EFD;
}

/* Botões lado a lado (ajustado para 50% cada) */
.button-row {
  display: flex;
  gap: 10px;
}
@media (max-width: 480px) {
  .button-row {
    gap: 7px;
  }
}
.button-row .payment-option-50 {
  flex: 1 1 0%;
  min-width: 0;
  max-width: 100%;
  /* Garantir que ocupe igual */
}

/* Estilos para o overlay responsivo */
@media (max-width: 768px) {
  #overlay div {
    width: 95% !important;
    max-width: 95% !important;
    padding: 1.5rem !important;
    margin: 1rem !important;
  }
}

@media (max-width: 480px) {
  #overlay div {
    width: 98% !important;
    max-width: 98% !important;
    padding: 1rem !important;
    margin: 0.5rem !important;
  }
}

/* Melhorias específicas para dispositivos móveis */
@media (max-width: 768px) {
  #overlay {
    -webkit-overflow-scrolling: touch !important;
    overflow-y: auto !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999 !important;
  }
  
  #overlay > div {
    -webkit-overflow-scrolling: touch !important;
    -webkit-transform: translate(-50%, -50%) !important;
    -moz-transform: translate(-50%, -50%) !important;
    -ms-transform: translate(-50%, -50%) !important;
    transform: translate(-50%, -50%) !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 95% !important;
    max-width: none !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    padding: 1rem !important;
    margin: 0 !important;
  }
}

/* Melhorias para iOS */
@supports (-webkit-touch-callout: none) {
  #overlay {
    -webkit-overflow-scrolling: touch !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999 !important;
  }
  
  #overlay > div {
    -webkit-overflow-scrolling: touch !important;
    -webkit-transform: translate(-50%, -50%) !important;
    transform: translate(-50%, -50%) !important;
  }
}

/* Melhorias para Android */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  #overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999 !important;
  }
}

/* Estilos para campos CPF e WhatsApp com destaque suave */
#cpfTitular, #numeroCelular {
  background-color: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  transition: all 0.3s ease !important;
}

#cpfTitular:focus, #numeroCelular:focus {
  background-color: #e9ecef !important;
  border-color: #0D6EFD !important;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
}

#cpfTitular:hover, #numeroCelular:hover {
  background-color: #f1f3f4 !important;
  border-color: #dee2e6 !important;
}

/* Estilos para o conteúdo da política */
#politicaContent h3 {
  color: #0D6EFD;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

#politicaContent h4 {
  color: #495057;
  font-size: 1rem;
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
}

#politicaContent p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

#politicaContent ul, #politicaContent ol {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

#politicaContent li {
  margin-bottom: 0.3rem;
}

/** End of Selection */