/* _content/JJMechanicsWebsite/Components/Layout/MainLayout.razor.rz.scp.css */
.jj-shell[b-gprtted45l] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #000;
    --jj-header-h: 84px;
}

.jj-topbar[b-gprtted45l] {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: var(--jj-header-h);
    background: rgba(0, 0, 0, 0.94);
    border-bottom: 1px solid #2a2a2a;
    backdrop-filter: blur(10px);
}

.jj-topbar-inner[b-gprtted45l] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.75rem 0 1rem;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: var(--jj-header-h);
}

.jj-brand[b-gprtted45l] {
    display: flex;
    align-items: center;
    align-self: center;
    color: #fff !important;
    text-decoration: none !important;
    padding: 0.35rem 0;
    border-radius: 14px;
    transition: background 0.15s ease;
}

.jj-brand:hover[b-gprtted45l] {
    background: rgba(255, 255, 255, 0.06);
}

.jj-brand-logo[b-gprtted45l] {
    height: 72px;
    width: auto;
    object-fit: contain;
    display: block;
}

.jj-nav[b-gprtted45l] {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.jj-nav[b-gprtted45l]::-webkit-scrollbar {
    display: none;
}

.jj-navlink[b-gprtted45l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    color: #f5f5f5 !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.58rem 1.1rem;
    min-height: 2.5rem;
    border-radius: var(--jj-radius-sm, 14px);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: linear-gradient(180deg, rgba(52, 52, 52, 0.95) 0%, rgba(24, 24, 24, 0.98) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 6px 18px rgba(0, 0, 0, 0.45),
        0 1px 2px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    margin: 0;
    cursor: pointer;
    transition:
        background 0.14s ease,
        color 0.14s ease,
        border-color 0.14s ease,
        box-shadow 0.14s ease,
        transform 0.12s ease;
}

.jj-navlink:hover[b-gprtted45l] {
    color: #fff !important;
    background: linear-gradient(180deg, #454545 0%, #2c2c2c 100%);
    border-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.14) inset,
        0 8px 22px rgba(0, 0, 0, 0.5),
        0 2px 3px rgba(0, 0, 0, 0.4);
    transform: translateY(-1px);
}

.jj-navlink:focus[b-gprtted45l] {
    outline: none;
}

.jj-navlink:focus-visible[b-gprtted45l] {
    color: #fff !important;
    background: linear-gradient(180deg, #454545 0%, #2c2c2c 100%);
    border-color: rgba(255, 255, 255, 0.28) !important;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 8px 22px rgba(0, 0, 0, 0.45);
}

.jj-navlink.active[b-gprtted45l] {
    color: #000 !important;
    background: #fff;
    border-color: #fff !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.5) inset,
        0 8px 24px rgba(0, 0, 0, 0.35);
    transform: none;
}

.jj-navlink.active:hover[b-gprtted45l] {
    color: #000 !important;
    background: #e8e8e8;
    border-color: #e8e8e8 !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55) inset,
        0 10px 28px rgba(0, 0, 0, 0.38);
    transform: translateY(-1px);
}

.jj-navlink.active:focus-visible[b-gprtted45l] {
    color: #000 !important;
    background: #fff;
    border-color: #fff !important;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.35),
        0 8px 24px rgba(0, 0, 0, 0.32);
    transform: none;
}

.jj-main[b-gprtted45l] {
    flex: 1;
    width: 100%;
    padding-bottom: 5.75rem;
}

.jj-page-container[b-gprtted45l] {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: clamp(1rem, 4vw, 1.75rem);
    padding-right: clamp(1rem, 4vw, 1.75rem);
}

.jj-footer-cta[b-gprtted45l] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: #0a0a0a;
    border-top: 1px solid #2a2a2a;
}

.jj-footer-inner[b-gprtted45l] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.65rem 1.25rem;
}

.jj-footer-row[b-gprtted45l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.jj-footer-text[b-gprtted45l] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    color: #e6e6e6;
}

.jj-footer-label[b-gprtted45l] {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9a9a9a;
}

.jj-footer-phone[b-gprtted45l] {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff !important;
    text-decoration: none !important;
    letter-spacing: 0.02em;
}

.jj-footer-call[b-gprtted45l] {
    text-decoration: none !important;
    white-space: nowrap;
    border-radius: 999px !important;
}

#blazor-error-ui[b-gprtted45l] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-gprtted45l] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
