<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        body,
        html {
            margin: 0;
            padding: 0;
            height: 100%;
        }

        .container {
            display: flex;
            height: 100vh;
        }

        .half {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .quarter {
            flex: 1;
            border: 1px solid #000;
            padding: 10px;
            box-sizing: border-box;
            overflow: auto; /* Add this to enable scrolling if content is too large */
        }
    </style>
    <title>Fixed Split Layout</title>
</head>

<body>
    <div class="container">
        <div class="half">
            <div class="quarter">
                <div id="dashboard">
                    <h2>個人情報</h2>
                    <p><strong>ID:</strong> {{ user_info.id }}</p>
                    <p><strong>ユーザー名:</strong> {{ user_info.username }}</p>
                    <p><strong>パスワード:</strong> {{ user_info.password }}</p>
                    <p><strong>名前:</strong> {{ user_info.name }}</p>
                </div>
            </div>
            <div class="quarter">
                <!-- Content for the top-right section -->
                <h2>Top-Right Section</h2>
                <!-- Add your content here -->
            </div>
        </div>
        <div class="half">
            <div class="quarter">
                <!-- Content for the bottom-left section -->
                <h2>勉強時間入力</h2>
                <form id="availability-form">
                    <label for="start-date">日付:</label>
                    <input type="date" id="start-date" required>
                
                    <br>
                
                    <label for="start-time">開始時間:</label>
                    <input type="time" id="start-time" required>
                
                    <br>
                
                    <label for="end-time">終了時間:</label>
                    <input type="time" id="end-time" required>
                
                    <br><br>
                
                    <button type="button" onclick="generateSchedule()">スケジュール生成</button>
                </form>
            </div>
            <div class="quarter">
                <!-- Content for the bottom-right section -->
                <h2>Bottom-Right Section</h2>
                <!-- Add your content here -->
            </div>
        </div>
    </div>
</body>

</html>
