@charset "UTF-8";
:root {
  --accent: #6c3fff;
  --bg-purple-top: #8b5cf6;
  --bg-purple-bottom: #a78bfa;
  --input-bg: #f3f4f6;
  --input-border: #e5e7eb;
  --text-main: #1f2937;
  --text-muted: #6b7280;
}
* {
  box-sizing: border-box;
}

body {
  font-size: 16px;
}
body p, body h1, body h2, body h3, body h4, body h5, body h6, body img {
  margin: 0;
  padding: 0;
}

.flexCenter {
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen {
  flex-direction: column;
  min-height: 100vh;
  padding: 20px 0;
  width: 100%;
}

.form-container {
  background: #fff;
  border-radius: 20px;
  margin: 0 auto;
  padding: 20px;
  width: 85%;
  max-width: 420px;
}

.form-container form {
  flex-direction: column;
  width: 100%;
}

.form-group {
  width: 90%; /* ← mismo ancho que el contenedor del botón */
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-wrapper svg {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

/* Todos los inputs comparten base */
.input-wrapper input,
.submBtn {
  width: 100%;
  height: 48px; /* 👈 MISMA altura, se acabó el problema */
  padding: 0 14px;
  font-size: 15px;
  font-family: inherit;
  line-height: 1;
  border-radius: 14px;
  box-sizing: border-box;
  outline: none;
}

/* Específico de los inputs de texto */
.input-wrapper input {
  padding-left: 42px;
  color: var(--text-main);
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.input-wrapper input::placeholder {
  color: #9ca3af;
}

.input-wrapper input:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(108, 63, 255, 0.12);
}

.inptGp {
  position: relative;
  width: 90%; /* mismo ancho que .form-group */
  margin-top: 4px;
}

/* Botón: reset fuerte + estilos */
.submBtn {
  background: var(--bg-purple-top);
  color: #fff;
  border: 1.5px solid transparent; /* mismo grosor que los inputs */
  cursor: pointer;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.2s, transform 0.1s;
}

.submBtn:hover {
  background: var(--accent);
}

.submBtn:active {
  transform: scale(0.98);
}

.editBtn {
  background: #00D26D;
}

.editBtn:hover{
  background: rgba(0, 210, 108, .8);
}

.wrng {
  font-size: 0.8rem;
  position: relative;
  width: 100%;
}

.alert-wrapper {
  top: -80px;
  position: absolute;
  width: 90%;
}

.hidden {
  display: none !important;
}

#result {
  margin-top: 1.5rem;
  text-align: center;
}

.result-line {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.error-msg {
  margin-top: 1rem;
  color: #d33;
  font-size: 0.9rem;
  text-align: center;
}

.submBtn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.mp-pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  background-color: #009EE3;
  color: #FFFFFF;

 //font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;

  //padding: 14px 0px;
  border: none;
  border-radius: 14px;
  cursor: pointer;

  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.05s ease;

  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.mp-pay-btn:hover {
  background-color: #008FCC;
  box-shadow: 0 2px 6px rgba(0, 158, 227, 0.35);
}

.mp-pay-btn:active {
  background-color: #007FB4;
  transform: scale(0.98);
}

.mp-pay-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 158, 227, 0.35);
}

.mp-pay-btn:disabled {
  background-color: #B0DCF3;
  cursor: not-allowed;
  box-shadow: none;
}