<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>VOLIJE - Sistem Pendukung Keputusan Pemilihan Atlet Bola Voli</title>

    <!-- Custom fonts for this template-->
    <link href="{{ asset('vendor/fontawesome-free/css/all.min.css') }}" rel="stylesheet" type="text/css">
    <link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">

    <!-- Custom styles for this template-->
    <link href="{{ asset('css/sb-admin-2.min.css') }}" rel="stylesheet">
    <link rel="shortcut icon" href="{{ asset('img/favicon.ico') }}" type="image/x-icon">
    <link rel="icon" href="{{ asset('img/favicon.ico') }}" type="image/x-icon">

    <style>
        .bg-gradient-primary {
            background: linear-gradient(135deg, #4e73df 0%, #224abe 100%) !important;
        }
        .text-primary {
            color: #4e73df !important;
        }
        .btn-primary {
            background: linear-gradient(135deg, #4e73df 0%, #224abe 100%) !important;
            border: none;
        }
        .btn-primary:hover {
            background: linear-gradient(135deg, #4668c5 0%, #1e43aa 100%) !important;
            border: none;
        }
    </style>
</head>

<body class="bg-gradient-primary">
    <nav class="navbar navbar-expand-lg navbar-dark bg-white shadow-lg pb-3 pt-3 font-weight-bold">
        <div class="container">
            <a class="navbar-brand text-primary" style="font-weight: 900;" href="{{ url('/') }}"> 
                <img src="{{ asset('img/logo.png') }}" alt="Logo" style="width: 40px; height: auto; margin-right: 10px;">
                VOLIJE
            </a>
        </div>
    </nav>

    <div class="container">
        <!-- Outer Row -->
        <div class="row d-flex justify-content-center mt-3">
            <div class="col-xl-8 col-lg-8 col-md-8">
                <div class="card bg-none o-hidden border-0 text-center" style="background: none;">
                    <div class="card-body p-0">
                        <h4 class="text-white" style="font-weight: 800;">Penerapan Metode Vikor Pada Sistem Pendukung Keputusan Pemilihan Atlet Bola Voli Porseni Putra</h4>
                    </div>
                </div>
            </div>
        </div>

        <div class="row d-flex justify-content-center">                
            <div class="col-xl-5 col-lg-5 col-md-5">
                <div class="card o-hidden border-0 shadow-lg my-4">
                    <div class="card-body p-0">
                        <div class="row">
                            <div class="col-lg-12">
                                <div class="p-5">
                                    <div class="text-center">
                                        <img src="{{ asset('img/logo.png') }}" alt="Logo" style="width: 80px; height: auto; margin-bottom: 20px;">
                                        <h1 class="h4 text-gray-900 mb-4">Login Account</h1>
                                    </div>
                                    @if(session('message'))
                                    <div class="alert alert-danger alert-dismissable">
                                        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                                        {{ session('message') }}
                                    </div>
                                    @endif

                                    <form class="user" action="{{ url('proses_login') }}" method="post">
                                        {{ csrf_field() }}
                                        <div class="form-group">
                                            <input required autocomplete="off" type="text" class="form-control form-control-user" id="exampleInputUser" placeholder="Username" name="username" />
                                        </div>
                                        <div class="form-group">
                                            <input required autocomplete="off" type="password" class="form-control form-control-user" id="exampleInputPassword" name="password" placeholder="Password" />
                                        </div>
                                        <button name="submit" type="submit" class="btn btn-primary btn-user btn-block">
                                            <i class="fas fa-fw fa-sign-in-alt mr-1"></i> Masuk
                                        </button>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Bootstrap core JavaScript-->
    <script src="{{ asset('vendor/jquery/jquery.min.js') }}"></script>
    <script src="{{ asset('vendor/bootstrap/js/bootstrap.bundle.min.js') }}"></script>

    <!-- Core plugin JavaScript-->
    <script src="{{ asset('vendor/jquery-easing/jquery.easing.min.js') }}"></script>

    <!-- Custom scripts for all pages-->
    <script src="{{ asset('js/sb-admin-2.min.js') }}"></script>
</body>
</html>
