/* ==========================================================================
   OPPORTUNITY Sidebar Styles - New Structure
   ========================================================================== */

:root {
    --opportunity-sidebar-width: 260px;
    --opportunity-sidebar-collapsed-width: 70px;
    --opportunity-sidebar-transition: 0.25s ease;
    --opportunity-color-bg-light: #f8fafd;
    --opportunity-color-border: #e7eaf3;
    --opportunity-color-text-secondary: #677788;
    --opportunity-color-text-primary: #1e2022;
    --opportunity-color-primary: #377dff;
    --opportunity-color-danger: #de4437;
}

/* ========== OPPORTUNITY SIDEBAR STYLES ========== */
.opportunity-app-wrapper {
    display: flex;
    min-height: 100vh;
    background: #fff;
}

.opportunity-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--opportunity-sidebar-width);
    max-width: var(--opportunity-sidebar-width);
    background: #fff;
    border-right: 1px solid var(--opportunity-color-border);
    z-index: 1020;
    transition: width var(--opportunity-sidebar-transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 1px 0 0 rgba(0, 0, 0, 0.05);
}

/* OPPORTUNITY Sidebar Logo */
.opportunity-sidebar-logo {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--opportunity-color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--opportunity-sidebar-transition);
    min-height: 70px;
    flex-shrink: 0;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.opportunity-sidebar-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.opportunity-sidebar-logo img {
    max-height: 2rem;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity var(--opportunity-sidebar-transition), width var(--opportunity-sidebar-transition), height var(--opportunity-sidebar-transition);
}

/* Show inline logo when expanded, hide stacked logo */
.opportunity-sidebar .opportunity-logo-expanded {
    display: block;
}

.opportunity-sidebar .opportunity-logo-collapsed {
    display: none;
}

.opportunity-sidebar.collapsed .opportunity-sidebar-logo {
    padding: 1.25rem 0.5rem;
    justify-content: center;
}

/* Hide inline logo when collapsed, show stacked logo */
.opportunity-sidebar.collapsed .opportunity-logo-expanded {
    display: none;
}

.opportunity-sidebar.collapsed .opportunity-logo-collapsed {
    display: block;
    max-height: 2.5rem;
    max-width: 100%;
    width: auto;
    height: auto;
}

.opportunity-sidebar.collapsed {
    width: var(--opportunity-sidebar-collapsed-width);
}

/* Ensure no gap when collapsed */
.opportunity-sidebar.collapsed {
    box-shadow: 1px 0 0 rgba(0, 0, 0, 0.05), 2px 0 0 #fff;
}

.opportunity-sidebar-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
}

/* Allow tooltip overflow when collapsed */
.opportunity-sidebar.collapsed {
    overflow: visible;
}

.opportunity-sidebar.collapsed .opportunity-sidebar-content {
    overflow-y: auto;
    overflow-x: hidden;
    /* Hide scrollbar but keep scrolling functionality */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.opportunity-sidebar.collapsed .opportunity-sidebar-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.opportunity-sidebar-footer {
    padding: 0.75rem;
    border-top: 1px solid var(--opportunity-color-border);
    overflow: visible;
}

/* OPPORTUNITY Sidebar Toggle Button - On Border */
.opportunity-sidebar-toggle {
    position: fixed;
    top: 1.25rem;
    left: calc(var(--opportunity-sidebar-width) - 0.875rem);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    margin: 0;
    background: #fff;
    border: 1px solid var(--opportunity-color-border);
    color: var(--opportunity-color-text-secondary);
    cursor: pointer;
    border-radius: 50%;
    z-index: 1050;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, left var(--opportunity-sidebar-transition);
}

.opportunity-sidebar-toggle:hover {
    background: var(--opportunity-color-primary);
    border-color: var(--opportunity-color-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(55, 125, 255, 0.3);
    transform: scale(1.1);
}

.opportunity-sidebar-toggle:active {
    transform: scale(0.95);
}

.opportunity-sidebar-toggle i {
    font-size: 0.875rem;
    line-height: 1;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.opportunity-sidebar.collapsed .opportunity-sidebar-toggle,
body.opportunity-sidebar-collapsed .opportunity-sidebar-toggle {
    left: calc(var(--opportunity-sidebar-collapsed-width) - 0.875rem);
}

.opportunity-sidebar.collapsed .opportunity-sidebar-toggle i,
body.opportunity-sidebar-collapsed .opportunity-sidebar-toggle i {
    transform: rotate(180deg);
}

/* OPPORTUNITY Logout Button */
.opportunity-sidebar-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.625rem 0.875rem;
    margin: 0 auto;
    color: var(--opportunity-color-danger);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: center;
}

.opportunity-sidebar-logout:hover {
    background: rgba(222, 68, 55, 0.1);
    color: var(--opportunity-color-danger);
}

.opportunity-sidebar-logout i {
    font-size: 1.125rem;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}

.opportunity-sidebar.collapsed .opportunity-sidebar-logout {
    justify-content: center;
    padding: 0.625rem;
    margin: 0 auto;
    width: calc(100% - 1rem);
}

.opportunity-sidebar.collapsed .opportunity-sidebar-logout span {
    display: none;
}

/* OPPORTUNITY Navigation Items */
.opportunity-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: visible;
}

.opportunity-sidebar-nav-item {
    margin: 0.125rem 0.75rem;
}

.opportunity-sidebar.collapsed .opportunity-sidebar-nav-item {
    margin: 0.125rem 0.5rem;
    overflow: visible;
}

.opportunity-sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    color: #1e2022;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 500;
}

.opportunity-sidebar-nav-link:hover {
    background: var(--opportunity-color-bg-light);
    color: var(--opportunity-color-text-primary);
}

.opportunity-sidebar-nav-link.active {
    background: rgba(55, 125, 255, 0.1);
    color: var(--opportunity-color-primary);
}

.opportunity-sidebar-nav-link i {
    font-size: 1.125rem;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #9ca3af;
    transition: color 0.15s ease;
}

.opportunity-sidebar-nav-link:hover i {
    color: #6b7280;
}

.opportunity-sidebar-nav-link.active i {
    color: var(--opportunity-color-primary);
}

/* Progress icon styles - circles and checkmarks */
.opportunity-sidebar-nav-link i.bi-circle {
    color: #9ca3af;
    font-size: 1.125rem;
}

.opportunity-sidebar-nav-link i.bi-check-circle-fill {
    font-size: 1.125rem;
}

.opportunity-sidebar-nav-link i.text-success {
    color: #10b981 !important; /* Green color for completed sections */
}

.opportunity-sidebar-nav-link:hover i.bi-circle {
    color: #6b7280;
}

.opportunity-sidebar-nav-link.active i.bi-circle {
    color: var(--opportunity-color-primary);
}

.opportunity-sidebar-nav-link.active i.bi-check-circle-fill {
    color: #10b981 !important; /* Keep green even when active */
}

/* Lock icon styling */
.opportunity-sidebar-nav-link .bi-lock-fill {
    margin-left: auto;
    color: #9ca3af;
    font-size: 0.875rem;
}

.opportunity-sidebar-nav-link:hover .bi-lock-fill {
    color: #6b7280;
}

/* Trial status styling */
.opportunity-sidebar-nav-link.opportunity-trial-status {
    cursor: default;
    pointer-events: none;
}

.opportunity-sidebar-nav-link.opportunity-trial-status i.bi-clock-history {
    color: #ffc107 !important;
}

.opportunity-sidebar-nav-link.opportunity-trial-status:hover {
    background: transparent;
}

/* Help section - show/hide based on collapsed state */
.opportunity-sidebar .opportunity-help-collapsed {
    display: none;
}

.opportunity-sidebar .opportunity-help-expanded {
    display: block;
}

.opportunity-sidebar.collapsed .opportunity-help-collapsed {
    display: block;
}

.opportunity-sidebar.collapsed .opportunity-help-expanded {
    display: none;
}

.opportunity-sidebar-nav-text {
    opacity: 1;
    transition: opacity 0.15s ease;
}

.opportunity-sidebar.collapsed .opportunity-sidebar-nav-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.opportunity-sidebar.collapsed .opportunity-sidebar-nav-link {
    justify-content: center;
    align-items: center;
    padding: 0.625rem;
    gap: 0;
}

.opportunity-sidebar.collapsed .opportunity-sidebar-nav-link i {
    margin: 0 auto;
}

/* OPPORTUNITY Section Label */
.opportunity-sidebar-section-label {
    padding: 1rem 1.5rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--opportunity-color-text-secondary);
    white-space: nowrap;
    overflow: hidden;
}

.opportunity-sidebar-section-label:first-child {
    padding-top: 0.5rem;
}

.opportunity-sidebar.collapsed .opportunity-sidebar-section-label {
    text-align: center;
    padding: 1rem 0.5rem 0.5rem;
    cursor: pointer;
    position: relative;
}

.opportunity-sidebar.collapsed .opportunity-sidebar-section-label:first-child {
    padding-top: 0.5rem;
}

.opportunity-sidebar.collapsed .opportunity-sidebar-section-label span {
    display: none;
}

.opportunity-sidebar.collapsed .opportunity-sidebar-section-label::before {
    content: '•••';
    letter-spacing: 2px;
}

.opportunity-sidebar.collapsed .opportunity-sidebar-section-label:hover {
    opacity: 0.8;
}

/* Tooltip for collapsed state */
.opportunity-sidebar.collapsed .opportunity-sidebar-nav-link {
    position: relative;
}

.opportunity-sidebar.collapsed .opportunity-sidebar-nav-link::before {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 1rem);
    top: 50%;
    transform: translateY(-50%) translateX(4px);
    padding: 0.5rem 0.875rem;
    background: #1e2022;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 0.5rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1050;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Arrow pointing left */
.opportunity-sidebar.collapsed .opportunity-sidebar-nav-link::after {
    content: '';
    position: absolute;
    left: calc(100% + 0.5rem);
    top: 50%;
    transform: translateY(-50%) translateX(4px);
    border: 6px solid transparent;
    border-right-color: #1e2022;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1050;
    pointer-events: none;
}

.opportunity-sidebar.collapsed .opportunity-sidebar-nav-link:hover::before,
.opportunity-sidebar.collapsed .opportunity-sidebar-nav-link:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Tooltip for logout button when collapsed */
.opportunity-sidebar.collapsed .opportunity-sidebar-logout {
    position: relative;
}

.opportunity-sidebar.collapsed .opportunity-sidebar-logout::before {
    content: 'Logout';
    position: absolute;
    left: calc(100% + 1rem);
    top: 50%;
    transform: translateY(-50%) translateX(4px);
    padding: 0.5rem 0.875rem;
    background: #1e2022;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 0.5rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1050;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.opportunity-sidebar.collapsed .opportunity-sidebar-logout::after {
    content: '';
    position: absolute;
    left: calc(100% + 0.5rem);
    top: 50%;
    transform: translateY(-50%) translateX(4px);
    border: 6px solid transparent;
    border-right-color: #1e2022;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1050;
    pointer-events: none;
}

.opportunity-sidebar.collapsed .opportunity-sidebar-logout:hover::before,
.opportunity-sidebar.collapsed .opportunity-sidebar-logout:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* OPPORTUNITY Main Content */
.opportunity-main-content {
    flex: 1;
    margin-left: var(--opportunity-sidebar-width);
    transition: margin-left var(--opportunity-sidebar-transition);
    min-width: 0;
    position: relative;
}

#mainContent {
    padding-left: 25px;
}

.opportunity-sidebar.collapsed ~ .opportunity-main-content {
    margin-left: var(--opportunity-sidebar-collapsed-width);
}

/* Mobile responsive - breakpoint at 1200px */
@media (max-width: 1199.98px) {
    /* Hide desktop toggle button on mobile/tablet */
    .opportunity-sidebar-toggle {
        display: none !important;
    }

    .opportunity-sidebar {
        transform: translateX(-100%);
        width: var(--opportunity-sidebar-width) !important;
        z-index: 1040; /* Higher than sticky-md-top (1020) */
        /* Add smooth scrolling for mobile */
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .opportunity-sidebar.mobile-open {
        transform: translateX(0);
    }

    /* Sidebar is always expanded width on mobile */
    .opportunity-sidebar.collapsed {
        width: var(--opportunity-sidebar-width) !important;
    }

    /* Ensure all sidebar content is left-aligned on mobile */
    .opportunity-sidebar .opportunity-sidebar-nav-link,
    .opportunity-sidebar.collapsed .opportunity-sidebar-nav-link {
        justify-content: flex-start !important;
        text-align: left !important;
        align-items: center !important;
    }

    .opportunity-sidebar .opportunity-sidebar-nav-item,
    .opportunity-sidebar.collapsed .opportunity-sidebar-nav-item {
        text-align: left !important;
        margin: 0.125rem 0.75rem !important;
    }

    .opportunity-sidebar .opportunity-sidebar-section-label,
    .opportunity-sidebar.collapsed .opportunity-sidebar-section-label {
        text-align: left !important;
        padding: 1rem 1.5rem 0.5rem !important;
    }

    .opportunity-sidebar .opportunity-sidebar-logout,
    .opportunity-sidebar.collapsed .opportunity-sidebar-logout {
        justify-content: flex-start !important;
        text-align: left !important;
        align-items: center !important;
        padding: 0.625rem 0.875rem !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .opportunity-sidebar .opportunity-sidebar-logo,
    .opportunity-sidebar.collapsed .opportunity-sidebar-logo {
        justify-content: flex-start !important;
        padding: 1.25rem 1rem !important;
    }

    .opportunity-sidebar .opportunity-sidebar-logo a,
    .opportunity-sidebar.collapsed .opportunity-sidebar-logo a {
        justify-content: flex-start !important;
    }

    /* Override collapsed styles on mobile - always show full text */
    .opportunity-sidebar.collapsed .opportunity-sidebar-nav-text {
        opacity: 1 !important;
        width: auto !important;
        overflow: visible !important;
    }

    .opportunity-sidebar.collapsed .opportunity-sidebar-nav-link {
        justify-content: flex-start !important;
        padding: 0.625rem 0.875rem !important;
        gap: 0.75rem !important;
        align-items: center !important;
    }

    .opportunity-sidebar.collapsed .opportunity-sidebar-nav-link i {
        margin: 0 !important;
        text-align: center !important;
    }

    .opportunity-sidebar.collapsed .opportunity-logo-expanded {
        display: block !important;
    }

    .opportunity-sidebar.collapsed .opportunity-logo-collapsed {
        display: none !important;
    }

    .opportunity-sidebar.collapsed .opportunity-sidebar-logout span {
        display: inline !important;
    }

    .opportunity-sidebar.collapsed .opportunity-sidebar-logout {
        justify-content: flex-start !important;
        padding: 0.625rem 0.875rem !important;
        gap: 0.75rem !important;
    }

    .opportunity-sidebar.collapsed .opportunity-sidebar-section-label {
        text-align: left !important;
        padding: 1rem 1.5rem 0.5rem !important;
    }

    .opportunity-sidebar.collapsed .opportunity-sidebar-section-label:first-child {
        padding-top: 0.5rem !important;
    }

    .opportunity-sidebar.collapsed .opportunity-sidebar-section-label span {
        display: inline !important;
    }

    .opportunity-sidebar.collapsed .opportunity-sidebar-section-label span {
        display: inline !important;
    }

    .opportunity-sidebar.collapsed .opportunity-sidebar-section-label::before {
        content: none !important;
    }

    /* Always show expanded help card on mobile */
    .opportunity-sidebar .opportunity-help-collapsed,
    .opportunity-sidebar.collapsed .opportunity-help-collapsed {
        display: none !important;
    }

    .opportunity-sidebar .opportunity-help-expanded,
    .opportunity-sidebar.collapsed .opportunity-help-expanded {
        display: block !important;
    }

    /* Hide tooltips on mobile */
    .opportunity-sidebar.collapsed .opportunity-sidebar-nav-link::before,
    .opportunity-sidebar.collapsed .opportunity-sidebar-nav-link::after,
    .opportunity-sidebar.collapsed .opportunity-sidebar-logout::before,
    .opportunity-sidebar.collapsed .opportunity-sidebar-logout::after {
        display: none !important;
    }

    .opportunity-sidebar-content {
        /* Ensure proper scrolling on mobile */
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        /* Prevent body scroll when sidebar is open */
        touch-action: pan-y;
    }
    
    /* Prevent body scroll when mobile sidebar is open */
    body.opportunity-sidebar-mobile-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    /* Ensure main content doesn't scroll when sidebar is open */
    body.opportunity-sidebar-mobile-open .opportunity-main-content {
        overflow: hidden;
        touch-action: none;
    }

    .opportunity-main-content {
        margin-left: 0 !important;
    }

    .opportunity-mobile-sidebar-toggle {
        display: flex !important;
        position: fixed;
        top: 50%;
        left: 0.875rem;
        transform: translateY(-50%);
        width: 2.5rem;
        height: 2.5rem;
        background: #fff;
        border: 1px solid var(--opportunity-color-border);
        color: var(--opportunity-color-text-secondary);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        z-index: 1045; /* Above mobile sidebar (1040) */
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        pointer-events: auto;
        transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                    background 0.2s ease,
                    border-color 0.2s ease,
                    box-shadow 0.2s ease;
    }

    /* When sidebar is open, slide button to right edge of sidebar */
    body.opportunity-sidebar-mobile-open .opportunity-mobile-sidebar-toggle {
        left: calc(var(--opportunity-sidebar-width) - 0.875rem);
        transform: translateY(-50%) scale(1.05);
    }

    .opportunity-mobile-sidebar-toggle:hover {
        background: var(--opportunity-color-primary);
        border-color: var(--opportunity-color-primary);
        color: #fff;
        box-shadow: 0 4px 16px rgba(55, 125, 255, 0.4);
        transform: translateY(-50%) scale(1.1);
    }

    body.opportunity-sidebar-mobile-open .opportunity-mobile-sidebar-toggle:hover {
        transform: translateY(-50%) scale(1.15);
    }

    .opportunity-mobile-sidebar-toggle:active {
        transform: translateY(-50%) scale(0.95) !important;
    }

    body.opportunity-sidebar-mobile-open .opportunity-mobile-sidebar-toggle:active {
        transform: translateY(-50%) scale(1) !important;
    }

    .opportunity-mobile-sidebar-toggle i {
        font-size: 1.125rem;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        position: absolute;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    /* Icon switching - show menu when closed, X when open */
    .opportunity-mobile-sidebar-toggle .opportunity-mobile-toggle-icon-closed {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

    .opportunity-mobile-sidebar-toggle .opportunity-mobile-toggle-icon-open {
        opacity: 0;
        transform: scale(0.5) rotate(90deg);
    }

    body.opportunity-sidebar-mobile-open .opportunity-mobile-sidebar-toggle .opportunity-mobile-toggle-icon-closed {
        opacity: 0;
        transform: scale(0.5) rotate(-90deg);
    }

    body.opportunity-sidebar-mobile-open .opportunity-mobile-sidebar-toggle .opportunity-mobile-toggle-icon-open {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        display: flex !important;
    }

    /* Larger button on smaller screens */
    @media (max-width: 575.98px) {
        .opportunity-mobile-sidebar-toggle {
            width: 3rem;
            height: 3rem;
        }

        .opportunity-mobile-sidebar-toggle i {
            font-size: 1.375rem;
        }
    }

    .opportunity-sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1035; /* Just below mobile sidebar (1040), above sticky elements (1020) */
    }

    .opportunity-sidebar.mobile-open ~ .opportunity-sidebar-overlay {
        display: block;
    }
}

/* Base mobile toggle button - hidden on desktop, shown in media query */
.opportunity-mobile-sidebar-toggle {
    display: none;
}

/* Hide navbar logo when Opportunity sidebar is visible (all screen sizes) */
body.has-opportunity-sidebar .navbar-brand {
    display: none;
}

/* Show navbar logo on mobile when Opportunity sidebar is present */
@media (max-width: 1199.98px) {
    body.has-opportunity-sidebar .navbar-brand {
        display: block;
    }
}

