body {
    font-family: 'Chalkboard SE', 'Comic Sans MS', 'Marker Felt', 'Bradley Hand', cursive, system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

html {
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

main.container {
    margin-left: 20px;
    margin-right: 20px;
}

h1.container {
    padding-left: 20px;
}

/* Prevent double-tap zoom on iOS */
* {
    touch-action: manipulation;
}

/* Event Display */
#event-display {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    font-family: monospace;
}

.form-actions {
    margin-top: 1.5em;
    display: flex;
    gap: 1em;
}

.form-group, .form-group > label, .form-group > input, .form-group > select, .form-group > textarea {
    display: block;
}

.form-group {
    margin-bottom: 1em;
}

label {
    font-size: 1.5em;
}

.button {
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    text-decoration: none;
    color: darkgreen;
    font-size: 16px;
    border-radius: 20px;
    transition: all 0.2s ease;
    background-color: #f8f9fa;
    border: 2px solid transparent;
}

.button-primary {
    color: white;
    background-color: darkgreen;
}

.button-secondary {
    color: black;
    background-color: lightgrey;
}

.display-flex {
    display: flex;
}

.event-item {
    margin: 5px 0;
    padding: 5px;
    border-bottom: 1px solid #eee;
}

/* Event Types */
.mouse-event { color: #2196F3; }
.keyboard-event { color: #4CAF50; }
.blocked-event { color: #FF0000; }

/* Status Indicator */
#status {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 10px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    z-index: 9999;
}

.blocking-active {
    background: #ffebee !important;
}

/* Blocker */
#blocker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    display: none;
    border: none;
    background: transparent;
}

.blocking-active #blocker {
    display: block;
}

.blocking-active * {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    cursor: not-allowed !important;
}

#status {
    pointer-events: auto !important;
    cursor: default !important;
}

/* Text Area */
#text-area {
    margin-top: 20px;
    width: 100%;
    min-height: 150px;
    padding: 10px;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

#text-area:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

.blocking-active #text-area {
    cursor: not-allowed !important;
    background-color: #f5f5f5 !important;
} 

/* 

Yellow
rgb(255, 222, 0)

Green
rgb(54, 124, 43)

*/