#wordle-solver-wp {
    max-width: 100%;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}


#wordle-solver-wp .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 0.9em;
}

#wordle-solver-wp .instructions {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 5px;
    color: #555;
    line-height: 1.6;
}

#wordle-solver-wp .legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

#wordle-solver-wp .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

#wordle-solver-wp .legend-box {
    width: 25px;
    height: 25px;
    border-radius: 3px;
    border: 2px solid;
}

#wordle-solver-wp .legend-box.grey {
    background: #787c7e;
    border-color: #787c7e;
}

#wordle-solver-wp .legend-box.yellow {
    background: #c9b458;
    border-color: #c9b458;
}

#wordle-solver-wp .legend-box.green {
    background: #6aaa64;
    border-color: #6aaa64;
}

#wordle-solver-wp .wordle-board {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

#wordle-solver-wp .wordle-row {
    display: flex;
    gap: 8px;
    justify-content: center;
}

#wordle-solver-wp .wordle-cell {
    width: 60px;
    height: 60px;
    border: 3px solid #d3d6da;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
    background: #ffffff;
    color: #333;
}

#wordle-solver-wp .wordle-cell:hover {
    transform: scale(1.05);
    border-color: #999;
}

#wordle-solver-wp .wordle-cell.grey {
    background: #787c7e;
    color: white;
    border-color: #787c7e;
}

#wordle-solver-wp .wordle-cell.yellow {
    background: #c9b458;
    color: white;
    border-color: #c9b458;
}

#wordle-solver-wp .wordle-cell.green {
    background: #6aaa64;
    color: white;
    border-color: #6aaa64;
}

#wordle-solver-wp .wordle-cell.empty {
    background: #ffffff;
    border-color: #d3d6da;
    color: #333;
}

#wordle-solver-wp .wordle-cell input {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    color: inherit;
    outline: none;
    cursor: pointer;
}

#wordle-solver-wp .wordle-cell input::selection {
    background: transparent;
}

#wordle-solver-wp .wordle-cell input::-moz-selection {
    background: transparent;
}

#wordle-solver-wp .controls {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

#wordle-solver-wp button {
    flex: 1;
    padding: 15px;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#wordle-solver-wp .analyze-btn {
    background: #6aaa64;
    color: white;
}

#wordle-solver-wp .analyze-btn:hover {
    background: #5a9a54;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 170, 100, 0.4);
}

#wordle-solver-wp .clear-btn {
    background: #dc3545;
    color: white;
}

#wordle-solver-wp .clear-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

#wordle-solver-wp .results {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

#wordle-solver-wp .results h2 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 1.3em;
}

#wordle-solver-wp .word-count {
    color: #666;
    margin-bottom: 15px;
    font-weight: bold;
}

#wordle-solver-wp .word-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

#wordle-solver-wp .word-item {
    background: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    color: #333;
    border: 2px solid #e0e0e0;
    transition: all 0.2s;
}

#wordle-solver-wp .word-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

#wordle-solver-wp .no-results {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 30px;
}

@media (max-width: 600px) {
    #wordle-solver-wp {
        padding: 20px;
    }

    #wordle-solver-wp h1 {
        font-size: 1.5em;
    }

    #wordle-solver-wp .wordle-cell {
        width: 50px;
        height: 50px;
        font-size: 1.5em;
    }

    #wordle-solver-wp .wordle-cell input {
        font-size: 1.5em;
    }
}
