<!DOCTYPE html>
<html lang="bn">
<head>
    <meta charset="UTF-8">
    <title>Loan Application</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet"
          href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
    <style>
        :root {
            --primary: #e53935;
            --bg: #f5f5f5;
        }
        * { box-sizing: border-box; margin:0; padding:0; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: var(--bg);
        }
        .topbar {
            background: var(--primary);
            color:#fff;
            padding:12px 16px;
            display:flex;
            align-items:center;
            justify-content:center;
            position: sticky;
            top:0;
            z-index:10;
        }
        .topbar .back {
            position:absolute;
            left:16px;
            cursor:pointer;
        }
        .topbar-title {
            font-weight:600;
            letter-spacing:.5px;
        }
        .page {
            display:flex;
            justify-content:center;
            padding:20px 12px 40px;
        }
        .card {
            background:#fff;
            border-radius:18px;
            padding:24px 18px 36px;
            box-shadow:0 6px 18px rgba(0,0,0,.06);
            max-width:420px;
            width:100%;
        }
        .form-title {
            text-align:center;
            margin-bottom:18px;
            font-size:20px;
            color:#c62828;
            font-weight:700;
        }
        .field {
            margin-bottom:16px;
        }
        label {
            display:block;
            margin-bottom:6px;
            font-size:14px;
            color:#444;
        }
        input, select {
            width:100%;
            padding:12px 14px;
            border-radius:10px;
            border:1px solid #ddd;
            font-size:15px;
        }
        select {
            appearance:none;
            background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath fill='%23999' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E")
            no-repeat right 12px center;
            background-size:14px;
        }
        .btn-primary {
            width:100%;
            padding:14px;
            border:none;
            border-radius:999px;
            background:var(--primary);
            color:#fff;
            font-size:16px;
            font-weight:600;
            cursor:pointer;
            margin-top:8px;
        }
        .btn-primary:hover { opacity:.95; }
    </style>
</head>
<body>
<div class="topbar">
    <div class="back" onclick="history.back()">
        <i class="fas fa-arrow-left"></i>
    </div>
    <div class="topbar-title">LOAN APPLICATION</div>
</div>

@yield('loan')
</body>
</html>
