.wallet-page {
  --wallet-bg: #f5f3ee;
  --wallet-text: #151515;
  --wallet-muted: rgba(21, 21, 21, .62);
  --wallet-border: rgba(17, 17, 17, .12);
  --wallet-dark: #111111;
  --wallet-red: #e62026;
  --wallet-gold: #a78e77;
  --wallet-success: #167c3b;
  --wallet-danger: #b42318;

  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 70px 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, .045), transparent 300px),
    var(--wallet-bg);
  color: var(--wallet-text);
}

.wallet-layout {
  display: flex;
  justify-content: center;
}

.wallet-panel {
  width: 100%;
  max-width: 520px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 250, 242, .98));
  border: 1px solid var(--wallet-border);
  border-radius: 4px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
}

.wallet-eyebrow {
  margin: 0 0 8px;
  color: var(--wallet-red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wallet-heading {
  margin: 0 0 10px;
  color: var(--wallet-text);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 950;
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
}

.wallet-intro {
  margin: 0 0 28px;
  max-width: 410px;
  color: var(--wallet-muted);
  line-height: 1.55;
}

.wallet-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wallet-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.wallet-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 0;
  border-radius: 4px;
  background: rgba(0, 0, 0, .045);
  color: var(--wallet-text);
  font-size: 15px;
  outline: none;
  transition: box-shadow .2s, background .2s;
}

.wallet-field input:focus {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(230, 32, 38, .24);
}

.wallet-field .selector-pais {
  min-height: 50px !important;
  padding: 0 32px 0 13px;
  border: 0;
  border-radius: 4px;
  background: rgba(0, 0, 0, .045) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23666' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 13px center;
  color: var(--wallet-text);
  font: inherit;
  font-size: 15px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: box-shadow .2s, background-color .2s;
}

.wallet-field .selector-pais:focus {
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(230, 32, 38, .24);
}

.wallet-hint {
  margin-top: 7px;
  color: var(--wallet-muted);
  font-size: 12px;
}

.wallet-checkbox-field {
  margin: -6px 0;
}

.wallet-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--wallet-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.wallet-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--wallet-red);
  cursor: pointer;
}

.wallet-checkbox span {
  line-height: 1.4;
}

.wallet-checkbox a {
  color: var(--wallet-red);
  font-weight: 800;
  text-decoration: underline;
}

.wallet-primary,
.wallet-button {
  min-height: 44px;
  border: 0;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s, transform .1s, background .2s;
}

.wallet-primary {
  width: 100%;
  margin-top: 2px;
  background: rgba(230, 32, 38, .9);
  color: #fff;
}

.wallet-primary:hover,
.wallet-button:hover {
  opacity: .92;
}

.wallet-primary:active,
.wallet-button:active {
  transform: translateY(1px);
}

.wallet-primary:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.wallet-message {
  min-height: 20px;
  font-size: 14px;
  line-height: 1.4;
}

.wallet-message.error {
  color: var(--wallet-danger);
}

.wallet-message.success {
  color: var(--wallet-success);
}

.wallet-ready {
  display: none;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--wallet-border);
}

.wallet-ready.visible {
  display: block;
}

.wallet-ready-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.wallet-ready-copy {
  margin: 0 0 15px;
  color: var(--wallet-muted);
  font-size: 14px;
}

.wallet-buttons {
  display: grid;
  gap: 10px;
}

.wallet-button {
  width: 100%;
  background: var(--wallet-dark);
  color: #fff;
}

.wallet-button--google {
  border: 1px solid var(--wallet-border);
  background: #fff;
  color: var(--wallet-text);
}

.wallet-profile-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(230, 32, 38, .35);
  border-radius: 2px;
  color: var(--wallet-red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.wallet-profile-link:hover {
  background: rgba(230, 32, 38, .06);
}

.wallet-whatsapp-cta {
  min-height: 44px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--wallet-success);
  border-radius: 2px;
  color: var(--wallet-success);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-align: center;
  text-decoration: none;
}

.wallet-whatsapp-cta:hover {
  background: rgba(22, 124, 59, .08);
}

.wallet-whatsapp-cta img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.wallet-privacy {
  margin: 20px 0 0;
  color: var(--wallet-muted);
  font-size: 11px;
  line-height: 1.5;
}

.wallet-access-copy {
  margin: 18px 0 0;
  color: var(--wallet-muted);
  font-size: 13px;
  font-weight: 800;
}

.wallet-access-copy a {
  color: var(--wallet-red);
  font-weight: 950;
  text-decoration: none;
}

.wallet-access-copy a:hover {
  text-decoration: underline;
}

.wallet-access-layout {
  display: flex;
  justify-content: center;
}

.wallet-access-card {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .30);
}

.wallet-access-side {
  position: relative;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: linear-gradient(135deg, #c71920 0%, #8b0000 100%);
  color: #fff;
  text-align: center;
}

.wallet-access-side img {
  width: 205px;
  height: 205px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .26));
}

.wallet-access-brand {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: .08em;
}

.wallet-access-subbrand {
  margin-top: 6px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  letter-spacing: .28em;
  font-weight: 800;
}

.wallet-access-side-copy {
  max-width: 310px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.42;
}

.wallet-access-watermark {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .24);
  color: rgba(255, 255, 255, .86);
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
}

.wallet-access-form {
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 860px) {
  .wallet-page {
    padding: 42px 0;
  }

  .wallet-panel {
    max-width: none;
    padding: 24px;
  }

  .wallet-access-layout {
    display: block;
  }

  .wallet-access-card {
    grid-template-columns: 1fr;
  }

  .wallet-access-side {
    min-height: 280px;
    padding: 30px 20px;
  }

  .wallet-access-side img {
    width: 142px;
    height: 142px;
  }

  .wallet-access-form {
    padding: 30px 25px;
  }
}

.wallet-canal-aviso {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #e7f6ec;
  color: #1e6b32;
  font-weight: 700;
  text-align: center;
}
