#basicModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  padding: 20px;
  transition: opacity 0.3s ease;
}

#basicModal.show {
  display: flex;
}

#basicModal.active {
  opacity: 1;
}

.modal-dialog {
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  transform: scale(0.9) translateY(-30px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
}

#basicModal.active .modal-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-content {
  width: 100%;
  background: #ffffff;
  border: 3px solid #FF5297;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  border-radius: 13px;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #FF5297;
  border-radius: 50%;
  animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  margin-top: 20px;
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #FF5297 #f1f1f1;
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #FF5297;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #e0457e;
}

.steps-container {
  display: none;
}

.steps-container.active {
  display: block;
  animation: fadeSlideIn 0.4s ease-out;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-info-section h1 {
  margin: 0 0 24px 0;
  font-size: 24px;
  font-weight: 600;
  color: #212529;
  padding: 20px 10px 0px 20px;
}

.custom-fields-container-step {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    margin: 16px;
}

.field-wrapper {
    padding: 0px 20px 20px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.field-wrapper:last-child {
  border-bottom: none;
}

.field-wrapper label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #212529;
}

.field-wrapper label .required {
  color: #ff6b6b;
}

.field-wrapper input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  transition: all 0.2s ease;
  background: #fff;
}

.field-wrapper input:focus {
  border-color: #FF5297;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 82, 151, 0.1);
}

.field-wrapper input.valid {
  border-color: #48bb78;
}

.field-wrapper input.invalid {
  border-color: #ff6b6b;
}

.field-error {
  color: #ff6b6b;
  font-size: 13px;
  margin-top: 8px;
  display: none;
  font-weight: 500;
}

.field-error.show {
  display: block;
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

#paymentBrick_container {
  min-height: 400px;
  width: 100%;
}

#statusScreenBrick_container {
  min-height: 400px;
  width: 100%;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 20px 28px;
  border-top: 1px solid #e5e5e5;
  background: #fff;
  flex-shrink: 0;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 50px;
  position: relative;
  overflow: hidden;
}

.btn-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-action:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-action:not(:disabled):active {
  transform: translateY(0);
}

.btn-primary {
  background: #3483FA;
  color: white;
}

.btn-primary:not(:disabled):hover {
  background: #3483FA;
}

.btn-secondary {
  background: #ffffff;
  color: #404040;
  border: 2px solid #d9d9d9;
}

.btn-secondary:not(:disabled):hover {
  background: #f5f5f5;
  border-color: #bfbfbf;
}

.btn-action svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-bottom: -4px;
}

@media (max-width: 768px) {
  #basicModal {
    padding: 12px;
  }

  .modal-dialog {
    max-width: 100%;
    max-height: 95vh;
  }

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

  .modal-body {
    padding: 0px 0px;
  }

  .modal-actions {
    padding: 16px 20px;
    flex-direction: column-reverse;
    gap: 10px;
  }

  .btn-action {
    width: 100%;
  }

  .contact-info-section h1 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  #basicModal {
    padding: 0;
  }

  .modal-dialog {
    max-width: 100vw;
    max-height: 100vh;
  }

  .modal-content {
    border-radius: 12px;
    max-height: 100vh;
  }

  .field-wrapper {
    padding: 16px;
  }
}

#paymentBrick_container header,
#statusScreenBrick_container header {
  all: unset !important;
  display: block !important;
  position: relative !important;
  background: none !important;
  overflow: visible !important;
}

h1.svelte-r6lpve {
    font-size: 24px !important;
    margin-top: -25px !important;
}

#statusScreenBrick_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  gap: 20px;
}

.love-message {
    animation: fadeUp 0.9s ease forwards;
    margin-bottom: 50px;
    margin-top: -50px;
}

.love-box {
  background: #fff0f6;
  border: 2px solid #ff4fa0;
  border-radius: 16px;
  padding: 25px 20px;
  width: 100%;
  text-align: center;
  box-shadow: 0 6px 15px rgba(255, 79, 160, 0.12);
}

.love-icon {
  font-size: 46px;
  margin-bottom: 10px;
  display: block;
  animation: pulseHeart 1.4s ease-in-out infinite;
}

.love-title {
  font-size: 1.4rem;
  color: #d63384;
  font-weight: 700;
  margin-bottom: 10px;
}

.love-text {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 20px;
}

.love-btn {
  display: inline-block;
  background: linear-gradient(90deg, #ff4fa0, #ff78b5);
  color: #fff;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 10px rgba(255, 79, 160, 0.25);
}

.love-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 79, 160, 0.35);
}

.status-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  z-index: 50;
  animation: fadeIn 0.3s ease;
}

.status-loader .loader {
  width: 45px;
  height: 45px;
  border: 4px solid #e5e5e5;
  border-top-color: #ff4fa0;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.status-loader p {
  margin-top: 12px;
  color: #555;
  font-size: 15px;
  font-weight: 500;
}

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseHeart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.btn-ideias {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .6rem;
  background: rgba(255,77,148,.12);
  border: 1px solid var(--border);
  color: var(--primary);
  font-weight: 700;
  font-size: .9rem;
  border-radius: 999px;
  padding: .5rem 1rem;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 0 0 rgba(255,77,148,0);
}
.btn-ideias:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}
.btn-ideias:active {
  transform: scale(0.97);
}
.btn-ideias i {
  color: var(--primary);
}
.btn-ideias:hover i {
  color: #fff;
}