﻿.modal-backdrop.blur-backdrop {
    backdrop-filter: blur(6px);
    background-color: rgba(0, 0, 0, 0.3);
}

/* =========================
   Variables
   ========================= */
:root {
    --sidebar-w: 250px;
    --sidebar-min-w: 60px;
    --header-h: 56px;
}

#sidebar {
    background-color: #002C53;
}

.sidebar {
    width: 250px;
}

.content {
    margin-left: 250px;
    padding: 0 20px !important;
}

.nav {
    font-size: 13px;
}

.footer {
    /*margin: 5px 0 0 250px !Important;*/
}

.page-header b {
    font-size: 16px !important;
    line-height: 20px !important;
}

.page-header {
    font-size: 16px !important;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    margin: 5px -20px 10px !important;
    padding: 10px 15px !important;
    background: #f3f4f5 !important
}

.btn {
    padding: 5px 10px !important;
    font-size: 11.5px !important;
    text-transform: capitalize !important;
}

a {
    text-decoration: none;
    background-color: transparent;
}

*, ::after, ::before {
    box-sizing: border-box;
}

.modal-content {
    margin: 20px 0px !important;
}

.modal-header {
    padding: 12px !important;
}

.bootstrap-select > .dropdown-toggle {
     height: 33px!important;
   }

.h4, h4 {
    font-size: 15px !important;
    letter-spacing: 0.5px;
}

.modal-title {
    font-weight: 700;
}
#modal-dialog {
    padding-bottom: 20px;
} 

.ls-25 {
    letter-spacing: 0.25px;
}

.table thead tr th {
    background-color: #f3f6f9 !important;
    color: #000000 !important;
}

table.dataTable thead tr th.sorting_asc:after {
    color: #2d353c !important;
}

table.dataTable thead tr th.sorting:after {
    color: #b7bdc2 !important;
}

th.sorting_desc:after {
    color: #2d353c !important;
}

.table td, .table th, .table tbody tr td {
    padding: 10px 5px !important;
}

.table thead tr th {
    font-weight: 600;
    border-bottom: 1px solid #b8c1ca;
    font-size: 12px;
    letter-spacing: 0.25px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #fbfbfb;
}

.dropdown-item {
    font-weight: 500 !important;
}

.dropdownwidth {
    min-width: 7rem !important;
}

body {
    letter-spacing: 0.25px !important;
}

.m-t-7 {
    margin-top: 7px;
}
/* =========================
   Header layout split
   ========================= */
#header.header {
    display: flex;
    height: var(--header-h);
    padding: 0;
    overflow: visible; /* allow dropdown to show */
}

/* Left header (sidebar top area) */
#header .header-left {
    width: var(--sidebar-w);
    min-width: var(--sidebar-w);
    max-width: var(--sidebar-w);
    flex: 0 0 var(--sidebar-w);
    display: flex;
    align-items: center;
    background: #002c53;
    padding: 0 10px;
    overflow: hidden;
}

    /* Brand */
    #header .header-left .brand {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        color: #fff;
        width: 100%;
    }

    #header .header-left .brand-logo {
        height: 40px;
    }

    #header .header-left .brand-text {
        font-weight: 600;
        white-space: nowrap;
    }

/* Right header (topbar area) */
#header .header-right {
    width: calc(100% - var(--sidebar-w));
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    background: #fff;
    padding: 0 12px;
    overflow: visible; /* dropdown must not be clipped */
    position: relative; /* anchor dropdown */
    z-index: 1030;
}

/* =========================
   Topbar toggle (FontAwesome icons)
   ========================= */
#header .topbar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    text-decoration: none;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    z-index: 2100;
}

    /* Icon visibility logic */
    #header .topbar-toggle .toggle-icon {
        font-size: 18px;
        color: #348fe2;
        display: none;
    }

/* Expanded sidebar => show hamburger */
.page-container:not(.page-sidebar-minified) #header .topbar-toggle .toggle-open {
    display: inline-block;
}

/* Minified sidebar => show double-right */
.page-sidebar-minified #header .topbar-toggle .toggle-close,
.sidebar-minified #header .topbar-toggle .toggle-close,
.page-sidebar-minify #header .topbar-toggle .toggle-close,
.sidebar-minify #header .topbar-toggle .toggle-close {
    display: inline-block;
}

/* Center fullscreen icon */
#header .fullscreen-btn {
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
    width: 48px; /* ensure square hit area */
    height: 48px;
}

/* =========================
   Navbar right alignment
   ========================= */
#header .header-right .navbar-nav.navbar-right {
    margin-left: auto !important;
    margin-right: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    float: none !important;
    position: relative !important;
}

/* =========================
   User dropdown layout
   ========================= */
#header .navbar-user > a.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 260px;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
}

#header .navbar-user img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

#header .user-profile-info {
    min-width: 0;
    overflow: hidden;
}

#header .user-name,
#header .user-role {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Dropdown must be above everything */
#header .dropdown-menu {
    z-index: 2000 !important;
}

/* Hide dropdown caret ONLY in header user profile */
#header .header-right .navbar-user > a.dropdown-toggle::after {
    display: none !important;
}

#header .header-right .navbar-user .caret {
    display: none !important;
}

/* =========================
   Logo swap (desktop default)
   ========================= */
#header .brand-logo-lg {
    display: block !important;
    /*height: 65px !important;*/
    /*padding-left: 20px;*/
    padding-top: 5px;
}

#header .brand-logo-sm {
    display: none !important;
}

/* =========================
   Minified state (desktop)
   ========================= */
.page-sidebar-minified #header .header-left,
.sidebar-minified #header .header-left,
.page-sidebar-minify #header .header-left,
.sidebar-minify #header .header-left {
    width: var(--sidebar-min-w) !important;
    min-width: var(--sidebar-min-w) !important;
    max-width: var(--sidebar-min-w) !important;
    flex: 0 0 var(--sidebar-min-w) !important;
}

.page-sidebar-minified #sidebar,
.sidebar-minified #sidebar,
.page-sidebar-minify #sidebar,
.sidebar-minify #sidebar {
    width: var(--sidebar-min-w) !important;
}

/* header-right width when minified */
.page-sidebar-minified #header .header-right,
.sidebar-minified #header .header-right,
.page-sidebar-minify #header .header-right,
.sidebar-minify #header .header-right {
    width: calc(100% - var(--sidebar-min-w)) !important;
}

/* Big logo hidden, small logo shown when minified */
.page-sidebar-minified #header .brand-logo-lg,
.sidebar-minified #header .brand-logo-lg,
.page-sidebar-minify #header .brand-logo-lg,
.sidebar-minify #header .brand-logo-lg {
    display: none !important;
}

.page-sidebar-minified #header .brand-logo-sm,
.sidebar-minified #header .brand-logo-sm,
.page-sidebar-minify #header .brand-logo-sm,
.sidebar-minify #header .brand-logo-sm {
    display: block !important;
}

/* Fix profile block height to exactly match header */
#header .navbar-user > a.dropdown-toggle {
    height: var(--header-h);
    display: flex;
    align-items: center;
    padding: 0 12px;
    box-sizing: border-box;
}

/* Normalize text line-height */
#header .user-name {
    line-height: 1.2;
}

#header .user-role {
    line-height: 1.2;
    font-size: 12px;
}

/* Let fullscreen sit between toggle and profile */
#header .header-actions {
    display: flex;
    align-items: center;
    margin-left: 12px; /* gap from bars */
    margin-right: 12px; /* gap from profile */
}

/* header-right already flex */
#header .header-right {
    display: flex;
    align-items: center;
    border-bottom: 1.5px solid #9c9b9e5c;
}

/* spacer takes equal space on both sides */
#header .header-spacer {
    flex: 1;
}

/* keep fullscreen icon compact */
#header .header-actions {
    display: flex;
    align-items: center;
}

/* optional polish */
#header .fullscreen-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* Disable hover effect for fullscreen button */
    #header .fullscreen-btn:hover {
        background: transparent !important;
        box-shadow: none !important;
    }

    /* Remove underline / text decoration for fullscreen button */
    #header .fullscreen-btn,
    #header .fullscreen-btn:hover,
    #header .fullscreen-btn:focus {
        text-decoration: none !important;
    }

        #header .fullscreen-btn:focus {
            outline: none !important;
        }

.form-control-lg {
    padding: .5rem 1rem;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

/* =========================
   MOBILE RULES
   ========================= */
@media (max-width: 991.98px) {
    /* Hide desktop minify toggle on mobile */
    #header .topbar-toggle {
        display: none !important;
    }
    /* Header-left should look collapsed (icon centered) */
    #header .header-left {
        width: var(--sidebar-min-w) !important;
        min-width: var(--sidebar-min-w) !important;
        max-width: var(--sidebar-min-w) !important;
        flex: 0 0 var(--sidebar-min-w) !important;
        padding: 0 !important;
        justify-content: center !important;
        align-items: center !important;
    }

        #header .header-left .brand {
            width: 100%;
            height: 100%;
            justify-content: center;
            align-items: center;
        }
    /* mobile: show only small logo */
    #header .brand-logo-lg {
        display: none !important;
    }

    #header .brand-logo-sm {
        display: block !important;
        height: 28px;
        margin: 0 !important;
    }
    /* header-right takes remaining width */
    #header .header-right {
        width: calc(100% - var(--sidebar-min-w)) !important;
    }
    /* Mobile sidebar = off-canvas overlay (full width sidebar-w) */
    #sidebar {
        width: var(--sidebar-w) !important;
        position: fixed;
        top: var(--header-h);
        left: 0;
        height: calc(100vh - var(--header-h));
        transform: translateX(-100%);
        transition: transform .25s ease;
        z-index: 2000;
    }
    /* Open state */
    .page-sidebar-toggled #sidebar,
    .sidebar-toggled #sidebar {
        transform: translateX(0);
    }
    /* Content should not reserve space */
    #content {
        margin-left: 0 !important;
    }
    /* Ignore desktop "minified width" for sidebar on mobile */
    .page-sidebar-minified #sidebar,
    .sidebar-minified #sidebar,
    .page-sidebar-minify #sidebar,
    .sidebar-minify #sidebar {
        width: var(--sidebar-w) !important;
    }
}

@media (max-width: 991.98px) {
    #header .fullscreen-btn {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .row {
        margin-bottom: 20px !important;
    }
}

/* Desktop only */
@media (min-width: 992px) {
    #header .topbar-toggle {
        display: inline-flex !important;
    }
}


/* Login Page Start */
/* Tooltip */
.tooltip > .tooltip-inner {
    font-size: 9px;
    max-width: 100% !important;
}

/* ====== Split login layout (Velzon style) ====== */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(90deg, #2aa6a0 0%, #4f79ff 100%);
  /*  background: url('/assets/images/auth-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;*/
}


.auth-card {
    width: 100%;
    max-width: 800px;
    min-height: 400px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 18px 45px rgba(0,0,0,0.20);
}

/* LEFT panel */
.auth-left {
    width: 50%;
    position: relative;
    background-image: url('../images/login-cover.jpg');
    background-size: cover;
    background-position: center;
}

.auth-left-overlay {
    position: absolute;
    inset: 0;
    background: rgba(64, 105, 255, 0.3); /* increased overlay */
}

.auth-left-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}

.auth-brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.auth-brand-logo {
    width: 50%;
    height: auto;
    object-fit: contain;
}

/* Quote / slider */
.auth-quote {
    margin-top: auto;
    /* padding-bottom: 18px;*/
    max-width: 90%;
    opacity: 0.95;
}

.auth-quote-mark {
    font-size: 52px;
    line-height: 1;
    font-weight: 800;
    opacity: 0.9;
    color: #64f6d8;
}

.auth-quote-text {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.auth-quote .carousel-inner {
    min-height: 90px;
}

.auth-quote-indicators {
    position: static;
    margin: 14px 0 0 0;
    justify-content: center;
}

    .auth-quote-indicators li {
        width: 34px;
        height: 3px;
        border-radius: 3px;
        opacity: .35;
        background-color: #fff;
        border: 0;
    }

    .auth-quote-indicators .active {
        opacity: 1;
    }

/* RIGHT panel */
.auth-right {
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.auth-right-inner {
    width: 100%;
    max-width: 520px;
    padding: 40px 40px 10px 40px;
}

.auth-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
    color: rgb(102 145 233);
    letter-spacing: 0.5px;
}

.auth-subtitle {
    font-size: 12px;
    color: #7a8599;
    margin-bottom: 18px;
}

.auth-label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2b2f38;
}

.auth-link {
    font-size: 12px;
    text-decoration: none !important;
    color: #878a99;
}

/* Password eye icon */
.password-field {
    position: relative;
}

    .password-field .fa {
        position: absolute;
        top: 50%;
        right: 12px;
        transform: translateY(-50%);
    }

input[type=password], input[type=text] {
    padding-right: 20px;
}

/* ====== Responsive ====== */
@media (max-width: 991.98px) {
    .auth-card {
        flex-direction: column;
    }

    .auth-left {
        width: 100%;
        min-height: 180px;
    }

    .auth-right {
        width: 100%;
    }

    .auth-right-inner {
        padding: 28px 20px;
    }
}

.auth-brand-footer {
    margin-top: 50px;
    text-align: center;
}

    .auth-brand-footer .auth-brand-title {
        font-size: 12px;
        font-weight: 600;
        color: #2b2f38;
        letter-spacing: .3px;
    }

    .auth-brand-footer .auth-brand-sub {
        font-size: 12px;
        color: #7a8599;
    }

    .auth-brand-footer a {
        color: #4f79ff;
        text-decoration: none;
    }

        .auth-brand-footer a:hover {
            text-decoration: underline;
        }

.password-guidelines-panel {
    border-left: 1px solid #e6e9ef; /* separator */
    padding-left: 20px;
}

    .password-guidelines-panel .guidelines-box {
        background: #f8fafc; /* light panel */
        border: 1px solid #e6e9ef;
        border-radius: 8px;
        padding: 14px 16px;
    }

    .password-guidelines-panel b {
        font-size: 15px;
    }

    .password-guidelines-panel small {
        color: #6c757d;
    }

.profile {
    margin-bottom: 10px;
}

.profile-header {
    position: relative;
    overflow: hidden;
}

    .profile-header .profile-header-cover {
        background-color: #524c4c;
    }

    .profile-header .profile-header-content {
        color: #fff;
        padding: 1rem;
        position: relative;
        background: linear-gradient(90deg, #2aa6a0 0%, #4f79ff 100%);
    }


@media (max-width: 768px) {
    .profile-header .profile-header-content {
        /*padding: 0.5rem;*/
        display: flex;
        align-items: center;
    }
}

.profile-header .profile-header-img {
    border: 0.25rem solid #fff;
    padding: 0;
    margin: 0;
    float: left;
    width: 120px;
    height: 120px;
    overflow: hidden;
    position: relative;
    border-radius: 0.25rem;
}

@media (max-width: 768px) {
    .profile-header .profile-header-img {
        margin: 0;
        width: 80px;
        height: 80px;
    }
}


.profile-header .profile-header-img img {
    max-width: 100%;
}


.profile-header .profile-header-info {
    margin-left: 100px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .profile-header .profile-header-img + .profile-header-info {
        margin-left: 20px;
    }
}

.profile-header .profile-header-info h4 {
    font-weight: 600;
    color: #fff;
}

.profile-header .profile-header-tab {
    position: relative;
    list-style-type: none;
    margin: -10px 0 0;
    padding: 0 0 0 0;
    border-radius: 0;
}

@media (max-width: 768px) {
    .profile-header .profile-header-tab {
        padding: 0;
        margin: 0;
        overflow: scroll;
        display: flex;
        flex-wrap: nowrap;
    }
}


.profile-header .profile-header-tab .nav-item {
    display: inline-block;
    margin: 0;
}

    .profile-header .profile-header-tab .nav-item .nav-link {
        display: block;
        color: gray;
        line-height: 20px;
        padding: 10px 20px;
        text-decoration: none;
        font-weight: bold;
        font-size: 12px;
        border: none;
        border-radius: 0;
    }

        .profile-header .profile-header-tab .nav-item .nav-link:hover,
        .profile-header .profile-header-tab .nav-item .nav-link:focus {
            background: none;
            color: black;
        }

        .profile-header .profile-header-tab .nav-item .nav-link.active {
            color: black;
            background: none;
        }


/*help Popup Css____Aditi-06-05-2026*/
.formula-help-wrap {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.formula-help-btn {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #E6F1FB;
    border: 1px solid #85B7EB;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    color: #185FA5;
    line-height: 18px;
    text-align: center;
    display: inline-block;
    padding: 0;
    margin-left: 8px;
    vertical-align: middle;
}

    .formula-help-btn:hover {
        background: #B5D4F4;
    }


.formula-help-popup {
    display: none;
    position: absolute;
    top: 26px;
    left: 0;
    width: 500px;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    z-index: 9999;
    box-shadow: 0 4px 18px rgba(0,0,0,0.13);
    overflow: hidden;
}

#modalFormulaHelp {
    background: transparent;
    box-shadow: none;
}

    #modalFormulaHelp .modal-dialog {
        width: 500px;
        max-width: calc(100vw - 24px);
    }

.fhp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.fhp-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fhp-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #E6F1FB;
    border: 1px solid #85B7EB;
    font-size: 11px;
    font-weight: 700;
    color: #185FA5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fhp-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.fhp-close {
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 0 4px;
}

    .fhp-close:hover {
        color: #333;
    }

.fhp-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 0 14px;
    background: #f8f9fa;
}

.fhp-tab {
    font-size: 12px;
    padding: 7px 12px;
    border: none;
    background: none;
    cursor: pointer;
    color: #888;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

    .fhp-tab.active {
        color: #185FA5;
        border-bottom-color: #185FA5;
        font-weight: 600;
    }

.fhp-body {
    padding: 12px 14px;
    max-height: 360px;
    overflow-y: auto;
}

.fhp-panel {
    display: none;
}

    .fhp-panel.active {
        display: block;
    }

.fhp-rules {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fhp-rule {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 7px 10px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.5;
}

    .fhp-rule.err {
        background: #fff2f2;
    }

    .fhp-rule.warn {
        background: #fffbf0;
    }

.fhp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.fhp-rule.err .fhp-dot {
    background: #c0392b;
}

.fhp-rule.warn .fhp-dot {
    background: #e67e22;
}

.fhp-rule span {
    color: #333;
}

    .fhp-rule span strong {
        font-weight: 600;
    }

.fhp-ex {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.fhp-ex-head {
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 600;
    color: #185FA5;
    background: #EAF3FB;
    border-bottom: 1px solid #d0e4f7;
}

.fhp-ex-body {
    padding: 9px 11px;
}

.fhp-formula {
    font-family: Consolas, 'Courier New', monospace;
    font-size: 11.5px;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 5px 9px;
    margin-bottom: 8px;
    line-height: 1.7;
    word-break: break-word;
}

    .fhp-formula .f-br {
        color: #534AB7;
        font-weight: 700;
    }

    .fhp-formula .f-par {
        color: #0F6E56;
    }

    .fhp-formula .f-op {
        color: #854F0B;
        font-weight: 700;
    }

    .fhp-formula .f-cn {
        color: #185FA5;
    }

.fhp-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

    .fhp-tbl th {
        padding: 4px 7px;
        text-align: left;
        font-weight: 600;
        color: #666;
        border-bottom: 1px solid #eee;
        background: #fafafa;
    }

    .fhp-tbl td {
        padding: 4px 7px;
        border-bottom: 1px solid #f0f0f0;
        color: #333;
    }

    .fhp-tbl tr:last-child td {
        border-bottom: none;
    }

    .fhp-tbl .c-grp {
        color: #534AB7;
        font-weight: 600;
    }

    .fhp-tbl .c-par {
        color: #0F6E56;
    }

    .fhp-tbl .c-op {
        color: #854F0B;
        font-weight: 700;
    }

    .fhp-tbl .c-cn {
        color: #185FA5;
    }

    .fhp-tbl .c-m {
        color: #aaa;
    }
/*    Caps Lock warning css - Aditi 20 may 2026*/
#capsWarning {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    z-index: 9999;
    background: #fffdf2;
    border: 1px solid #e0c040;
    border-left: 3px solid #e0c040;
    border-radius: 3px;
    padding: 4px 8px;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    pointer-events: none;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

    #capsWarning.caps-visible {
        opacity: 1;
        transform: translateY(0);
    }

    #capsWarning .caps-arrow {
        position: absolute;
        top: -5px;
        left: 14px;
        width: 8px;
        height: 8px;
        background: #fffdf2;
        border-top: 1px solid #e0c040;
        border-left: 1px solid #e0c040;
        transform: rotate(45deg);
    }

    #capsWarning .caps-text {
        display: flex;
        align-items: center;
        gap: 5px;
    }

        #capsWarning .caps-text span:first-child {
            font-size: 12px;
        }

        #capsWarning .caps-text span:last-child {
            font-size: 11px;
            font-weight: 600;
           /* color: #7a5c00;*/
        }
#col-hover-tooltip {
    display: none;
    position: fixed;
    background: #1a2035;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 99999;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.30);
}

    #col-hover-tooltip::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border-width: 4px;
        border-style: solid;
        border-color: #1a2035 transparent transparent transparent;
    }
    /*17-06-2026*/
/*.tsi-wrapper {
    position: relative;
    width: 100%;
}

.tsi-zone {
    position: absolute;
    top: 0;
    width: 44px;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, background 0.15s ease;
}

    .tsi-zone.visible {
        opacity: 1;
        pointer-events: auto;
    }

.tsi-zone-right {
    right: 0;
    background: linear-gradient(to right, transparent, rgba(26, 42, 74, 0.08) 40%, rgba(26, 42, 74, 0.16));
}

.tsi-zone-left {
    left: 0;
    background: linear-gradient(to left, transparent, rgba(26, 42, 74, 0.08) 40%, rgba(26, 42, 74, 0.16));
}

.tsi-zone-right:hover {
    background: linear-gradient(to right, transparent, rgba(26, 42, 74, 0.14) 40%, rgba(26, 42, 74, 0.24));
}

.tsi-zone-left:hover {
    background: linear-gradient(to left, transparent, rgba(26, 42, 74, 0.14) 40%, rgba(26, 42, 74, 0.24));
}

.tsi-zone svg {
    width: 18px;
    height: 18px;
    stroke: #1a5fa5;
    fill: none;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.15s ease;
}

.tsi-zone:hover svg {
    transform: scale(1.15);
}

.tsi-zone:active svg {
    transform: scale(0.95);
}

.tsi-zone-right.tsi-pulse svg {
    animation: tsi-nudge 1.4s ease-in-out 0.4s 3;
}

@keyframes tsi-nudge {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(4px);
    }
}*/
/*17-06-2026*/
.tsi-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden; /* ← ADD THIS: clips zones to wrapper bounds */
}

.tsi-zone {
    position: absolute;
    top: 0;
    width: 44px;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, background 0.15s ease;
    /* ADD: keep arrow icon pinned to vertical center of viewport, not full height */
    padding-top: 0;
}

    .tsi-zone.visible {
        opacity: 1;
        pointer-events: auto;
    }

.tsi-zone-right {
    right: 0;
    background: linear-gradient(to right, transparent, rgba(26, 42, 74, 0.08) 40%, rgba(26, 42, 74, 0.16));
}

.tsi-zone-left {
    left: 0;
    background: linear-gradient(to left, transparent, rgba(26, 42, 74, 0.08) 40%, rgba(26, 42, 74, 0.16));
}

.tsi-zone-right:hover {
    background: linear-gradient(to right, transparent, rgba(26, 42, 74, 0.14) 40%, rgba(26, 42, 74, 0.24));
}

.tsi-zone-left:hover {
    background: linear-gradient(to left, transparent, rgba(26, 42, 74, 0.14) 40%, rgba(26, 42, 74, 0.24));
}

.tsi-zone svg {
    width: 18px;
    height: 18px;
    stroke: #1a5fa5;
    fill: none;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.15s ease;
  
    flex-shrink: 0;
   
    position: sticky;
    top: 40px; 
}

.tsi-zone:hover svg {
    transform: scale(1.15);
}

.tsi-zone:active svg {
    transform: scale(0.95);
}

.tsi-zone-right.tsi-pulse svg {
    animation: tsi-nudge 1.4s ease-in-out 0.4s 3;
}

@keyframes tsi-nudge {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(4px);
    }
}
/* Force flexbox centering on the inner container */
.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

/* Reset any default Bootstrap padding/line-height clashes */
.bootstrap-select .dropdown-toggle .filter-option {
    display: flex !important;
    align-items: center !important;
}
/*Toggle Style form graph command reports */
.fy-toggle {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
}

.fy-toggle-btn {
    padding: 5px 14px;
    font-size: 12px;
    cursor: pointer;
    background: #fff;
    color: #555;
    transition: background 0.2s;
    user-select: none;
}

    .fy-toggle-btn.active {
        background: #1F4E79;
        color: #fff;
    }
/* ── EF tooltip ── */
#efTooltip {
    display: none;
    position: fixed;
    z-index: 99999;
    background: #fff;
    border: 1px solid #b8d4ee;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 11px;
    color: #333;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    min-width: 180px;
    pointer-events: none;
}

    #efTooltip .ef-row {
        margin-bottom: 4px;
    }

        #efTooltip .ef-row:last-child {
            margin-bottom: 0;
        }

    #efTooltip .ef-label {
        color: #888;
        margin-right: 4px;
        display: inline-block;
        min-width: 80px;
    }
    /*Production Strip input ESG Reports*/ 
.production-objective-strip {
    margin-bottom: 16px;
    border-radius: 4px;
    overflow-x: auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    border-left: 4px solid #2c5aa0;
}

.prod-strip-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
    background: #fff;
}

    .prod-strip-table thead tr {
        background-color: #e8eef7;
    }

    .prod-strip-table th {
        padding: 8px 10px;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        color: #2c5aa0;
        border-bottom: 2px solid #d0d8e8;
        text-align: center;
        white-space: nowrap;
    }

    .prod-strip-table td {
        padding: 10px;
        font-size: 13px;
        font-weight: 600;
        color: #2c5aa0;
        text-align: center;
        border-bottom: none;
        white-space: nowrap;
    }

.prod-th-meta {
    text-align: left !important;
    color: #4a5568 !important;
    min-width: 140px;
}

.prod-td-meta {
    text-align: left !important;
    color: #1a202c !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    background-color: #ebf4ff;
}

.prod-th-total {
    background-color: #16293a;
    color: #ffffff !important;
    min-width: 90px;
}

.prod-td-total {
    background-color: #1f3a4d !important;
    color: #ffd166 !important;
    font-weight: 800 !important;
    font-size: 14px !important;
}
/* Style ALL plain selects (non-selectpicker) to match bootstrap-select look */
select.form-control:not(.selectpicker) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 33px;
    padding: 6px 30px 6px 12px;
    font-size: 12px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
    border: 1px solid #d5dbe0;
    border-radius: 4px;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 11px 7px;
    cursor: pointer;
}

    /* focus state to match bootstrap-select's focus ring */
    select.form-control:not(.selectpicker):focus {
        border-color: #66afe9;
        outline: 0;
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
    }

    /* disabled state to match bootstrap-select's greyed-out look */
    select.form-control:not(.selectpicker):disabled {
        background-color: #e9ecef;
        opacity: 1;
        cursor: not-allowed;
    }

    /* remove default arrow in IE */
    select.form-control:not(.selectpicker)::-ms-expand {
        display: none;
    }


/* Prevent SelectPicker dropdown from expanding due to long text 18.08.2026*/ 
.bootstrap-select {
    width: 100% !important;
}

    .bootstrap-select .dropdown-menu {
        width: 100%;
        min-width: 100% !important;
        max-width: 100%;
    }

        .bootstrap-select .dropdown-menu li a {
            white-space: normal !important;
            word-break: break-word;
        }

    /* Selected value stays neat */
    .bootstrap-select > .dropdown-toggle .filter-option-inner-inner {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
