/* =============================================
   ANIMATIONS & TRANSITIONS
   ============================================= */

/* Page entrance animation */
@keyframes pageSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade in up for cards/sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scale in for badges/icons */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Shimmer effect for balance */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Pulse for CTA buttons */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 8px rgba(255, 44, 85, 0.3); }
  50% { box-shadow: 0 6px 20px rgba(255, 44, 85, 0.5); }
}

/* Modal animation */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Slide down for form fields */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page container animation */
.app-container > div {
  animation: pageSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Withdraw Page Styles */
.withdraw-page {
  padding: 20px;
  background: #f5f5f5;
  min-height: 100vh;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.back-btn, .help-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.page-header h1 {
  font-size: 18px;
  font-weight: 600;
}

/* Header Escuro com Saldo - Formato Original */
.balance-card {
  background: #000;
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 2px;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.balance-title {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.balance-amount-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.balance-amount {
  font-size: 24px;
  font-weight: 600;
}

.balance-image {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}

.last-rewards {
  background: #1a1a1a;
  color: white;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

/* Header Escuro com Saldo - Novo Design */
.balance-header {
  background: #1a1a1a;
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 2px;
}

.balance-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.balance-header-left {
  flex: 1;
}

.balance-header-title {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.balance-header-amount {
  font-size: 32px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

.balance-header-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  border-radius: 50%;
  flex-shrink: 0;
}

.balance-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Barra de Transações */
.transactions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  margin-top: 15px;
}

.transactions-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.transactions-arrow {
  color: rgba(255, 255, 255, 0.7);
  width: 20px;
  height: 20px;
}

/* Seção Branca Principal */
.withdraw-content {
  background: white;
  padding: 25px 20px 30px 20px;
  margin-top: 0;
  border-radius: 20px 20px 0 0;
  margin-bottom: 0;
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.withdraw-section {
  margin-bottom: 30px;
}

.withdraw-title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

/* Métodos de Pagamento */
.payment-methods-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.payment-method-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-method-logo {
  width: 40px;
  height: 28px;
  object-fit: contain;
}

.payment-method-name {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.payment-method-separator {
  font-size: 18px;
  color: #999;
  font-weight: 300;
}

/* Ajustes para o layout geral */

.payment-method {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 15px 0;
}

.pix-icon {
  height: 20px;
  vertical-align: middle;
}

.amount-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 12px;
}

.amount-btn-full {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: white;
  border: 2px solid #333;
  padding: 18px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  animation: ctaPulse 2.5s ease-in-out infinite;
}

.amount-btn-full.selected {
  border-color: #fe2c55;
  box-shadow: 0 4px 20px rgba(255, 44, 85, 0.3);
}

.amount-btn-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.amount-btn-full:active {
  transform: translateY(0);
}

.amount-btn-full-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 4px;
  font-weight: 600;
}

.amount-btn-full-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.amount-btn {
  background: #f0f0f0;
  border: 2px solid #e0e0e0;
  padding: 15px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  color: #333;
  font-size: 16px;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
  position: relative;
}

.amount-btn:hover {
  background: #e8e8e8;
  border-color: #d0d0d0;
}

.amount-btn.selected {
  border: 2px solid #fe2c55;
  background: rgba(255, 44, 85, 0.15);
  color: #d1003a;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(255, 44, 85, 0.2);
  transform: scale(1.04);
}

.amount-btn.special-offer {
  border: 2px solid #fe2c55;
  background: rgba(255, 44, 85, 0.2);
  color: #d1003a;
  font-weight: 700;
}

.offer-badge {
  position: absolute;
  top: -6px;
  left: 6px;
  background: #fe2c55;
  color: white;
  font-size: 8px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
  white-space: nowrap;
}

.amount-btn:active {
  transform: scale(0.97);
}

.pix-input {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.pix-type, .pix-key {
  padding: 17px 20px;
  border: 2px solid #d1d1d1; /* Borda cinza */
  border-radius: 10px;
  font-size: 16px;
  background-color: #f8f8f8; /* Fundo cinza claro */
  color: #4a4a4a; /* Texto cinza escuro */
  font-weight: 500;
  transition: all 0.3s ease;
  outline: none;
}

/* Placeholder estilizado */
.pix-type::placeholder, .pix-key::placeholder {
  color: #8a8a8a; /* Cinza médio */
  opacity: 0.9;
}

/* Estados de foco */
.pix-type:focus, .pix-key:focus {
  border-color: #a8a8a8; /* Cinza mais escuro no foco */
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(168, 168, 168, 0.2);
}

/* Select personalizado */
.pix-type {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238a8a8a'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 20px;
  cursor: pointer;
  padding-right: 48px;
}

/* Botão mantido igual (destaque) */
.withdraw-submit-btn {
  width: 100%;
  background: #fe2c55;
  color: white;
  border: none;
  padding: 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  margin: 30px 0;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 8px rgba(255, 44, 85, 0.3);
  text-transform: none;
  animation: ctaPulse 2.5s ease-in-out infinite;
}

.withdraw-submit-btn:hover {
  background: #e0264a;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 44, 85, 0.4);
}

.withdraw-submit-btn:active {
  transform: translateY(0);
}

.withdraw-info-text {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.withdraw-info-text p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 8px 0;
  text-align: center;
}

/* Balance Status Indicator */
.balance-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.balance-status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* Balance Card Shimmer */
.balance-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  animation: balanceShimmer 3s ease-in-out infinite;
}

@keyframes balanceShimmer {
  0% { left: -100%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

/* Last Rewards Pulse Dot */
.last-rewards-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #fe2c55;
  border-radius: 50%;
  margin-right: 8px;
  animation: livePulse 2s ease-in-out infinite;
  vertical-align: middle;
}

/* Social Proof Bar */
.social-proof-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.social-proof-live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.social-proof-text {
  font-size: 13px;
  color: #166534;
}

.social-proof-text strong {
  font-weight: 700;
}

/* Recent Withdrawals */
.recent-withdrawals {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
  position: relative;
  z-index: 1;
}

.recent-withdrawals-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

.recent-withdrawals-live {
  font-size: 10px;
  font-weight: 700;
  background: #ef4444;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  animation: livePulse 2s ease-in-out infinite;
  margin-left: auto;
}

.recent-withdrawals-list {
  max-height: 320px;
  overflow: hidden;
}

/* New withdrawal slide-in animation */
.withdrawal-new {
  animation: withdrawalSlideIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

@keyframes withdrawalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
    max-height: 0;
    padding: 0;
    margin: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 80px;
    padding: 12px 0;
  }
}

.recent-withdrawal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  animation: fadeInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.recent-withdrawal-item:nth-child(2) { animation-delay: 0.05s; }
.recent-withdrawal-item:nth-child(3) { animation-delay: 0.1s; }
.recent-withdrawal-item:nth-child(4) { animation-delay: 0.15s; }
.recent-withdrawal-item:nth-child(5) { animation-delay: 0.2s; }

.recent-withdrawal-item:last-child {
  border-bottom: none;
}

.withdrawal-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  object-fit: cover;
}

.withdrawal-info {
  flex: 1;
  min-width: 0;
}

.withdrawal-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.withdrawal-time {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

.withdrawal-amount-value {
  font-size: 15px;
  font-weight: 700;
  color: #22c55e;
  flex-shrink: 0;
}

/* Withdraw Stats */
.withdraw-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding: 20px 0;
  border-top: 1px solid #e5e5e5;
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  color: #999;
  font-weight: 500;
}

/* Security Badges */
.withdraw-security {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  padding: 16px 0;
  border-top: 1px solid #e5e5e5;
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.security-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #10b981;
  font-weight: 500;
}

/* Toast Notifications */
.withdraw-toast-container {
  position: fixed;
  bottom: 24px;
  left: 16px;
  right: 16px;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.withdraw-toast {
  background: white;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastSlideIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  max-width: 340px;
  border-left: 4px solid #22c55e;
  pointer-events: auto;
}

.withdraw-toast.toast-exit {
  animation: toastSlideOut 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

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

.toast-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
  object-fit: cover;
}

.toast-content {
  flex: 1;
}

.toast-text {
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

.toast-time {
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

/* Checkout Page Styles */
.checkout-page {
  padding: 20px;
  background: #f5f5f5;
  min-height: 100vh;
}

.checkout-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.checkout-header .back-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
}

.checkout-header h1 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.checkout-summary {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item.total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 2px solid #fe2c55;
}

.summary-item span {
  font-size: 16px;
  color: #666;
}

.summary-item.total span {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.summary-item strong {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.summary-item.total strong {
  font-size: 24px;
  color: #fe2c55;
}

.checkout-form {
  background: white;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-section {
  margin-bottom: 30px;
}

.form-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'TikTok Sans', 'Poppins', sans-serif;
  transition: all 0.3s ease;
  background: #f8f8f8;
}

.phone-input-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: #f8f8f8;
  overflow: hidden;
  transition: all 0.3s ease;
}

.phone-input-wrapper:focus-within {
  border-color: #fe2c55;
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 44, 85, 0.1);
}

.country-code {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 12px;
  background: #e8e8e8;
  border-right: 2px solid #e0e0e0;
  flex-shrink: 0;
}

.country-code .flag {
  width: 20px;
  height: 14px;
  object-fit: contain;
  display: inline-block;
}

.country-code .code {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.phone-input-wrapper input[type="tel"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 15px;
  font-size: 16px;
  outline: none;
}

.phone-input-wrapper input[type="tel"]:focus {
  background: transparent;
}

.form-group input:focus {
  outline: none;
  border-color: #fe2c55;
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 44, 85, 0.1);
}

.payment-method-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-method-option {
  display: block;
  cursor: pointer;
}

.payment-method-option input[type="radio"] {
  display: none;
}

.method-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #f8f8f8;
}

.payment-method-option input[type="radio"]:checked + .method-card {
  border-color: #fe2c55;
  background: rgba(255, 44, 85, 0.1);
  box-shadow: 0 0 0 3px rgba(255, 44, 85, 0.1);
}

.method-card:hover {
  border-color: #fe2c55;
  background: rgba(255, 44, 85, 0.05);
}

.method-logo-small {
  width: 50px;
  height: 35px;
  object-fit: contain;
}

.method-card span {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.checkout-submit-btn {
  width: 100%;
  background: #fe2c55;
  color: white;
  border: none;
  padding: 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  margin: 30px 0 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 44, 85, 0.3);
  font-family: 'TikTok Sans', 'Poppins', sans-serif;
}

.checkout-submit-btn:hover:not(:disabled) {
  background: #e0264a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 44, 85, 0.4);
}

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

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

.checkout-info {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.checkout-info p {
  font-size: 13px;
  color: #666;
  margin: 6px 0;
}

/* Payment Instructions */
.payment-instructions {
  background: white;
  padding: 25px 20px;
  border-radius: 12px;
}

.instructions-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.instructions-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.amount-display {
  font-size: 32px;
  font-weight: 700;
  color: #fe2c55;
}

.mbway-instructions,
.multibanco-instructions {
  text-align: center;
}

.instruction-text {
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.mbway-info,
.multibanco-reference {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row span {
  font-size: 14px;
  color: #666;
}

.info-row strong {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.reference-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding: 15px;
  background: white;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
}

.reference-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reference-value {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  font-family: 'Courier New', monospace;
}

.waiting-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 30px 20px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f0f0f0;
  border-top-color: #fe2c55;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.waiting-message p {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}

.payment-social-proof {
  margin-top: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-align: left;
}

.payment-social-proof-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #475467;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.payment-social-proof-title::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: livePulse 2s ease-in-out infinite;
}

.payment-social-proof-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid #f1f5f9;
}

.payment-social-proof-item:last-child {
  border-bottom: none;
}

.payment-social-proof-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.payment-social-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.payment-social-proof-text {
  min-width: 0;
}

.payment-social-proof-text strong {
  display: block;
  font-size: 13px;
  color: #1f2937;
  font-weight: 700;
  line-height: 1.2;
}

.payment-social-proof-meta {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  line-height: 1.2;
}

.payment-social-proof-comment {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #475467;
  font-weight: 500;
  line-height: 1.35;
}

.payment-social-proof-amount {
  font-size: 14px;
  color: #16a34a;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.success-badge {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.success-icon {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 10px;
}

.success-message {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.mbway-steps {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 12px;
  margin: 25px 0;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: white;
  border-radius: 8px;
  border-left: 4px solid #fe2c55;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 32px;
  height: 32px;
  background: #fe2c55;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.step-text {
  flex: 1;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
  padding-top: 4px;
}

.mbway-warning {
  background: #fff3cd;
  border: 1px solid #ffc107;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: left;
}

.mbway-warning p {
  margin: 0;
  font-size: 14px;
  color: #856404;
  line-height: 1.5;
}

.error-badge {
  background: linear-gradient(135deg, #f44336, #d32f2f);
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.error-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 10px;
}

.error-message {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.payment-success {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 12px;
}

.success-icon {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
}

.payment-success h2 {
  font-size: 28px;
  font-weight: 700;
  color: #4caf50;
  margin-bottom: 15px;
}

.payment-success p {
  font-size: 16px;
  color: #666;
  margin: 10px 0;
}

.payment-error {
  background: #ffebee;
  color: #c62828;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #ffcdd2;
  font-size: 14px;
  text-align: center;
}

/* Loading Page Styles */
.loading-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  padding: 20px;
}

.loading-content {
  text-align: center;
  width: 100%;
  max-width: 400px;
  animation: scaleIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.loading-logo {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.loading-text {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 30px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e0e0e0;
  border-top-color: #fe2c55;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

/* Loading Progress Bar */
.loading-progress-bar {
  width: 100%;
  height: 4px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin: 16px 0 24px;
}

.loading-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #fe2c55, #ff6b81);
  border-radius: 4px;
  transition: width 0.6s ease;
}

/* Loading Steps */
.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  width: 100%;
}

.loading-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #999;
  transition: all 0.4s ease;
  opacity: 0.5;
}

.loading-step.active {
  color: #fe2c55;
  opacity: 1;
}

.loading-step.done {
  color: #22c55e;
  opacity: 1;
}

.loading-step-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.loading-step.active .loading-step-icon {
  background: rgba(255, 44, 85, 0.1);
}

.loading-step.done .loading-step-icon {
  background: rgba(34, 197, 94, 0.1);
}

/* Registration Page Styles - Exact from #nine */
.confirmation-container {
  padding-top: 16px;
  padding-left: 16px;
  padding-right: 16px;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
  padding-bottom: 0;
  width: 100%;
  overflow-x: hidden;
  background-color: #ffffff;
  min-height: 100vh;
}

.confirmation-section {
  box-sizing: border-box;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
  max-width: 100%;
  overflow: hidden;
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.confirmation-section:nth-child(2) { animation-delay: 0.08s; }
.confirmation-section:nth-child(3) { animation-delay: 0.16s; }
.confirmation-section:nth-child(4) { animation-delay: 0.24s; }
.confirmation-section:nth-child(5) { animation-delay: 0.32s; }
.confirmation-section:nth-child(6) { animation-delay: 0.40s; }

.confirmation-header {
  padding: 16px 16px 12px;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}

.confirmation-logo {
  height: 28px;
  display: inline-block;
  margin-bottom: 12px;
}

.confirmation-logo img {
  height: 100%;
  width: auto;
}

.confirmation-balance {
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: white;
  border: none;
}

.confirmation-section-title {
  font-size: 13px;
  font-weight: 500;
  color: #666666;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.confirmation-balance-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 6px;
}

.confirmation-balance-amount {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.confirmation-balance-subtitle {
  font-size: 12px;
  opacity: 0.9;
  font-weight: 400;
}

.confirmation-fee-amount {
  font-size: 22px;
  font-weight: 600;
  color: #ea445a;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.confirmation-fee-description {
  font-size: 13px;
  color: #666666;
  line-height: 1.4;
}

.confirmation-fee-description .bold {
  font-weight: 600;
  color: #1a1a1a;
}

.confirmation-receipt-grid {
  display: grid;
  gap: 12px;
}

.confirmation-receipt-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
}

.confirmation-receipt-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.confirmation-receipt-label {
  font-size: 12px;
  color: #666666;
  font-weight: 400;
}

.confirmation-receipt-value {
  font-size: 12px;
  font-weight: 500;
  color: #1a1a1a;
  text-align: right;
}

.confirmation-receipt-value.bold {
  font-weight: 600;
}

.confirmation-divider {
  height: 1px;
  background: #e5e5e5;
  margin: 16px 0;
}

.confirmation-requirements-grid {
  display: grid;
  gap: 16px;
}

.confirmation-requirement-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.confirmation-requirement-icon {
  background: rgba(234, 68, 90, 0.1);
  color: #ea445a;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
}

.confirmation-requirement-icon.confirmation-reembolso {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.confirmation-requirement-content {
  flex: 1;
}

.confirmation-requirement-title {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 3px;
}

.confirmation-requirement-title.confirmation-reembolso {
  color: #10b981;
}

.confirmation-requirement-description {
  font-size: 12px;
  color: #666666;
  line-height: 1.4;
}

.confirmation-cta-button {
  background: #ea445a;
  color: white;
  border: none;
  border-radius: 7px;
  padding: 16px;
  font-size: 15px;
  font-weight: 500;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: block;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  outline: none;
  box-shadow: 0 4px 12px rgba(234, 68, 90, 0.35);
  animation: ctaPulseReg 2.5s ease-in-out infinite;
}

@keyframes ctaPulseReg {
  0%, 100% { box-shadow: 0 4px 12px rgba(234, 68, 90, 0.35); }
  50% { box-shadow: 0 6px 24px rgba(234, 68, 90, 0.55); }
}

.confirmation-cta-button:focus,
.confirmation-cta-button:active,
.confirmation-cta-button:visited,
.confirmation-cta-button:hover {
  outline: none;
  border: none;
  text-decoration: none;
  color: white;
}

.confirmation-cta-button:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(234, 68, 90, 0.45);
}

.confirmation-cta-button:active {
  transform: translateY(0);
}

.confirmation-timer {
  font-size: 11px;
  color: #10b981;
  font-weight: 500;
  text-align: center;
  margin-top: 12px;
}

.confirmation-success-message {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  color: #10b981;
  font-weight: 500;
  font-size: 13px;
  margin-top: 12px;
  display: none;
}

.confirmation-reembolso-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  margin-left: 6px;
}

.confirmation-security-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.confirmation-security-item {
  text-align: center;
}

.confirmation-security-label {
  font-size: 10px;
  color: #999999;
  font-weight: 400;
}

.confirmation-security-label img {
  max-width: 100%;
}

.img-bacen {
  width: 75px;
}

.img-gov-br {
  width: 75px;
}

.img-receitafederal {
  width: 75px;
}

.confirmation-footer {
  text-align: center;
  padding: 16px 0;
  border-top: 1px solid #e5e5e5;
}

.confirmation-footer-text {
  font-size: 11px;
  color: #999999;
  margin-bottom: 6px;
}

.confirmation-footer-link {
  color: #ea445a;
  text-decoration: none;
  font-weight: 500;
  font-size: 11px;
}


/* Video Page Styles */
.video-page {
  text-align: center;
  padding: 20px;
}

.video-header {
  background: #fe2c55;
  color: white;
  padding: 10px;
  margin: -20px -20px 20px -20px;
  font-size: 14px;
  font-weight: 600;
}

.balance-display {
  display: inline-block;
  background: #f5f5f5;
  padding: 8px 15px;
  border-radius: 20px;
  margin-bottom: 30px;
}

.video-instruction {
  color: #666;
  margin: 15px 0;
}

.video-container {
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

#tutorial-video {
  width: 100%;
  aspect-ratio: 9/16;
  background: #000;
}

.unlock-btn {
  width: 100%;
  background: #fe2c55;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
}

/* Métodos de Saque */
.add-method-btn {
  width: 100%;
  background: #fe2c55;
  color: white;
  border: none;
  padding: 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin: 25px 0 20px 0;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  text-transform: capitalize;
  box-shadow: 0 4px 8px rgba(255, 44, 85, 0.3);
  animation: ctaPulse 2.5s ease-in-out infinite;
}

.add-method-btn:hover {
  background: #e0264a;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 44, 85, 0.4);
}

.add-method-btn:active {
  transform: translateY(0);
}

.selected-method-display {
  background: #f8f8f8;
  border: 2px solid #d1d1d1;
  border-radius: 10px;
  padding: 15px;
  margin: 20px 0;
}

.method-display-item {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
}

.method-logo {
  display: flex;
  align-items: center;
}

.method-name {
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.method-subtitle {
  font-size: 14px;
  color: #666;
  margin-top: 2px;
}

.change-method-btn {
  background: none;
  border: none;
  color: #fe2c55;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}

/* Modal de Métodos */
.method-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: modalBgFadeIn 0.3s ease forwards;
}

@keyframes modalBgFadeIn {
  to { background: rgba(0, 0, 0, 0.7); }
}

.method-modal-content {
  background: white;
  border-radius: 15px;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  animation: modalFadeIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.method-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.method-modal-header h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.method-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-modal-close:hover {
  color: #333;
}

.method-options {
  padding: 10px;
}

.method-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  margin-bottom: 10px;
}

.method-option:hover {
  background: #f5f5f5;
  transform: translateX(4px);
}

.method-option-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.method-option-text {
  flex: 1;
}

.method-option-name {
  font-weight: 600;
  font-size: 16px;
  color: #333;
  margin-bottom: 2px;
}

.method-option-subtitle {
  font-size: 14px;
  color: #666;
}

/* Formulários de Métodos */
.method-form {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  animation: slideDown 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  position: relative;
  z-index: 2;
}

.selected-method-display {
  position: relative;
  z-index: 2;
}

#method-form-container {
  position: relative;
  z-index: 2;
}

.method-form h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 15px;
  border: 2px solid #d1d1d1;
  border-radius: 10px;
  font-size: 16px;
  background: white;
  color: #4a4a4a;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  outline: none;
}

.form-input:focus {
  border-color: #fe2c55;
  box-shadow: 0 0 0 3px rgba(255, 44, 85, 0.1);
  transform: translateY(-1px);
}

.form-input[readonly] {
  background: #f0f0f0;
  color: #666;
  cursor: not-allowed;
}

.form-submit-btn {
  width: 100%;
  background: #fe2c55;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 8px rgba(255, 44, 85, 0.3);
  animation: ctaPulse 2.5s ease-in-out infinite;
}

.form-submit-btn:hover {
  background: #e0264a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 44, 85, 0.4);
}

.form-submit-btn:active {
  transform: translateY(0);
}

/* Phone Input with Country Code */
.phone-input-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid #d1d1d1;
  border-radius: 10px;
  background: white;
  overflow: hidden;
  transition: all 0.3s ease;
}

.phone-input-wrapper:focus-within {
  border-color: #fe2c55;
  box-shadow: 0 0 0 3px rgba(255, 44, 85, 0.1);
}

.country-code {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 15px 12px;
  background: #f8f8f8;
  border-right: 2px solid #d1d1d1;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
}

.country-code .flag {
  width: 20px;
  height: 14px;
  object-fit: contain;
  display: inline-block;
}

.country-code .code {
  font-size: 16px;
}

.phone-input {
  flex: 1;
  border: none;
  padding: 15px 20px;
  font-size: 16px;
  background: white;
  outline: none;
}

.phone-input:focus {
  border: none;
  box-shadow: none;
}
