/* Sudoku Specific Styles */

/* Validation */
.puzzle-cell.wrong {
    color: #ff4d4d;
    background: var(--bg-secondary);
}

.game-info-bar {
    justify-content: space-between !important;
}

/* Highlight related cells */
.puzzle-cell.highlight-row,
.puzzle-cell.highlight-col,
.puzzle-cell.highlight-box {
    background: rgba(255, 107, 107, 0.15) !important;
    z-index: 7;
}

/* Combine highlights for overlapping cells */
.puzzle-cell.highlight-row.highlight-col,
.puzzle-cell.highlight-row.highlight-box,
.puzzle-cell.highlight-col.highlight-box {
    background: rgba(255, 107, 107, 0.25) !important;
    z-index: 7;
}

.puzzle-cell.highlight-row.highlight-col.highlight-box {
    background: rgba(255, 107, 107, 0.35) !important;
    z-index: 7;
}

/* Pause Overlay */
.pause-overlay-cust {
    border: 2px solid var(--text-primary) !important;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    /* Match grid radius */
}

.pause-icon-circle {
    background: var(--primary-color);
    padding: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 10px;
}

.pause-text {
    font-weight: 500;
    color: var(--text-primary);
}

/* Responsive Grid Full Width */
@media (max-width: 600px) {
    #sudokuGrid {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 1/1;
    }

    .puzzle-grid-wrapper {
        width: 100%;
        display: block;
        padding-left: 2px;
        padding-right: 2px;
    }
}
