.chess-clock {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 4px;
    padding: 6px 12px;
    min-width: 120px;
    border: 1px solid #ddd;
    font-weight: bold;
    font-family: monospace;
    font-size: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
    position: relative;
}

.chess-clock.active {
    background-color: #e8f4ff;
    border-left: 3px solid #007bff;
}

.time-display {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.time-decimal {
    font-size: 0.7em;
    vertical-align: baseline;
}

.running-indicator {
    height: 10px;
    width: 10px;
    min-width: 10px;
    min-height: 10px;
    background-color: #28a745;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    animation: pulse 1s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}
