@extends($activeTheme . 'layouts.app')

@section('content')
    <section class="account">
        <div class="account__bg bg-img" data-background-image="{{ getImage($activeThemeTrue . 'images/site/code_verification/' . $codeVerifyContent->data_info->first_background_image, '960x1080') }}"></div>
        <div class="account__thumb">
            <img src="{{ getImage($activeThemeTrue . 'images/site/code_verification/' . $codeVerifyContent->data_info->image, '635x485') }}" alt="code verification">
        </div>
        <div class="account__form">
            <div class="account__form__bg bg-img" data-background-image="{{ getImage($activeThemeTrue . 'images/site/code_verification/' . $codeVerifyContent->data_info->second_background_image, '1080x1080') }}"></div>
            <div class="account__form__wrap">
                @include($activeTheme . 'partials.basicAccountTop')

                <div class="custom--card h-auto no-shadow">
                    <div class="card-body">
                        <div class="account__form__content mb-3">
                            <h3 class="account__form__title mb-0">{{ __($codeVerifyContent->data_info->form_heading) }}</h3>
                        </div>
                        <p class="mb-4">@lang('A six-digit verification code has been sent to') <b>{{ showEmailAddress($email) }}</b></p>
                        <form action="" method="POST" class="verification-code-form">
                            @csrf
                            <input type="hidden" name="email" value="{{ $email }}">
                            <div class="row">
                                <div class="col-sm-12 form-group">
                                    <label class="form--label required">@lang('Verification Code')</label>

                                    @include('partials.verificationCode')
                                </div>
                                <div class="col-sm-12 form-group">
                                    <button type="submit" class="btn btn--base w-100">
                                        {{ __($codeVerifyContent->data_info->submit_button_text) }}
                                    </button>
                                </div>
                                <div class="col-sm-12">
                                    <div class="have-account">
                                        <p class="have-account__text">
                                            @lang('Please check including your') <b>@lang('spam')</b> @lang('folder. If not found, then you can') <a href="{{ route('user.password.request.form') }}" class="have-account__link text--base">@lang('Try Again.')</a>
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </section>
@endsection
