:root {
            --primary-color: #4CAF50;
            --primary-hover: #45a049;
            --border-color: #ddd;
            --bg-light: #f9f9f9;
            --text-dark: #333;
        }
        
        * {
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: #fff;
        }
        
        h1 {
            color: var(--text-dark);
            text-align: center;
            margin-bottom: 20px;
        }
        
        .container {
            max-width: 800px;
            margin: 20px auto;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .preview-area {
            display: flex;
            justify-content: center;
        }
        
        .image-preview {
            border: 1px dashed var(--border-color);
            width: 400px;
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--bg-light);
            overflow: hidden;
        }
        
        .image-preview img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        textarea {
            width: 100%;
            height: 200px;
            padding: 10px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            resize: vertical;
            font-family: monospace;
        }
        
        .button-group {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        button {
            background-color: var(--primary-color);
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            flex: 1;
            min-width: 120px;
        }
        
        button:hover {
            background-color: var(--primary-hover);
        }
        
        input[type="file"] {
            width: 100%;
            padding: 10px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
        }
        
        @media (max-width: 600px) {
            .container {
                padding: 10px;
            }
            
            .image-preview {
                width: 100%;
                height: 250px;
            }
            
            button {
                width: 100%;
            }
        }