/* ToolSphare SEO Suite — Ahrefs & Semrush Tools Styling */
.seo-suite-panel {
    background: linear-gradient(180deg, rgba(24, 26, 36, 0.95) 0%, rgba(14, 16, 24, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    color: #e2e8f0;
    margin-bottom: 2rem;
}

.seo-suite-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.seo-suite-badge--ahrefs {
    background: rgba(255, 122, 0, 0.15);
    color: #ff9d42;
    border: 1px solid rgba(255, 122, 0, 0.35);
}

.seo-suite-badge--semrush {
    background: rgba(147, 51, 234, 0.15);
    color: #c084fc;
    border: 1px solid rgba(147, 51, 234, 0.35);
}

.seo-suite-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.seo-suite-input-wrap {
    flex: 1;
    min-width: 260px;
    position: relative;
}

.seo-suite-input {
    width: 100%;
    height: 52px;
    background: rgba(10, 12, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 0 1.25rem;
    color: #f8fafc;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.seo-suite-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.seo-suite-select {
    width: 140px;
    height: 52px;
    background: rgba(10, 12, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 0 0.85rem;
    color: #f8fafc;
    font-size: 0.95rem;
    cursor: pointer;
}

.seo-suite-btn {
    height: 52px;
    padding: 0 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.seo-suite-btn--ahrefs {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c33 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
}

.seo-suite-btn--ahrefs:hover {
    background: linear-gradient(135deg, #e65c00 0%, #ff7a1a 100%);
    transform: translateY(-1px);
}

.seo-suite-btn--semrush {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}

.seo-suite-btn--semrush:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
    transform: translateY(-1px);
}

.seo-suite-status {
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.seo-suite-status--loading {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #93c5fd;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.seo-suite-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: seoSpin 0.7s linear infinite;
}

@keyframes seoSpin {
    to { transform: rotate(360deg); }
}

.seo-suite-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.seo-metric-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.seo-metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
}

.seo-metric-card--highlight::before {
    background: #3b82f6;
}

.seo-metric-card--orange::before {
    background: #ff6b00;
}

.seo-metric-card--purple::before {
    background: #a855f7;
}

.seo-metric-card--green::before {
    background: #10b981;
}

.seo-metric-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.seo-metric-val {
    font-size: 1.85rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.2;
}

.seo-metric-sub {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.35rem;
}

.seo-intent-pill {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.seo-intent-pill--info {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.seo-intent-pill--comm {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.seo-intent-pill--trans {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.seo-intent-pill--nav {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
}

.seo-suite-telemetry {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.seo-telemetry-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
}

.seo-telemetry-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.seo-suite-pro-banner {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.seo-suite-pro-copy h4 {
    color: #f8fafc;
    font-size: 1.15rem;
    margin: 0 0 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.seo-suite-pro-copy p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.seo-suite-pro-btn {
    background: #3b82f6;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.seo-suite-pro-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.seo-suite-table-wrap {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.seo-suite-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.seo-suite-table th {
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    text-align: left;
    padding: 0.85rem 1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-suite-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
}

.seo-suite-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Enhanced Semrush Search & Keyword Suite Styles */
.semrush-trending-chips {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: -0.75rem;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
}

.semrush-chip-label {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.semrush-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.semrush-chip:hover {
    background: rgba(147, 51, 234, 0.15);
    border-color: rgba(147, 51, 234, 0.4);
    color: #c084fc;
    transform: translateY(-1px);
}

.semrush-filter-tabs {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.semrush-filter-tab {
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.semrush-filter-tab:hover {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.04);
}

.semrush-filter-tab.is-active {
    background: rgba(147, 51, 234, 0.2);
    border-color: rgba(147, 51, 234, 0.4);
    color: #d8b4fe;
    font-weight: 700;
}

.semrush-subtopics-wrap {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.semrush-subtopic-btn {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.semrush-subtopic-btn:hover {
    border-color: #a855f7;
    color: #f8fafc;
}

.semrush-subtopic-btn.is-active {
    background: #9333ea;
    border-color: #a855f7;
    color: #ffffff;
    font-weight: 700;
}

.semrush-subtopic-count {
    background: rgba(0, 0, 0, 0.35);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-family: monospace;
}

.semrush-serp-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.semrush-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.725rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #94a3b8;
}

.semrush-feature-badge--active {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

.semrush-table-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.semrush-search-box {
    background: rgba(10, 12, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    border-radius: 8px;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    width: 220px;
    transition: all 0.2s ease;
}

.semrush-search-box:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.25);
}

.semrush-export-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.semrush-export-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.semrush-action-link {
    color: #c084fc;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s ease;
    text-decoration: none;
}

.semrush-action-link:hover {
    color: #f472b6;
    text-decoration: underline;
}

