        body {
            background-color: #f0f0f0;
            padding: 20px;
            font-family: Arial, sans-serif;
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
        }

        .input-section {
            margin-bottom: 20px;
        }

        textarea {
            width: 100%;
            height: 150px;
            padding: 10px;
            margin-bottom: 10px;
            border: 2px solid #ccc;
            border-radius: 5px;
            resize: vertical;
        }

        button {
            background-color: #4CAF50;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
        }

        button:hover {
            background-color: #45a049;
        }

        .output-section {
            background: linear-gradient(to bottom, #f1e8c9 0%, #f3edd2 100%);
            padding: 40px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            position: relative;
            min-height: 500px;
        }

        .handwriting-text {
            font-family: 'Caveat', cursive;
            font-size: 26px;
            line-height: 1.6;
            color: #2d2d2d;
            white-space: pre-wrap;
        }

        .notebook-lines {
            position: absolute;
            width: calc(100% - 80px);
            height: calc(100% - 80px);
            background-image: linear-gradient(to bottom, 
                transparent 95%, 
                rgba(0,0,0,0.1) 95%);
            background-size: 100% 36px;
            pointer-events: none;
        }

        .download-btn {
            margin-top: 20px;
            background-color: #008CBA;
        }
 