/* SEO Keyword Generator Styles */

.keyword-item .keyword-title {
    margin: 0 0 8px;
    font-size: 1.3em;
    color: #e6edf3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.keyword-item .keyword-description {
    margin: 0 0 16px;
    font-size: 0.95em;
    color: #8b949e;
    line-height: 1.5;
}

.keyword-results-container {
    margin: 16px 0;
}

.keyword-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid rgba(106, 252, 255, 0.1);
}

.keyword-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.keyword-table th,
.keyword-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(106, 252, 255, 0.08);
}

.keyword-table th {
    background: rgba(106, 252, 255, 0.05);
    color: #6afcff;
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.keyword-table tbody tr:hover {
    background: rgba(106, 252, 255, 0.03);
}

.keyword-table tbody tr:last-child td {
    border-bottom: none;
}

/* Keyword cell */
.keyword-cell strong {
    display: block;
    color: #e6edf3;
    margin-bottom: 4px;
}

.intent-badge {
    display: inline-block;
    font-size: 0.75em;
    padding: 2px 8px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    text-transform: capitalize;
}

/* Volume badges */
.volume-cell {
    white-space: nowrap;
}

.volume-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
}

.volume-badge.volume-high {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.volume-badge.volume-medium {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.volume-badge.volume-low {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.monthly-range {
    display: block;
    font-size: 0.8em;
    color: #6b7280;
    margin-top: 4px;
}

/* Score bars */
.score-bar {
    width: 80px;
    height: 8px;
    background: rgba(107, 114, 128, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
}

.score-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.score-fill.relevancy-fill {
    background: linear-gradient(90deg, #6afcff, #8b5cf6);
}

.score-label {
    font-size: 0.8em;
    color: #9ca3af;
}

/* Trend badges */
.trend-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85em;
}

.trend-badge.trend-rising {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.trend-badge.trend-stable {
    background: rgba(107, 114, 128, 0.15);
    color: #9ca3af;
}

.trend-badge.trend-declining {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Content ideas */
.content-ideas-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.content-ideas-list li {
    padding: 4px 0;
    font-size: 0.85em;
    color: #8b949e;
    border-bottom: 1px dashed rgba(106, 252, 255, 0.08);
}

.content-ideas-list li:last-child {
    border-bottom: none;
}

.content-ideas-list li .idea-icon {
    display: inline-flex;
    vertical-align: middle;
    margin-right: 4px;
}

.content-ideas-list li .idea-icon svg {
    width: 14px;
    height: 14px;
}

.no-ideas {
    color: #6b7280;
}

/* Output container styles */
.keyword-output-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.keyword-output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(106, 252, 255, 0.05);
    border-bottom: 1px solid rgba(106, 252, 255, 0.1);
}

.keyword-output-header h3 {
    margin: 0;
    font-size: 1.1em;
    color: #e6edf3;
}

.keyword-header-actions {
    display: flex;
    gap: 8px;
}

.keyword-export-btn {
    padding: 6px 12px;
    background: rgba(106, 252, 255, 0.1);
    border: 1px solid rgba(106, 252, 255, 0.2);
    border-radius: 6px;
    color: #6afcff;
    font-size: 0.85em;
    cursor: pointer;
    transition: all 0.2s;
}

.keyword-export-btn:hover {
    background: rgba(106, 252, 255, 0.2);
}

.keyword-output-meta {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(106, 252, 255, 0.1);
}

.keyword-output-meta .keyword-title {
    margin: 0 0 8px;
    font-size: 1.2em;
}

.keyword-output-meta .keyword-description {
    margin: 0;
    font-size: 0.9em;
}

.no-keywords {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.no-keywords span {
    font-size: 3em;
    display: block;
    margin-bottom: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .keyword-table th,
    .keyword-table td {
        padding: 8px 12px;
    }

    .score-bar {
        width: 60px;
    }

    .ideas-cell {
        min-width: 200px;
    }
}

/* Browse view compact styles */
.keyword-item.browse-view .keyword-table-wrapper {
    max-height: 300px;
    overflow-y: auto;
}

.keyword-item.browse-view .content-ideas-list {
    display: none;
}
