.rzlv-visitante {
  max-width: 860px;
  margin: 24px auto;
  color: #1f2937;
}

.rzlv-visitante__header {
  margin-bottom: 18px;
}

.rzlv-visitante__header h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
}

.rzlv-visitante__event-header {
  display: grid;
  justify-items: center;
  gap: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px 20px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(17, 24, 39, .05);
  color: #1f2937;
  text-align: center;
}

.rzlv-visitante__event-kicker {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rzlv-visitante__event-title {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.rzlv-visitante__event-logos {
  display: grid;
  grid-template-columns: 72px 44px 72px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
}

.rzlv-visitante__event-logo {
  width: 72px;
  height: 72px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f9fafb;
}

.rzlv-visitante__event-logo img {
  display: block;
  max-width: 54px;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.rzlv-visitante__event-vs {
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 28px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.rzlv-visitante__event-meta {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #374151;
  font-size: 13px;
  line-height: 1.4;
}

.rzlv-visitante__event-meta span {
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 5px 9px;
  background: #f9fafb;
}

.rzlv-visitante__notice,
.rzlv-visitante__card {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.rzlv-visitante__notice--error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.rzlv-visitante__notice--warning {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.rzlv-visitante__notice--success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.rzlv-visitante__countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 10px 14px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 14px;
}

.rzlv-visitante__countdown[hidden] {
  display: none;
}

.rzlv-visitante__countdown-label {
  font-weight: 600;
}

.rzlv-visitante__countdown-time {
  font-variant-numeric: tabular-nums;
}

.rzlv-visitante__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rzlv-visitante__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}

.rzlv-visitante__field input {
  min-height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
}

.rzlv-visitante__field input[readonly] {
  background: #f3f4f6;
  color: #4b5563;
}

.rzlv-visitante__field--error input {
  border-color: #dc2626;
}

.rzlv-visitante__field [data-field-error] {
  color: #b91c1c;
  font-size: 13px;
  font-weight: 500;
}

.rzlv-visitante__field-hint {
  color: #92400e;
  font-size: 13px;
  font-weight: 500;
}

.rzlv-visitante__section {
  margin-top: 24px;
}

.rzlv-visitante__section-head,
.rzlv-visitante__additional-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.rzlv-visitante__section-head h3 {
  margin: 0;
}

.rzlv-visitante__section-head span,
.rzlv-visitante__additional-head span {
  color: #6b7280;
}

.rzlv-visitante__additional-list {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.rzlv-visitante__additional-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px;
  background: #f9fafb;
}

.rzlv-visitante__additional-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
}

.rzlv-visitante__button {
  min-height: 40px;
  border: 1px solid #1f2937;
  border-radius: 6px;
  padding: 8px 14px;
  background: #1f2937;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.rzlv-visitante__button:disabled {
  opacity: .6;
  cursor: wait;
}

.rzlv-visitante__button--secondary {
  min-height: 34px;
  border-color: #d1d5db;
  background: #fff;
  color: #1f2937;
}

.rzlv-visitante__payment-widget {
  margin-top: 16px;
  overflow: hidden;
}

.rzlv-visitante__payment-widget iframe {
  display: block;
  width: 100%;
  max-width: 600px;
  min-height: 864px;
  margin: 0 auto;
}

.rzlv-visitante__future {
  margin-top: 18px;
  padding: 12px;
  border: 1px dashed #9ca3af;
  border-radius: 8px;
  color: #4b5563;
}

.rzlv-visitante__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

@media (max-width: 720px) {
  .rzlv-visitante {
    margin: 12px auto;
  }

  .rzlv-visitante__header {
    margin-bottom: 10px;
  }

  .rzlv-visitante__notice,
  .rzlv-visitante__card {
    padding: 12px;
  }

  .rzlv-visitante__countdown {
    gap: 6px;
    margin-bottom: 10px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .rzlv-visitante__card h3 {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.25;
  }

  .rzlv-visitante__fields,
  .rzlv-visitante__additional-form {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .rzlv-visitante__event-header {
    gap: 5px;
    padding: 8px 10px;
    box-shadow: none;
  }

  .rzlv-visitante__event-title {
    font-size: 16px;
  }

  .rzlv-visitante__event-kicker {
    font-size: 10px;
  }

  .rzlv-visitante__event-logos {
    grid-template-columns: 42px 30px 42px;
    gap: 7px;
  }

  .rzlv-visitante__event-logo {
    width: 42px;
    height: 42px;
  }

  .rzlv-visitante__event-logo img {
    max-width: 32px;
    max-height: 32px;
  }

  .rzlv-visitante__event-vs {
    width: 30px;
    min-height: 22px;
    font-size: 11px;
  }

  .rzlv-visitante__event-meta {
    display: grid;
    gap: 4px;
    width: 100%;
    font-size: 11px;
  }

  .rzlv-visitante__event-meta span {
    padding: 3px 7px;
    justify-self: center;
  }

  .rzlv-visitante__field {
    gap: 4px;
    font-size: 13px;
  }

  .rzlv-visitante__field input {
    min-height: 34px;
    padding: 6px 8px;
  }

  .rzlv-visitante__section {
    margin-top: 16px;
  }

  .rzlv-visitante__section-head,
  .rzlv-visitante__additional-head {
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 8px;
  }

  .rzlv-visitante__section-head h3 {
    font-size: 16px;
    line-height: 1.25;
  }

  .rzlv-visitante__section-head span,
  .rzlv-visitante__additional-head span {
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 1.4;
  }

  .rzlv-visitante__additional-list {
    gap: 10px;
    margin-bottom: 10px;
  }

  .rzlv-visitante__additional-card {
    padding: 10px;
  }

  .rzlv-visitante__button {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 14px;
  }

  .rzlv-visitante__future {
    margin-top: 12px;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.4;
  }

  .rzlv-visitante__actions {
    margin-top: 12px;
  }

  .rzlv-visitante__actions .rzlv-visitante__button {
    width: 100%;
  }
}
