/* _content/Quote.Web/Components/Layout/MainLayout.razor.rz.scp.css */
/* App main layout styles are in app.css (global) for reliable application */

/* Email banner styles are in app.css (global) for reliable application */

/* ============================
   FOOTER (Public pages only)
   ============================ */
[b-d44rucyd53] .footer-main {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: auto;
}

[b-d44rucyd53] .footer-heading {
    font-weight: 700;
    color: #1f2933;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

[b-d44rucyd53] .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

[b-d44rucyd53] .footer-links li {
    margin-bottom: 0.5rem;
}

[b-d44rucyd53] .footer-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

[b-d44rucyd53] .footer-links a:hover {
    color: #0f6cfb;
}

[b-d44rucyd53] .social-links {
    display: flex;
    gap: 0.75rem;
}

[b-d44rucyd53] .social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 108, 251, 0.1);
    color: #0f6cfb;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

[b-d44rucyd53] .social-link:hover {
    background: #0f6cfb;
    color: white;
    transform: translateY(-2px);
}

[b-d44rucyd53] .footer-bottom {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* ============================
   ERROR UI
   ============================ */
#blazor-error-ui[b-d44rucyd53] {
    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-d44rucyd53] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* _content/Quote.Web/Components/Layout/NavMenu.razor.rz.scp.css */
/* ============================
   PUBLIC TOP BAR (Unauthenticated)
   ============================ */
.pub-topbar[b-kyynze2sfa] {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(15, 108, 251, 0.06);
}

.pub-topbar .container[b-kyynze2sfa] {
    height: var(--topbar-height, 68px);
    gap: 1rem;
}

.pub-brand[b-kyynze2sfa],
.topbar-brand[b-kyynze2sfa] {
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.pub-brand:hover[b-kyynze2sfa],
.topbar-brand:hover[b-kyynze2sfa] {
    opacity: 0.8;
    text-decoration: none;
}

.brand-q[b-kyynze2sfa] {
    color: #0f6cfb;
}

.brand-t[b-kyynze2sfa] {
    color: #1f2933;
}

.pub-hamburger[b-kyynze2sfa] {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1f2933;
    padding: 8px 10px;
    margin-left: auto;
    line-height: 1;
    border-radius: 10px;
    transition: background 0.15s;
}

.pub-hamburger:hover[b-kyynze2sfa] {
    background: #f3f4f6;
}

.pub-nav[b-kyynze2sfa] {
    align-items: center;
    gap: 0.25rem;
    margin-left: 2rem;
}

.pub-nav-link[b-kyynze2sfa] {
    color: #1f2933;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 10px;
    transition: all 0.15s ease;
}

.pub-nav-link:hover[b-kyynze2sfa] {
    color: #0f6cfb;
    background: rgba(15, 108, 251, 0.06);
    text-decoration: none;
}

.pub-nav-link.active[b-kyynze2sfa] {
    color: #0f6cfb;
    background: rgba(15, 108, 251, 0.08);
}

.pub-actions[b-kyynze2sfa] {
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

/* Post a Job button in top nav */
.pub-nav .btn-outline-primary[b-kyynze2sfa] {
    border: 2px solid #0f6cfb;
    color: #0f6cfb;
    font-weight: 700;
    padding: 8px 18px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(15, 108, 251, 0.12);
}

.pub-nav .btn-outline-primary:hover[b-kyynze2sfa] {
    background: #0f6cfb;
    color: white;
    box-shadow: 0 8px 24px rgba(15, 108, 251, 0.3);
    transform: translateY(-1px);
}

/* Sign In link in top nav */
.pub-actions .pub-nav-link[b-kyynze2sfa] {
    color: #1f2933;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 10px;
}

.pub-actions .pub-nav-link:hover[b-kyynze2sfa] {
    color: #0f6cfb;
    background: rgba(15, 108, 251, 0.06);
}

/* Get Started button */
.pub-actions .btn-primary[b-kyynze2sfa] {
    font-weight: 700;
    padding: 9px 22px;
    box-shadow: 0 8px 24px rgba(15, 108, 251, 0.25);
    transition: all 0.2s ease;
}

.pub-actions .btn-primary:hover[b-kyynze2sfa] {
    box-shadow: 0 12px 32px rgba(15, 108, 251, 0.35);
    transform: translateY(-1px);
}

/* Public mobile menu */
.pub-mobile-menu[b-kyynze2sfa] {
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 12px 20px 16px;
    display: flex;
    flex-direction: column;
    animation: slideDown-b-kyynze2sfa 0.2s ease;
}

@keyframes slideDown-b-kyynze2sfa {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.pub-mobile-link[b-kyynze2sfa] {
    display: block;
    padding: 14px 8px;
    color: #1f2933;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 8px;
    transition: all 0.15s;
}

.pub-mobile-link:hover[b-kyynze2sfa] {
    color: #0f6cfb;
    background: rgba(15, 108, 251, 0.05);
}

.pub-mobile-menu hr[b-kyynze2sfa] {
    margin: 4px 0;
    opacity: 0.12;
}

/* ============================
   APP TOP BAR (Authenticated)
   ============================ */
.app-topbar[b-kyynze2sfa] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-height, 68px);
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    z-index: 1100;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 14px;
}

.topbar-toggle[b-kyynze2sfa] {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #1f2933;
    padding: 8px;
    border-radius: 10px;
    line-height: 1;
    display: none;
    transition: all 0.15s;
}

.topbar-toggle:hover[b-kyynze2sfa] {
    background: #f3f4f6;
    color: #0f6cfb;
}

.topbar-actions[b-kyynze2sfa] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-icon-btn[b-kyynze2sfa] {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #6b7280;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.15s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.topbar-icon-btn:hover[b-kyynze2sfa] {
    background: rgba(15, 108, 251, 0.08);
    color: #0f6cfb;
    text-decoration: none;
}

.topbar-badge[b-kyynze2sfa] {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ef4444;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 999px;
    line-height: 1.4;
    min-width: 16px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

.topbar-user-btn[b-kyynze2sfa] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 5px 12px 5px 5px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.topbar-user-btn:hover[b-kyynze2sfa] {
    border-color: #0f6cfb;
    background: rgba(15, 108, 251, 0.04);
    box-shadow: 0 2px 8px rgba(15, 108, 251, 0.1);
}

/* Remove Bootstrap dropdown caret */
.topbar-user-btn[b-kyynze2sfa]::after {
    display: none;
}

.topbar-avatar[b-kyynze2sfa] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0f6cfb, #5c9dff);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

[b-kyynze2sfa] .topbar-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topbar-username[b-kyynze2sfa] {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1f2933;
}

/* ============================
   SIDEBAR
   ============================ */
.app-sidebar[b-kyynze2sfa] {
    position: fixed;
    top: var(--topbar-height, 68px);
    left: 0;
    bottom: 0;
    width: var(--sidebar-width, 260px);
    background: white;
    border-right: 1px solid #e5e7eb;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1050;
    padding: 12px 0;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

.app-sidebar[b-kyynze2sfa]::-webkit-scrollbar {
    width: 4px;
}

.app-sidebar[b-kyynze2sfa]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.app-sidebar[b-kyynze2sfa]::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.sidebar-overlay[b-kyynze2sfa] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1040;
    animation: fadeIn-b-kyynze2sfa 0.2s ease;
}

@keyframes fadeIn-b-kyynze2sfa {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Business switcher wrapper */
.sidebar-business[b-kyynze2sfa] {
    padding: 4px 12px 10px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 8px;
}

.sidebar-business[b-kyynze2sfa]  .dropdown,
.sidebar-business[b-kyynze2sfa]  .btn {
    width: 100%;
}

.sidebar-business[b-kyynze2sfa]  .btn {
    justify-content: flex-start;
    font-size: 0.85rem;
    padding: 8px 10px;
    border-radius: 10px;
}

.sidebar-business[b-kyynze2sfa]  .me-3 {
    margin-right: 0 !important;
}

/* Sidebar nav */
.sidebar-nav[b-kyynze2sfa] {
    display: flex;
    flex-direction: column;
    padding: 0 8px;
}

.sidebar-label[b-kyynze2sfa] {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #9ca3af;
    padding: 20px 12px 6px;
    user-select: none;
}

.sidebar-link[b-kyynze2sfa] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    position: relative;
}

.sidebar-link i:first-child[b-kyynze2sfa] {
    font-size: 1.15rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
    color: #9ca3af;
    transition: color 0.15s;
}

.sidebar-link span[b-kyynze2sfa] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-link:hover[b-kyynze2sfa] {
    background: #f3f4f6;
    color: #1f2933;
    text-decoration: none;
}

.sidebar-link:hover i:first-child[b-kyynze2sfa] {
    color: #0f6cfb;
}

.sidebar-link.active[b-kyynze2sfa] {
    background: rgba(15, 108, 251, 0.08);
    color: #0f6cfb;
    font-weight: 600;
}

.sidebar-link.active i:first-child[b-kyynze2sfa] {
    color: #0f6cfb;
}

/* Active indicator bar */
.sidebar-link.active[b-kyynze2sfa]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #0f6cfb;
}

/* Sidebar badge (unread count) */
.sidebar-badge[b-kyynze2sfa] {
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
    line-height: 1.3;
    margin-left: auto;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

/* ============================
   COLLAPSIBLE SECTIONS
   ============================ */
.sidebar-chevron[b-kyynze2sfa] {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
    opacity: 0.35;
}

.sidebar-group.expanded > button .sidebar-chevron[b-kyynze2sfa] {
    transform: rotate(90deg);
    opacity: 0.6;
}

.sidebar-submenu[b-kyynze2sfa] {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.sidebar-group.expanded .sidebar-submenu[b-kyynze2sfa] {
    max-height: 500px;
}

.sidebar-sublink[b-kyynze2sfa] {
    display: flex;
    align-items: center;
    padding: 8px 12px 8px 44px;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.825rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.12s ease;
}

.sidebar-sublink:hover[b-kyynze2sfa] {
    background: #f3f4f6;
    color: #1f2933;
    text-decoration: none;
}

.sidebar-sublink.active[b-kyynze2sfa] {
    color: #0f6cfb;
    font-weight: 600;
    background: rgba(15, 108, 251, 0.08);
}

/* ============================
   MOBILE BOTTOM NAV
   ============================ */
.app-bottomnav.hidden[b-kyynze2sfa] {
    display: none !important;
}

.app-bottomnav[b-kyynze2sfa] {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottomnav-height, 60px);
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
    z-index: 1050;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottomnav-item[b-kyynze2sfa] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 600;
    gap: 3px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    transition: color 0.15s;
}

.bottomnav-item i[b-kyynze2sfa] {
    font-size: 1.35rem;
    transition: transform 0.15s;
}

.bottomnav-item:hover[b-kyynze2sfa] {
    color: #0f6cfb;
}

.bottomnav-item:hover i[b-kyynze2sfa] {
    transform: translateY(-1px);
}

.bottomnav-item.active[b-kyynze2sfa] {
    color: #0f6cfb;
}

.bottomnav-item.active i[b-kyynze2sfa] {
    transform: translateY(-1px);
}

.bottomnav-badge[b-kyynze2sfa] {
    position: absolute;
    top: 4px;
    left: 50%;
    margin-left: 6px;
    background: #ef4444;
    color: white;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 999px;
    line-height: 1.3;
    min-width: 14px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* ============================
   NOTIFICATION BELL
   ============================ */
.notif-bell-wrapper[b-kyynze2sfa] {
    position: relative;
}

.notif-backdrop[b-kyynze2sfa] {
    position: fixed;
    inset: 0;
    z-index: 1199;
}

.notif-panel[b-kyynze2sfa] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 380px;
    max-height: 480px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    animation: notifSlideIn 0.15s ease;
    overflow: hidden;
}

@@keyframes notifSlideIn {
    from[b-kyynze2sfa] { opacity: 0; transform: translateY(-6px); }
    to[b-kyynze2sfa] { opacity: 1; transform: translateY(0); }
}

.notif-panel-header[b-kyynze2sfa] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
}

.notif-panel-title[b-kyynze2sfa] {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1f2933;
}

.notif-mark-all[b-kyynze2sfa] {
    background: none;
    border: none;
    color: #0f6cfb;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s;
}

.notif-mark-all:hover[b-kyynze2sfa] {
    background: rgba(15, 108, 251, 0.08);
}

.notif-panel-body[b-kyynze2sfa] {
    overflow-y: auto;
    max-height: 400px;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

.notif-empty[b-kyynze2sfa] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #9ca3af;
    gap: 8px;
}

.notif-empty i[b-kyynze2sfa] {
    font-size: 2rem;
    opacity: 0.5;
}

.notif-empty span[b-kyynze2sfa] {
    font-size: 0.875rem;
    font-weight: 500;
}

.notif-item[b-kyynze2sfa] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.12s;
    border-bottom: 1px solid #f9fafb;
}

.notif-item:last-child[b-kyynze2sfa] {
    border-bottom: none;
}

.notif-item:hover[b-kyynze2sfa] {
    background: #f9fafb;
}

.notif-item.unread[b-kyynze2sfa] {
    background: rgba(15, 108, 251, 0.03);
}

.notif-item.unread:hover[b-kyynze2sfa] {
    background: rgba(15, 108, 251, 0.06);
}

.notif-item-icon[b-kyynze2sfa] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(15, 108, 251, 0.08);
    color: #0f6cfb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.notif-item.unread .notif-item-icon[b-kyynze2sfa] {
    background: rgba(15, 108, 251, 0.12);
}

.notif-item-content[b-kyynze2sfa] {
    flex: 1;
    min-width: 0;
}

.notif-item-title[b-kyynze2sfa] {
    font-weight: 600;
    font-size: 0.825rem;
    color: #1f2933;
    line-height: 1.3;
}

.notif-item.unread .notif-item-title[b-kyynze2sfa] {
    color: #0f6cfb;
}

.notif-item-msg[b-kyynze2sfa] {
    font-size: 0.775rem;
    color: #6b7280;
    line-height: 1.4;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notif-item-time[b-kyynze2sfa] {
    font-size: 0.7rem;
    color: #9ca3af;
    margin-top: 4px;
    font-weight: 500;
}

.notif-item-dot[b-kyynze2sfa] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0f6cfb;
    flex-shrink: 0;
    margin-top: 6px;
    box-shadow: 0 0 0 2px rgba(15, 108, 251, 0.2);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 991.98px) {
    .notif-panel[b-kyynze2sfa] {
        width: calc(100vw - 20px);
        right: -40px;
    }

    .topbar-toggle[b-kyynze2sfa] {
        display: flex;
    }

    .app-sidebar[b-kyynze2sfa] {
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        box-shadow: none;
    }

    .app-sidebar.open[b-kyynze2sfa] {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
    }

}

@media (min-width: 992px) {
    .sidebar-overlay[b-kyynze2sfa] {
        display: none;
    }
}

