/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* PAGE WRAPPER */
.page[b-e4onxld9xf] {
    position: relative;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* SIDEBAR */
.sidebar[b-e4onxld9xf] {
    width: 250px;
    min-width: 200px;
    max-width: 500px;
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    position: sticky;
    top: 0;
    display: flex; /* 🔥 KEY */
    flex-direction: column; /* 🔥 KEY */
    overflow: hidden;
    transition: width 0.3s ease; /* Smooth width transitions */
}


/* DRAGGABLE DIVIDER */
.divider[b-e4onxld9xf] {
    width: 4px;
    background-color: #d1d5db;
    cursor: col-resize;
    position: relative;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.divider:hover[b-e4onxld9xf] {
    background-color: #9ca3af;
}

.divider.dragging[b-e4onxld9xf] {
    background-color: #6b7280;
}

.divider[b-e4onxld9xf]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.divider:hover[b-e4onxld9xf]::before {
    opacity: 1;
}

/* MAIN AREA */
main[b-e4onxld9xf] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background-color: #f7f7f7;
}

/* TOP BAR */
.top-row[b-e4onxld9xf] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 1;
}

    .top-row[b-e4onxld9xf]  a,
    .top-row[b-e4onxld9xf]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-e4onxld9xf]  a:hover,
        .top-row[b-e4onxld9xf]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-e4onxld9xf]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

/* CONTENT SCROLLER */
article[b-e4onxld9xf] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding-left: 2rem;
    padding-right: 1.5rem;
}

/* MOBILE */
@media (max-width: 640.98px) {
    .page[b-e4onxld9xf] {
        flex-direction: column;
    }

    .sidebar[b-e4onxld9xf] {
        width: 100%;
        position: relative;
    }

    .divider[b-e4onxld9xf] {
        display: none;
    }

    .top-row[b-e4onxld9xf] {
        justify-content: space-between;
    }

        .top-row[b-e4onxld9xf]  a,
        .top-row[b-e4onxld9xf]  .btn-link {
            margin-left: 0;
        }
}

/* DESKTOP */
@media (min-width: 641px) {
    .page[b-e4onxld9xf] {
        flex-direction: row;
    }
}

/* WIDER SIDEBAR WHEN RIGHT PANEL IS HIDDEN */
@media (min-width: 1025px) {
    /* When screen is wide enough for both panels */
    .sidebar[b-e4onxld9xf] {
        width: 250px; /* Default width */
    }
}

@media (min-width: 641px) and (max-width: 992px) {
    /* Right panel stacks/hides - use widget-sized sidebar */
    .sidebar[b-e4onxld9xf] {
        width: 200px;
    }
}

/* ERROR UI */
#blazor-error-ui[b-e4onxld9xf] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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-e4onxld9xf] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ================================
   Navbar / Layout
   ================================ */

.navbar-toggler[b-2q74ux9xmp] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,255,0.55%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255,255,255,0.1);
}

    .navbar-toggler:checked[b-2q74ux9xmp] {
        background-color: rgba(255,255,255,0.5);
    }

.top-row[b-2q74ux9xmp] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-2q74ux9xmp] {
    font-size: 1.1rem;
}

/* ================================
   Navigation Column (CRITICAL)
   ================================ */

.settings-left-column[b-2q74ux9xmp] {
    display: flex; /* 🔥 REQUIRED */
    flex-direction: column; /* 🔥 REQUIRED */
    align-items: stretch;
    height: auto;
    min-height: 0;
}

/* ================================
   Navigation Items
   ================================ */

.nav-item[b-2q74ux9xmp] {
    font-size: 0.9rem;
    padding: 0;
    margin: 0;
}

    .nav-item:first-of-type[b-2q74ux9xmp] {
        padding-top: 1rem;
    }

    .nav-item[b-2q74ux9xmp]  .nav-link {
        color: #d7d7d7;
        width: 100%;
        height: 3.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .nav-item[b-2q74ux9xmp]  .bi {
        width: 1.4rem;
        height: 1.4rem;
        margin: 0;
        display: block;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .nav-item[b-2q74ux9xmp]  a.active {
        background-color: rgba(255,255,255,0.37);
        color: white;
    }

/* ================================
   Scroll Behavior (THIS WAS THE BUG)
   ================================ */

.nav-scrollable[b-2q74ux9xmp] {
    display: none;
    /* 🔥 HARD STOP — NO FLEX GROW */
    flex: 0 0 auto;
    height: auto;
    margin: 0;
    padding: 0;
}

.navbar-toggler:checked ~ .nav-scrollable[b-2q74ux9xmp] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-2q74ux9xmp] {
        display: none;
    }

    .nav-scrollable[b-2q74ux9xmp] {
        display: block;
        /* 🔥 STILL NO FLEX GROW */
        flex: 0 0 auto;
        height: auto;
        overflow: visible;
        margin: 0;
        padding: 0;
    }
}

/* ================================
   Ring Layout
   ================================ */

.nav-rings.vertical[b-2q74ux9xmp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    /* 🔥 Divider sits immediately under Settings */
    padding: 0.15rem 0.4rem 0.6rem 0.4rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ================================
   Responsive Ring Layout
   ================================ */

@media (min-width: 641px) and (max-width: 799px) {
    /* Compact mode - smaller minimum width */
    .nav-rings.vertical[b-2q74ux9xmp] {
        flex: 1;
        justify-content: space-around;
        padding: 0.3rem 0.15rem;
        gap: 0.5rem;
    }
    
    .nav-rings .ring-container[b-2q74ux9xmp] {
        max-width: 120px;
    }
    
    .nav-rings .ring-container.full-width[b-2q74ux9xmp] {
        max-width: 120px;
    }
    
    .nav-rings .ring-text[b-2q74ux9xmp] {
        font-size: 2.6px;
    }
}

@media (min-width: 800px) and (max-width: 899px) {
    /* Small range - a bit more space */
    .nav-rings.vertical[b-2q74ux9xmp] {
        flex: 1;
        justify-content: space-around;
        padding: 0.75rem 0.4rem;
        max-width: none;
    }
    
    .nav-rings .ring-container[b-2q74ux9xmp] {
        max-width: 150px;
    }
    
    .nav-rings .ring-container.full-width[b-2q74ux9xmp] {
        max-width: 150px;
    }
    
    .nav-rings .ring-text[b-2q74ux9xmp] {
        font-size: 3.6px;
    }
}

@media (min-width: 900px) and (max-width: 1024px) {
    /* Medium range - larger rings */
    .nav-rings.vertical[b-2q74ux9xmp] {
        padding: 1.05rem 0.4rem;
        gap: 1rem;
    }
    
    .nav-rings .ring-container[b-2q74ux9xmp] {
        max-width: 180px;
    }
    
    .nav-rings .ring-container.full-width[b-2q74ux9xmp] {
        max-width: 180px;
    }
    
    .nav-rings .ring-text[b-2q74ux9xmp] {
        font-size: 4px;
    }
    
    /* Adjust ring labels for better readability */
    .nav-rings .ring-label[b-2q74ux9xmp] {
        font-size: 0.75rem;
    }
}

/* WIDER SCREEN OPTIMIZATION */
@media (min-width: 1025px) {
    /* Optimize for very wide screens when both panels visible */
    .nav-rings.vertical[b-2q74ux9xmp] {
        padding: 0.25rem 0.75rem 1rem 0.75rem;
        gap: 1rem;
    }
    
    .ring-container.full-width[b-2q74ux9xmp] {
        max-width: 150px;
    }
}

/* ================================
   Ring Containers
   ================================ */

.ring-container[b-2q74ux9xmp] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .ring-container.full-width[b-2q74ux9xmp] {
        max-width: 220px;
    }

    .ring-container.big[b-2q74ux9xmp] {
        max-width: 260px;
    }

.ring[b-2q74ux9xmp] {
    width: 100%;
    aspect-ratio: 1 / 1;
}

/* ================================
   Ring Segments
   ================================ */

.ring-bg[b-2q74ux9xmp] {
    fill: none;
    stroke: rgba(255,255,255,0.15);
    stroke-width: 3;
}

.ring-progress[b-2q74ux9xmp] {
    fill: none;
    stroke-width: 3;
    stroke-linecap: butt;
    transform: rotate(-90deg);
    transform-origin: center;
}

    .ring-progress.green[b-2q74ux9xmp] {
        stroke: #2ecc71;
    }

    .ring-progress.red[b-2q74ux9xmp] {
        stroke: #e63946;
    }

/* ================================
   Ring Text
   ================================ */

.ring-text[b-2q74ux9xmp] {
    font-size: 4px;
    font-weight: 600;
}

    .ring-text.buy[b-2q74ux9xmp] {
        fill: #2ecc71;
    }

    .ring-text.sell[b-2q74ux9xmp] {
        fill: #e63946;
    }

    .ring-text.status[b-2q74ux9xmp] {
        fill: #f1faee;
    }

/* ================================
   Ring Labels
   ================================ */

.ring-label[b-2q74ux9xmp] {
    margin-top: 0.4rem;
    font-size: 0.6rem;
    font-weight: 500;
    color: #e0e0e0;
}

/* ================================
   Mobile
   ================================ */

@media (max-width: 640px) {
    .nav-rings[b-2q74ux9xmp] {
        display: none;
    }

    .navbar-toggler[b-2q74ux9xmp] {
        display: none;
    }

    .nav-item[b-2q74ux9xmp] {
        display: none;
    }
}

/* ================================
   Execute State Visibility
   ================================ */

.execute .ring-text[b-2q74ux9xmp] {
    opacity: 0.25;
}

.execute.standby .ring-text.status[b-2q74ux9xmp] {
    opacity: 1;
}

.execute.buy .ring-text.buy[b-2q74ux9xmp] {
    opacity: 1;
}

.execute.sell .ring-text.sell[b-2q74ux9xmp] {
    opacity: 1;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-qgq6f2dzz2],
.components-reconnect-repeated-attempt-visible[b-qgq6f2dzz2],
.components-reconnect-failed-visible[b-qgq6f2dzz2],
.components-pause-visible[b-qgq6f2dzz2],
.components-resume-failed-visible[b-qgq6f2dzz2],
.components-rejoining-animation[b-qgq6f2dzz2] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-qgq6f2dzz2],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-qgq6f2dzz2],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-qgq6f2dzz2],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-qgq6f2dzz2],
#components-reconnect-modal.components-reconnect-retrying[b-qgq6f2dzz2],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-qgq6f2dzz2],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-qgq6f2dzz2],
#components-reconnect-modal.components-reconnect-failed[b-qgq6f2dzz2],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-qgq6f2dzz2] {
    display: block;
}


#components-reconnect-modal[b-qgq6f2dzz2] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-qgq6f2dzz2 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-qgq6f2dzz2 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-qgq6f2dzz2 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-qgq6f2dzz2]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-qgq6f2dzz2 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-qgq6f2dzz2 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-qgq6f2dzz2 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-qgq6f2dzz2 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-qgq6f2dzz2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-qgq6f2dzz2] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-qgq6f2dzz2] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-qgq6f2dzz2] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-qgq6f2dzz2] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-qgq6f2dzz2] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-qgq6f2dzz2] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-qgq6f2dzz2 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-qgq6f2dzz2] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-qgq6f2dzz2 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.progress-status[b-nb2rzi748j] {
    font-size: 0.95rem;
    color: #6b7280; /* slate-500 */
}
.progress-working[b-nb2rzi748j] {
    color: #6b7280;
}

.progress-working time[b-nb2rzi748j],
.progress-working span[b-nb2rzi748j] {
    opacity: 0.75;
}

/* BUY */
.form-check-input.buy-check:checked[b-nb2rzi748j] {
    background-color: #16a34a;
    border-color: #16a34a;
    box-shadow: 0 0 0 0.15rem rgba(22,163,74,.25);
}

/* SELL */
.form-check-input.sell-check:checked[b-nb2rzi748j] {
    background-color: #dc2626;
    border-color: #dc2626;
    box-shadow: 0 0 0 0.15rem rgba(220,38,38,.25);
}

/* Reverse flips meaning */
.form-check-input.reverse-checkbox.buy-check:checked[b-nb2rzi748j] {
    background-color: #dc2626;
    border-color: #dc2626;
}

.form-check-input.reverse-checkbox.sell-check:checked[b-nb2rzi748j] {
    background-color: #16a34a;
    border-color: #16a34a;
}

.signal-cell[b-nb2rzi748j] {
    cursor: pointer;
}
/* ---------- Progress Container ---------- */
.top-controls-row[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filters-inline[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.progress-inline[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 420px;
    min-width: 280px;
}

.progress-inline-bar[b-nb2rzi748j] {
    flex: 1 1 240px;
    min-width: 140px;
}

/* ---------- Progress Bar ---------- */
.modern-progress[b-nb2rzi748j] {
    height: 12px;
    width: 100%;
    background: rgba(0,0,0,0.08);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.15);
}

.modern-progress-bar[b-nb2rzi748j] {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient( 90deg, #22c55e 0%, #16a34a 50%, #15803d 100% );
    transition: width 0.35s ease-in-out;
}

/* ---------- Meta Row ---------- */

.progress-meta[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 0.9rem;
    color: #6b7280; /* slate-500 */
    gap: 8px;
}

.progress-meta > .progress-status-inline[b-nb2rzi748j] {
    margin-right: auto;
}

.progress-meta .percent[b-nb2rzi748j] {
    opacity: 0.7;
    margin-left: 2px;
}

.progress-meta-right[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.progress-status-inline[b-nb2rzi748j] {
    font-size: 0.85rem;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.progress-count[b-nb2rzi748j] {
    white-space: nowrap;
}

/* ---------- Reset Button ---------- */
.reset-btn[b-nb2rzi748j] {
    border: none;
    background: transparent;
    font-size: 1rem; /* icon size */
    color: #9ca3af;
    cursor: pointer;
    min-width: 28px; /* 👈 makes it wider */
    padding: 4px 8px; /* balanced click area */

    border-radius: 8px;
    transition: all 0.15s ease;
    display: inline-flex; /* perfect centering */
    align-items: center;
    justify-content: center;
}


.reset-btn:hover:not(:disabled)[b-nb2rzi748j] {
    color: #ef4444; /* red-500 */
    background: rgba(239,68,68,0.08);
}

.reset-btn:disabled[b-nb2rzi748j] {
    opacity: 0.35;
    cursor: default;
}

/* ================= GROUP SLIDER STYLES ================= */
.group-slider-container[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.group-slider[b-nb2rzi748j] {
    position: relative;
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.slider-fill[b-nb2rzi748j] {
    position: absolute;
    height: 100%;
    transition: width 0.3s ease;
}

.buy-fill[b-nb2rzi748j] {
    background: linear-gradient(90deg, #22c55e, #16a34a);
    left: 0;
    border-radius: 4px 0 0 4px;
}

.sell-fill[b-nb2rzi748j] {
    background: linear-gradient(90deg, #dc2626, #b91c1c);
    right: 0;
    border-radius: 0 4px 4px 0;
}

.slider-labels[b-nb2rzi748j] {
    display: flex;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 30px;
}

.buy-label[b-nb2rzi748j] {
    color: #16a34a;
}

.sell-label[b-nb2rzi748j] {
    color: #dc2626;
}

/* Slider state classes for overall group sentiment */
.group-slider.buy[b-nb2rzi748j] {
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.group-slider.sell[b-nb2rzi748j] {
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.group-slider.strong-buy[b-nb2rzi748j] {
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.4);
}

.group-slider.strong-sell[b-nb2rzi748j] {
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.4);
}

.group-slider.neutral[b-nb2rzi748j] {
    box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.2);
}

/* ================= MAIN THREE-COLUMN LAYOUT ================= */
.home-layout[b-nb2rzi748j] {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    align-items: start;
    margin-top: 16px;
}

.alerts-table[b-nb2rzi748j] {
    min-width: 0;
}

.sequence-toggle-btn[b-nb2rzi748j] {
    border: 1px solid rgba(30, 58, 138, 0.4);
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 999px;
    line-height: 1.3;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.sequence-toggle-btn:hover[b-nb2rzi748j] {
    background: #dbeafe;
    border-color: rgba(30, 58, 138, 0.65);
    color: #1e40af;
}

.sequence-toggle-btn--active[b-nb2rzi748j] {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

.sequence-toggle-btn--active:hover[b-nb2rzi748j] {
    background: #1e40af;
    border-color: #1e40af;
    color: #ffffff;
}

/* ================= INDICATOR CARDS PANEL ================= */
.indicator-panel[b-nb2rzi748j] {
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.indicator-panel-header[b-nb2rzi748j] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.indicator-panel-body[b-nb2rzi748j] {
    display: block;
}

.indicator-panel-title[b-nb2rzi748j] {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.indicator-panel-subtitle[b-nb2rzi748j] {
    font-size: 0.9rem;
    color: #6b7280;
}

.indicator-groups[b-nb2rzi748j] {
    display: grid;
    gap: 12px;
}

.indicator-group[b-nb2rzi748j] {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 12px;
    background: #ffffff;
}

.indicator-group-header[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 8px;
    background: #1d4ed8;
    padding: 8px 10px;
    border-radius: 8px;
}

.indicator-group-title[b-nb2rzi748j] {
    font-weight: 700;
    color: #ffffff;
}

.indicator-group-count[b-nb2rzi748j] {
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.indicator-cards[b-nb2rzi748j] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.indicator-subgroup[b-nb2rzi748j] {
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 12px;
    padding: 10px 12px 12px;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
}

.indicator-subgroup-header[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.indicator-subgroup-toggle[b-nb2rzi748j] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 2px 6px 2px 4px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.indicator-subgroup-toggle:hover[b-nb2rzi748j] {
    border-color: rgba(17, 24, 39, 0.16);
    background: rgba(17, 24, 39, 0.04);
}

.indicator-subgroup-chevron[b-nb2rzi748j] {
    display: inline-flex;
    font-size: 0.85rem;
    transition: transform 0.15s ease;
    color: #6b7280;
}

.indicator-subgroup-title[b-nb2rzi748j] {
    font-weight: 700;
    color: #1f2937;
}

.indicator-subgroup-count[b-nb2rzi748j] {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-weight: 600;
}

.indicator-subgroup-cards[b-nb2rzi748j] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.indicator-subgroup.is-collapsed .indicator-subgroup-chevron[b-nb2rzi748j] {
    transform: rotate(-90deg);
}

.indicator-subgroup.is-collapsed .indicator-subgroup-cards[b-nb2rzi748j] {
    display: none;
}

.indicator-card[b-nb2rzi748j] {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    background: #f9fafb;
    cursor: grab;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.indicator-card--buy[b-nb2rzi748j] {
    background: #ecfdf3;
    border-color: rgba(22, 163, 74, 0.35);
}

.indicator-card--sell[b-nb2rzi748j] {
    background: #fef2f2;
    border-color: rgba(220, 38, 38, 0.35);
}

.indicator-card--neutral[b-nb2rzi748j] {
    background: #f3f4f6;
    border-color: rgba(107, 114, 128, 0.35);
}

/* ================= SEQUENCE LANE ================= */
.sequence-lane[b-nb2rzi748j] {
    border: 1px dashed rgba(17, 24, 39, 0.2);
    border-radius: 12px;
    padding: 12px;
    min-height: 220px;
    background: linear-gradient(180deg, rgba(243, 244, 246, 0.7) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.sequence-groups[b-nb2rzi748j] {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.sequence-group[b-nb2rzi748j] {
    flex: 0 0 244px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 10px;
    padding: 10px 12px 12px;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    position: relative;
    overflow: hidden;
    --sequence-flash-rgb: 16, 185, 129;
}

.sequence-group:hover[b-nb2rzi748j] {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.sequence-group--selected[b-nb2rzi748j] {
    border-color: rgba(37, 99, 235, 0.7);
    background: rgba(239, 246, 255, 0.9);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.sequence-group--complete[b-nb2rzi748j] {
    animation: sequence-group-flash-b-nb2rzi748j 1s cubic-bezier(0.2, 0.9, 0.3, 1) 1;
}

.sequence-group.sequence-flash--sell[b-nb2rzi748j] {
    --sequence-flash-rgb: 239, 68, 68;
}

.sequence-group.sequence-flash--neutral[b-nb2rzi748j] {
    --sequence-flash-rgb: 107, 114, 128;
}

@keyframes sequence-group-flash-b-nb2rzi748j {
    0% {
        border-color: rgba(var(--sequence-flash-rgb), 0.95);
        box-shadow: 0 0 0 rgba(var(--sequence-flash-rgb), 0.0);
        background: rgba(var(--sequence-flash-rgb), 0.22);
        transform: scale(1);
    }
    12% {
        border-color: rgba(var(--sequence-flash-rgb), 1);
        box-shadow: 0 0 0 2px rgba(var(--sequence-flash-rgb), 0.6), 0 16px 30px rgba(var(--sequence-flash-rgb), 0.55);
        background: rgba(var(--sequence-flash-rgb), 0.32);
        transform: scale(1.02);
    }
    22% {
        border-color: rgba(var(--sequence-flash-rgb), 0.3);
        box-shadow: 0 0 0 rgba(var(--sequence-flash-rgb), 0.0);
        background: rgba(var(--sequence-flash-rgb), 0.08);
        transform: scale(1);
    }
    34% {
        border-color: rgba(var(--sequence-flash-rgb), 1);
        box-shadow: 0 0 0 2px rgba(var(--sequence-flash-rgb), 0.55), 0 18px 34px rgba(var(--sequence-flash-rgb), 0.5);
        background: rgba(var(--sequence-flash-rgb), 0.3);
        transform: scale(1.018);
    }
    44% {
        border-color: rgba(var(--sequence-flash-rgb), 0.4);
        box-shadow: 0 0 0 rgba(var(--sequence-flash-rgb), 0.0);
        background: rgba(var(--sequence-flash-rgb), 0.08);
        transform: scale(1);
    }
    60% {
        border-color: rgba(var(--sequence-flash-rgb), 0.85);
        box-shadow: 0 0 0 1px rgba(var(--sequence-flash-rgb), 0.35), 0 12px 26px rgba(var(--sequence-flash-rgb), 0.45);
        background: rgba(var(--sequence-flash-rgb), 0.22);
        transform: scale(1.01);
    }
    100% {
        border-color: rgba(17, 24, 39, 0.08);
        box-shadow: none;
        background: rgba(255, 255, 255, 0.7);
        transform: scale(1);
    }
}

.sequence-group-header[b-nb2rzi748j] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    gap: 8px;
    flex-wrap: nowrap;
    width: 100%;
}


.sequence-group-meta[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.8rem;
    color: #6b7280;
}

.sequence-group-ticker[b-nb2rzi748j] {
    font-weight: 700;
    color: #111827;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.sequence-group-count[b-nb2rzi748j] {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 520px) {
    .sequence-group-meta[b-nb2rzi748j] {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .sequence-group-gear[b-nb2rzi748j] {
        align-self: flex-end;
    }
}

.sequence-group-meters[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: space-between;
    flex: 1 1 auto;
}

.sequence-meter[b-nb2rzi748j] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1 1 0;
}

.sequence-meter-label[b-nb2rzi748j] {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.sequence-meter-bar[b-nb2rzi748j] {
    height: 6px;
    width: 100%;
    display: flex;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.sequence-meter-bar.is-neutral[b-nb2rzi748j] {
    background: rgba(107, 114, 128, 0.2);
}

.sequence-meter-fill[b-nb2rzi748j] {
    height: 100%;
}

.sequence-meter-fill.buy[b-nb2rzi748j] {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.sequence-meter-fill.sell[b-nb2rzi748j] {
    background: linear-gradient(90deg, #f87171, #dc2626);
}

.sequence-group-gear[b-nb2rzi748j] {
    position: static;
    border: 1px solid rgba(37, 99, 235, 0.35);
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    height: 24px;
    width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(30, 64, 175, 0.15);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
    flex: 0 0 auto;
}

.sequence-group-gear:hover[b-nb2rzi748j] {
    background: #dbeafe;
    border-color: rgba(30, 64, 175, 0.6);
    color: #1e3a8a;
    transform: translateY(-1px);
}

.ticker-settings-backdrop[b-nb2rzi748j] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1200;
}

.ticker-settings-modal[b-nb2rzi748j] {
    position: fixed;
    inset: 8% 12% auto;
    max-height: 84vh;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    z-index: 1210;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ticker-settings-header[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    background: #f8fafc;
}

.ticker-settings-title[b-nb2rzi748j] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.ticker-settings-subtitle[b-nb2rzi748j] {
    font-size: 0.9rem;
    color: #64748b;
}

.ticker-settings-close[b-nb2rzi748j] {
    border: none;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    color: #475569;
    cursor: pointer;
    padding: 0 6px;
}

.ticker-settings-close:hover[b-nb2rzi748j] {
    color: #0f172a;
}

.ticker-settings-body[b-nb2rzi748j] {
    padding: 16px;
    overflow: auto;
}

.ticker-settings-empty[b-nb2rzi748j] {
    padding: 24px;
    border: 1px dashed rgba(148, 163, 184, 0.5);
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.8);
    color: #64748b;
    text-align: center;
}

[b-nb2rzi748j] .sound-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 8px;
}

[b-nb2rzi748j] .sound-actions .btn {
    width: 100%;
}

[b-nb2rzi748j] .sound-volume {
    margin-top: 12px;
}

[b-nb2rzi748j] .sound-volume-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

[b-nb2rzi748j] .sound-volume-label {
    margin-bottom: 0;
    white-space: nowrap;
    font-size: 0.85rem;
    color: #6b7280;
}

[b-nb2rzi748j] .sound-range {
    flex: 1 1 auto;
    width: auto;
}

@media (max-width: 520px) {
    [b-nb2rzi748j] .sound-volume-row {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    [b-nb2rzi748j] .sound-volume-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 900px) {
    .ticker-settings-modal[b-nb2rzi748j] {
        inset: 4% 4% auto;
    }
}

@media (max-width: 640px) {
    .ticker-settings-modal[b-nb2rzi748j] {
        inset: 0;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .ticker-settings-header[b-nb2rzi748j] {
        padding: 14px 16px;
    }

    .ticker-settings-body[b-nb2rzi748j] {
        padding: 16px;
    }

    .ticker-settings-title[b-nb2rzi748j] {
        font-size: 1rem;
    }

    .ticker-settings-subtitle[b-nb2rzi748j] {
        font-size: 0.85rem;
    }
}

.sequence-lane-header[b-nb2rzi748j] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.sequence-lane-title[b-nb2rzi748j] {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.sequence-lane-subtitle[b-nb2rzi748j] {
    font-size: 0.85rem;
    color: #6b7280;
}

.sequence-cards[b-nb2rzi748j] {
    display: grid;
    gap: var(--sequence-card-gap);
}

.sequence-card[b-nb2rzi748j] {
    cursor: grab;
    min-height: var(--sequence-card-height);
}

.sequence-empty[b-nb2rzi748j] {
    border: 1px dashed rgba(107, 114, 128, 0.4);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    color: #6b7280;
    background: rgba(243, 244, 246, 0.6);
}

@media (max-width: 1200px) {
    .home-layout[b-nb2rzi748j] {
        grid-template-columns: 1fr;
    }
}

/* Mobile font size improvements */
@media (max-width: 768px) {
    html[b-nb2rzi748j], body[b-nb2rzi748j] {
        font-size: 14px !important; /* Larger font for mobile */
    }
    
    .table[b-nb2rzi748j] {
        font-size: 13px;
    }
    
    .table th[b-nb2rzi748j] {
        font-size: 12px;
        padding: 0.5rem 0.25rem;
    }
    
    .table td[b-nb2rzi748j] {
        padding: 0.5rem 0.25rem;
    }
}

@media (max-width: 576px) {
    html[b-nb2rzi748j], body[b-nb2rzi748j] {
        font-size: 15px !important; /* Even larger for small phones */
    }
    
    .table[b-nb2rzi748j] {
        font-size: 12px;
    }
    
    .table th[b-nb2rzi748j] {
        font-size: 11px;
        padding: 0.4rem 0.2rem;
        /* Hide some column headers on very small screens */
    }
    
    .table th:nth-child(5)[b-nb2rzi748j],
    .table th:nth-child(6)[b-nb2rzi748j],
    .table th:nth-child(7)[b-nb2rzi748j] {
        display: none;
    }
    
    .table td[b-nb2rzi748j] {
        padding: 0.4rem 0.2rem;
    }
    
    /* Hide less critical columns on very small screens */
    .table td:nth-child(5)[b-nb2rzi748j],
    .table td:nth-child(6)[b-nb2rzi748j],
    .table td:nth-child(7)[b-nb2rzi748j] {
        display: none;
    }
    
    /* Make form controls larger on mobile */
    .form-select[b-nb2rzi748j] {
        font-size: 14px;
        padding: 0.5rem;
        min-height: 38px;
    }
    
    .form-check-input[b-nb2rzi748j] {
        width: 18px;
        height: 18px;
    }
    
    /* Make clickable areas larger */
    .clickable[b-nb2rzi748j] {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Adjust badge sizes for mobile */
    .badge[b-nb2rzi748j] {
        font-size: 0.7rem;
        padding: 0.35em 0.5em;
    }
}

.indicator-card:active[b-nb2rzi748j] {
    cursor: grabbing;
}

.indicator-card:hover[b-nb2rzi748j] {
    transform: translateY(-1px);
    border-color: rgba(17, 24, 39, 0.2);
    box-shadow: 0 8px 16px rgba(17, 24, 39, 0.08);
}

.indicator-card-title[b-nb2rzi748j] {
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.indicator-card-meta[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.85rem;
    color: #6b7280;
}

.indicator-card-tags[b-nb2rzi748j] {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.sequence-countdown[b-nb2rzi748j] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
}

.indicator-card-signal[b-nb2rzi748j] {
    font-weight: 600;
    color: #1f2937;
}

.indicator-card-ticker[b-nb2rzi748j] {
    font-weight: 600;
    text-transform: uppercase;
}

.indicator-card-action[b-nb2rzi748j] {
    border: 1px solid rgba(17, 24, 39, 0.2);
    background: #ffffff;
    color: #111827;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease;
}

.indicator-card-action:hover[b-nb2rzi748j] {
    border-color: rgba(17, 24, 39, 0.35);
    background: #f3f4f6;
}

/* Mobile touch improvements */
@media (max-width: 768px) {
    /* Larger touch targets for all interactive elements */
    .form-check-input[b-nb2rzi748j] {
        width: 20px;
        height: 20px;
        margin: 0.5rem;
    }
    
    /* Make signal cells more touch-friendly */
    .signal-cell[b-nb2rzi748j] {
        min-height: 44px;
        padding: 0.5rem;
    }
    
    /* Increase spacing between rows */
    .table tbody tr[b-nb2rzi748j] {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    /* Make reset button easier to tap */
    .reset-btn[b-nb2rzi748j] {
        min-width: 44px;
        min-height: 44px;
        padding: 8px 16px;
        font-size: 1.1rem;
    }
    
    /* Better ticker toggle spacing */
    .ticker-toggle[b-nb2rzi748j] {
        padding: 0.5rem;
        min-height: 44px;
    }
    
    /* Group slider touch improvements */
    .group-slider-container[b-nb2rzi748j] {
        min-height: 44px;
        padding: 0.5rem 0;
    }
    
    .slider-labels[b-nb2rzi748j] {
        font-size: 0.9rem;
        min-width: 40px;
    }
}

@media (max-width: 576px) {
    /* Extra touch improvements for very small screens */
    .form-check-input[b-nb2rzi748j] {
        width: 22px;
        height: 22px;
        margin: 0.75rem;
    }
    
    .signal-cell[b-nb2rzi748j] {
        min-height: 48px;
        padding: 0.75rem;
    }
    
    .reset-btn[b-nb2rzi748j] {
        min-height: 48px;
        padding: 10px 18px;
    }
    
    .ticker-toggle[b-nb2rzi748j] {
        min-height: 48px;
        padding: 0.75rem;
    }
}
/* /Components/Pages/Logs.razor.rz.scp.css */
.logs-toolbar-row[b-o2bq5bbf7j] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.logs-field[b-o2bq5bbf7j] {
    flex: 1 1 220px;
    min-width: 180px;
}

.logs-switch[b-o2bq5bbf7j] {
    flex: 0 0 auto;
}

.logs-actions[b-o2bq5bbf7j] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-left: auto;
}

.logs-filter-row[b-o2bq5bbf7j] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.logs-count[b-o2bq5bbf7j] {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 4px 0 10px;
}

.logs-list .list-group-item[b-o2bq5bbf7j] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.logs-list[b-o2bq5bbf7j] {
    max-height: calc(100vh - 320px);
    overflow: auto;
}

.log-line[b-o2bq5bbf7j] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.log-time[b-o2bq5bbf7j] {
    font-weight: 600;
    color: #111827;
}

.log-message[b-o2bq5bbf7j] {
    color: #111827;
    word-break: break-word;
}

.log-context[b-o2bq5bbf7j] {
    background: rgba(148, 163, 184, 0.25);
    color: #475569;
}

.log-level-debug[b-o2bq5bbf7j] {
    background: rgba(148, 163, 184, 0.4);
    color: #334155;
}

.log-level-info[b-o2bq5bbf7j] {
    background: rgba(37, 99, 235, 0.15);
    color: #1d4ed8;
}

.log-level-warning[b-o2bq5bbf7j] {
    background: rgba(245, 158, 11, 0.2);
    color: #b45309;
}

.log-level-error[b-o2bq5bbf7j] {
    background: rgba(239, 68, 68, 0.2);
    color: #b91c1c;
}

.log-level-critical[b-o2bq5bbf7j] {
    background: rgba(127, 29, 29, 0.25);
    color: #7f1d1d;
}

@media (max-width: 640px) {
    .logs-toolbar-row[b-o2bq5bbf7j] {
        align-items: stretch;
    }

    .logs-actions[b-o2bq5bbf7j] {
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
    }

    .logs-list[b-o2bq5bbf7j] {
        max-height: calc(100vh - 360px);
    }
}
