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

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

.input-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.input-section input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
}

#progressBarFill {
    width: 0%;
    height: 100%;
    background-color: green;
    transition: width 0.5s ease;
}

#timeLeft {
    font-size: 24px;
    font-weight: bold;
}

.button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.timer-face {
    font-size: 64px;
    text-align: center;
    margin-bottom: 10px;
}

#startBtn {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#startBtn:hover {
    background-color: #45a049;
}

#pauseBtn, #resetBtn {
    padding: 10px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#pauseBtn:disabled, #resetBtn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#resetBtn {
    background-color: #f44336;
}

#pauseBtn:hover:not(:disabled) {
    background-color: #1976D2;
}

#resetBtn:hover:not(:disabled) {
    background-color: #d32f2f;
}

.main-section {
    display: flex;
    gap: 20px;
}

.timer-section {
    flex: 2;
}

.history-section {
    flex: 1;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    max-height: 500px;
    overflow-y: auto;
}

.history-list {
    text-align: left;
}

.history-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.history-item h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.history-item p {
    margin: 5px 0;
    font-size: 0.9em;
}

.history-item .paused {
    color: orange;
}

.history-item .completed {
    color: green;
}