.timer-panel {
    width: 100%;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.time-readout {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 0 20px rgba(234, 179, 8, 0.3);
    letter-spacing: -2px;
    font-variant-numeric: tabular-nums;
}

.controls {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
}

.control-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid transparent;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.control-btn.start {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.5);
}

.control-btn.start:active { background: rgba(16, 185, 129, 0.4); }

.control-btn.stop {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.5);
}

.control-btn.stop:active { background: rgba(239, 68, 68, 0.4); }

.control-btn.reset, .control-btn.lap {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-color: var(--glass-border);
}

.control-btn.reset:active, .control-btn.lap:active { background: rgba(255, 255, 255, 0.2); }

.laps-panel {
    width: 100%;
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    overflow: hidden;
}

.laps-header {
    display: flex;
    justify-content: space-between;
    padding: 0 1rem 0.5rem 1rem;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.laps-list {
    overflow-y: auto;
    flex: 1;
    padding: 0.5rem 0;
}

.lap-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-light);
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    animation: slideDown 0.3s ease forwards;
}

.lap-item span {
    flex: 1;
    text-align: center;
}

.lap-item span:first-child { text-align: left; color: var(--text-muted); font-family: 'Outfit', sans-serif;}
.lap-item span:last-child { text-align: right; }

.lap-item.fastest { color: #10b981; }
.lap-item.slowest { color: #ef4444; }
.lap-item.fastest span:first-child, .lap-item.slowest span:first-child { color: inherit; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .time-readout { font-size: 3.5rem; }
}
