<x-guest-layout><div class="mb-4"><span class="eyebrow">VALIDAR CÓDIGO</span><h2 class="auth-title">Nueva contraseña</h2><p class="auth-subtitle">Ingresa el código de seis dígitos enviado a tu correo y define tu nueva contraseña.</p></div>@if(session('status'))<div class="alert alert-success">{{ session('status') }}</div>@endif<form method="POST" action="{{ route('password.store') }}">@csrf<div class="mb-3"><label class="form-label" for="email">Correo electrónico</label><input id="email" class="form-control @error('email') is-invalid @enderror" type="email" name="email" value="{{ old('email', $request->query('email')) }}" required autofocus>@error('email')<div class="field-error">{{ $message }}</div>@enderror</div><div class="mb-3"><label class="form-label" for="code">Código de validación</label><input id="code" class="form-control text-center @error('code') is-invalid @enderror" style="font-size:1.35rem;letter-spacing:.35rem" type="text" name="code" value="{{ old('code') }}" required inputmode="numeric" pattern="[0-9]{6}" maxlength="6" autocomplete="one-time-code" placeholder="000000">@error('code')<div class="field-error">{{ $message }}</div>@enderror</div><div class="mb-3"><label class="form-label" for="password">Nueva contraseña</label><input id="password" class="form-control @error('password') is-invalid @enderror" type="password" name="password" required autocomplete="new-password">@error('password')<div class="field-error">{{ $message }}</div>@enderror</div><div class="mb-4"><label class="form-label" for="password_confirmation">Confirmar contraseña</label><input id="password_confirmation" class="form-control" type="password" name="password_confirmation" required autocomplete="new-password"></div><button class="btn btn-copper w-100 auth-submit">Restablecer contraseña <i data-lucide="key-round"></i></button><p class="auth-switch"><a href="{{ route('password.request') }}">Solicitar un código nuevo</a></p></form></x-guest-layout>
