        * {
            box-sizing: border-box;
        }

        html,
        body {
            margin: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            font-family: Arial, sans-serif;
        }

        #canvas {
    touch-action: none;
            display: block;
            width: 100%;
            height: 100%;
            background: white;
        }

        #accountArea {
            position: fixed;
            top: 12px;
            right: 12px;
            z-index: 10;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
        }

        #topButtons {
            display: flex;
            gap: 6px;
        }

        #loginForm {
            display: flex;
            gap: 6px;
        }

        #emailInput {
            width: 220px;
            padding: 9px 10px;
            border: 1px solid #bbb;
            border-radius: 6px;
            font-size: 14px;
            outline: none;
        }

        button {
            padding: 9px 12px;
            border: 1px solid #aaa;
            border-radius: 6px;
            background: white;
            cursor: pointer;
        }

        button:hover {
            background: #f5f5f5;
        }

        #saveButton,
        #accountButton {
            display: none;
        }

        #accountDropdown {
            display: none;
            margin-top: 6px;
            min-width: 240px;
            background: white;
            border: 1px solid #bbb;
            border-radius: 6px;
            box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
            overflow: hidden;
        }

        .accountItem {
            padding: 10px 12px;
            cursor: pointer;
        }

        .accountItem:hover {
            background: #f2f2f2;
        }

        .accountItem.active {
            font-weight: bold;
        }

        .logoutItem {
            border-top: 1px solid #ddd;
        }

        #notificationContainer {
            position: fixed;
            top: 12px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 100;
            display: flex;
            flex-direction: column;
            gap: 8px;
            pointer-events: none;
        }

        .notification {
            pointer-events: auto;
            min-width: 280px;
            max-width: 500px;
            padding: 11px 38px 11px 14px;
            background: #333;
            color: white;
            border-radius: 6px;
            box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
            position: relative;
            animation: notificationIn 0.2s ease-out;
        }

        .notificationClose {
            position: absolute;
            top: 5px;
            right: 7px;
            border: 0;
            background: transparent;
            color: white;
            font-size: 18px;
            cursor: pointer;
        }

        #missingWhiteboard {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 50;
            text-align: center;
            font-size: 20px;
            color: #333;
            padding: 20px;
        }

        @keyframes notificationIn {
            from {
                opacity: 0;
                transform: translateY(-8px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


/* Drawing tools */
.toolButton.active {
    background: #dceaff;
    border-color: #5686cc;
}

#eraserCursor {
    position: fixed;
    z-index: 9;
    width: 32px;
    height: 32px;
    border: 2px solid #2878d0;
    border-radius: 50%;
    background: rgba(40, 120, 208, 0.12);
    pointer-events: none;
    display: none;
    transform: translate(-50%, -50%);
}

#eraserCursor.held {
    border-color: #e53935;
    background: rgba(229, 57, 53, 0.25);
}
