/* Página de confirmação de saque (#nine) — layout v2 */
#nine {
  background-color: #f5f5f5;
}

#nine .confirmation-container.conf-v2 {
  max-width: 430px;
  padding: 0;
  margin: 0 auto;
  padding-bottom: 32px;
  overflow-x: hidden;
}

.conf-v2__header {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.conf-v2__back {
  background: none;
  border: none;
  padding: 0;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}

.conf-v2__back:active {
  transform: scale(0.9);
}

.conf-v2__title {
  font-weight: 700;
  font-size: 17px;
  color: #1a1a1a;
  margin: 0;
}

.conf-v2__spacer {
  width: 24px;
}

.conf-v2__countdown-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 0;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.conf-v2__countdown-bar svg {
  color: #ff3b6c;
  flex-shrink: 0;
}

.conf-v2__countdown-label {
  font-size: 13px;
  color: #666;
}

.conf-v2__countdown-timer {
  font-size: 14px;
  font-weight: 700;
  color: #ff3b6c;
  font-variant-numeric: tabular-nums;
}

#notification-banner.conf-v2__ios-notification {
  position: fixed;
  z-index: 9999;
  top: env(safe-area-inset-top, 0px);
  left: 6px;
  right: 6px;
  margin: 0 auto;
  max-width: 28rem;
  width: calc(100% - 12px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-110%);
}

#notification-banner.conf-v2__ios-notification.is-visible {
  visibility: visible;
  pointer-events: auto;
  animation: conf-v2-notif-slide-down 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.conf-v2__ios-notification-img {
  width: 100%;
  margin: 0 auto;
  display: block;
  border-radius: 22px;
  box-shadow: rgba(0, 0, 0, 0.15) 0 10px 40px;
  transform-origin: center top;
  transform: scale(1.05);
  transition: transform 0.3s;
}

#notification-banner.conf-v2__ios-notification:active .conf-v2__ios-notification-img {
  transform: scale(1.02);
}

@keyframes conf-v2-notif-slide-down {
  from {
    opacity: 0;
    transform: translateY(-110%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.conf-v2__protocol {
  margin: 8px 16px 0;
  text-align: center;
}

.conf-v2__protocol p {
  margin: 0;
  font-size: 10px;
  color: rgba(102, 102, 102, 0.6);
}

.conf-v2__protocol-code {
  font-family: ui-monospace, monospace;
  font-weight: 600;
}

.conf-v2__ticket {
  margin: 8px 16px 0;
}

.conf-v2__ticket-top {
  background: #000;
  border-radius: 16px 16px 0 0;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.conf-v2__ticket-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin: 0;
}

.conf-v2__ticket-amount {
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 4px 0 0;
  font-variant-numeric: tabular-nums;
}

.conf-v2__ticket-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin: 4px 0 0;
}

.conf-v2__ticket-coin {
  position: absolute;
  right: 16px;
  top: 12px;
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.conf-v2__ticket-notch-wrap {
  position: relative;
  background: #000;
}

.conf-v2__ticket-notch {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f5f5f5;
  transform: translateY(-50%);
}

.conf-v2__ticket-notch--left {
  left: 0;
  transform: translate(-50%, -50%);
}

.conf-v2__ticket-notch--right {
  right: 0;
  transform: translate(50%, -50%);
}

.conf-v2__ticket-dash {
  border-top: 2px dashed rgba(255, 255, 255, 0.2);
  margin: 0 20px;
}

.conf-v2__ticket-bottom {
  background: #000;
  border-radius: 0 0 16px 16px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.conf-v2__ticket-transactions {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.conf-v2__card {
  margin: 16px 16px 0;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
}

.conf-v2__card-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #666;
  margin: 0 0 12px;
}

.conf-v2__fee-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.conf-v2__fee-amount {
  font-size: 28px;
  font-weight: 800;
  color: #10b981;
}

.conf-v2__fee-badge {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  border: 1px solid #10b981;
  border-radius: 999px;
  padding: 2px 10px;
  animation: conf-v2-pulse 2s ease-in-out infinite;
}

@keyframes conf-v2-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.conf-v2__fee-description {
  font-size: 14px;
  color: #666;
  line-height: 1.55;
  margin: 0;
}

.conf-v2__fee-description .bold {
  color: #1a1a1a;
  font-weight: 600;
}

.conf-v2__fee-breakdown {
  margin-top: 12px;
  background: #f9fafb;
  border-radius: 10px;
  padding: 12px;
}

.conf-v2__fee-breakdown-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #666;
  margin: 0 0 6px;
}

.conf-v2__fee-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.conf-v2__fee-line span:first-child {
  font-size: 12px;
  color: #666;
}

.conf-v2__fee-line span:last-child {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
}

.conf-v2__fee-total {
  border-top: 1px solid #e5e7eb;
  padding-top: 6px;
  margin-top: 2px;
  margin-bottom: 0;
}

.conf-v2__fee-total span:first-child {
  font-weight: 700;
  color: #1a1a1a;
}

.conf-v2__fee-total span:last-child {
  font-weight: 700;
  color: #10b981;
}

.conf-v2__cta-card {
  padding: 20px;
}

.confirmation-cta-button.conf-v2__cta {
  width: 100%;
  height: 56px;
  background: #ff3b6c;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: 14px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 59, 108, 0.3);
  transition: transform 0.15s, opacity 0.15s;
  margin-bottom: 0;
  padding: 0 12px;
  text-align: center;
  line-height: 1.2;
}

.confirmation-cta-button.conf-v2__cta:active {
  transform: scale(0.98);
}

.confirmation-cta-button.conf-v2__cta:disabled {
  opacity: 0.5;
}

.conf-v2__refund-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.conf-v2__refund-note svg {
  color: #10b981;
  flex-shrink: 0;
}

.conf-v2__refund-note span {
  font-size: 13px;
  font-weight: 600;
  color: #10b981;
}

.conf-v2__card.conf-v2__steps,
.conf-v2__card.conf-v2__testimonials-wrap {
  padding: 16px;
}

.conf-v2__steps-row {
  display: flex;
  align-items: flex-start;
}

.conf-v2__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.conf-v2__step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.conf-v2__step-circle--active {
  background: #ff3b6c;
  color: #fff;
}

.conf-v2__step-circle--inactive {
  background: #e5e7eb;
  color: #666;
}

.conf-v2__step-label {
  font-size: 10px;
  margin-top: 6px;
  text-align: center;
  line-height: 1.25;
}

.conf-v2__step-label--active {
  color: #1a1a1a;
  font-weight: 700;
}

.conf-v2__step-label--inactive {
  color: #666;
}

.conf-v2__step-line {
  flex: 1;
  height: 2px;
  background: #e5e7eb;
  margin: 16px 4px 0;
}

.conf-v2__data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.conf-v2__data-row:last-of-type {
  border-bottom: none;
}

.conf-v2__data-label {
  font-size: 15px;
  color: #666;
}

.conf-v2__data-value {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.conf-v2__data-value--bold {
  font-weight: 700;
}

#confirmation-pix-key {
  width: 100%;
  height: 48px;
  background: #f0f0f0;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  border: none;
  margin-top: 16px;
  cursor: default;
  font-family: inherit;
  padding: 0 12px;
  text-align: center;
  word-break: break-all;
}

.conf-v2__divider {
  margin: 16px;
  border-top: 1px solid #e5e7eb;
}

.conf-v2__testimonials-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #666;
  text-align: center;
  margin: 0 0 4px;
}

.conf-v2__testimonial {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.conf-v2__testimonial:last-of-type {
  border-bottom: none;
}

.conf-v2__testimonial-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.conf-v2__testimonial-body {
  flex: 1;
  min-width: 0;
}

.conf-v2__testimonial-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.conf-v2__testimonial-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
}

.conf-v2__testimonial-value {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
}

.conf-v2__testimonial-quote {
  font-size: 12px;
  font-style: italic;
  color: #1a1a1a;
  line-height: 1.35;
  margin: 2px 0 0;
}

.conf-v2__testimonial-meta {
  font-size: 10px;
  color: #666;
  margin: 2px 0 0;
}

.conf-v2__social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 4px;
}

.conf-v2__social-avatars {
  display: flex;
}

.conf-v2__social-photo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -8px;
}

.conf-v2__social-photo:first-child {
  margin-left: 0;
}

.conf-v2__social-text {
  font-size: 11px;
  color: #666;
  margin-left: 4px;
}

.conf-v2__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 24px 16px 8px;
}

.conf-v2__logos img {
  object-fit: contain;
}

.conf-v2__logos img:first-child {
  height: 28px;
}

.conf-v2__logos img:last-child {
  height: 50px;
}

.conf-v2__footer {
  margin: 16px 16px 0;
  border-top: 1px solid #e5e7eb;
  padding: 16px 0 24px;
  text-align: center;
}

.conf-v2__footer-safe {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.conf-v2__footer-protocol {
  font-size: 9px;
  color: rgba(102, 102, 102, 0.5);
  margin: 4px 0 0;
}

.conf-v2__footer-help {
  font-size: 13px;
  color: #ff3b6c;
  font-weight: 600;
  margin: 4px 0 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

#nine .pix-checkout-panel {
  margin: 16px 16px 0;
  border-radius: 16px;
}

#nine .confirmation-success-message {
  margin: 12px 16px 0;
  border-radius: 10px;
}
