body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f0f0; /* Light background */
    margin: 0;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 600px; /* Limit width for better readability */
    margin-bottom: 20px;
}

h1 {
    margin: 0;
    color: #333;
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50; /* Green button */
    color: white;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049; /* Darker green on hover */
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.hidden {
    display: none !important;
}

#grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4x4 grid for now, adjust as needed */
    gap: 10px;
    width: 400px; /* Adjust grid size */
    margin-bottom: 20px;
}

.grid-square {
    background-color: #e0e0e0; /* Light grey squares */
    border-radius: 8px;
    padding-top: 100%; /* Maintain square aspect ratio (adjust padding-top) */
    cursor: pointer;
    position: relative; /* For pseudo-element */
    transition: background-color 0.2s;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1); /* Subtle shadow */
}

.grid-square:hover {
    background-color: #d0d0d0;
}

.grid-square.active {
    background-color: #ffcc00; /* Example active color, like yellow */
}

#controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#recordingsMenu {
    max-width: 600px;
    width: 100%;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

#recordingsList {
    list-style: none;
    padding: 0;
}

#recordingsList li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

#recordingsList li:last-child {
    border-bottom: none;
}

#recordingsList li:hover {
    background-color: #f9f9f9;
}