﻿/* Global responsive breakpoints — loaded first so component rules can override */
@import url('media.css');

body{
    font-feature-settings: 'lnum' 1 !important;
}

/* ── Per-color button focus rings (:focus-visible — keyboard only) ───────────
   border-color + outline per variant using semantic background tokens.
   Maps: Success=Positive | Danger=Negative | Secondary=Neutral | Info=Information
   ────────────────────────────────────────────────────────────────────────── */
.btn-check:focus + .btn, .btn:focus { box-shadow: none !important; }

/* Hide focus outline on mouse click — show only on keyboard (Tab) navigation.
   Bootstrap's per-variant :focus rules hardcode green for all variants.
   :focus:not(:focus-visible) matches mouse-triggered focus only. */
.btn:focus:not(:focus-visible) {
    box-shadow: none !important;
}

/* Tertiary — ghost (no border, muted white text) */
.btn-ghost-staticwhite {
    color: var(--interactive-text-staticwhite-subtle);
    background-color: var(--interactive-background-staticwhite-faded);
    border-color: transparent;
}
.btn-ghost-staticwhite:hover {
    color: var(--interactive-text-staticwhite-normal);
    background-color: var(--interactive-background-staticwhite-fadedHighlighted);
    border-color: transparent;
}
.btn-ghost-staticwhite:disabled,
.btn-ghost-staticwhite[disabled] {
    color: var(--interactive-text-staticwhite-disabled);
    background-color: var(--interactive-background-staticwhite-faded);
    border-color: transparent;
    opacity: 1;
}
.btn-ghost-staticwhite:active {
    background-color: var(--interactive-background-staticwhite-fadedHighlighted) !important;
    color: var(--interactive-text-staticwhite-normal) !important;
}

.lib-btn-card {
    color: var(--interactive-text-gray-normal);
}

.lib-btn-card:hover {
    color: var(--interactive-text-gray-normal);
    background-color: var(--interactive-text-gray-disabled);
}

.lib-btn-card:disabled {
    cursor:not-allowed;
}

.lib-btn-card:disabled > span:first-child {
    color: var(--lib-item-card-icon-disabled-bg-color);
}

.lib-btn-dropdown {
    border: none;
    background: transparent;
}

.lib-btn-dropdown > span {
    margin: 0 .25rem;
}

.lib-input-group-append {
    position: absolute;
    right: 0;
    padding: 0;
    display: flex;
    z-index: 4;
    height: 100%;
    width: auto;
    border-left: none;
    border-color: transparent;
    background: none;
    box-shadow: none;
}

.lib-dropdown-container {
    position: absolute;
    z-index: var(--lib-dropdown-z-index);
}

.lib-dropdown-container-context-menu {
    position: fixed;
    z-index: var(--lib-dropdown-context-menu-z-index);
}

.btn-dropdown {
    position: relative;
}


.lib-tab-header-sticky {
    position: fixed!important;
    top: var(--header-height);
    z-index: 100;
    background: var(--card-bg-intense);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Tab Scroll Container with Navigation Arrows */
.one-tab-scroll-container {
    position: relative;
    display: flex !important;
    align-items: center;
    width: 100%;
}

.one-tab-scroll-wrapper {
    flex: 1 1 auto;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    min-width: 0;
}

.one-tab-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Force tabs to stay on one line and be wider */
.one-tab-scroll-wrapper .nav-tabs {
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    min-width: max-content !important;
    padding-top: 4px;
}

.one-tab-scroll-wrapper .nav-tabs .nav-link,
.one-tab-scroll-wrapper .nav-tabs .nav-item {
    white-space: nowrap !important;
    border-bottom: 2px solid transparent;
}

.one-tab-scroll-btn {
    flex: 0 0 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease;
    color: var(--interactive-icon-gray-subtle) !important;
    opacity: 1 !important;
    z-index: 10 !important;
    padding: 6px !important;
    line-height: 1 !important;
    border-radius: var(--bradius-medium, 4px) !important;
}

.one-tab-scroll-btn:hover:not(:disabled) {
    background: transparent;
}

.one-tab-scroll-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.one-tab-scroll-btn:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
}

.one-tab-scroll-btn-left {
    margin-right: 4px;
    order: -1;
}

.one-tab-scroll-btn-right {
    margin-left: 4px;
    order: 1;
}

.one-tab-scroll-btn i,
.one-tab-scroll-btn .one-icon {
    font-size: 18px;
    color: currentColor;
}

/* Show scroll buttons when tabs overflow (all screen sizes) */
.one-tab-overflowing .one-tab-scroll-btn {
    display: flex !important;
    visibility: visible !important;
}

/* Larger touch targets on mobile/tablet */
@media (max-width: 991.98px) {
    .one-tab-scroll-btn {
        flex: 0 0 44px !important;
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 10px !important;
    }

    /* Show scroll buttons on mobile and tablet (regardless of overflow) */
    .one-tab-scroll-container .one-tab-scroll-btn,
    button.one-tab-scroll-btn,
    .ic-btn.one-tab-scroll-btn {
        display: flex !important;
        visibility: visible !important;
    }

    /* Hide vertical scroll buttons on mobile when HideScrollButtonsOnMobile is enabled */
    .one-tab-hide-scroll-mobile .one-tab-scroll-btn-up,
    .one-tab-hide-scroll-mobile .one-tab-scroll-btn-down {
        display: none !important;
    }

}

/* Dropdown overflow mode - hide tabs instead of scrolling */
.one-tab-dropdown-mode .one-tab-scroll-wrapper {
    overflow: hidden !important;
}

.one-tab-dropdown-mode .one-tab-scroll-wrapper .nav-tabs {
    min-width: max-content !important;
}

/* Dropdown overflow mode: JS uses inline style.display for hiding individual tabs */

.one-tab-dropdown-li {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    margin-left: 2px;
    padding: 0 4px;
}

/* Fill-parent-height mode: tab container fills its parent, panel scrolls internally */
.one-tab-fill-height {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

/* Nav row must not grow — panel takes the remaining space */
.one-tab-fill-height > div:first-child {
    flex-shrink: 0;
}

/* Tab panels fill remaining height and scroll */
.one-tab-fill-height > .tab-panel {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

/* Vertical tabs: the tab rail always fills the full height of the container it
   inhabits and scrolls internally (via the inherent up/down arrow buttons) once the
   tab list overflows that height. This is automatic for vertical orientation and
   does not require any opt-in parameter. */
.one-tab-vertical {
    height: 100%;
    min-height: 0;
}

.one-tab-vertical-rail {
    height: 100%;
    min-height: 0;
    display: flex;
}

.one-tab-scroll-container.tab_vertical {
    flex-direction: column !important;
    align-items: stretch;
    height: 100%;
    min-height: 0;
}

.one-tab-scroll-container.tab_vertical .one-tab-scroll-wrapper {
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    flex: 1 1 auto;
}

.one-tab-scroll-container.tab_vertical .one-tab-scroll-btn {
    flex: 0 0 auto;
    width: 100% !important;
}

.lib-min-w-0 {
    min-width: 0;
}

.lib-min-h-100 {
    min-height: 100%;
}

.lib-min-h-0 {
    min-height: 0;
}

.lib-cursor-pointer {
    cursor: pointer;
}

.lib-cursor-default {
    cursor: default;
}

.lib-h7 {
    font-size: 0.9rem;
}

.lib-h8 {
    font-size: 0.8rem;
}

.lib-h9 {
    font-size: 0.7rem;
}

.lib-generic-panel-bg-color {
    background-color: var(--lib-generic-panel-bg-color);
}

.lib-context-menu-icon-filler {
    padding-left: 1rem;
}

.lib-overflow-y-auto {
    overflow-y: auto;
}

.lib-input-highlighted-bg-color {
    background-color: var(--lib-input-highlighted-bg-color);
}
.one-sidenav-expanded 
{   /* Fluid max-width: fills viewport on phones, capped at 270px on wider screens */
    max-width: min(270px, 85vw);
    background-color: var(--surface-background-gray-moderate);
    padding: var(--ps-10);
    box-shadow: 0px 16px 48px -4px #3F4F612E;
    color: var(--interactive-text-gray-normal);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-5) var(--spacing-0) var(--spacing-5) var(--spacing-5);
}


 .nav-item .nav-list-item{
    padding: 4px 8px;
    position: relative;
 }
 .link-arrow{
    position: absolute;
    right: 16px;
 }


@media (min-height: 576px) {
    .lib-d-vert-sm-flex {
        display: flex !important;
    }
}