/* Botão com loading */
.btn-submit {
  position: relative;
  width: 100%;
  border-radius: 18px;
  height: 72px;
  font-size: 22px;
  font-weight: 700;
}

.btn-submit .btn-spinner {
  display: none;
  margin-left: 12px;
  vertical-align: middle;
}

.btn-submit.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

.btn-submit.is-loading .btn-text {
  opacity: 0.95;
}

.btn-submit.is-loading .btn-spinner {
  display: inline-flex;
}

/* spinner “na unha” */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: rgba(255,255,255,1);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Modal (overlay + card) */
.sf-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 12px;
}

.sf-modal {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: #fff;
  border-radius: 18px;
  padding: 36px 48px 40px 48px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.20);
}

.sf-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 34px;
  line-height: 44px;
  cursor: pointer;
}

.sf-modal-title {
  margin: 0;
  font-size: 28px !important;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 18px !important;
}

.sf-modal-subtitle {
  font-size: 16px !important;
  color: #505050 !important;
  font-weight: 400;
  margin: 0 0 6px 0;
}

.sf-modal-value {
  font-size: 24px !important;
  color: #000 !important;
  font-weight: 700;
  margin: 0 0 18px 0;
}

.sf-modal-note {
  font-size: 14px !important;
  font-weight: 400;
  color: #505050 !important;
  margin-top: 18px;
}

/* botões do modal */
.sf-modal-primary {
  width: 100%;
  border-radius: 18px;
  height: 72px;
  font-size: 18px !important;
  font-weight: 400;
  margin-top: 28px;
  max-width: 100%;
}

.sf-modal-secondary {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 16px;
  font-size: 18px !important;
}

.sf-modal-overlay .group-button {
    display: flex;
    flex-direction: column;    
    align-items: center;
}

.sf-modal-overlay .modal-dialog .modal-header {
  background-color: white;
  border: none;
  padding: 32px;
  padding-bottom: 0;
}

.sf-modal-overlay .modal-dialog .modal-footer {  
  border: none;
  padding: 32px;
  padding-top: 0;
  display: flex;
  justify-content: center;
}

.sf-modal-overlay .modal-dialog .modal-body {  
  padding-top: 0;
  padding: 0 32px;
}

.sf-modal-overlay .modal-content {
    border-radius: 12px;
}

.sf-modal-overlay .close {
    font-size: 32px;
    font-weight: 400;
}

.sf-modal-overlay .sf-modal-phone {    
    font-weight: 700;
    color: #505050;
}
