@extends('admin.layouts.auth')

@section('title','비밀번호 변경')
@section('heading','비밀번호 변경')
@section('subheading','초기 비밀번호입니다. 새 비밀번호를 설정해 주세요.')

@section('content')
    <form method="POST" action="{{ route('admin.password.reset.store') }}" class="a-form">
        @csrf

        <div class="a-field">
            <label class="a-label" for="password">새 비밀번호</label>
            <input class="a-input" id="password" name="password" type="password" autocomplete="new-password" required>
            @error('password') <div class="a-error">{{ $message }}</div> @enderror
        </div>

        <div class="a-field">
            <label class="a-label" for="password_confirmation">새 비밀번호 확인</label>
            <input class="a-input" id="password_confirmation" name="password_confirmation" type="password" autocomplete="new-password" required>
            @error('password_confirmation') <div class="a-error">{{ $message }}</div> @enderror
        </div>

        <button class="a-btn a-btn--primary" type="submit">변경하기</button>

        <div class="a-help">
            <small>권장: 10자 이상, 영문/숫자/특수문자 조합</small>
        </div>
    </form>
@endsection
