@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');

@font-face {
    font-family: 'ComicNeue-Angular-Bold';
    src: url('ComicNeue-Angular-Bold.ttf') format('truetype');
}

body {
    background-color: #1a1a1a;
    color: #f0f0f0;
    font-family: 'ComicNeue-Angular-Bold', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    text-align: center;
}

#app-container {
    background-color: #2c2c2c;
    padding: 2rem 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-width: 400px;
}

.title {
    color: #00bcd4;
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 700;
}

.timer-display {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.controls button {
    font-family: 'ComicNeue-Angular-Bold', sans-serif;
    font-size: 1.2rem;
    padding: 12px 24px;
    margin: 0 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    color: #fff;
    min-width: 120px;
}

#startStopBtn {
    background-color: #4CAF50; /* Green */
}

#startStopBtn.stop {
    background-color: #f44336; /* Red */
}

#splitBtn {
    background-color: #2196F3; /* Blue */
}

#resetBtn {
    background-color: #607D8B; /* Grey */
}

.controls button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

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

.splits-container {
    max-height: 200px;
    overflow-y: auto;
    margin-top: 2rem;
    padding-right: 10px; /* for scrollbar */
    border-top: 1px solid #444;
}

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

#splitsList li {
    padding: 10px 5px;
    border-bottom: 1px dashed #444;
    display: flex;
    justify-content: space-between;
}

#splitsList li:first-child {
    margin-top: 10px;
}

#splitsList li span:first-child {
    color: #aaa;
}

#splitsList li span:last-child {
    font-weight: bold;
}

.record-advice {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #aaa;
}