.main-content {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.crossword-container {
    flex: 0 0 auto;
    text-align: center;
}

#crosswordGrid {
    display: inline-grid;
    gap: 0;
    border: 1px solid var(--color-black);
    background-color: var(--color-white);
    padding: 0;
}

.cell {
    width: 90px;
    height: 90px;
    border: 1px solid var(--color-cell-border);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    position: relative;
    cursor: text;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

.cell.black {
    background-color: var(--color-black);
    border-color: var(--color-black);
    cursor: default;
}

.cell:not(.black):focus {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
    background-color: var(--color-bg-active);
}

.cell:not(.black):hover {
    background-color: var(--color-bg-hover);
}

.cell-number {
    position: absolute;
    top: 2px;
    left: 3px;
    font-size: 18px;
    font-weight: bold;
    /* color: #2c3e50; */
    color: var(--color-black);
    pointer-events: none;
    font-family: "Courier New", Courier, "Lucida Console", Monaco, "Consolas", Menlo, monospace;
}

.cell input {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: "Courier New", Courier, "Lucida Console", Monaco, "Consolas", Menlo, monospace;
    font-weight: bold;
    color: var(--color-text-primary);
}

.cell input:focus {
    outline: none;
}

.cell.active {
    background-color: var(--color-bg-active);
}

.cell.highlight {
    background-color: var(--color-highlight);
}

.pause-overlay {
    position: absolute;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 1000;
    pointer-events: none;    
}