/* ── GRID DE DOS COLUMNAS EN EL FORM ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.field--full {
  grid-column: 1 / -1;
}

/* ── INPUT CON BOTÓN OJO ── */
.input-wrap {
  position: relative;
}
.input-wrap input {
  padding-right: 48px;
}
.eye-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color .2s;
}
.eye-btn:hover { color: #10b981; }
.eye-btn svg { width: 18px; height: 18px; }

/* ── MEDIDOR DE FORTALEZA ── */
.strength-bar {
  height: 4px;
  background: #e5e7eb;
  border-radius: 99px;
  margin-top: 8px;
  overflow: hidden;
}
.strength-bar span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 99px;
  transition: width .35s, background .35s;
}
.strength-label,
.match-label {
  font-size: 12px;
  margin-top: 5px;
  min-height: 16px;
  font-weight: 500;
}

/* ── MENSAJE ÉXITO ── */
.msg-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13px;
  margin-bottom: 18px;
}
.msg-success.show { display: block; }

/* ── AJUSTE SCROLL EN PANEL DERECHO (más campos) ── */
.panel-right {
  overflow-y: auto;
}
.panel-right::-webkit-scrollbar { width: 6px; }
.panel-right::-webkit-scrollbar-track { background: #f3f4f6; }
.panel-right::-webkit-scrollbar-thumb { background: #10b981; border-radius: 99px; }

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field--full {
    grid-column: 1;
  }
}

/* Scroll en panel derecho */
.panel-right {
  overflow-y: auto;
  padding: 36px 44px;
}
.panel-right::-webkit-scrollbar { width: 5px; }
.panel-right::-webkit-scrollbar-track { background: #f3f4f6; }
.panel-right::-webkit-scrollbar-thumb { background: #10b981; border-radius: 99px; }

/* Títulos más compactos */
.greet-title { font-size: 36px; margin-bottom: 4px; }
.greet-sub   { font-size: 13px; margin-bottom: 20px; }

/* Campos más pequeños */
.field { margin-bottom: 14px; }
.field label { font-size: 12px; margin-bottom: 5px; }
.field input  { padding: 11px 14px; font-size: 14px; border-radius: 10px; }

/* Ojo en inputs de contraseña */
.input-wrap { position: relative; }
.input-wrap input { padding-right: 44px; }
.eye-btn {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  cursor: pointer; color: #9ca3af;
  display: flex; align-items: center;
  transition: color .2s;
}
.eye-btn:hover { color: #10b981; }
.eye-btn svg { width: 17px; height: 17px; }

/* Match label */
.match-label {
  font-size: 12px;
  margin-top: 4px;
  min-height: 14px;
  font-weight: 500;
}

/* Botón más compacto */
.btn-login { padding: 14px; margin-top: 4px; }

/* Footer */
.footer-line { margin-top: 16px; }

/* Responsive */
@media (max-width: 720px) {
  .panel-right { padding: 32px 24px; }
}
.btn-back{
    width:100%;
    margin-top:12px;
    padding:14px;

    border:2px solid #10b981;
    border-radius:12px;

    background:transparent;
    color:#10b981;

    font-family:'DM Sans', sans-serif;
    font-size:14px;
    font-weight:600;

    cursor:pointer;
    transition:.3s;
}

.btn-back:hover{
    background:#10b981;
    color:#fff;
}