<?php $__env->startSection('content'); ?>
<div class="container">
    <div class="row">
        <div class="col-md-8 offset-2 text-center">
            <div class="row">
                <div class="col-md-12 text-center mt-4">
                     <img src="<?php echo e(asset('img/logo_CIE.ico')); ?>" style="width: 220px;">
                </div>
            </div>  
        </div>      
    </div>
</div>
<div class="container mt-5">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card" style="background-color: #00010CA9; color: #FFFFFF;">
                <div class="row">
                    <div class="col-md-12 text-center mt-4">
                         <h2>INICIO</h2>
                    </div>
                </div> 
                <div>
                </div>
                <div class="card-body">
                    <form method="POST" action="<?php echo e(route('login')); ?>">
                        <?php echo csrf_field(); ?>
                        <div class="form-group row">
                            <label for="email" class="col-md-4 col-form-label text-md-right"><?php echo e(__('Usuario')); ?></label>
                            <div class="col-md-6">
                                <input id="usu" type="text" class="form-control" required autocomplete="Usuario" autofocus placeholder="Ingresa Usuario">
                                <input id="email" type="hidden" class="form-control" name="email" value="<?php echo e(old('email')); ?>" required autocomplete="email" autofocus>
                            </div>
                        </div>
                        <div class="form-group row">
                            <label for="dominio" class="col-md-4 col-form-label text-md-right"><?php echo e(__('Dominio')); ?></label>
                            <div class="col-md-6">
                                <select class="form-control" id="dominio" name="dominio" value="" required>
                                <option value="">Seleccion el dominio</option>
                                <option value="@cieagenciaaduanal.com">@cieagenciaaduanal.com</option>
                                <option value="@cieagenciaaduanal.mx">@cieagenciaaduanal.mx</option>
                                <option value="@unidc.com">@unidc.com</option>
                                <option value="@corporativocie.com.mx">@corporativocie.com.mx</option>
                                <option value="@gam.mx">@gam.mx</option>
                                <option value="@tradium.mx">@tradium.mx</option>
                                <option value="@lezgamx.com">@lezgamx.com</option>
                                <option value="@grupocoimportex.com.mx">@grupocoimportex.com.mx</option>
                                <option value="@escex.com.mx">@escex.com.mx</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group row">
                            <label for="password" class="col-md-4 col-form-label text-md-right"><?php echo e(__('Password')); ?></label>
                            <div class="col-md-6">
                                <input id="password" type="password" placeholder="*******" class="form-control <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="password" required autocomplete="current-password">
                                <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-12 offset-5">
                                <button type="submit" class="btn btn-primary btn-sm" style="width: 150px; height: 40px;">
                                    <?php echo e(__('Entrar')); ?>

                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    $(document).ready(function(){
        
        $('#dominio').mouseout(function(){
            var usuario = document.getElementById('usu');
            var dominio = document.getElementById('dominio');
            var email = usuario.value + dominio.value;
            $('#email').val(email);
        });
    });
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\BETAS\Bitacora\resources\views/auth/login.blade.php ENDPATH**/ ?>