@extends('Template::layouts.master')

@section('content')
    <div class="dashboard-body">
        <div class="container">
            <div class="row justify-content-center pt-80 pb-80">
                <div class="col-xl-10 col-xxl-8">
                    <div class="card custom--card">
                        <div class="card-body">
                            <form method="post">
                                @csrf
                                <div class="row gy-4">
                                    <div class="col-sm-12 form-group">
                                        <label class="form--label">@lang('Current Password')</label>
                                        <input type="password" class="form-control form--control" name="current_password"
                                            required autocomplete="current-password" required>
                                    </div>
                                    <div class="col-sm-12 form-group">
                                        <label class="form--label ">@lang('Password')</label>
                                        <input type="password"
                                            class="form-control form--control @if (gs('secure_password')) secure-password @endif"
                                            name="password" required autocomplete="current-password" required>
                                    </div>
                                    <div class="col-sm-12 form-group">
                                        <label class="form--label ">@lang('Confirm Password')</label>
                                        <input type="password" class="form-control form--control"
                                            name="password_confirmation" required autocomplete="current-password" required>
                                    </div>
                                    <div class="col-sm-12">
                                        <button class="btn btn--base-two w-100" type="submit">
                                            @lang('Submit')
                                        </button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection
@if (gs('secure_password'))
    @push('script-lib')
        <script src="{{ asset('assets/global/js/secure_password.js') }}"></script>
    @endpush
@endif

@push('style')
    <style>
        .input-popup {
            bottom: 70% !important;
        }
    </style>
@endpush
