/* =========================================================
   MEDISTEIN COMMUNITY - ENTERPRISE BRUTAL 1:1 DESIGN
   DARK NAVY THEME
========================================================= */

body.is-home-page {
    background-color: #f8fafc !important;
    color: #475569;
}

.bc-unified-dashboard {
    margin-top: -20px;
    /* Pull up to cover radius gap under toolbar */
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: transparent;
    border: none;
}

.bc-container-dashboard,
.bc-container {
    width: 100%;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0 clamp(16px, 2.2vw, 44px);
}

/* Okvir samog dashboard sadržaja (ne utječe na navigaciju) */
.bc-unified-dashboard .bc-container-dashboard {
    padding: 26px 12px 12px 12px;
    /* Gornji padding postavljen na 26px kao zlatna sredina */
    background: 
        radial-gradient(circle at 5% 5%, rgba(14, 165, 233, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 95% 85%, rgba(34, 197, 94, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 40%),
        #f4f7fb;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 20px 20px;
    /* Uklonjen radijus gore lijevo i desno kako bi se savršeno spojio s menijem */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* =========================================================
   TOP NAVBAR OVERRIDES FOR HOME PAGE
========================================================= */
.bc-header {
    background-color: transparent !important;
    border-bottom: none !important;
    padding-top: 0;
    padding-bottom: 0;
}

.bc-topbar {
    background-color: #101828 !important;
    /* Tamnije zaglavlje iz slike */
    color: #e2e8f0;
    border-bottom: none !important;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.bc-topbar a {
    color: #cbd5e1;
}

.bc-topbar a:hover {
    color: #fff;
}

.bc-topbar span {
    margin-right: 25px;
}

.bc-topbar i {
    color: #3b82f6;
    margin-right: 5px;
}

.bc-navbar {
    background-color: #ffffff;
    border-radius: 0 0 16px 16px;
    margin: 0;
    padding: 10px 14px;
    box-shadow: 0 6px 22px rgba(15, 35, 65, 0.08);
    transition: all 0.3s ease;
}

.bc-navbar.navbar-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1040;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.bc-logo-fallback span {
    color: #0f172a;
}

.bc-logo-fallback em {
    color: #35d7d2;
}

.bc-nav-menu .nav-link {
    color: #334155 !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 9px;
    position: relative;
    white-space: nowrap;
}

.bc-nav-menu .nav-link:hover,
.bc-nav-menu .nav-link.active-nav {
    color: #0f172a !important;
}

.bc-nav-menu .nav-link.active-nav::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background-color: #0ea5e9;
    border-radius: 3px;
}

.bc-navbar .dropdown-toggle::after {
    display: none;
    /* remove bootstrap default caret since we added custom bi-chevron-down */
}

/* Navbar Buttons */
.btn-outline-primary-nav {
    border: 1px solid #cbd5e1;
    color: #0b2545 !important;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.86rem;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    white-space: nowrap;
}

.btn-outline-primary-nav:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.btn-primary-nav {
    background: linear-gradient(180deg, #1976d2 0%, #0d47a1 100%);
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.86rem;
    text-decoration: none;
    border: none;
    margin-left: 8px;
    transition: all 0.2s;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.24);
}

.btn-primary-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}


/* =========================================================
   CARDS & PANELS
========================================================= */
.bc-dash-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* =========================================================
   TOP HERO SECTION
========================================================= */
/* Hero Left (B2C) */
.bc-hero-b2c {
    min-height: 480px;
    height: 100%;
    padding: 30px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #f7f4ec;
    /* Topla bež/bijela boja sa slike */
    position: relative;
    overflow: hidden;
}

.bc-hero-b2c .hero-isolated-img {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 60%;
    object-fit: cover;
    object-position: top center;
    z-index: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 100%);
}

.bc-hero-b2c-content {
    position: relative;
    z-index: 1;
    max-width: 65%;
}

.pill-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.pill-green {
    background-color: transparent;
    color: #4ade80;
    /* Svjetlija zelena da se slaže s bijelom pozadinom, ili tamnija? Slika kaže tamnija zelena za tekst */
    color: #166534;
    border: 1px solid rgba(22, 101, 52, 0.2);
    background-color: rgba(22, 101, 52, 0.05);
}

.pill-blue {
    background-color: rgba(11, 140, 255, 0.05);
    color: #0ea5e9;
    border: 1px solid rgba(11, 140, 255, 0.2);
}

.bc-hero-b2c h1 {
    font-size: 2.8rem;
    font-weight: 500;
    /* Normalna debljina za početak */
    color: #0f172a;
    /* Tamno plava/crna */
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.bc-hero-b2c h1 strong {
    font-weight: 800;
}

.bc-hero-b2c h1 span {
    color: #65a30d;
    /* Zelenkasta boja prilagođena za svijetlu pozadinu */
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.bc-hero-b2c h1 span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 12px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 10" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M2,8 Q50,2 98,8" stroke="%2306b6d4" stroke-width="3" fill="none" stroke-linecap="round"/></svg>') no-repeat center center;
    background-size: 100% 100%;
}

.bc-hero-b2c p {
    color: #475569;
    /* Siva za tekst */
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Search Tabs */
.search-tabs-wrapper {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    padding-left: 8px;
}

.search-tab {
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
    position: relative;
    top: 1px;
    /* Overlap border */
    z-index: 1;
}

.tab-active-green {
    background: #65a30d;
    color: #ffffff;
    border-color: #65a30d;
    z-index: 2;
}

.tab-active-blue {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    z-index: 2;
}

.tab-inactive:hover {
    background: #f8fafc;
}

.search-box-inline {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    border-top-left-radius: 0;
    /* Connected to tab */
    padding: 6px 8px;
    width: 100%;
    max-width: 580px;
    /* Povećano da stane tekst gumba */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 0;
}

.search-box-inline i {
    color: #64748b;
    padding-left: 12px;
    padding-right: 8px;
    font-size: 1.2rem;
}

.search-box-inline input {
    background: transparent;
    border: none;
    color: #0f172a;
    padding: 8px 10px;
    flex-grow: 1;
    outline: none;
    font-size: 1rem;
    min-width: 0;
    /* Sprječava prelazak inputa izvan kontejnera */
}

.search-box-inline input::placeholder {
    color: #94a3b8;
}

.btn-search-green {
    background-color: #65a30d;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    /* Da se "Jetzt suchen" ne prelama */
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-search-green:hover {
    background-color: #4d7c0f;
    box-shadow: 0 4px 12px rgba(101, 163, 13, 0.3);
}

.bc-hero-b2c .hero-checks {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: auto;
    font-size: 0.8rem;
    color: #475569;
    padding-top: 20px;
}

.bc-hero-b2c .hero-checks span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bc-hero-b2c .hero-checks i {
    font-size: 1.4rem;
    color: #65a30d;
    background: transparent;
    border: 1px solid #65a30d;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.bc-hero-b2c .hero-checks .check-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-weight: 600;
    color: #0f172a;
}

.bc-hero-b2c .hero-checks small {
    font-weight: 400;
    color: #64748b;
    font-size: 0.75rem;
}

/* Hero Right (B2B) - Enterprise Design */
.b2b-hero-card {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    height: 100%;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 15%, rgba(14, 165, 233, 0.22), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 42%, #eaf5ff 100%);
    border: 1px solid rgba(147, 197, 253, 0.45);
    box-shadow:
        0 24px 70px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.b2b-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.b2b-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    margin-bottom: 34px;
    border-radius: 999px;
    color: #0575e6;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: rgba(239, 248, 255, 0.92);
    border: 1px solid rgba(14, 165, 233, 0.28);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.08);
}

.badge-icon {
    font-size: 18px;
    line-height: 1;
}

.b2b-title {
    margin: 0;
    color: #071832;
    font-size: clamp(32px, 3.2vw, 42px);
    /* Adjusted size to fit half-width col-xl-6 */
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.b2b-title span {
    color: #0b8dff;
}

.b2b-description {
    margin: 20px 0 40px;
    /* Adjusted spacing to fit */
    color: #4a5f7a;
    font-size: clamp(16px, 1.2vw, 20px);
    line-height: 1.45;
    font-weight: 500;
}

.b2b-features {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Adjusted gap */
    flex-wrap: wrap;
    margin-top: auto;
}

.b2b-feature {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-icon {
    width: 48px;
    /* Adjusted size */
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(147, 197, 253, 0.42);
    box-shadow:
        0 12px 28px rgba(37, 99, 235, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    font-size: 20px;
    color: #0b8dff;
    /* Ensure icons have color if they are bootstrap icons */
}

.b2b-feature strong {
    display: block;
    color: #0b1b34;
    font-size: 16px;
    /* Adjusted size */
    font-weight: 850;
    line-height: 1.2;
}

.b2b-feature p {
    margin: 4px 0 0;
    color: #5d6f86;
    font-size: 14px;
    line-height: 1.2;
}

.feature-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(148, 163, 184, 0.45),
            transparent);
}

.b2b-background-wave {
    position: absolute;
    right: -80px;
    top: 40px;
    width: 520px;
    height: 360px;
    opacity: 0.45;
    background:
        repeating-radial-gradient(ellipse at center,
            rgba(14, 165, 233, 0.16) 0,
            rgba(14, 165, 233, 0.16) 1px,
            transparent 2px,
            transparent 10px);
    border-radius: 50%;
    transform: rotate(-18deg);
    filter: blur(0.2px);
}

.b2b-background-wave::after {
    content: "";
    position: absolute;
    inset: 80px -40px auto auto;
    width: 520px;
    height: 130px;
    border-radius: 999px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.78),
            rgba(255, 255, 255, 0.2));
    transform: rotate(-8deg);
}

@media (max-width: 1200px) {
    .b2b-hero-card {
        padding: 34px 28px;
        min-height: auto;
        border-radius: 22px;
    }

    .b2b-title {
        font-size: 32px;
    }

    .b2b-description {
        margin-bottom: 30px;
        font-size: 16px;
    }

    .b2b-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .feature-divider {
        display: none;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 20px;
    }

    .b2b-background-wave {
        right: -220px;
        top: 120px;
        opacity: 0.25;
    }
}

.search-box-b2b {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    border-top-left-radius: 0;
    padding: 6px 8px;
    width: 100%;
    max-width: 580px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 0;
}

.search-box-b2b i {
    padding-right: 8px;
}

.search-box-b2b input {
    background: transparent;
    border: none;
    color: #0f172a;
    padding: 8px 10px;
    flex-grow: 1;
    outline: none;
    font-size: 0.95rem;
    min-width: 0;
}

.search-box-b2b input::placeholder {
    color: #94a3b8;
}

.btn-search-blue {
    background-color: #0284c7;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-search-blue:hover {
    background-color: #0070d6;
}

/* =========================================================
   MIDDLE SECTION
========================================================= */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.panel-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-header p {
    color: #475569;
    font-size: 0.9rem;
    margin: 0;
}

.link-arrow {
    color: #0284c7;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.link-arrow:hover {
    color: #7dd3fc;
}

.bc-marquee-track .service-card {
    width: 220px;
    flex-shrink: 0;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.sc-img-wrap {
    height: 100px;
    position: relative;
    overflow: hidden;
}

.sc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.sc-icon {
    position: absolute;
    bottom: -16px;
    left: 16px;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0284c7;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    border: 1px solid #f1f5f9;
}

.service-card.green .sc-icon {
    color: #16a34a;
}

.service-card.yellow .sc-icon {
    color: #d97706;
}

.sc-body {
    padding: 24px 16px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.sc-body h4 {
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 6px;
}

.sc-body p {
    color: #475569;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 16px;
    flex-grow: 1;
}

.sc-link {
    color: #0284c7;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.panel-footer-stats {
    display: flex;
    gap: 30px;
    border-top: 1px solid #1e3a66;
    margin-top: 24px;
    padding-top: 16px;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.panel-footer-stats i {
    color: #94a3b8;
    margin-right: 6px;
}

/* Marketplace Grid (B2B) */
.b2b-grid-8 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.b2b-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 20px;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.b2b-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(14, 165, 233, 0.08) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.b2b-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(14, 165, 233, 0.1);
}

.b2b-card:hover::before {
    opacity: 1;
}

.b2b-card:hover .b2b-icon {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.25);
}

.b2b-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #0ea5e9;
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.b2b-card h4 {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.b2b-card p {
    color: #475569;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.b2b-link {
    color: #0284c7;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* =========================================================
   BOTTOM BANNERS
========================================================= */
.bc-trust-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 32px;
    margin-top: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.bc-trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bc-trust-item i {
    font-size: 1.8rem;
    color: #16a34a;
}

.bc-trust-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.bc-trust-item p {
    font-size: 0.8rem;
    color: #475569;
    margin: 0;
}

/* Footer Stats Row */
.footer-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    color: #cbd5e1;
    font-size: 0.85rem;
}

.footer-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-stat i {
    font-size: 1.5rem;
    color: #64748b;
}

.footer-stat div {
    display: flex;
    flex-direction: column;
}

.footer-stat strong {
    color: #fff;
    font-size: 0.95rem;
}

.footer-stat-stars {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-left: 10px;
}

/* Responsive */
@media (max-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .b2b-grid-8 {
        grid-template-columns: repeat(2, 1fr);
    }

    .bc-hero-b2c,
    .bc-hero-b2b {
        height: auto;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bc-hero-b2c-content,
    .bc-hero-b2b-content {
        max-width: 100%;
    }

    .banner-card {
        height: auto;
    }

    .banner-img {
        opacity: 0.3;
    }

    .footer-stats-row {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .bc-nav-menu .nav-link.active-nav::after {
        left: 16px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .b2b-grid-8 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .b2b-grid-8 .b2b-card {
        padding: 16px 12px;
    }

    .b2b-grid-8 .b2b-card h4 {
        font-size: 0.95rem;
        margin-bottom: 4px;
        word-break: break-word;
    }

    .b2b-grid-8 .b2b-card p {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }

    .b2b-grid-8 .b2b-card .b2b-icon {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .search-box-inline,
    .search-box-b2b {
        flex-direction: column;
        gap: 10px;
        background: transparent;
        border: none;
        padding: 0;
    }

    .search-box-inline input,
    .search-box-b2b input {
        background: #ffffff;
        color: #0f172a;
        border: 1px solid #cbd5e1;
        border-radius: 10px;
        width: 100%;
        padding: 11px 14px;
        font-size: 16px;
    }

    .btn-search-green,
    .btn-search-blue {
        width: 100%;
    }

    .bento-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 18px;
        gap: 18px;
    }

    .bento-banner-graphic {
        display: none;
    }

    .bento-card {
        padding: 18px 15px;
    }

    .bento-info-box {
        padding: 12px 14px;
        gap: 12px;
    }

    .bc-job-card-premium {
        flex-wrap: wrap;
        padding: 14px;
        gap: 12px;
    }

    .bc-job-card-premium .job-meta,
    .bento-job-meta {
        flex-wrap: wrap;
        gap: 6px 10px;
    }

    .us-footer {
        flex-wrap: wrap;
        gap: 10px 18px;
        padding-top: 16px;
        margin-top: 16px;
    }

    .bc-premium-slider-section {
        padding: 8px 0 32px 0;
    }

    .bc-premium-slider-section .bc-container-dashboard {
        padding: 24px 12px;
        border-radius: 20px;
    }

    .bc-premium-slider-section h3 {
        font-size: 1.35rem;
    }

    .bc-premium-slider-section p {
        font-size: 0.92rem;
        margin-bottom: 22px;
    }


    .bc-topbar {
        display: none;
    }

    .bc-navbar {
        margin: 0;
        border-radius: 0;
    }
}

/* =========================================================
   PREMIUM PARTNER SLIDER (WHITE SECTION)
========================================================= */
.bc-premium-slider-section {
    background-color: transparent;
    padding: 8px 0 60px 0;
    color: #0f172a;
    border-top: none;
}

.bc-premium-slider-section .bc-container-dashboard {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: 40px 20px;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.04),
        0 4px 12px rgba(15, 23, 42, 0.02);
    overflow: hidden;
    position: relative;
}

.bc-premium-slider-section h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
    color: #0f172a;
}

.bc-premium-slider-section p {
    color: #64748b;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.bc-marquee-container {
    display: flex;
    overflow: hidden;
    gap: 0;
    position: relative;
    width: 100%;
    padding: 20px 0;
    transform: translate3d(0, 0, 0);
}

.bc-marquee-container:hover .bc-marquee-track,
.bc-marquee-container:has(.bc-prem-card:hover) .bc-marquee-track,
.bc-marquee-container:has(.service-card:hover) .bc-marquee-track,
.bc-marquee-container.is-card-paused .bc-marquee-track {
    animation-play-state: paused !important;
}

.bc-marquee-track {
    display: flex;
    gap: 24px;
    padding-right: 24px;
    flex: 0 0 auto;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.track-left {
    animation: marquee-left 95s linear infinite;
}

.track-companies-slow {
    animation: marquee-left 155s linear infinite;
}

.track-right {
    animation: marquee-right 95s linear infinite;
}

@keyframes marquee-left {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes marquee-right {
    0% {
        transform: translate3d(-100%, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* Smooth GPU layer isolation for marquee items (prevents subpixel jitter/stutter) */
.bc-slider-item {
    flex: 0 0 auto;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    contain: layout paint;
}

/* Disable expensive per-frame backdrop-filter repaints inside moving marquees */
.bc-marquee-container .bc-prem-card,
.bc-prem-card.bc-prem-card-network {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.bc-marquee-container .bc-prem-card:hover,
.bc-prem-card.bc-prem-card-network:hover {
    transform: translate3d(0, -3px, 0);
    border-color: #7dd3fc !important;
    box-shadow: 0 16px 34px rgba(2, 132, 199, 0.11) !important;
}

.bc-prem-card.bc-prem-card-network .bc-btn-outline {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

.bc-prem-card.bc-prem-card-network .bc-btn-outline:hover {
    background: #f0f9ff;
    border-color: #0284c7;
    color: #0284c7;
}

.bc-marquee-container .badge-premium,
.bc-marquee-container .badge-medistein,
.bc-marquee-container .badge-verified-net,
.bc-marquee-container .badge-success,
.bc-marquee-container .badge-alert,
.bc-marquee-container .badge-fav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.badge-medistein {
    background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.badge-verified-net {
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

/* =========================================================
   VIP SPOTLIGHT SOFT LUXURY CHAMPAGNE-GOLD SKIN UI
========================================================= */
.bc-prem-card.bc-prem-card-gold {
    background:
        radial-gradient(circle at 92% 8%, rgba(253, 224, 71, 0.14) 0%, transparent 46%),
        radial-gradient(circle at 8% 92%, rgba(251, 191, 36, 0.08) 0%, transparent 44%),
        linear-gradient(160deg, #ffffff 0%, #fffef9 48%, #fdf8e7 100%) !important;
    border: 1px solid rgba(226, 180, 62, 0.36) !important;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(180, 134, 24, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
    position: relative;
}

.bc-prem-card.bc-prem-card-gold:hover {
    border-color: rgba(217, 160, 32, 0.58) !important;
    box-shadow: 0 16px 34px rgba(180, 134, 24, 0.14), 0 0 0 1px rgba(251, 191, 36, 0.22) !important;
}

.badge-premium.badge-gold-skin {
    background: linear-gradient(135deg, #fffdf0 0%, #fef0be 54%, #f8dc84 100%) !important;
    color: #6b4108 !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 3px 8px rgba(180, 130, 20, 0.18) !important;
    font-weight: 800 !important;
    border-radius: 999px;
    white-space: nowrap;
}

.bc-prem-card.bc-prem-card-gold .bc-prem-logo {
    border: 2px solid rgba(232, 187, 74, 0.58);
    box-shadow: 0 4px 12px rgba(180, 130, 20, 0.14);
}

.bc-prem-card.bc-prem-card-gold .bc-prem-subtitle {
    color: #a67114;
}

.bc-prem-card.bc-prem-card-gold .bc-prem-title {
    color: #0f172a;
}

.bc-prem-card.bc-prem-card-gold .bc-prem-metrics {
    border-top-color: rgba(226, 180, 62, 0.22);
}

.bc-prem-card.bc-prem-card-gold .bc-prem-metric i {
    color: #ca9118;
}

.bc-prem-card.bc-prem-card-gold .bc-btn-outline {
    background: linear-gradient(180deg, #ffffff 0%, #fffdf5 100%);
    border: 1px solid rgba(217, 174, 72, 0.48);
    color: #5c3d0c;
    box-shadow: 0 2px 6px rgba(180, 134, 24, 0.06);
}

.bc-prem-card.bc-prem-card-gold .bc-btn-outline:hover {
    background: linear-gradient(180deg, #fffdf5 0%, #fef6d8 100%);
    border-color: rgba(202, 145, 24, 0.65);
    color: #452804;
}

.bc-prem-card.bc-prem-card-gold .bc-btn-solid {
    background: linear-gradient(135deg, #fff7d6 0%, #fce5a2 52%, #f5cf6e 100%) !important;
    color: #523007 !important;
    border: 1px solid rgba(217, 165, 42, 0.45) !important;
    box-shadow: 0 4px 12px rgba(196, 145, 24, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
    font-weight: 700 !important;
}

.bc-prem-card.bc-prem-card-gold .bc-btn-solid:hover {
    background: linear-gradient(135deg, #fff0ba 0%, #fad87c 52%, #efc04f 100%) !important;
    color: #3d2203 !important;
    box-shadow: 0 6px 16px rgba(196, 145, 24, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

/* =========================================================
   VERTICAL MARQUEE (Job Slider)
========================================================= */
.bc-vertical-marquee-container {
    height: 290px; /* Adjust to match the left card height */
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
}

.bc-vertical-marquee-container:hover .bc-vertical-marquee-track {
    animation-play-state: paused;
}

.bc-vertical-marquee-track {
    display: flex;
    flex-direction: column;
    animation: marquee-vertical 25s linear infinite;
}

/* Duplicated track inner wrappers need to maintain normal layout */
.bc-vertical-marquee-track-inner {
    display: flex;
    flex-direction: column;
}

@keyframes marquee-vertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* =========================================================
   PREMIUM CARD (1:1 IMAGE DESIGN)
========================================================= */
.bc-prem-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    width: 380px;
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.bc-prem-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(14, 165, 233, 0.4);
}

.bc-prem-cover {
    height: 130px;
    position: relative;
    background: #f1f5f9;
}

.bc-prem-cover img.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bc-prem-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    max-width: calc(100% - 48px);
    overflow: hidden;
}

.badge-premium {
    background: rgba(245, 158, 11, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.badge-success {
    background: rgba(22, 163, 74, 0.92);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-alert {
    background: rgba(220, 38, 38, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    background: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 13px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    z-index: 5;
}

.badge-fav:hover {
    color: #ef4444;
    transform: scale(1.1);
}

.bc-prem-logo {
    position: absolute;
    bottom: -32px;
    left: 16px;
    width: 64px;
    height: 64px;
    background: #ffffff;
    border-radius: 50%;
    padding: 2px;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.bc-prem-body {
    padding: 40px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bc-prem-subtitle {
    color: #0284c7;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    font-weight: 700;
}

.bc-prem-title {
    font-family: Inter, system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #071832;
    margin-bottom: 8px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.bc-prem-rating {
    margin-bottom: 16px;
    font-size: 0.85rem;
}

.bc-prem-rating .stars {
    color: #eab308;
    letter-spacing: 2px;
}

.bc-prem-rating .score {
    font-weight: 800;
    color: #0f172a;
    margin-left: 2px;
}

.bc-prem-rating .count {
    color: #64748b;
}

.bc-prem-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.bc-prem-info-line {
    font-size: 0.85rem;
}

.text-gray {
    color: #475569;
}

.text-red {
    color: #dc2626;
    font-weight: 600;
}

.divider {
    color: #cbd5e1;
    margin: 0 4px;
}

.bc-prem-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.bc-prem-tag-white {
    background: #f1f5f9;
    color: #334155;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    border: none;
}

.bc-prem-metrics {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
}

.bc-prem-metric {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.bc-prem-metric i {
    font-size: 1.1rem;
    color: #0ea5e9;
}

.metric-content {
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-size: 0.8rem;
    font-weight: 800;
    color: #071832;
}

.metric-label {
    font-size: 0.65rem;
    color: #64748b;
}

.text-green {
    color: #16a34a;
}

.bc-prem-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.bc-btn-outline {
    flex: 1;
    background: #ffffff;
    border: 1px solid #0f172a;
    color: #0f172a;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
    cursor: pointer;
}

.bc-btn-outline.pill {
    border-radius: 30px;
}

.bc-btn-outline:hover {
    background: #f8fafc;
}

.bc-btn-solid {
    flex: 1;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    border: none;
    color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    cursor: pointer;
}

.bc-btn-solid.pill {
    border-radius: 30px;
}

.bc-btn-solid:hover {
    background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
    border-color: transparent;
}

/* =========================================================
   SCROLL-SNAP SLIDER & PREMIUM SECTION
========================================================= */
.premium-section {
    padding-top: 28px;
    border-radius: 24px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.premium-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 8px;
}

.premium-section-header p {
    margin-bottom: 0;
}

.premium-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #b7791f;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.premium-section-header h2 {
    margin: 0;
    color: #071832;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.premium-section-header p {
    max-width: 760px;
    margin: 8px 0 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.45;
}

.premium-view-all {
    flex: 0 0 auto;
    color: #006fee;
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
    margin-bottom: 12px;
}

.premium-view-all:hover {
    text-decoration: underline;
}
.bc-premium-slider {
    width: 100%;
    overflow: hidden;
    padding-bottom: 4px;
    margin-top: 32px;
}

.bc-slider-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 16px 4px 16px 4px;
    
    /* Hide scrollbar for a cleaner look, but keep it functional */
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.bc-slider-track::-webkit-scrollbar {
    display: none;
}

.bc-slider-item {
    scroll-snap-align: start;
    flex-shrink: 0;
    display: flex;
    height: auto;
}

.bc-premium-slider-wrapper {
    position: relative;
    width: 100%;
}

.bc-slider-nav {
    display: flex;
    gap: 12px;
}

.bc-slider-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.05);
}

.bc-slider-btn.floating {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.1);
    border: none;
}

.bc-slider-btn.floating.prev-btn {
    left: -24px;
}

.bc-slider-btn.floating.next-btn {
    right: -24px;
}

.bc-slider-btn:hover {
    background: #f8fafc;
    color: #0ea5e9;
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.08);
}

.bc-slider-btn.floating:hover {
    transform: translateY(-50%) scale(1.05);
}

.bc-slider-btn:active {
    transform: scale(0.95);
}

/* =========================================================
   UNIFIED SEARCH CONSOLE
========================================================= */
.bc-unified-search-console {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.us-header {
    display: flex;
    background: #f1f5f9;
    /* malo tamnija siva za neaktivne tabove */
    border-bottom: 1px solid #e2e8f0;
}

.us-main-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
    border-bottom: 4px solid transparent;
}

.us-main-tab small {
    font-size: 0.8rem;
    font-weight: 400;
    color: #94a3b8;
    margin-top: 6px;
}

.us-main-tab i {
    font-size: 1.4rem;
    margin-bottom: 4px;
    margin-right: 0;
}

.us-main-tab:hover {
    color: #0f172a;
    background: #e2e8f0;
}

.us-main-tab.active {
    background: #ffffff;
    color: #0ea5e9;
    border-bottom: 4px solid #0ea5e9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.us-main-tab.active small {
    color: #475569;
}

/* CLASSIC FORM STYLES */
.form-group {
    position: relative;
}

.search-icon-input {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
}

.classic-input {
    min-height: 40px;
    height: 50px;
    border-radius: 12px;
    border: none;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    padding-left: 44px;
    font-size: 1rem;
    color: #0f172a;
    transition: box-shadow 0.2s, transform 0.2s;
}

select.classic-input {
    cursor: pointer;
}

.classic-input:focus {
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.15);
    outline: none;
    transform: translateY(-1px);
}

.btn-classic-submit {
    min-height: 56px;
    border-radius: 12px;
    background: linear-gradient(90deg, #0ea5e9 0%, #14b8a6 100%);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-classic-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.us-body {
    padding: 32px;
}

.us-subtabs {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    justify-content: center;
}

.us-subtab {
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    min-width: 200px;
}

.us-subtab small {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 400;
    margin-top: 4px;
}

.us-subtab.active {
    border-color: #0ea5e9;
    background: #f0f9ff;
    color: #0ea5e9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.us-subtab.active small {
    color: #38bdf8;
}

.us-content {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.us-examples {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.us-label {
    font-size: 0.95rem;
    color: #0ea5e9;
    font-weight: 800;
}

.us-pill {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.us-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.us-pill.b2b-pill {
    background: #f0f9ff;
    border-color: #7dd3fc;
    color: #0284c7;
    font-weight: 600;
}

.us-pill.b2b-pill:hover {
    background: #e0f2fe;
    color: #0369a1;
    border-color: #38bdf8;
}

.us-input-wrapper {
    position: relative;
    display: block;
}

.us-input-wrapper textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 16px 170px 16px 16px;
    font-size: 1rem;
    color: #0f172a;
    resize: none;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    background: #ffffff;
    min-height: 80px;
}

.us-input-wrapper textarea:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.25);
    background: #f8fafc;
}

.btn-ki-submit {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
    background: linear-gradient(90deg, #0ea5e9 0%, #14b8a6 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-ki-submit:hover {
    transform: translateY(-50%) scale(1.02);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.btn-ki-submit.btn-ki-loading {
    background: linear-gradient(90deg, #84cc16 0%, #65a30d 100%);
    box-shadow: 0 4px 15px rgba(132, 204, 22, 0.4);
    cursor: not-allowed;
    transform: translateY(-50%);
}

.us-footer {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
}

.us-footer span {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.us-footer span i {
    color: #0ea5e9;
    font-size: 1.1rem;
}

/* =========================================================
   BENTO DASHBOARD SECTION
========================================================= */
.bento-dashboard-section {
    font-family: 'Inter', sans-serif;
}

/* Banner */
.bento-banner {
    background: linear-gradient(135deg, #003278 0%, #0056b3 100%);
    border-radius: 16px;
    padding: 32px 40px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.bento-badge-sponsor {
    background: #eab308;
    color: #422006;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 16px;
}
.bento-banner h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.bento-banner p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.5;
}
.bento-banner-btn {
    border-radius: 8px;
    padding: 10px 24px;
}
.bento-banner-content {
    max-width: 600px;
    z-index: 2;
}
.bento-banner-graphic {
    z-index: 2;
}
.mockup-placeholder {
    width: 280px;
    height: 180px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: -10px 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(800px) rotateY(-15deg) rotateX(5deg);
}
.shield-icon {
    position: absolute;
    bottom: -15px;
    right: -15px;
    font-size: 3rem;
    color: #22c55e;
    background: #fff;
    border-radius: 50%;
    padding: 10px;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Cards */
.bento-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.bento-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.bento-check-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
}
.bento-info-box {
    background: #f0fdf4; /* Light green in mockup? No, mockup says Was wird benotigt has a blueish tint, maybe #f8fafc or #f1f5f9 */
    background: #f1f5f9;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.bento-info-box .icon-wrapper {
    background: #e0f2fe;
    color: #0284c7;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.bento-info-box p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}
.bento-action-btn {
    background: #0056b3;
    border-color: #0056b3;
    border-radius: 10px;
    font-size: 1.05rem;
}
.bento-action-btn:hover {
    background: #004494;
    border-color: #004494;
}

/* New Badges & Features */
.bc-badge-soft-success {
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    color: #166534;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.bc-badge-soft-success i {
    color: #22c55e;
}

.bc-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}
.bc-feature-item .icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.bc-feature-item span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    line-height: 1.2;
}

/* Job List */
.bento-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}
.bento-link:hover { text-decoration: underline; }
.bento-link-muted {
    font-size: 0.95rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}
.bento-link-muted:hover { color: #1d4ed8; }

.bc-job-card-premium {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    background: #ffffff;
    gap: 16px;
}

.bc-job-card-premium:hover {
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.bc-job-card-premium.is-new {
    border-left: 4px solid #22c55e;
    background: #fdfdfd;
}

.bc-job-card-premium .job-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6ff;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.bc-job-card-premium.is-new .job-icon {
    background: #f0fdf4;
    color: #22c55e;
}

.bc-job-card-premium .job-content {
    flex-grow: 1;
}

.bc-job-card-premium .job-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bc-job-card-premium .job-company {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 6px;
}

.bc-job-card-premium .job-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: #64748b;
}
.bc-job-card-premium .job-meta i {
    color: #94a3b8;
    margin-right: 4px;
}

.bc-job-card-premium .job-action {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.bc-job-card-premium:hover .job-action i.bi-chevron-right {
    color: #2563eb;
    transform: translateX(2px);
}
.job-action i.bi-chevron-right {
    transition: transform 0.2s ease, color 0.2s ease;
    color: #94a3b8;
    font-size: 1.1rem;
}

.badge-new-soft {
    background: #dcfce7;
    color: #166534;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
}

.bento-job-main {
    flex: 1;
}
.bento-job-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}
.bento-job-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
}
.bento-job-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
}

/* =========================================================
   SUPPORT WIDGET (Floating)
========================================================= */
.bc-support-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 260px;
    background: linear-gradient(135deg, #0ea5e9 0%, #22c55e 100%);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.4);
    padding: 24px 20px 20px 20px;
    z-index: 1050;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: slideUpFadeIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.5s; /* Brži prikaz popupa */
}
@keyframes slideUpFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.bc-support-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    padding: 0;
}
.bc-support-close:hover {
    color: #ffffff;
    transform: scale(1.1);
}

@media (max-width: 767px) {
    .bc-support-widget {
        bottom: 85px;
        right: 16px;
        width: 230px;
        padding: 20px 16px 16px 16px;
        border-radius: 16px;
    }
    
    .bc-support-widget i.display-4 {
        font-size: 2rem !important;
        margin-bottom: 8px !important;
    }
    
    .bc-support-widget h5 {
        font-size: 1.1rem;
        margin-bottom: 4px !important;
    }
    
    .bc-support-widget p {
        font-size: 0.8rem;
        margin-bottom: 12px !important;
        line-height: 1.3;
    }
    
    .bc-support-close {
        top: 8px;
        right: 10px;
    }
}

/* =========================================================
   PRE-FOOTER CTA
========================================================= */
.bc-pre-footer-cta {
    width: 100%;
}

@media (max-width: 768px) {
    .bc-pre-footer-cta .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
}

/* Remove footer margin on homepage so it touches the CTA */
.is-home-page .bc-footer-deluxe {
    margin-top: 0 !important;
}

/* Reduce bottom padding of the main white container to match the requested smaller gap (mt-2 equivalent) */
.is-home-page .bc-unified-dashboard .bc-container-dashboard {
    padding-bottom: 4px !important; 
}

/* =========================================================
   MOBILE OVERRIDES FOR AI SEARCH
========================================================= */
@media (max-width: 768px) {
    .us-examples {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Enterprise visual cue for swiping */
        mask-image: linear-gradient(to right, black 80%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
        padding-right: 30px;
    }
    .us-examples::-webkit-scrollbar {
        display: none;
    }

    .us-pill {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .us-input-wrapper {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .us-input-wrapper textarea {
        padding-right: 16px !important;
        min-height: 111px;
    }

    .btn-ki-submit {
        position: relative !important;
        transform: none !important;
        top: auto !important;
        right: auto !important;
        width: 100% !important;
        justify-content: center;
        padding: 14px 18px;
    }

    .btn-ki-submit.btn-ki-loading {
        transform: none !important;
    }

    /* Enterprise Mobile Footer Accordion */
    .footer-title[aria-expanded="true"] i.bi-chevron-down {
        transform: rotate(180deg);
    }
    .footer-title i.bi-chevron-down {
        transition: transform 0.3s ease;
    }
}

/* =========================================================
   MEDISTEIN GOOGLE & TRUSTPILOT RATING BAR (.bc-trust-bar)
========================================================= */
.bc-trust-bar {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    line-height: 1;
    color: #475569;
    overflow: hidden;
}
.bc-trust-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    white-space: nowrap;
}
.bc-trust-bar .bc-trust-item {
    color: #475569;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
}
.bc-trust-bar .bc-trust-item:hover,
.bc-trust-bar .bc-trust-item:focus-visible {
    color: #0f172a;
}
.bc-trust-logo {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: block;
}
.bc-trust-action {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.bc-trust-kurz {
    display: none;
}
.bc-trust-sep {
    width: 1px;
    height: 14px;
    background-color: #cbd5e1;
    display: inline-block;
}
.bc-trust-wert {
    color: #0f172a;
    font-weight: 700;
}
.bc-sterne {
    --farbe: #f9ab00;
    position: relative;
    display: inline-block;
    width: 65px;
    height: 13px;
    background-color: #cbd5e1;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.94 5.96 6.58.96-4.76 4.64 1.12 6.55L12 17.52l-5.88 3.09 1.12-6.55L2.48 9.42l6.58-.96z'/%3E%3C/svg%3E") 0 0 / 13px 13px repeat-x;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.94 5.96 6.58.96-4.76 4.64 1.12 6.55L12 17.52l-5.88 3.09 1.12-6.55L2.48 9.42l6.58-.96z'/%3E%3C/svg%3E") 0 0 / 13px 13px repeat-x;
}
.bc-sterne::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--anteil);
    background-color: var(--farbe);
}
.bc-sterne-trustpilot {
    --farbe: #00b67a;
}
.bc-trust-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
@media (max-width: 575.98px) {
    .bc-trust-bar {
        min-height: 30px;
    }
    .bc-trust-bar-content {
        gap: 12px;
    }
    .bc-trust-bar .bc-trust-item {
        font-size: 12px;
        gap: 5px;
    }
    .bc-trust-lang {
        display: none;
    }
    .bc-trust-kurz {
        display: inline;
    }
    .bc-trust-logo {
        width: 12px;
        height: 12px;
    }
    .bc-trust-sep {
        height: 12px;
    }
    .bc-sterne {
        width: 55px;
        height: 11px;
        -webkit-mask-size: 11px 11px;
        mask-size: 11px 11px;
    }
}
