<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@yield('title') - UPTD Laboratorium Lingkungan</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta content="UPTD. LABLING DLH KOTA PROBOLINGGO" name="description" />
    <meta content="UPTD. LABLING DLH KOTA PROBOLINGGO" name="author" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <!-- App favicon -->
    <link rel="shortcut icon" href="{{ asset('images/logotitle.png') }}">
    <style>
        body {
            background-color: #f5f5f5;
            min-height: 100vh;
            display: flex;
            align-items: center;
        }
        .auth-container {
            margin: 30px auto;
            border: 1px solid #ddd;
            border-radius: 5px;
            overflow: hidden;
            background-color: #fff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        .auth-sidebar {
            background-color: #44d651;
            color: white;
            padding: 30px 20px;
            text-align: center;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .auth-sidebar img {
            width: 80px;
            margin-bottom: 15px;
        }
        .auth-sidebar .logo-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 15px;
        }
        .auth-sidebar h3 {
            font-size: 1.2rem;
            text-align: center;
            margin-bottom: 20px;
            font-weight: bold;
        }
        .auth-content {
            padding: 30px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            height: 100%;
        }
        .auth-title {
            text-align: center;
            color: #44d651;
            margin-bottom: 30px;
            font-weight: bold;
        }
        .form-control {
            border-radius: 0;
            margin-bottom: 15px;
        }
        .btn-auth {
            background-color: #44d651;
            color: white;
            border: none;
            border-radius: 0;
            padding: 10px;
            width: 100%;
            margin-top: 10px;
            text-transform: uppercase;
        }
        .radio-label {
            margin-right: 15px;
        }
        .auth-footer {
            text-align: center;
            margin-top: 20px;
            font-size: 0.9rem;
        }
        .auth-footer a {
            color: #44d651;
            text-decoration: none;
        }
        .password-toggle {
            z-index: 10;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-md-8 col-lg-10">
                <div class="auth-container">
                    <div class="row g-0">
                        <div class="col-md-5">
                            <div class="auth-sidebar">
                                <div class="logo-container">
                                    <img src="{{ asset('images/logo4.png') }}" alt="Logo Kota" class="me-2">
                                    <img src="{{ asset('images/logo2.png') }}" alt="Logo Dinas">
                                </div>
                                <h3>UPTD LABORATORIUM LINGKUNGAN PADA DINAS LINGKUNGAN HIDUP KOTA PROBOLINGGO</h3>
                            </div>
                        </div>
                        <div class="col-md-7">
                            <div class="auth-content">
                                @yield('content')
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        function togglePassword(inputId) {
            const passwordInput = document.getElementById(inputId);
            const passwordIcon = document.getElementById(inputId + '-icon');
            
            if (passwordInput.type === 'password') {
                passwordInput.type = 'text';
                passwordIcon.classList.remove('bi-eye-slash');
                passwordIcon.classList.add('bi-eye');
            } else {
                passwordInput.type = 'password';
                passwordIcon.classList.remove('bi-eye');
                passwordIcon.classList.add('bi-eye-slash');
            }
        }
    </script>
</body>
</html> 