
/* Withdraw Page Styles */
.withdraw-page {
  padding: 20px;
}

.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;
}

.balance-card {
  background: #000;
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 2px;
}

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

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

.last-rewards {
  background: #1a1a1a;
  color: white;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

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

.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(4, 1fr);
  gap: 12px;
  margin: 25px 0;
}

.amount-btn {
  background: #f0f0f0;
  border: 2px solid #e0e0e0;
  padding: 12px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  color: #555;
  font-size: 15px;
  transition: all 0.25s ease;
  text-align: center;
}

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

.amount-btn.selected {
  border: 2px solid #0081fb;
  background: rgba(0, 129, 251, 0.15);
  color: #0064e0;
  font-weight: bold;
  box-shadow: 0 0 0 2px rgba(0, 129, 251, 0.2);
}

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

/* PIX Input - visual refinado */
.withdraw-page .pix-input {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 25px;
  width: 100%;
}

.withdraw-page .pix-input input,
.withdraw-page .pix-input select {
  display: block;
  width: 100%;
  min-width: 0;
  height: 56px;
  margin: 0;
  padding: 0 17px;
  box-sizing: border-box;
  border: 1px solid #dce3ec;
  border-radius: 13px;
  background-color: #f8fafc;
  color: #172033;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: normal;
  outline: none;
  box-shadow: none;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.withdraw-page .pix-input input::placeholder {
  color: #8995a6;
  opacity: 1;
  font-weight: 400;
}

.withdraw-page .pix-input input:focus,
.withdraw-page .pix-input select:focus {
  border-color: #0081fb;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 129, 251, .10);
}

.withdraw-page .pix-input input[readonly] {
  color: #475569;
  background-color: #eef3f8;
  border-color: #dce3ec;
  cursor: default;
}

.withdraw-page .pix-input input[readonly]:focus {
  border-color: #dce3ec;
  box-shadow: none;
}

.withdraw-page .select-wrapper {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}

.withdraw-page .pix-input .pix-type {
  cursor: pointer;
  padding-right: 46px;
  color: #64748b;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%237b8798' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 17px center;
}

.withdraw-page .pix-input .pix-type:valid {
  color: #172033;
}

.withdraw-page .pix-input .pix-type option {
  color: #172033;
  background: #fff;
}

@media (max-width: 480px) {
  .withdraw-page .pix-input {
    gap: 11px;
  }

  .withdraw-page .pix-input input,
  .withdraw-page .pix-input select {
    height: 54px;
    font-size: 14px;
    border-radius: 12px;
  }
}

/* Botão de Saque */
.withdraw-submit-btn {
  width: 100%;
  background: #0081fb;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  margin: 10px 0 20px 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 129, 251, 0.3);
  text-transform: uppercase;
}

.withdraw-submit-btn:hover {
  background: #0064e0;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 129, 251, 0.4);
}

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

.withdraw-info {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin: 10px 0;
}

/* Invite Section */
.invite-section {
  background: #0081fb;
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin: 30px 0;
}

.invite-period {
  font-size: 14px;
  margin-bottom: 10px;
}

.reward-circles {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.reward-circle {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.reward-circle.active {
  background: #ffeb3b;
  color: black;
}

.invite-btn {
  width: 100%;
  background: #ffeb3b;
  color: black;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
  margin: 20px 0;
  cursor: pointer;
}

.invite-code {
  text-align: center;
  font-size: 14px;
}

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.help-text {
  text-align: center;
  margin: 30px 0;
}

.terms {
  font-size: 12px;
  color: #666;
  text-align: center;
}

.terms a {
  font-weight: bold;
  text-decoration: none;
  color: #333;
  padding: 2px 4px;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.terms a:hover {
  color: #0081fb;
  background: rgba(0, 129, 251, 0.1);
}

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

.security-icon {
  margin: 30px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.registration-description {
  color: #666;
  margin: 20px 0;
  line-height: 1.5;
}

.refund-info {
  color: #666;
  margin-bottom: 30px;
}

.info-items {
  margin: 30px 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  margin: 20px 0;
  padding: 15px;
  background: #f8f8f8;
  border-radius: 8px;
}

.info-icon {
  font-size: 24px;
}

.info-text h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.info-text p {
  font-size: 14px;
  color: #666;
}

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

.video-header {
  background: #0081fb;
  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: #0081fb;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
}

/* Ajustes para dispositivos móveis */
@media (max-width: 480px) {
  .pix-input {
    gap: 12px;
  }

  .pix-type,
  .pix-key,
  .pix-name,
  .pix-cpf {
    height: 52px;
    font-size: 14px;
    border-radius: 11px;
  }
}
