* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(135deg, #fef7f0 0%, #fff 50%, #f8fffe 100%);
    min-height: 100vh;
}

.positive-growth {
    color: #48bb78;
    font-weight: 600;
}

.negative-growth {
    color: #f56565;
    font-weight: 600;
}
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #fef7f0 0%, #fff 50%, #f8fffe 100%);
    position: relative;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 500;
    color: #2d3748;
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: #2d3748;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid white;
    position: absolute;
    top: 6px;
    left: 8px;
    transform: rotate(45deg);
}

.logo-icon::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #ff6b35;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    right: 7px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #718096;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #ff6b35;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero-content {
    text-align: center;
    padding: 80px 60px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #fed7c7;
    border-radius: 25px;
    padding: 8px 16px;
    margin-bottom: 40px;
    color: #ff6b35;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.1);
}
.badge-enterprise {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.badge-growth {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.badge-emerging {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}
.badge-icon {
    width: 16px;
    height: 16px;
    background: #ff6b35;
    border-radius: 50%;
    position: relative;
}

.badge-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
}

.hero-title {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #2d3748;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #ff6b35, #ff8a65);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 16px;
    color: #718096;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(45, 55, 72, 0.3);
    margin-bottom: 25px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 55, 72, 0.4);
    border: 2px solid #4fd1c7;
}

.cta-button:hover::before {
    left: 100%;
}

.signals-container {
    position: relative;
    height: 450px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 16px;
    padding: 30px;
    margin: 0 60px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.1);
}

.signals-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2d3748;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.4;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ff6b35, #ff8a65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.timeline-container {
    position: relative;
    height: 370px;
    overflow: hidden;
}

.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, #ff6b35, #ff8a65, #ffb347);
    opacity: 0.6;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #ff6b35;
    border-radius: 50%;
    border: 2px solid white;
    z-index: 2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 16px;
    border-radius: 8px;
    margin-left: 20px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.timeline-time {
    font-size: 11px;
    color: #ff6b35;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-text {
    font-size: 13px;
    color: #2d3748;
    font-weight: 500;
    line-height: 1.4;
}

.timeline-company {
    color: #1a365d;
    font-weight: 600;
}

.timeline-action {
    color: #2b6cb0;
}

.timeline-product {
    color: #553c9a;
    font-weight: 500;
}

.connecting-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.line {
    position: absolute;
    height: 1px;
    background: #4a5568;
    opacity: 0.4;
}

.line1 {
    top: 28%;
    left: 52%;
    width: 180px;
    transform: rotate(25deg);
}

.line2 {
    top: 50%;
    left: 42%;
    width: 200px;
    transform: rotate(-15deg);
}

.line3 {
    bottom: 28%;
    left: 46%;
    width: 160px;
    transform: rotate(35deg);
}

/* Use Cases Section */
.use-cases-section {
    background: linear-gradient(135deg, #fef7f0 0%, #fff 50%, #f8fffe 100%);
    padding: 80px 60px;
}

.use-cases-container {
    max-width: 1200px;
    margin: 0 auto;
}

.use-cases-title {
    font-size: 32px;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    margin-bottom: 50px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.use-case-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #ff6b35;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.1);
}

.use-case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
}

.use-case-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b35, #ff8a65);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.2);
}

.use-case-icon::before {
    content: '';
    position: absolute;
    background: white;
    border-radius: 2px;
}

.use-case-icon::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 2px;
}

/* Target/Focus icon */
.use-case-icon.target::before {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid white;
    background: transparent;
}

.use-case-icon.target::after {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* Cycle/Flow icon */
.use-case-icon.cycle::before {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid white;
    border-top-color: transparent;
    background: transparent;
}

.use-case-icon.cycle::after {
    width: 6px;
    height: 6px;
    border-left: 6px solid white;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    background: transparent;
    border-radius: 0;
    top: 20px;
    right: 16px;
}

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

/* Analytics/Data icon */
.use-case-icon.analytics::before {
    width: 4px;
    height: 16px;
    left: 20px;
    top: 24px;
}

.use-case-icon.analytics::after {
    width: 4px;
    height: 24px;
    right: 20px;
    top: 20px;
}

.use-case-icon.analytics {
    position: relative;
}

.use-case-icon.analytics::before {
    box-shadow: 8px 8px 0 white, 16px 4px 0 white;
}

/* Shield/Protection icon */
.use-case-icon.shield::before {
    width: 20px;
    height: 24px;
    background: transparent;
    border: 3px solid white;
    border-radius: 10px 10px 50% 50%;
    border-bottom: 3px solid white;
    top: 16px;
}

.use-case-icon.shield::after {
    width: 8px;
    height: 6px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    background: transparent;
    border-radius: 0;
    top: 26px;
    left: 28px;
    transform: rotate(-45deg);
}

/* List/Marketing icon */
.use-case-icon.list::before {
    width: 24px;
    height: 3px;
    top: 22px;
    left: 20px;
    box-shadow: 0 8px 0 white, 0 16px 0 white;
}

.use-case-icon.list::after {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    top: 20px;
    left: 12px;
    box-shadow: 0 8px 0 white, 0 16px 0 white;
}

/* Stack/Layers icon */
.use-case-icon.stack::before {
    width: 20px;
    height: 4px;
    top: 24px;
    left: 22px;
    box-shadow: 0 6px 0 white, 0 12px 0 white;
}

.use-case-icon.stack::after {
    width: 16px;
    height: 4px;
    top: 30px;
    left: 24px;
    box-shadow: 0 6px 0 white;
}

.use-case-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.3;
}

.use-case-description {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    background: rgba(255, 255, 255, 0.6);
    padding: 80px 60px;
    backdrop-filter: blur(10px);
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-title {
    font-size: 32px;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    gap: 30px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.1);
    backdrop-filter: blur(10px);
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.faq-answer {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 40px 60px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #ff8a65;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b35;
}

.footer-content p {
    color: #a0aec0;
    font-size: 14px;
    text-align: center;
}

.footer-content p a {
    color: #ff8a65;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content p a:hover {
    color: #ff6b35;
}

@media (max-width: 768px) {
    .nav {
        padding: 20px 30px;
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .hero-content {
        padding: 40px 30px;
    }

    .hero-title {
        font-size: 48px;
    }

    .signals-container {
        margin: 0 30px;
        height: 450px;
        padding: 20px;
    }

    .timeline-container {
        height: 370px;
    }

    .timeline-content {
        padding: 10px 14px;
    }

    .timeline-time {
        font-size: 10px;
    }

    .timeline-text {
        font-size: 12px;
    }

    .use-cases-section {
        padding: 60px 30px;
    }

    .faq-section {
        padding: 60px 30px;
    }

    .footer {
        padding: 30px;
    }
}
/* Dashboard-specific styles */
.dashboard-section {
    padding: 40px 60px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}

.dashboard-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #2d3748;
}

.dashboard-subtitle {
    font-size: 16px;
    color: #718096;
    max-width: 700px;
    margin: 0 auto 30px;
}

.controls-container {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.1);
    backdrop-filter: blur(10px);
    min-height: 200px; /* ADD THIS */
}

.tool-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.tool-button {
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    color: #4a5568;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
}

.tool-button:hover {
    border-color: #ff6b35;
    background: #fff5f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.tool-button.active {
    border-color: #ff6b35;
    background: linear-gradient(135deg, #ff6b35, #ff8a65);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.tool-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.6;
}

.tool-button.active .tool-indicator {
    opacity: 1;
    animation: pulse 2s infinite;
}

.share-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.share-button {
    padding: 12px 24px;
    border: 2px solid #2d3748;
    border-radius: 10px;
    background: white;
    color: #2d3748;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-button:hover {
    background: #2d3748;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.3);
}

.chart-container {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    min-height: 550px; /* ADD THIS - accounts for wrapper + padding */
}

.chart-wrapper {
    position: relative;
    height: 450px;
    min-height: 450px; /* ADD THIS */
}

.chart-wrapper canvas {
    width: 100% !important;
    height: 450px !important;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #718096;
    z-index: 10; /* ADD THIS - keep it on top */
}
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff6b35;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    min-height: 180px; /* ADD THIS - prevents stats from shifting */
}


.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.1);
    transition: transform 0.3s ease;
    min-height: 140px;
    display: flex;
    flex-direction: column;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
}

.stat-label {
    font-size: 13px;
    color: #718096;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
}

.stat-change {
    font-size: 13px;
    margin-top: 4px;
    font-weight: 500;
}

.stat-change.positive {
    color: #48bb78;
}

.stat-change.negative {
    color: #f56565;
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2d3748;
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.chart-source {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 12px;
    color: #718096;
}

.chart-source svg {
    width: 16px;
    height: 16px;
}

.section-divider {
    margin-top: 80px;
}

.chart-footnote {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border-left: 3px solid #4fc9c5;
    font-size: 13px;
    color: #4a5568;
    line-height: 1.6;
}

.chart-footnote p {
    margin: 8px 0;
}

.chart-footnote em {
    font-style: italic;
    color: #718096;
}

@media (max-width: 768px) {
    .dashboard-section {
        padding: 30px 20px 60px;
    }

    .controls-container,
    .chart-container {
        padding: 20px;
    }

    .tool-selector {
        grid-template-columns: 1fr;
    }

    .share-container {
        flex-direction: column;
    }

    .section-divider {
        margin-top: 80px;
    }
}

/* GTM Jobs specific styles */
.jobs-section {
    padding: 40px 60px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.jobs-header {
    margin-bottom: 40px;
}

.jobs-title {
    font-size: 32px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.jobs-subtitle {
    color: #718096;
    font-size: 16px;
}

.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 20px;
    color: #991b1b;
    margin-bottom: 24px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
    grid-auto-rows: 403px; /* Lock row height to match cards */
}

.job-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.08);
    transition: box-shadow 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 403px;
    overflow: hidden;
    contain: layout size style; /* ADD THIS - prevents any shifts */
}
.job-card:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.12);
}

.job-header {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.company-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    flex-shrink: 0;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-logo-placeholder {
    font-size: 20px;
    font-weight: 600;
    color: #718096;
}

.job-info {
    flex: 1;
    min-width: 0;
}

.date-posted {
    color: #ff6b35;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.job-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
    word-wrap: break-word;
    line-height: 1.3;
    max-height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.company-name {
    font-size: 14px;
    color: #718096;
    font-weight: 500;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.job-detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #4a5568;
}

.job-detail-icon {
    color: #ff6b35;
    font-size: 14px;
}


.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px; /* Increased from 12px */
    padding-top: 16px; /* Increased from 12px */
    border-top: 1px solid #e2e8f0;
    min-height: 36px;
}

.meta-tag {
    display: inline-block;
    background: #f7fafc;
    color: #4a5568;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    height: 26px;
    line-height: 18px;
    white-space: nowrap;
}

.job-description {
    color: #4a5568;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 16px; /* Increased from 12px - more space above description */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Reduced from 3 lines to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px; /* Adjusted for 2 lines */
    flex-grow: 1;
}


.salary-badge {
    display: inline-block;
    background: #f7fafc;
    color: #2d3748;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    height: 30px;
    line-height: 18px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 107, 53, 0.2);
    color: #2d3748;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.pagination-btn:hover:not(:disabled) {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-info {
    color: #4a5568;
    font-weight: 500;
    padding: 0 12px;
}

#jobsContainer {
    position: relative;
    /* Remove min-height, let it be set by grid */
}

@media (max-width: 768px) {
    .jobs-section {
        padding: 30px 30px 60px;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .job-card {
        padding: 20px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pagination-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Request Key Form specific styles */
.form-section {
    padding: 60px 60px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #2d3748;
}

.form-subtitle {
    font-size: 16px;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

.api-form {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(45, 55, 72, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 8px;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.submit-button:hover {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 55, 72, 0.4);
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:active {
    transform: translateY(0);
}

.form-note {
    margin-top: 20px;
    padding: 16px;
    background: rgba(79, 209, 197, 0.1);
    border: 1px solid rgba(79, 209, 197, 0.2);
    border-radius: 8px;
    font-size: 14px;
    color: #2d3748;
    text-align: center;
}

.error-message {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 6px;
    font-weight: 500;
}

input.error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

@media (max-width: 768px) {
    .form-section {
        padding: 40px 30px 60px;
    }

    .api-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Remove underline from logo link */
.logo {
    text-decoration: none !important;
}

.logo:hover {
    text-decoration: none !important;
}

/* Dropdown menu styles */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-toggle {
    cursor: pointer;
}

.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px) !important;
    margin-top: -5px !important;
    padding-top: 5px !important;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    list-style: none;
    padding: 8px 0;
    min-width: 320px;
    z-index: 1000;
}

.nav-links .dropdown-menu li {
    margin: 0;
    padding: 0;
}

.nav-links .dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #4a5568 !important;
    text-decoration: none;
    transition: background 0.2s ease;
    white-space: nowrap;
    font-weight: 500;
    font-size: 14px;
}

.nav-links .dropdown-menu a:hover {
    background: #f7fafc;
    color: #ff6b35 !important;
}

.nav-links .dropdown-menu a::after {
    display: none !important;
}

.nav-links .dropdown:hover .dropdown-menu {
    display: block;
}

/* ============================================
   DASHBOARD-SPECIFIC STYLES
   Append this to bloomberry-site/src/styles.css
   ============================================ */

/* Dashboard Stat Card Icons */
.stat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.stat-icon.subscription { background: #ff6b35; }
.stat-icon.api-key { background: #2d3748; }
.stat-icon.usage { background: #4fd1c5; }
.stat-icon.category { background: #9f7aea; }

.stat-title {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.stat-subtitle {
    font-size: 14px;
    color: #718096;
}

/* API Key Display */
.api-key-value {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    background: #f7fafc;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    margin-top: 8px;
    word-break: break-all;
}

.copy-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.3s ease;
}

.copy-btn:hover {
    background: #e55a2b;
}

/* Usage Bar */
.usage-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 12px;
}

.usage-fill {
    height: 100%;
    background: linear-gradient(90deg, #4fd1c5 0%, #38b2ac 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Info Cards */
.info-card {
    background: rgba(79, 209, 197, 0.1);
    border: 1px solid rgba(79, 209, 197, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.info-card h3 {
    color: #2d3748;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.info-card p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 12px;
}

.info-card ul {
    margin-left: 20px;
    color: #4a5568;
}

.info-card ul li {
    margin-bottom: 8px;
}

.info-card a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
}

.info-card a:hover {
    text-decoration: underline;
}

.info-card strong {
    color: #2d3748;
}

/* Files Section */
.files-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-top: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 24px;
}

/* Trial Note */
.trial-note {
    background: rgba(255, 107, 53, 0.1);
    border-left: 4px solid #ff6b35;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    color: #4a5568;
    line-height: 1.6;
}

.trial-note strong {
    color: #2d3748;
}

/* Category Selector */
.category-selector {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-selector label {
    font-weight: 500;
    color: #2d3748;
}

.category-select {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #2d3748;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.category-select:hover {
    border-color: #cbd5e0;
}

.category-select:focus {
    outline: none;
    border-color: #ff6b35;
}

/* Files Table */
.files-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.files-table thead {
    background: #f7fafc;
}

.files-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #2d3748;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.files-table tbody tr {
    transition: background 0.2s ease;
}

.files-table tbody tr:hover {
    background: #f7fafc;
}

.files-table td {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.file-name {
    color: #2d3748;
    font-weight: 500;
}

.file-type {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(79, 209, 197, 0.1);
    color: #319795;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.download-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #ff6b35;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* Upgrade Button */
.upgrade-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upgrade-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

/* Popup Overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.popup {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-title {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: center;
}

.popup-content {
    color: #4a5568;
    line-height: 1.7;
}

.popup-content ul {
    margin: 20px 0;
    padding-left: 24px;
}

.popup-content li {
    margin-bottom: 12px;
}

.popup-price {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #ff6b35;
    margin: 24px 0;
}

.popup-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.popup-btn {
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.popup-btn-primary {
    background: #ff6b35;
    color: white;
}

.popup-btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.popup-btn-secondary {
    background: #e2e8f0;
    color: #2d3748;
}

.popup-btn-secondary:hover {
    background: #cbd5e0;
}

/* Dashboard-specific adjustments */
.dashboard-section .stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 4px;
}

.user-info {
    color: #2d3748;
    font-weight: 500;
}

.dashboard-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.1);
    transition: transform 0.3s ease;
    min-height: 160px; /* ADD THIS - lock card height */
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin: 8px 0;
}

.stat-value.positive {
    color: #48bb78;
}

.stat-value.negative {
    color: #f56565;
}

/* Ensure dashboard-section styles exist */
.dashboard-section {
    padding: 40px 60px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-header {
    margin-bottom: 40px;
}

.dashboard-title {
    font-size: 32px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.dashboard-subtitle {
    color: #718096;
    font-size: 16px;
}

/* Footer if not styled */
.footer {
    background: #2d3748;
    color: white;
    padding: 40px 60px;
    text-align: center;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b35;
}

.footer p {
    color: #a0aec0;
    font-size: 14px;
}

.footer p a {
    color: #ff6b35;
    text-decoration: none;
}

.footer p a:hover {
    text-decoration: underline;
}

/* Responsive for dashboard */
@media (max-width: 768px) {
    .files-section {
        padding: 20px;
    }
    
    .files-table {
        font-size: 14px;
    }
    
    .files-table th,
    .files-table td {
        padding: 12px 8px;
    }
    
    .category-selector {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .popup {
        padding: 24px;
        margin: 20px;
    }
    
    .popup-title {
        font-size: 20px;
    }
    
    .dashboard-section {
        padding: 24px 20px;
    }
    
    .dashboard-title {
        font-size: 24px;
    }
}

/* ============================================
   CHOOSE CATEGORY PAGE STYLES
   Add this to bloomberry-site/src/styles.css
   ============================================ */

/* Full-height centered container */
.centered-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.category-container {
    max-width: 600px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.1);
    text-align: center;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #48bb78;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.page-title {
    font-size: 28px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 16px;
    color: #718096;
    margin-bottom: 40px;
    line-height: 1.5;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.category-option {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.category-option:hover {
    border-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.1);
}

.category-option.selected {
    border-color: #ff6b35;
    background: rgba(255, 107, 53, 0.05);
}

.category-option input[type="radio"] {
    display: none;
}

.category-name {
    font-weight: 600;
    font-size: 16px;
    color: #2d3748;
    margin-bottom: 8px;
}

.category-description {
    font-size: 14px;
    color: #718096;
}

.submit-btn {
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(45, 55, 72, 0.3);
    min-width: 200px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 55, 72, 0.4);
}

.submit-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.note {
    margin-top: 30px;
    padding: 16px;
    background: rgba(79, 209, 197, 0.1);
    border: 1px solid rgba(79, 209, 197, 0.2);
    border-radius: 8px;
    font-size: 14px;
    color: #2d3748;
}

.note a {
    color: #ff6b35;
    text-decoration: none;
}

.note a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .category-container {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   VENDOR PAGE - TABLE LAYOUT
   Add this to bloomberry-site/src/styles.css
   ============================================ */

.vendor-page-table {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 60px 80px;
}

/* Compact Header */
.vendor-header-compact {
    background: white;
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.vendor-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.vendor-logo-small {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 6px;
    background: white;
}

.vendor-title-info h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 8px 0;
}

.vendor-meta-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.vendor-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.vendor-link:hover {
    text-decoration: underline;
}

.vendor-badge-small {
    background: #f7fafc;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.vendor-badge-small.enterprise {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.vendor-badge-small.leader {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
}

.vendor-stats-compact {
    display: flex;
    gap: 32px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.stat-compact {
    font-size: 14px;
    color: #718096;
}

.stat-compact strong {
    color: #2d3748;
    font-weight: 700;
    font-size: 20px;
    margin-right: 4px;
}

.stat-compact.live {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #48bb78;
    font-weight: 600;
}

/* Tabs Attached to Table */
.table-tabs-attached {
    display: flex;
    gap: 0;
    margin-bottom: 0;
}

.tab-btn-attached {
    background: #e2e8f0;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    padding: 12px 24px;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    margin-right: 4px;
}

.tab-btn-attached:hover {
    background: #f7fafc;
    color: #ff6b35;
}

.tab-btn-attached.active {
    background: white;
    color: #2d3748;
    border-color: #e2e8f0;
    border-bottom: 1px solid white;
    z-index: 1;
}

/* Filters */
.table-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.filter-right {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: nowrap;
    width: 100%;
}

.filter-select-small {
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    min-width: 140px;
}

.filter-select-small:focus {
    outline: none;
    border-color: #ff6b35;
}

.btn-export {
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-export:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.3);
}

/* Table Container */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}
@media (max-width: 768px) {
    .table-container {
        overflow-x: scroll !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .companies-table {
        min-width: 1200px !important;
        display: table !important;
    }
    
    .companies-table td,
    .companies-table th {
        white-space: nowrap;
    }
}
.companies-table {
    width: 100%;
    border-collapse: collapse;
    overflow: visible !important;

}

.companies-table thead {
    background: #f7fafc;
    border-bottom: 2px solid #e2e8f0;
}

.companies-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.companies-table th.sortable {
    cursor: pointer;
    user-select: none;
}

.companies-table th.sortable:hover {
    color: #ff6b35;
}

.companies-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

.companies-table tbody tr:hover {
    background: #f7fafc;
}

.companies-table tbody tr.new-row {
    background: rgba(72, 187, 120, 0.05);
}

.companies-table td {
    padding: 16px;
    font-size: 14px;
    color: #2d3748;
}

.company-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-logo {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    object-fit: cover;
}

.company-name-table {
    font-weight: 600;
    color: #2d3748;
}

.badge-new-small {
    background: #48bb78;
    color: white;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.domain-link {
    color: #4299e1;
    text-decoration: none;
}

.domain-link:hover {
    text-decoration: underline;
}

.date-cell {
    color: #718096;
}

.date-cell.new-date {
    color: #48bb78;
    font-weight: 600;
}

/* Pagination */
.pagination-table {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-top: 20px;
}

.pagination-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.3);
}

.pagination-btn:disabled {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 14px;
    color: #4a5568;
}

.pagination-info strong {
    color: #2d3748;
}

/* Insights Section */
.insights-section {
    margin-top: 60px;
}

.insights-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 24px;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.insight-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.insight-card.wide {
    grid-column: 1 / -1;
}

.insight-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

/* Competitor List */
.competitor-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.competitor-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #f7fafc;
    border-radius: 8px;
}

.competitor-name {
    font-weight: 600;
    color: #2d3748;
}

.overlap-badge {
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.view-link {
    color: #4299e1;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.view-link:hover {
    text-decoration: underline;
}

/* Industry Breakdown */
.industry-breakdown {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.industry-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.industry-label {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.industry-label span {
    color: #4a5568;
}

.industry-label strong {
    color: #2d3748;
    font-weight: 700;
}

.bar-container {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35 0%, #f5576c 100%);
    border-radius: 4px;
}

/* Geographic Stats */
.geo-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.geo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f7fafc;
    border-radius: 8px;
}

.geo-region {
    font-weight: 600;
    color: #2d3748;
}

.geo-stats-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.geo-count {
    font-weight: 700;
    color: #2d3748;
    font-size: 16px;
}

.geo-percent {
    color: #718096;
    font-size: 14px;
}

/* Company Size Distribution */
.size-distribution {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.size-bar-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.size-label {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.size-bar-container {
    height: 36px;
    background: #f7fafc;
    border-radius: 8px;
    overflow: hidden;
}

.size-bar-fill {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: white;
    font-weight: 600;
    font-size: 13px;
    transition: width 0.5s ease;
}

.size-bar-fill.enterprise {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.size-bar-fill.mid-market {
    background: linear-gradient(90deg, #4299e1 0%, #3182ce 100%);
}

.size-bar-fill.smb {
    background: linear-gradient(90deg, #48bb78 0%, #38a169 100%);
}

.size-bar-text {
    white-space: nowrap;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #ff6b35;
    color: white;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: white;
    color: #2d3748;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: #f7fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive */

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumbs a {
    color: #718096;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: #ff6b35;
}

.breadcrumb-separator {
    color: #cbd5e0;
}

.breadcrumb-current {
    color: #2d3748;
    font-weight: 600;
}

/* Vendor Description */
.vendor-description {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
    margin-top: 12px;
    max-width: 800px;
}

/* Filter Label */
.filter-label {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

/* 3-column Insights Grid */
.insights-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

/* Compact Size Distribution */
.size-distribution-compact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.size-distribution-compact .size-bar-container {
    height: 28px;
}

.size-distribution-compact .size-bar-text {
    font-size: 12px;
}

/* Chart Container */
.insight-card canvas {
    width: 100% !important;
    height: 250px !important;
}

@media (max-width: 1200px) {
    .insights-grid-three {
        grid-template-columns: 1fr;
    }
}

/* Date Filter Inputs */
.filter-date-input {
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    min-width: 140px;
    font-family: 'Inter', sans-serif;
}

.filter-date-input:focus {
    outline: none;
    border-color: #ff6b35;
}

/* Apply Filter Button */
.btn-filter {
    background: #ff6b35;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    align-self: flex-end;
}

.btn-filter:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-export {
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    align-self: flex-end;
}

.btn-export:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.3);
}

/* Customer Insights Section */
.customer-insights-section {
    margin-top: 60px;
}

.insight-card-full {
    grid-column: 1 / -1;
}

.customer-insights-content {
    line-height: 1.8;
}

.customer-insights-content > p {
    font-size: 15px;
    color: #4a5568;
    margin-bottom: 24px;
}

.insight-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.insight-highlight-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.highlight-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}

.highlight-content p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.insight-footer {
    font-size: 13px;
    color: #718096;
    margin-top: 20px;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .insight-highlights {
        grid-template-columns: 1fr;
    }
}

/* Filter Group Inline */
.filter-group-inline {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-label-small {
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-date-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-separator {
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .vendor-page-table {
        padding: 20px;
    }

    .vendor-header-compact {
        padding: 20px;
    }

    .vendor-title-info h1 {
        font-size: 24px;
    }

    .vendor-stats-compact {
        flex-direction: column;
        gap: 12px;
    }

    /* Mobile Filters - Stack Vertically */
    .table-filters {
        flex-direction: column;
    }

    .filter-right {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .filter-select-small {
        width: 100%;
    }

    .filter-date-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .filter-date-input {
        width: 100%;
        min-width: 100%;
    }

    .date-separator {
        display: none;
    }

    .btn-filter,
    .btn-export {
        width: 100%;
    }

    /* Mobile Tabs */
    .table-tabs-attached {
        flex-wrap: wrap;
        margin-bottom: 0;
    }

    .tab-btn-attached {
        flex: 1;
        min-width: 140px;
        padding: 10px 16px;
        font-size: 13px;
        margin-right: 0;
        margin-bottom: 0;
    }

    .tab-btn-attached.active {
        border-bottom: none;
    }

    /* Mobile Table */
    .table-container {
        border-radius: 0 0 8px 8px;
    }

    .companies-table {
        min-width: 800px;
    }

    /* Mobile Insights */
    .insights-grid-three {
        grid-template-columns: 1fr;
    }

    .insight-highlights {
        grid-template-columns: 1fr;
    }

    .insight-card {
        padding: 20px;
    }

    .cta-section {
        padding: 40px 20px;
    }
}


/* Update skeleton card to match real job card dimensions */
.skeleton-card {
    pointer-events: none;
    cursor: default;
    height: 403px; /* EXACT same height */
    display: flex;
    flex-direction: column;
}

.skeleton-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.skeleton-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-text-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-title {
    width: 70%;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-subtitle {
    width: 50%;
    height: 16px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-details {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Match your real job card gaps */
    margin-top: 12px;
}

.skeleton-line {
    width: 100%;
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-line.short {
    width: 60%;
}

/* Add more skeleton elements to match real card height */
.skeleton-meta {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.skeleton-tag {
    width: 80px;
    height: 24px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-description {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skeleton-desc-line {
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-desc-line:nth-child(1) {
    width: 100%;
}

.skeleton-desc-line:nth-child(2) {
    width: 95%;
}

.skeleton-desc-line:nth-child(3) {
    width: 70%;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Info icon for table headers */
.header-info-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #cbd5e0;
    border-radius: 50%;
    text-align: center;
    line-height: 14px;
    font-size: 10px;
    font-weight: bold;
    color: white;
    cursor: help;
    margin-left: 4px;
    position: relative;
}

.header-info-icon:hover {
    background: #4299e1;
}

.header-tooltip {
    display: none;
    position: fixed; /* Changed from absolute to fixed */
    bottom: auto;
    top: auto;
    left: 50%;
    transform: translate(-50%, -100%) translateY(-8px);
    padding: 10px 14px;
    background: #2d3748;
    color: white;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.5;
    max-width: 280px;
    width: max-content;
    z-index: 99999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    white-space: normal;
    font-weight: normal;
    text-align: center;
}

.header-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2d3748;
}

.header-info-icon:hover .header-tooltip {
    display: block;
}

/* Ensure parent th allows overflow */
thead th {
    position: relative;
    overflow: visible !important;
}


thead {
    overflow: visible !important;
}

.vendor-breadcrumb {
    font-size: 14px;
    color: #718096;
    margin-top: 8px;
    margin-bottom: 12px;
}

.category-link {
    color: #4299e1;
    text-decoration: none;
    font-weight: 500;
}

.category-link:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 6px;
    color: #a0aec0;
}

.vendor-name-link {
    color: #1a202c;
    text-decoration: none;
    font-weight: 600;
}

.vendor-name-link:hover {
    color: #4299e1;
    text-decoration: underline;
}

.separator-pipe {
    margin: 0 8px;
    color: #cbd5e0;
}

.vendor-subcategory {
    color: #718096;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    max-width: 588px; /* Match input width minus button */
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    display: none;
}

.search-suggestion-item {
    padding: 12px 18px;
    cursor: pointer;
    border-bottom: 1px solid #f7fafc;
    transition: background 0.2s;
}

.search-suggestion-item:hover {
    background: #f7fafc;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-name {
    font-weight: 600;
    color: #1a202c;
}

.suggestion-category {
    font-size: 13px;
    color: #718096;
    margin-top: 2px;
}

/* Mobile-friendly table */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .table-container {
        margin: 0 -16px;
        padding: 0 16px;
    }
    
    .companies-table {
        min-width: 800px;
    }
    
    /* Reduce padding on mobile */
    .vendor-search-container {
        padding: 16px;
    }
    
    .search-box {
        flex-direction: column;
        max-width: 100%;
    }
    
    #vendorSearchBtn {
        width: 100%;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* ADD THIS - allows scrolling within modal backdrop */
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}
.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.3s;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.modal-close:hover {
    color: #000;
}

.modal-content h3 {
    margin-top: 0;
    color: #e53e3e;
    font-size: 24px;
}

#errorMessage {
    color: #2d3748;
    line-height: 1.6;
    margin-top: 15px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 99998;
    justify-content: center;
    align-items: center;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner-large {
    background: white;
    padding: 40px 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner-large p {
    color: #4a5568;
    font-size: 18px;
    font-weight: 600;
}

.blurred-cell {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
}