/* Main container styles */
.keyword-tool-container {
    max-width: 1200px;
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Input field styles */
.keyword-input {
    width: 300px;
    padding: 8px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Search button styles */
.search-button {
    background-color: #2271b1;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.search-button:hover {
    background-color: #135e96;
}

/* Results table styles */
.results-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    background: #fff;
}

.results-table th,
.results-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
    font-size: 13px;
}

.results-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* Highlight top opportunities */
.highlight-row {
    background-color: #f0f9f0;
}

/* Difficulty score colors */
.difficulty-low {
    color: #2e7d32;
    font-weight: bold;
}

.difficulty-medium {
    color: #f57c00;
    font-weight: bold;
}

/* Loading message styles */
.loading {
    display: none;
    margin: 20px 0;
    color: #666;
    font-style: italic;
}

/* Star icon for top results */
.star-icon {
    color: #ffb400;
    margin-right: 5px;
}

/* Responsive styles */
@media screen and (max-width: 782px) {
    .keyword-input {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .search-button {
        width: 100%;
    }
    
    .results-table {
        display: block;
        overflow-x: auto;
    }
    
    .results-table th,
    .results-table td {
        padding: 8px;
        font-size: 12px;
    }
}

/* WordPress admin integration styles */
.wrap h1 {
    margin-bottom: 20px;
    color: #1d2327;
}

/* Tool specific alerts */
.keyword-alert {
    padding: 10px;
    margin: 10px 0;
    border-left: 4px solid #00a32a;
    background: #fff;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}

/* Override WordPress admin styles */
#wpcontent {
    padding-left: 0;
}

.auto-fold #wpcontent {
    padding-left: 0;
}