body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'IBMPlexSans', sans-serif;
    font-weight: lighter;
    background-color: #f8f9fa;
}
.bingo-container {
    text-align: center;
}
.bingo-title {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 20px;
}
.bingo-letter {
    font-size: 3em;
    font-weight: bold;
    color: #343a40;
    font-family: 'Merriweather', sans-serif;
    font-weight: 900;
}
.bingo-grid {
    display: grid;
    grid-template-columns: repeat(5, 110px);
    grid-template-rows: repeat(5, 110px);
    gap: 5px;
}
.bingo-cell {
    border: 2px solid #343a40;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
    color: #343a40;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    box-sizing: border-box;
    word-wrap: break-word;
    font-size: 14px;
    line-break: loose;
}
.marked {
    background-color: #343a40;
    color: #ffffff;
}

.disabled {
    background-color: rgb(183, 183, 183) !important;
    color: black !important;
    cursor: not-allowed !important;
    border-color: rgb(183, 183, 183) !important;
}

.credits {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 10px;
    font-size: 14px;
}

.github {
    color: #22522d;
    text-decoration: none;
}

.timer-cell {
    flex-direction: column;
    position: relative;
}

.timer-word {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    word-wrap: break-word;
}

.timer-display {
    font-size: 12px;
    font-weight: normal;
    margin-top: auto;
    color: #666;
}

.timer-running {
    background-color: #ffffff !important;
    border-color: #343a40 !important;
    animation: timer-pulse 1s infinite;
}

.timer-paused {
    color: black !important;
    border: dashed black !important;
}

.timer-completed {
    background-color: #343a40 !important;
    color: #ffffff !important;
    border-color: #343a40 !important;
}

.timer-completed.marked {
    background-color: #343a40 !important;
    color: #ffffff !important;
}

.timer-completed.marked .timer-display {
    color: #ffffff;
}

.timer-running .timer-display {
    color: #343a40;
    font-weight: bold;
}

.timer-paused .timer-display {
    color: black;
    font-weight: bold;
}

.timer-completed .timer-display {
    color: #ffffff;
    font-weight: bold;
}

.timer-completed .timer-display::after {
    content: " ✓";
}

@keyframes timer-pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(52, 58, 64, 0.7);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 0 0 5px rgba(52, 58, 64, 0.3);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(52, 58, 64, 0);
    }
}
