<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Daftar Akun</title>

<style>

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes float{
    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0px);
    }
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;

    background:
    linear-gradient(
    rgba(232,245,233,.88),
    rgba(200,230,201,.88)
    ),
    url('/images/sarulla-banner.jpg');

    background-size:cover;
    background-position:center;
    padding:20px;
}

.container{
width:1100px;
height:620px;
display:flex;
border-radius:22px;
overflow:hidden;
box-shadow:0 20px 60px rgba(0,0,0,.18);
background:rgba(255,255,255,.65);
animation:fadeUp .8s ease;
}

.left{
flex:1;
padding:70px 55px;
color:#14532d;
display:flex;
flex-direction:column;
justify-content:center;
}

.left h1{
font-size:52px;
margin-bottom:20px;
}

.left p{
font-size:20px;
line-height:1.9;
color:#355e3b;
max-width:420px;
}

.right{
flex:1;
display:flex;
justify-content:center;
align-items:center;
padding:40px;
}

.card{
width:100%;
max-width:380px;
padding:40px;
border-radius:20px;
background:#ffffff;
box-shadow:0 15px 40px rgba(0,0,0,.12);
transition:.3s;
}

.card:hover{
    transform:translateY(-4px);
}

.card h2{
color:#166534;
font-size:30px;
margin-bottom:25px;
}

.input{
width:100%;
padding:14px;
margin-bottom:15px;
border:1px solid #d1d5db;
outline:none;
border-radius:12px;
background:white;
font-size:15px;
}

.input:focus{
border-color:#15803d;
box-shadow:0 0 0 3px rgba(34,197,94,.15);
}

button{
width:100%;
padding:14px;
border:none;
border-radius:12px;
background:#15803d;
color:white;
font-size:16px;
font-weight:bold;
cursor:pointer;
transition:.25s;
}

button:hover{
transform:translateY(-3px);
box-shadow:0 10px 25px rgba(22,163,74,.35);
}

.bottom{
margin-top:18px;
text-align:center;
color:#64748b;
font-size:14px;
}

.bottom a{
color:#15803d;
text-decoration:none;
font-weight:bold;
}

@media (max-width:768px){

    body{
        align-items:flex-start;
        padding:20px 10px;
    }

    .container{
        width:100%;
        height:auto;
        flex-direction:column;
    }

    .left{
        width:100%;
        text-align:center;
        padding:40px 25px;
    }

    .left h1{
        font-size:48px;
        margin-bottom:20px;
    }

    .left p{
        font-size:20px;
        max-width:none;
    }

    .right{
        width:100%;
        padding:25px;
    }

    .card{
        width:100%;
        max-width:none;
        padding:35px;
    }

    .card h2{
        font-size:42px;
        text-align:center;
    }

    .input{
        font-size:18px;
        padding:16px;
    }

    button{
        font-size:18px;
        padding:16px;
    }

}

</style>
</head>
<body>

<div class="container">

<div class="left">

<h1>Bergabung Bersama PT SOL</h1>

<p>
Buat akun karyawan untuk dapat mulai mengunakan kendaraan perusahaan
</p>

</div>

<div class="right">

<div class="card">

<h2>Buat Akun</h2>

<form method="POST" action="/register">
@csrf

<input class="input" type="text" name="name" placeholder="Nama" required>

<input class="input" type="email" name="email" placeholder="Email" required>

<input class="input" type="password" name="password" placeholder="Password" required>

<button type="submit">Daftar</button>

</form>

<div class="bottom">
Sudah punya akun?
<a href="/">Masuk</a>
</div>

</div>

</div>

</div>

</body>
</html>

