/* style.css */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden; /* Prevents mobile scrolling */
    font-family: sans-serif;
}

#app-container {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Full viewport height */
    width: 100vw;
}

#drawingCanvas {
    /* Set the canvas height to 75% of the viewport height */
    height: 75vh; 
    width: 100%;
    background-color: #ffffff; /* White drawing surface */
    display: block; 
    touch-action: none; /* Prevents default browser scroll/zoom on touch */
}

#controls {
    height: 25vh; /* The remaining 25% */
    width: 100%;
    display: flex;
    flex-wrap: wrap; /* Allows controls to wrap on smaller screens */
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    background-color: #2c3e50;
    gap: 10px; /* Space between elements */
}

#controls button, #controls input, #controls select {
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    flex-grow: 1; /* Makes controls take up available space */
    min-width: 120px;
}

#startRecording { background-color: #e74c3c; color: white; }
#stopRecording { background-color: #f39c12; color: white; }
#clearCanvas { background-color: #3498db; color: white; }

#imageLoader {
    color: white;
    background-color: #34495e;
}