body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
}

.toolbar h1 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

#clear-btn {
    padding: 8px 16px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

#clear-btn:hover {
    background-color: #c0392b;
}

.canvas-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
}

canvas {
    background-color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    cursor: crosshair;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.toolbar {
    margin: 15px;
}

button {
    padding: 10px 16px;
    margin-right: 8px;
    border: none;
    background-color: #2c3e50;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.2s ease;
}

button:hover {
    background-color: #34495e;
}

#whiteboard {
    border: 2px solid #2c3e50;
    background: white;
    cursor: crosshair;
}