* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

h1 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.timer-container {
    margin-bottom: 2rem;
}

.timer {
    font-size: 4rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#start {
    background-color: #2ecc71;
    color: white;
}

#start:hover:not(:disabled) {
    background-color: #27ae60;
}

#stop {
    background-color: #e74c3c;
    color: white;
}

#stop:hover:not(:disabled) {
    background-color: #c0392b;
}

#reset {
    background-color: #3498db;
    color: white;
}

#reset:hover:not(:disabled) {
    background-color: #2980b9;
}

.settings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.setting-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

input[type="number"] {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}
