body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    height: 100vh;
}
.container {
    display: flex;
    align-items: flex-start;
    margin: 40px;
}
.form-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 320px;
    text-align: center;
    margin: 40px;
}
h1 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}
label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    text-align: left;
}
input {
    width: calc(100% - 20px);
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s;
}
input:focus {
    border-color: #007bff;
}
button {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
    transition: background 0.3s;
}
button:hover {
    background: #0056b3;
}
h2 {
    font-size: 18px;
    color: #444;
    margin-top: 20px;
}
p#result {
    background: #e9ecef;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
}
canvas {
    margin-top: 20px;
}
