/* ==========================================================================
   KEYWORD MODULE UNIFIED STYLESHEET
   Location: /app/code/keyword/v1/frontend/assets/css/module.css
   Served via: /assets/keyword/css/module.css
   ========================================================================== */

/* Global Typography & Font Family Override */
.keyword-landing-page,
.keyword-dashboard-page,
.google-keyword-tool {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #1f2937;
    background-color: #ffffff;
}

/* Ensure Bootstrap Icons font family is preserved */
.bi, i[class^="bi-"], i[class*=" bi-"] {
    font-family: 'bootstrap-icons' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    display: inline-block;
}

/* Color & Text Utility Classes */
.text-royal-blue { color: #0d6efd !important; }
.text-slate-dark { color: #0f172a !important; }
.text-slate-body { color: #475569 !important; }
.text-slate-muted { color: #64748b !important; }
.text-slate-light { color: #94a3b8 !important; }
.text-white-pure { color: #ffffff !important; }

/* Hero Section matching /audit/ style */
.keyword-landing-hero {
    position: relative;
    padding: 90px 20px 100px;
    background-color: #ffffff;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(13, 110, 253, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(70, 228, 186, 0.05), transparent 25%),
        linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    background-position: 0 0, 0 0, -1px -1px, -1px -1px;
    border-bottom: 1px solid #f1f5f9;
}

.hero-content-z2 {
    position: relative;
    z-index: 2;
}

.hero-main-title {
    color: #0f172a;
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-top: 10px;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-lead-desc {
    color: #475569;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    margin-bottom: 30px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-img-clean {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* 3D Perspective Image Effects */
.img-3d {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
    background: #ffffff;
    padding: 10px;
    border: 1px solid #f1f5f9;
}
.img-3d:hover { transform: perspective(1000px) rotateY(0deg); }
.img-3d-right { transform: perspective(1000px) rotateY(5deg); }
.img-3d-right:hover { transform: perspective(1000px) rotateY(0deg); }

/* Glassmorphic Search Card */
.glass-search-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 50px rgba(13, 110, 253, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    border-radius: 24px;
}

.search-tabs-header {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.nav-link-server {
    background: #0d6efd !important;
    color: #ffffff !important;
    letter-spacing: -0.01em;
}

.nav-link-google {
    background: #ffffff !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
}

.form-label-styled {
    font-size: 0.75rem !important;
    letter-spacing: 0.8px !important;
    color: #475569 !important;
}

/* Form Field Styles */
.search-input-field {
    height: 52px !important;
    border-radius: 14px !important;
    border: 1.5px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    font-size: 0.98rem !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    transition: all 0.2s ease-in-out !important;
}
.search-input-field:focus {
    background-color: #ffffff !important;
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15) !important;
    outline: none !important;
}

.search-submit-btn {
    height: 52px !important;
    border-radius: 14px !important;
    background: #0d6efd !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.02rem !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px 0 rgba(13, 110, 253, 0.39) !important;
    transition: all 0.25s ease !important;
}
.search-submit-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.5) !important;
    background: #0b5ed7 !important;
}

.btn-google-analyze {
    background: #0b5ed7 !important;
}

/* Popular Searches */
.popular-searches-border {
    border-top: 1px solid #f1f5f9 !important;
}
.popular-searches-label {
    color: #64748b !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.8px !important;
}

/* Seed Chips */
.seed-chip {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}
.seed-chip:hover {
    background: #0d6efd;
    color: #ffffff;
    border-color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

/* Section Containers */
.section-bg-light { background-color: #f8fafc !important; }
.section-bg-white { background-color: #ffffff !important; }
.section-bg-dark { background-color: #0f172a !important; }

.feature-section-white {
    background: #ffffff;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.feature-section-dark {
    background: #0f172a;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.feature-section-light {
    background: #f8fafc;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

/* Core Section Typography */
.section-title {
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    line-height: 1.7;
    margin-bottom: 35px;
}
.section-subtitle-centered {
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* Country Grid Component */
.country-card-styled {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.country-flag-icon {
    width: 46px;
    height: 46px;
    background: #e0e7ff;
    font-size: 1.5rem;
}
.country-kw-badge {
    background: #eff6ff;
    color: #0d6efd;
    border: 1px solid #bfdbfe;
}
.btn-outline-royal {
    border: 1px solid #0d6efd !important;
    color: #0d6efd !important;
    background: transparent !important;
}
.btn-outline-royal:hover {
    background: #0d6efd !important;
    color: #ffffff !important;
}

/* Audit Theme Stat Metric Cards */
.hero-stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 16px 14px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.hero-stat-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}
.hero-stat-num-1 { font-size: 1.75rem; font-weight: 900; color: #0d6efd; line-height: 1.2; letter-spacing: -0.02em; }
.hero-stat-num-2 { font-size: 1.75rem; font-weight: 900; color: #4338ca; line-height: 1.2; letter-spacing: -0.02em; }
.hero-stat-num-3 { font-size: 1.75rem; font-weight: 900; color: #10b981; line-height: 1.2; letter-spacing: -0.02em; }
.hero-stat-num-4 { font-size: 1.75rem; font-weight: 900; color: #f59e0b; line-height: 1.2; letter-spacing: -0.02em; }
.hero-stat-lbl { font-size: 0.78rem; color: #64748b; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-top: 4px; }

/* Single-Line Action Buttons */
.hero-btn-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
}
.hero-btn-primary {
    background: #0d6efd;
    color: #ffffff !important;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 100px;
    border: none;
    box-shadow: 0 4px 14px 0 rgba(13, 110, 253, 0.39);
    white-space: nowrap;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}
.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.5);
    color: #ffffff !important;
    background: #0b5ed7;
}

/* Checklists & Icons */
.check-list { list-style: none; padding: 0; margin-bottom: 35px; }
.check-list li {
    margin-bottom: 14px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.check-list-item-dark { color: #334155 !important; }
.check-list-item-light { color: #cbd5e1 !important; }

.check-list .check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
}

.check-icon-green { background: #d1fae5 !important; color: #10b981 !important; }
.check-icon-blue { background: rgba(13, 110, 253, 0.2) !important; color: #3b82f6 !important; }
.check-icon-amber { background: #fef3c7 !important; color: #f59e0b !important; }
.check-icon-indigo { background: #e0e7ff !important; color: #4338ca !important; }
.check-icon-gold { background: rgba(251,191,36,0.2) !important; color: #fbbf24 !important; }
.check-icon-white { background: rgba(255,255,255,0.1) !important; color: #ffffff !important; }

/* Audit Theme Pill Badges */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #e0e7ff;
    color: #4338ca;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.premium-badge-dark {
    background: rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
}

/* Intent Cards Grid in Audit Theme */
.intent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}
.intent-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.intent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #0d6efd;
    opacity: 0.9;
    transition: height 0.3s ease;
}
.intent-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.intent-card:hover::before { height: 6px; }

.intent-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}
.intent-card-desc {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.intent-card-eg-label {
    color: #0f172a;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intent-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #e0e7ff;
    color: #4338ca;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 18px;
}
.intent-list {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 12px;
}
.intent-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #475569;
    font-size: 0.95rem;
}
.intent-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #94a3b8;
    transition: color 0.3s, transform 0.3s;
}
.intent-card:hover .intent-list li::before {
    color: #0d6efd;
    transform: translateX(3px);
}

/* Intent Badges */
.badge-intent-informational { background: #e0e7ff !important; color: #4338ca !important; }
.badge-intent-navigational { background: #dcfce7 !important; color: #15803d !important; }
.badge-intent-transactional { background: #f3e8ff !important; color: #9333ea !important; }
.badge-intent-commercial { background: #fef3c7 !important; color: #d97706 !important; }
.badge-intent-local { background: #e0f2fe !important; color: #0284c7 !important; }
.badge-intent-branded { background: #f1f5f9 !important; color: #475569 !important; }
.badge-intent-problem { background: #fee2e2 !important; color: #b91c1c !important; }

/* FAQ Container */
.faq-container-max {
    max-width: 900px;
    margin: 0 auto;
}

/* Floating Quick Search Button */
.floating-search-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: #0d6efd;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 100px;
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.4);
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}
.floating-search-btn:hover {
    color: #ffffff;
    background: #0b5ed7;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.55);
}

/* ==========================================================================
   DASHBOARD REPORT PAGE STYLES (report=dashbaord)
   ========================================================================== */

/* Dashboard Hero Search Section */
.dashboard-hero-section {
    position: relative;
    padding: 40px 0 45px;
    background-color: #ffffff;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(13, 110, 253, 0.04), transparent 25%),
        linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    border-bottom: 1px solid #e2e8f0;
}

.dashboard-search-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    border-radius: 20px !important;
    padding: 26px 30px !important;
}

.form-label-styled {
    font-size: 0.74rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    color: #475569 !important;
    text-transform: uppercase !important;
}

.dashboard-search-input,
.dashboard-search-select {
    height: 52px !important;
    border-radius: 14px !important;
    border: 1.5px solid #cbd5e1 !important;
    background-color: #f8fafc !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.dashboard-search-input:hover,
.dashboard-search-select:hover {
    border-color: #94a3b8 !important;
    background-color: #ffffff !important;
}

.dashboard-search-input:focus,
.dashboard-search-select:focus {
    border-color: #0d6efd !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.16) !important;
    outline: none !important;
}

.dashboard-search-btn {
    height: 52px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.02rem !important;
    letter-spacing: 0.02em !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.35) !important;
    transition: all 0.25s ease !important;
}
.dashboard-search-btn:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.45) !important;
    color: #ffffff !important;
}
.dashboard-search-btn:active {
    transform: translateY(0) !important;
}

/* Dashboard Header Title Block */
.dashboard-header-title {
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    line-height: 1.2;
    white-space: nowrap;
}

.dashboard-pill-btn-outline {
    border: 1.5px solid #0d6efd !important;
    color: #0d6efd !important;
    background: #ffffff !important;
    border-radius: 100px !important;
    padding: 10px 22px !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.dashboard-pill-btn-outline:hover {
    background: #0d6efd !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.3) !important;
}

.dashboard-pill-btn-primary {
    border: 1.5px solid #0d6efd !important;
    background: #0d6efd !important;
    color: #ffffff !important;
    border-radius: 100px !important;
    padding: 10px 22px !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.3) !important;
}
.dashboard-pill-btn-primary:hover {
    background: #0b5ed7 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.45) !important;
}

/* Metric Cards */
.metric-card-styled {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 24px 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    text-align: center !important;
    overflow: hidden !important;
}
.metric-card-styled:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06) !important;
    border-color: #cbd5e1 !important;
}

.metric-title-lbl {
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #64748b !important;
    margin-bottom: 12px !important;
    display: block !important;
    text-align: center !important;
}

.metric-number-display {
    font-size: 2.3rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    color: #0f172a !important;
    text-align: center !important;
}

.metric-badge-easy {
    background: #d1fae5 !important;
    color: #047857 !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 6px 16px !important;
    font-size: 0.82rem !important;
    display: inline-block !important;
}

.metric-badge-moderate {
    background: #fef3c7 !important;
    color: #b45309 !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 6px 16px !important;
    font-size: 0.82rem !important;
    display: inline-block !important;
}

.metric-badge-hard {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 6px 16px !important;
    font-size: 0.82rem !important;
    display: inline-block !important;
}

/* Sleek KD Progress Bar Gauge */
.kd-progress-track {
    width: 100% !important;
    height: 7px !important;
    background: #e2e8f0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.kd-progress-bar {
    height: 100% !important;
    border-radius: 10px !important;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.kd-bar-easy {
    background: linear-gradient(90deg, #34d399, #10b981) !important;
}

.kd-bar-moderate {
    background: linear-gradient(90deg, #fbbf24, #f59e0b) !important;
}

.kd-bar-hard {
    background: linear-gradient(90deg, #f87171, #ef4444) !important;
}

/* Styled Table Card Component */
.table-card-styled {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04) !important;
}

.table-card-header {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 20px 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.custom-table {
    margin-bottom: 0 !important;
    width: 100% !important;
}
.custom-table th {
    background: #f8fafc !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #64748b !important;
    padding: 16px 28px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.custom-table td {
    padding: 18px 28px !important;
    color: #0f172a !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 0.98rem !important;
    vertical-align: middle !important;
}
.custom-table tbody tr {
    transition: background-color 0.2s ease !important;
}
.custom-table tbody tr:hover {
    background-color: #f8fafc !important;
}

.kw-link-styled {
    font-weight: 700 !important;
    color: #0d6efd !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}
.kw-link-styled:hover {
    color: #0b5ed7 !important;
    text-decoration: underline !important;
}

.vol-badge-styled {
    background: #eff6ff !important;
    color: #0d6efd !important;
    border: 1px solid #bfdbfe !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 6px 16px !important;
    font-size: 0.85rem !important;
    display: inline-block !important;
}

/* SEO Ranking Guide Section */
.seo-guide-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 24px !important;
    padding: 40px !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04) !important;
}

.seo-step-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 24px !important;
    height: 100% !important;
    transition: all 0.3s ease !important;
}
.seo-step-box:hover {
    transform: translateY(-3px) !important;
    background: #ffffff !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
    border-color: #cbd5e1 !important;
}

/* Scoped Form & Results Component Styles */
.keyword-search-section {
    background: #667eea;
    padding: 80px 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.search-form-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.search-header {
    text-align: center;
    margin-bottom: 32px;
    color: white;
}

.search-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.search-header p {
    font-size: 18px;
    opacity: 0.95;
    font-weight: 400;
}

.search-form-container {
    background: white;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.keyword-stats-section {
    background: #f8fafc;
    padding: 50px 0;
}

.stats-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
}

.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
    .search-form-container {
        flex-direction: column;
    }
    .search-header h1 {
        font-size: 32px;
    }
}

/* Database Switcher Navigation Pills */
.database-switch-pill {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
}

.database-tab-link {
    transition: all 0.25s ease-in-out !important;
    white-space: nowrap !important;
}

.database-tab-link.active {
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1) !important;
    border: 1px solid #cbd5e1 !important;
}

.database-tab-link:hover:not(.active) {
    background: #ffffff !important;
    color: #0d6efd !important;
}

