body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.container {
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#timer {
    font-size: 48px;
    margin: 20px 0;
    font-family: monospace;
}

button {
    font-size: 18px;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#result {
    margin: 20px 0;
    font-size: 20px;
}

#scores {
    margin-top: 30px;
}

#scoreList {
    list-style-type: none;
    padding: 0;
}

#scoreList li {
    margin: 5px 0;
}

#scoreList li.latest {
    background-color: #e8f5e9;
    padding: 5px 10px;
    border-radius: 4px;
    border-left: 3px solid #4CAF50;
}

#resetButton {
    background-color: #ff4444;
    margin-bottom: 15px;
    font-size: 14px;
    padding: 8px 16px;
}

#resetButton:disabled {
    background-color: #cccccc;
}

footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
}

#stopButton {
    background-color: #f44336;
    margin-left: 10px;
}

.hidden {
    display: none;
}

/* Show stop button and hide space instruction on mobile */
@media (max-width: 768px) {
    #stopButton {
        display: inline-block;
    }
    
    #instruction {
        font-size: 14px;
    }
} 