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

.stopwatch {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 48px;
    margin: 20px 0;
}

h2 {
    font-size: 36px;
    margin: 20px 0;
}

.controls {
    display: flex;
    justify-content: center; /* To center buttons except exit */
    align-items: center;
    margin-top: 20px;
}

button {
    padding: 10px 15px;
    margin: 0 5px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

button:hover:not(:disabled) {
    background-color: #0056b3;
}

#exitBtn {
    margin-left: auto; /* Push 'Exit' to the right */
}