/******************************************************************************
 * ITSM Insight Pro
 * File        : style.css
 * Version     : 1.0.0
 * Description : Enterprise Dashboard UI
 ******************************************************************************/

/*--------------------------------------------------------------
ROOT
--------------------------------------------------------------*/

:root{

    --primary:#4F8EF7;
    --secondary:#18C29C;
    --danger:#EF4444;
    --warning:#F59E0B;

    --bg:#F4F7FB;
    --surface:#FFFFFF;
    --glass:rgba(255,255,255,.65);

    --text:#1E293B;
    --muted:#64748B;

    --border:rgba(255,255,255,.35);

    --shadow:
    0 10px 25px rgba(0,0,0,.08);

}

/*--------------------------------------------------------------
DARK MODE
--------------------------------------------------------------*/

body.dark{

    --bg:#0F172A;
    --surface:#1E293B;
    --glass:rgba(30,41,59,.72);

    --text:#F8FAFC;
    --muted:#CBD5E1;

    --border:rgba(255,255,255,.08);

    --shadow:
    0 10px 30px rgba(0,0,0,.45);

}

/*--------------------------------------------------------------
BODY
--------------------------------------------------------------*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

body{

    font-family:'Poppins',sans-serif;

    background:var(--bg);

    color:var(--text);

    transition:.3s;

}

/*--------------------------------------------------------------
HEADER
--------------------------------------------------------------*/

.top-header{

    position:sticky;

    top:0;

    height:72px;

    background:var(--glass);

    backdrop-filter:blur(18px);

    border-bottom:1px solid var(--border);

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 25px;

    z-index:999;

}

.logo-section{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo-icon{

    font-size:34px;

    color:var(--primary);

}

.logo-section h3{

    margin:0;

    font-size:22px;

}

.logo-section small{

    color:var(--muted);

}

.header-right{

    display:flex;

    gap:12px;

}

/*--------------------------------------------------------------
LAYOUT
--------------------------------------------------------------*/

.main-container{

    display:block;

    min-height:calc(100vh - 72px);

}

/*--------------------------------------------------------------
SIDEBAR
--------------------------------------------------------------*/

.sidebar{

    width:260px;
    height:calc(100vh - 72px);

    position:fixed;

    top:72px;
    left:0;
    bottom:0;

    flex-shrink:0;

    background:var(--glass);

    backdrop-filter:blur(18px);

    border-right:1px solid var(--border);

    padding-top:25px;
    padding-bottom:30px;

    overflow-y:auto;
    overflow-x:hidden;

    z-index:998;

}

.sidebar::-webkit-scrollbar{

    width:6px;

}

.sidebar::-webkit-scrollbar-thumb{

    background:rgba(100,116,139,.35);

    border-radius:10px;

}

.sidebar::-webkit-scrollbar-track{

    background:transparent;

}

.sidebar ul{

    list-style:none;

    padding:0;

}

.sidebar li{

    padding:15px 25px;

    cursor:pointer;

    display:flex;

    gap:12px;

    transition:.25s;

    font-weight:500;

}

.sidebar li:hover{

    background:rgba(79,142,247,.10);

}

.sidebar li.active{

    color:var(--primary);

    border-right:4px solid var(--primary);

}

/*--------------------------------------------------------------
CONTENT
--------------------------------------------------------------*/

.content{

    flex:1;

    min-width:0;

    margin-left:260px;

    padding:30px;

}

/*--------------------------------------------------------------
GLASS CARD
--------------------------------------------------------------*/

.glass-card{

    background:var(--glass);

    backdrop-filter:blur(18px);

    border:1px solid var(--border);

    border-radius:22px;

    box-shadow:var(--shadow);

    padding:25px;

    margin-bottom:25px;

}

/*--------------------------------------------------------------
UPLOAD
--------------------------------------------------------------*/

.upload-area{

    margin-top:20px;

    border:2px dashed var(--primary);

    border-radius:20px;

    text-align:center;

    padding:55px;

    transition:.3s;

}

.upload-area:hover{

    background:rgba(79,142,247,.08);

}

.upload-icon{

    font-size:70px;

    color:var(--primary);

    margin-bottom:20px;

}

/*--------------------------------------------------------------
KPIs
--------------------------------------------------------------*/

.kpi-grid{

    display:grid;

    gap:20px;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

}

.kpi-card{

    transition:.25s;

    cursor:pointer;

}

.kpi-card:hover{

    transform:translateY(-6px);

}

.kpi-card h6{

    color:var(--muted);

    margin-bottom:12px;

}

.kpi-card h2{

    font-size:36px;

    margin:0;

}

/*--------------------------------------------------------------
PLACEHOLDER
--------------------------------------------------------------*/

.placeholder{

    min-height:350px;

}

/*--------------------------------------------------------------
LOADING
--------------------------------------------------------------*/

.loading-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.75);

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.spinner-lg{

    width:70px;

    height:70px;

}

/*--------------------------------------------------------------
BUTTONS
--------------------------------------------------------------*/

.btn{

    border-radius:12px;

}

/*--------------------------------------------------------------
RESPONSIVE
--------------------------------------------------------------*/

@media(max-width:992px){

    .sidebar{

        display:none;

    }

    .content{

        margin-left:0;
        padding:20px;

    }

}

@media(max-width:768px){

.top-header{

padding:15px;

height:auto;

flex-direction:column;

gap:15px;

}

.logo-section{

width:100%;

justify-content:center;

}

.header-right{

width:100%;

justify-content:center;

}

}

/*==========================================================
ADMIN MENU
==========================================================*/

.submenu {

    list-style: none;

    margin-top: 8px;

    margin-left: 15px;

    padding-left: 10px;

}

.submenu li {

    padding: 8px 0;

    cursor: pointer;

    font-size: 14px;

}

.submenu li:hover {

    color: #2563EB;

}

details summary {

    list-style: none;

    cursor: pointer;

}

details summary::-webkit-details-marker {

    display: none;

}

/* Space below Loaded Files */

#fileManagerCard {

    margin-bottom: 30px;

}

/* Reusable spacing for dashboard cards */

.dashboard-card{

    margin-bottom:30px;

}

/*==========================================================
ENTERPRISE USER MANAGEMENT
==========================================================*/

.user-toolbar {

    display: grid;

    grid-template-columns:
        minmax(240px, 1fr)
        180px
        180px;

    gap: 14px;

    margin-bottom: 24px;

}

.user-toolbar .form-control,
.user-toolbar .form-select {

    min-height: 46px;

    border-radius: 12px;

    border: 1px solid rgba(148, 163, 184, 0.28);

    background: var(--surface);

    color: var(--text);

}

.user-card-grid{

    display:grid;

    grid-template-columns:minmax(700px,1100px);

    justify-content:center;

    gap:20px;

}

.enterprise-user-card {

    position: relative;

    display: flex;

    flex-direction: column;

    gap: 18px;

    min-height:auto;

    padding: 22px;

    background: var(--surface);

    border: 1px solid rgba(148, 163, 184, 0.18);

    border-radius: 20px;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.08);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;

    overflow: hidden;

}

.enterprise-user-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary)
        );

}

.enterprise-user-card:hover {

    transform: translateY(-4px);

    border-color:
        rgba(79, 142, 247, 0.35);

    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.13);

}

.user-card-top {

    display: grid;

    grid-template-columns:
        58px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 14px;

}

.user-avatar {

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #7C3AED
        );

    color: #FFFFFF;

    font-size: 18px;

    font-weight: 700;

    letter-spacing: 0.5px;

    box-shadow:
        0 10px 22px rgba(79, 142, 247, 0.28);

}

.user-title {

    min-width: 0;

}

.user-title h5 {

    margin: 0 0 4px;

    font-size: 17px;

    font-weight: 700;

    color: var(--text);

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}

.user-title p {

    margin: 0;

    color: var(--muted);

    font-size: 13px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}

.status-pill {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 76px;

    padding: 7px 11px;

    border-radius: 999px;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.45px;

}

.status-active {

    background: rgba(22, 163, 74, 0.12);

    color: #15803D;

}

.status-pending {

    background: rgba(245, 158, 11, 0.14);

    color: #B45309;

}

.status-disabled {

    background: rgba(100, 116, 139, 0.14);

    color: #475569;

}

.status-locked {

    background: rgba(239, 68, 68, 0.12);

    color: #DC2626;

}

.user-card-meta {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;

}

.user-card-meta span {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    min-width: 0;

    padding: 10px 8px;

    border-radius: 12px;

    background: rgba(148, 163, 184, 0.10);

    color: var(--text);

    font-size: 12px;

    font-weight: 600;

    text-align: center;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}

.user-card-meta i {

    color: var(--primary);

    font-size: 14px;

}

.user-chip-section{

    gap:5px;

    margin-top:4px;

}

.user-chip-section small {

    color: var(--muted);

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.55px;

}

.user-chips {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}

.user-chips span {

    display: inline-flex;

    align-items: center;

    min-height: 30px;

    padding: 6px 10px;

    border-radius: 999px;

    background:
        rgba(79, 142, 247, 0.10);

    color: var(--primary);

    font-size: 11px;

    font-weight: 600;

    border:
        1px solid rgba(79, 142, 247, 0.14);

}

.user-card-actions{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:16px;

    margin-top:18px;

    padding-top:16px;

    border-top:1px solid rgba(0,0,0,.08);

}

.user-card-actions .btn{

    min-width:110px;

    font-weight:600;

}

.user-last-login{

    display:flex;

    flex-direction:column;

    gap:3px;

}

.user-last-login span{

    color:var(--muted);

    font-size:10px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.8px;

}

.user-last-login strong{

    color:var(--text);

    font-size:12px;

    font-weight:600;

}

.user-action-buttons{

    display:flex;

    align-items:center;

    gap:10px;

}

.user-last-login{

    display:flex;

    flex-direction:column;

    gap:3px;

}

.user-last-login span{

    color:var(--muted);

    font-size:10px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.8px;

}

.user-last-login strong{

    color:var(--text);

    font-size:12px;

    font-weight:600;

}

.user-action-buttons{

    display:flex;

    align-items:center;

    gap:10px;

}

body.dark .enterprise-user-card {

    background:
        rgba(30, 41, 59, 0.92);

    border-color:
        rgba(255, 255, 255, 0.07);

    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.28);

}

body.dark .user-toolbar .form-control,
body.dark .user-toolbar .form-select {

    background: var(--surface);

    color: var(--text);

    border-color:
        rgba(255, 255, 255, 0.08);

}

body.dark .user-card-meta span {

    background:
        rgba(255, 255, 255, 0.05);

}

body.dark .status-active {

    color: #86EFAC;

}

body.dark .status-pending {

    color: #FCD34D;

}

body.dark .status-disabled {

    color: #CBD5E1;

}

body.dark .status-locked {

    color: #FCA5A5;

}

@media (max-width: 900px) {

    .user-toolbar {

        grid-template-columns: 1fr;

    }

}

@media (max-width: 600px) {

    .user-card-grid {

        grid-template-columns: 1fr;

    }

    .user-card-top {

        grid-template-columns:
            50px
            minmax(0, 1fr);

    }

    .status-pill {

        grid-column: 1 / -1;

        justify-self: start;

    }

    .user-card-meta {

        grid-template-columns: 1fr;

    }

}

/*==========================================================
USER SUMMARY
==========================================================*/

.user-summary{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:14px;

    margin:15px 0 18px;

}

.summary-box{

    background:#F8FAFC;

    border:1px solid rgba(0,0,0,.06);

    border-radius:14px;

    padding:14px;

    text-align:center;

    transition:.25s;

}

.summary-box:first-child{

    background:#EEF4FF;

    border-color:#C7DAFF;

}

.summary-box:hover{

    transform:translateY(-2px);

    box-shadow:0 8px 18px rgba(0,0,0,.08);

}

.summary-box small{

    display:block;

    color:var(--muted);

    font-size:11px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.7px;

    margin-bottom:8px;

}

.summary-box strong{

    display:block;

    font-size:15px;

    color:var(--text);

}

.approved-text{

    color:#16A34A;

}

.pending-text{

    color:#D97706;

}

body.dark .summary-box{

    background:rgba(255,255,255,.05);

    border-color:rgba(255,255,255,.08);

}

body.dark .summary-box:first-child{

    background:rgba(79,142,247,.12);

    border-color:rgba(79,142,247,.28);

}

@media(max-width:900px){

.user-summary{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:600px){

.user-summary{

grid-template-columns:1fr;

}

}

/*==========================================================
BOTTOM GRID
==========================================================*/

.user-bottom-grid{

    display:grid;

    grid-template-columns:240px 1fr;

    gap:28px;

    margin-top:18px;

}

.user-bottom-grid .user-chip-section{

    margin:0;

}

.user-chip-section small{

    display:block;

    margin-bottom:8px;

    color:#64748B;

    font-size:10px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:1px;

}

@media(max-width:900px){

.user-bottom-grid{

grid-template-columns:1fr;

gap:16px;

}

}

/*==========================================================
LOGIN PAGE
==========================================================*/

.login-page {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    padding: 32px;
    overflow-y: auto;
    background:
        radial-gradient(
            circle at top left,
            rgba(37, 99, 235, 0.14),
            transparent 34%
        ),
        var(--bs-body-bg);
}

.login-page-panel {
    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(360px, 0.9fr);
    width: min(1050px, 100%);
    min-height: 570px;
    margin: auto;
    overflow: hidden;
    background: var(--bs-body-bg);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 24px;
    box-shadow:
        0 30px 80px
        rgba(15, 23, 42, 0.18);
}

.login-brand-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #1d4ed8,
            #2563eb 48%,
            #0f766e
        );
}

.login-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    margin-bottom: 28px;
    font-size: 44px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 22px;
    backdrop-filter: blur(12px);
}

.login-brand-section h1 {
    margin-bottom: 10px;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
}

.login-brand-section > p {
    margin-bottom: 24px;
    font-size: 18px;
    opacity: 0.88;
}

.login-version {
    align-self: flex-start;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
}

.login-brand-message {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 48px;
    font-size: 14px;
    opacity: 0.86;
}

.login-form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px;
}

.login-form-card {
    width: 100%;
    max-width: 410px;
}

.login-form-card .form-control,
.login-form-card .input-group .btn {
    min-height: 46px;
}

.login-form-card #submitLoginBtn {
    min-height: 46px;
    margin-top: 8px;
    font-weight: 600;
}

[data-theme="dark"] .login-page-panel,
body.dark-theme .login-page-panel {
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.42);
}

@media (max-width: 850px) {

    .login-page {
        padding: 20px;
    }

    .login-page-panel {
        grid-template-columns: 1fr;
    }

    .login-brand-section {
        padding: 38px;
    }

    .login-brand-message {
        margin-top: 24px;
    }

    .login-form-section {
        padding: 38px;
    }

}

@media (max-width: 480px) {

    .login-page {
        top: 58px;
        padding: 12px;
    }

    .login-brand-section,
    .login-form-section {
        padding: 28px 22px;
    }

    .login-brand-icon {
        width: 64px;
        height: 64px;
        font-size: 34px;
    }

}

/*==========================================================
LOGIN PAGE — DARK MODE
==========================================================*/

body.dark .login-page {
    background:
        radial-gradient(
            circle at top left,
            rgba(37, 99, 235, 0.18),
            transparent 34%
        ),
        #0f172a;
}

body.dark .login-page-panel {
    background: #111827;
    border-color: #334155;
    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.5);
}

body.dark .login-form-section {
    background: #111827;
}

body.dark .login-form-card {
    color: #f8fafc;
}

body.dark .login-form-card h3,
body.dark .login-form-card .form-label {
    color: #f8fafc !important;
}

body.dark .login-form-card .text-muted,
body.dark .login-form-card .form-text {
    color: #94a3b8 !important;
}

body.dark .login-form-card .form-control {
    color: #f8fafc !important;
    background-color: #1e293b !important;
    border-color: #475569 !important;
}

body.dark .login-form-card .form-control:focus {
    color: #ffffff !important;
    background-color: #1e293b !important;
    border-color: #3b82f6 !important;
    box-shadow:
        0 0 0 0.2rem
        rgba(59, 130, 246, 0.22) !important;
}

body.dark .login-form-card .input-group .btn {
    color: #cbd5e1;
    background-color: #1e293b;
    border-color: #475569;
}

body.dark .login-form-card .input-group .btn:hover {
    color: #ffffff;
    background-color: #334155;
}

body.dark .login-form-card .alert-danger {
    color: #fecaca;
    background-color: #450a0a;
    border-color: #7f1d1d;
}

body.password-change-required .main-container,
body.password-change-required .top-header .logo-section {
    visibility: hidden;
}

body.password-change-required .top-header {
    background: transparent;
    box-shadow: none;
}

body.password-change-required #themeToggle {
    visibility: visible;
}

/*==========================================================
REPLACEMENT IMPORT ACTIVITY
==========================================================*/

.replacement-import-activity {

    padding: 18px;

    border:
        1px solid rgba(148, 163, 184, 0.22);

    border-radius: 16px;

    background:
        rgba(148, 163, 184, 0.05);

}

.replacement-import-activity h6 {

    color: var(--text);

    font-weight: 700;

}

.replacement-import-activity table {

    min-width: 900px;

}

.replacement-import-activity thead th {

    padding: 11px 12px;

    color: var(--muted);

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

    border-bottom:
        1px solid rgba(148, 163, 184, 0.22);

}

.replacement-import-activity tbody td {

    padding: 12px;

    font-size: 13px;

    vertical-align: middle;

}

.replacement-import-file {

    max-width: 260px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}

.replacement-import-type {

    display: inline-flex;

    align-items: center;

    padding: 5px 9px;

    border-radius: 999px;

    background:
        rgba(79, 142, 247, 0.12);

    color: var(--primary);

    font-size: 11px;

    font-weight: 700;

}

body.dark .replacement-import-activity {

    background:
        rgba(255, 255, 255, 0.03);

    border-color:
        rgba(255, 255, 255, 0.08);

}

body.dark
.replacement-import-activity
thead th {

    border-color:
        rgba(255, 255, 255, 0.08);

}

/*==========================================================
REPLACEMENT MANUAL COMPLETION
==========================================================*/

.replacement-completion-checkbox {

    width: 18px;

    height: 18px;

    margin-top: 0;

    cursor: pointer;

}

.replacement-completion-checkbox:disabled {

    cursor: wait;

    opacity: 0.65;

}

/*==========================================================
BULK COMPLETION RESULT
==========================================================*/

#replacementBulkCompletionResult {

    border-radius: 14px;

}

#replacementBulkCompletionResult span {

    white-space: nowrap;

}

/*==========================================================
REPLACEMENT UPLOAD BOXES
==========================================================*/

.replacement-upload-box {

    min-height: 340px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 40px 28px;

}

.replacement-upload-box .upload-icon {

    font-size: 58px;

    margin-bottom: 18px;

}

.replacement-upload-box h5 {

    margin-bottom: 10px;

    font-weight: 700;

}

.replacement-completion-upload-box {

    border-color: #22c55e;

}

.replacement-completion-upload-box
.upload-icon {

    color: #16a34a;

}

.replacement-completion-upload-box:hover {

    background:
        rgba(34, 197, 94, 0.06);

}

@media(max-width:992px) {

    .replacement-upload-box {

        min-height: 300px;

    }

}

/*==========================================================
REPLACEMENT CLICKABLE KPI
==========================================================*/

.replacement-clickable-kpi {

    cursor: pointer;

    user-select: none;

}

.replacement-clickable-kpi:hover {

    border-color:
        rgba(79, 142, 247, 0.45);

    box-shadow:
        0 16px 34px
        rgba(15, 23, 42, 0.14);

}

.replacement-clickable-kpi:focus {

    outline: none;

    border-color:
        var(--primary);

    box-shadow:
        0 0 0 4px
        rgba(79, 142, 247, 0.18);

}

.replacement-clickable-kpi small {

    display: block;

    margin-top: 8px;

    font-size: 11px;

}

/*==========================================================
REPLACEMENT TABLE HORIZONTAL SCROLL
==========================================================*/

.content {

    width: calc(100% - 260px);
    max-width: calc(100% - 260px);
    overflow-x: hidden;

}

#replacementContent {

    width: 100%;
    max-width: 100%;
    min-width: 0;

}

#replacementAssetResultsSection {

    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;

}

#replacementAssetResultsSection .table-responsive {

    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

}

#replacementAssetResultsSection table {

    width: max-content;
    min-width: 1500px;
    margin-bottom: 0;

}

#replacementAssetResultsSection th,
#replacementAssetResultsSection td {

    white-space: nowrap;

}

#replacementAssetResultsSection
.table-responsive::-webkit-scrollbar {

    height: 10px;

}

#replacementAssetResultsSection
.table-responsive::-webkit-scrollbar-thumb {

    background: rgba(100, 116, 139, 0.45);
    border-radius: 10px;

}

#replacementAssetResultsSection
.table-responsive::-webkit-scrollbar-track {

    background: rgba(100, 116, 139, 0.12);
    border-radius: 10px;

}

@media (max-width: 992px) {

    .content {

        width: 100%;
        max-width: 100%;

    }

}

/******************************************************************************
 * ITSM Insight Pro
 * File        : style.css
 * Version     : 1.0.0
 * Description : Enterprise Dashboard UI
 ******************************************************************************/

/*--------------------------------------------------------------
ROOT
--------------------------------------------------------------*/

:root{

    --primary:#4F8EF7;
    --secondary:#18C29C;
    --danger:#EF4444;
    --warning:#F59E0B;

    --bg:#F4F7FB;
    --surface:#FFFFFF;
    --glass:rgba(255,255,255,.65);

    --text:#1E293B;
    --muted:#64748B;

    --border:rgba(255,255,255,.35);

    --shadow:
    0 10px 25px rgba(0,0,0,.08);

}

/*--------------------------------------------------------------
DARK MODE
--------------------------------------------------------------*/

body.dark{

    --bg:#0F172A;
    --surface:#1E293B;
    --glass:rgba(30,41,59,.72);

    --text:#F8FAFC;
    --muted:#CBD5E1;

    --border:rgba(255,255,255,.08);

    --shadow:
    0 10px 30px rgba(0,0,0,.45);

}

/*--------------------------------------------------------------
BODY
--------------------------------------------------------------*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

body{

    font-family:'Poppins',sans-serif;

    background:var(--bg);

    color:var(--text);

    transition:.3s;

}

/*--------------------------------------------------------------
HEADER
--------------------------------------------------------------*/

.top-header{

    position:sticky;

    top:0;

    height:72px;

    background:var(--glass);

    backdrop-filter:blur(18px);

    border-bottom:1px solid var(--border);

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 25px;

    z-index:999;

}

.logo-section{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo-icon{

    font-size:34px;

    color:var(--primary);

}

.logo-section h3{

    margin:0;

    font-size:22px;

}

.logo-section small{

    color:var(--muted);

}

.header-right{

    display:flex;

    gap:12px;

}

/*--------------------------------------------------------------
LAYOUT
--------------------------------------------------------------*/

.main-container{

    display:block;

    min-height:calc(100vh - 72px);

}

/*--------------------------------------------------------------
SIDEBAR
--------------------------------------------------------------*/

.sidebar{

    width:260px;
    height:calc(100vh - 72px);

    position:fixed;

    top:72px;
    left:0;
    bottom:0;

    flex-shrink:0;

    background:var(--glass);

    backdrop-filter:blur(18px);

    border-right:1px solid var(--border);

    padding-top:25px;
    padding-bottom:30px;

    overflow-y:auto;
    overflow-x:hidden;

    z-index:998;

}

.sidebar::-webkit-scrollbar{

    width:6px;

}

.sidebar::-webkit-scrollbar-thumb{

    background:rgba(100,116,139,.35);

    border-radius:10px;

}

.sidebar::-webkit-scrollbar-track{

    background:transparent;

}

.sidebar ul{

    list-style:none;

    padding:0;

}

.sidebar li{

    padding:15px 25px;

    cursor:pointer;

    display:flex;

    gap:12px;

    transition:.25s;

    font-weight:500;

}

.sidebar li:hover{

    background:rgba(79,142,247,.10);

}

.sidebar li.active{

    color:var(--primary);

    border-right:4px solid var(--primary);

}

/*--------------------------------------------------------------
CONTENT
--------------------------------------------------------------*/

.content{

    flex:1;

    min-width:0;

    margin-left:260px;

    padding:30px;

}

/*--------------------------------------------------------------
GLASS CARD
--------------------------------------------------------------*/

.glass-card{

    background:var(--glass);

    backdrop-filter:blur(18px);

    border:1px solid var(--border);

    border-radius:22px;

    box-shadow:var(--shadow);

    padding:25px;

    margin-bottom:25px;

}

/*--------------------------------------------------------------
UPLOAD
--------------------------------------------------------------*/

.upload-area{

    margin-top:20px;

    border:2px dashed var(--primary);

    border-radius:20px;

    text-align:center;

    padding:55px;

    transition:.3s;

}

.upload-area:hover{

    background:rgba(79,142,247,.08);

}

.upload-icon{

    font-size:70px;

    color:var(--primary);

    margin-bottom:20px;

}

/*--------------------------------------------------------------
KPIs
--------------------------------------------------------------*/

.kpi-grid{

    display:grid;

    gap:20px;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

}

.kpi-card{

    transition:.25s;

    cursor:pointer;

}

.kpi-card:hover{

    transform:translateY(-6px);

}

.kpi-card h6{

    color:var(--muted);

    margin-bottom:12px;

}

.kpi-card h2{

    font-size:36px;

    margin:0;

}

/*--------------------------------------------------------------
PLACEHOLDER
--------------------------------------------------------------*/

.placeholder{

    min-height:350px;

}

/*--------------------------------------------------------------
LOADING
--------------------------------------------------------------*/

.loading-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.75);

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.spinner-lg{

    width:70px;

    height:70px;

}

/*--------------------------------------------------------------
BUTTONS
--------------------------------------------------------------*/

.btn{

    border-radius:12px;

}

/*--------------------------------------------------------------
RESPONSIVE
--------------------------------------------------------------*/

@media(max-width:992px){

    .sidebar{

        display:none;

    }

    .content{

        margin-left:0;
        padding:20px;

    }

}

@media(max-width:768px){

.top-header{

padding:15px;

height:auto;

flex-direction:column;

gap:15px;

}

.logo-section{

width:100%;

justify-content:center;

}

.header-right{

width:100%;

justify-content:center;

}

}

/*==========================================================
ADMIN MENU
==========================================================*/

.submenu {

    list-style: none;

    margin-top: 8px;

    margin-left: 15px;

    padding-left: 10px;

}

.submenu li {

    padding: 8px 0;

    cursor: pointer;

    font-size: 14px;

}

.submenu li:hover {

    color: #2563EB;

}

details summary {

    list-style: none;

    cursor: pointer;

}

details summary::-webkit-details-marker {

    display: none;

}

/* Space below Loaded Files */

#fileManagerCard {

    margin-bottom: 30px;

}

/* Reusable spacing for dashboard cards */

.dashboard-card{

    margin-bottom:30px;

}

/*==========================================================
ENTERPRISE USER MANAGEMENT
==========================================================*/

.user-toolbar {

    display: grid;

    grid-template-columns:
        minmax(240px, 1fr)
        180px
        180px;

    gap: 14px;

    margin-bottom: 24px;

}

.user-toolbar .form-control,
.user-toolbar .form-select {

    min-height: 46px;

    border-radius: 12px;

    border: 1px solid rgba(148, 163, 184, 0.28);

    background: var(--surface);

    color: var(--text);

}

.user-card-grid{

    display:grid;

    grid-template-columns:minmax(700px,1100px);

    justify-content:center;

    gap:20px;

}

.enterprise-user-card {

    position: relative;

    display: flex;

    flex-direction: column;

    gap: 18px;

    min-height:auto;

    padding: 22px;

    background: var(--surface);

    border: 1px solid rgba(148, 163, 184, 0.18);

    border-radius: 20px;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.08);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;

    overflow: hidden;

}

.enterprise-user-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary)
        );

}

.enterprise-user-card:hover {

    transform: translateY(-4px);

    border-color:
        rgba(79, 142, 247, 0.35);

    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.13);

}

.user-card-top {

    display: grid;

    grid-template-columns:
        58px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 14px;

}

.user-avatar {

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #7C3AED
        );

    color: #FFFFFF;

    font-size: 18px;

    font-weight: 700;

    letter-spacing: 0.5px;

    box-shadow:
        0 10px 22px rgba(79, 142, 247, 0.28);

}

.user-title {

    min-width: 0;

}

.user-title h5 {

    margin: 0 0 4px;

    font-size: 17px;

    font-weight: 700;

    color: var(--text);

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}

.user-title p {

    margin: 0;

    color: var(--muted);

    font-size: 13px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}

.status-pill {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 76px;

    padding: 7px 11px;

    border-radius: 999px;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.45px;

}

.status-active {

    background: rgba(22, 163, 74, 0.12);

    color: #15803D;

}

.status-pending {

    background: rgba(245, 158, 11, 0.14);

    color: #B45309;

}

.status-disabled {

    background: rgba(100, 116, 139, 0.14);

    color: #475569;

}

.status-locked {

    background: rgba(239, 68, 68, 0.12);

    color: #DC2626;

}

.user-card-meta {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;

}

.user-card-meta span {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    min-width: 0;

    padding: 10px 8px;

    border-radius: 12px;

    background: rgba(148, 163, 184, 0.10);

    color: var(--text);

    font-size: 12px;

    font-weight: 600;

    text-align: center;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}

.user-card-meta i {

    color: var(--primary);

    font-size: 14px;

}

.user-chip-section{

    gap:5px;

    margin-top:4px;

}

.user-chip-section small {

    color: var(--muted);

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.55px;

}

.user-chips {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}

.user-chips span {

    display: inline-flex;

    align-items: center;

    min-height: 30px;

    padding: 6px 10px;

    border-radius: 999px;

    background:
        rgba(79, 142, 247, 0.10);

    color: var(--primary);

    font-size: 11px;

    font-weight: 600;

    border:
        1px solid rgba(79, 142, 247, 0.14);

}

.user-card-actions{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:16px;

    margin-top:18px;

    padding-top:16px;

    border-top:1px solid rgba(0,0,0,.08);

}

.user-card-actions .btn{

    min-width:110px;

    font-weight:600;

}

.user-last-login{

    display:flex;

    flex-direction:column;

    gap:3px;

}

.user-last-login span{

    color:var(--muted);

    font-size:10px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.8px;

}

.user-last-login strong{

    color:var(--text);

    font-size:12px;

    font-weight:600;

}

.user-action-buttons{

    display:flex;

    align-items:center;

    gap:10px;

}

.user-last-login{

    display:flex;

    flex-direction:column;

    gap:3px;

}

.user-last-login span{

    color:var(--muted);

    font-size:10px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.8px;

}

.user-last-login strong{

    color:var(--text);

    font-size:12px;

    font-weight:600;

}

.user-action-buttons{

    display:flex;

    align-items:center;

    gap:10px;

}

body.dark .enterprise-user-card {

    background:
        rgba(30, 41, 59, 0.92);

    border-color:
        rgba(255, 255, 255, 0.07);

    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.28);

}

body.dark .user-toolbar .form-control,
body.dark .user-toolbar .form-select {

    background: var(--surface);

    color: var(--text);

    border-color:
        rgba(255, 255, 255, 0.08);

}

body.dark .user-card-meta span {

    background:
        rgba(255, 255, 255, 0.05);

}

body.dark .status-active {

    color: #86EFAC;

}

body.dark .status-pending {

    color: #FCD34D;

}

body.dark .status-disabled {

    color: #CBD5E1;

}

body.dark .status-locked {

    color: #FCA5A5;

}

@media (max-width: 900px) {

    .user-toolbar {

        grid-template-columns: 1fr;

    }

}

@media (max-width: 600px) {

    .user-card-grid {

        grid-template-columns: 1fr;

    }

    .user-card-top {

        grid-template-columns:
            50px
            minmax(0, 1fr);

    }

    .status-pill {

        grid-column: 1 / -1;

        justify-self: start;

    }

    .user-card-meta {

        grid-template-columns: 1fr;

    }

}

/*==========================================================
USER SUMMARY
==========================================================*/

.user-summary{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:14px;

    margin:15px 0 18px;

}

.summary-box{

    background:#F8FAFC;

    border:1px solid rgba(0,0,0,.06);

    border-radius:14px;

    padding:14px;

    text-align:center;

    transition:.25s;

}

.summary-box:first-child{

    background:#EEF4FF;

    border-color:#C7DAFF;

}

.summary-box:hover{

    transform:translateY(-2px);

    box-shadow:0 8px 18px rgba(0,0,0,.08);

}

.summary-box small{

    display:block;

    color:var(--muted);

    font-size:11px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.7px;

    margin-bottom:8px;

}

.summary-box strong{

    display:block;

    font-size:15px;

    color:var(--text);

}

.approved-text{

    color:#16A34A;

}

.pending-text{

    color:#D97706;

}

body.dark .summary-box{

    background:rgba(255,255,255,.05);

    border-color:rgba(255,255,255,.08);

}

body.dark .summary-box:first-child{

    background:rgba(79,142,247,.12);

    border-color:rgba(79,142,247,.28);

}

@media(max-width:900px){

.user-summary{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:600px){

.user-summary{

grid-template-columns:1fr;

}

}

/*==========================================================
BOTTOM GRID
==========================================================*/

.user-bottom-grid{

    display:grid;

    grid-template-columns:240px 1fr;

    gap:28px;

    margin-top:18px;

}

.user-bottom-grid .user-chip-section{

    margin:0;

}

.user-chip-section small{

    display:block;

    margin-bottom:8px;

    color:#64748B;

    font-size:10px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:1px;

}

@media(max-width:900px){

.user-bottom-grid{

grid-template-columns:1fr;

gap:16px;

}

}

/*==========================================================
LOGIN PAGE
==========================================================*/

.login-page {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    padding: 32px;
    overflow-y: auto;
    background:
        radial-gradient(
            circle at top left,
            rgba(37, 99, 235, 0.14),
            transparent 34%
        ),
        var(--bs-body-bg);
}

.login-page-panel {
    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(360px, 0.9fr);
    width: min(1050px, 100%);
    min-height: 570px;
    margin: auto;
    overflow: hidden;
    background: var(--bs-body-bg);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 24px;
    box-shadow:
        0 30px 80px
        rgba(15, 23, 42, 0.18);
}

.login-brand-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #1d4ed8,
            #2563eb 48%,
            #0f766e
        );
}

.login-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    margin-bottom: 28px;
    font-size: 44px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 22px;
    backdrop-filter: blur(12px);
}

.login-brand-section h1 {
    margin-bottom: 10px;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
}

.login-brand-section > p {
    margin-bottom: 24px;
    font-size: 18px;
    opacity: 0.88;
}

.login-version {
    align-self: flex-start;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
}

.login-brand-message {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 48px;
    font-size: 14px;
    opacity: 0.86;
}

.login-form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px;
}

.login-form-card {
    width: 100%;
    max-width: 410px;
}

.login-form-card .form-control,
.login-form-card .input-group .btn {
    min-height: 46px;
}

.login-form-card #submitLoginBtn {
    min-height: 46px;
    margin-top: 8px;
    font-weight: 600;
}

[data-theme="dark"] .login-page-panel,
body.dark-theme .login-page-panel {
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.42);
}

@media (max-width: 850px) {

    .login-page {
        padding: 20px;
    }

    .login-page-panel {
        grid-template-columns: 1fr;
    }

    .login-brand-section {
        padding: 38px;
    }

    .login-brand-message {
        margin-top: 24px;
    }

    .login-form-section {
        padding: 38px;
    }

}

@media (max-width: 480px) {

    .login-page {
        top: 58px;
        padding: 12px;
    }

    .login-brand-section,
    .login-form-section {
        padding: 28px 22px;
    }

    .login-brand-icon {
        width: 64px;
        height: 64px;
        font-size: 34px;
    }

}

/*==========================================================
LOGIN PAGE â€” DARK MODE
==========================================================*/

body.dark .login-page {
    background:
        radial-gradient(
            circle at top left,
            rgba(37, 99, 235, 0.18),
            transparent 34%
        ),
        #0f172a;
}

body.dark .login-page-panel {
    background: #111827;
    border-color: #334155;
    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.5);
}

body.dark .login-form-section {
    background: #111827;
}

body.dark .login-form-card {
    color: #f8fafc;
}

body.dark .login-form-card h3,
body.dark .login-form-card .form-label {
    color: #f8fafc !important;
}

body.dark .login-form-card .text-muted,
body.dark .login-form-card .form-text {
    color: #94a3b8 !important;
}

body.dark .login-form-card .form-control {
    color: #f8fafc !important;
    background-color: #1e293b !important;
    border-color: #475569 !important;
}

body.dark .login-form-card .form-control:focus {
    color: #ffffff !important;
    background-color: #1e293b !important;
    border-color: #3b82f6 !important;
    box-shadow:
        0 0 0 0.2rem
        rgba(59, 130, 246, 0.22) !important;
}

body.dark .login-form-card .input-group .btn {
    color: #cbd5e1;
    background-color: #1e293b;
    border-color: #475569;
}

body.dark .login-form-card .input-group .btn:hover {
    color: #ffffff;
    background-color: #334155;
}

body.dark .login-form-card .alert-danger {
    color: #fecaca;
    background-color: #450a0a;
    border-color: #7f1d1d;
}

body.password-change-required .main-container,
body.password-change-required .top-header .logo-section {
    visibility: hidden;
}

body.password-change-required .top-header {
    background: transparent;
    box-shadow: none;
}

body.password-change-required #themeToggle {
    visibility: visible;
}

/*==========================================================
REPLACEMENT IMPORT ACTIVITY
==========================================================*/

.replacement-import-activity {

    padding: 18px;

    border:
        1px solid rgba(148, 163, 184, 0.22);

    border-radius: 16px;

    background:
        rgba(148, 163, 184, 0.05);

}

.replacement-import-activity h6 {

    color: var(--text);

    font-weight: 700;

}

.replacement-import-activity table {

    min-width: 900px;

}

.replacement-import-activity thead th {

    padding: 11px 12px;

    color: var(--muted);

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

    border-bottom:
        1px solid rgba(148, 163, 184, 0.22);

}

.replacement-import-activity tbody td {

    padding: 12px;

    font-size: 13px;

    vertical-align: middle;

}

.replacement-import-file {

    max-width: 260px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}

.replacement-import-type {

    display: inline-flex;

    align-items: center;

    padding: 5px 9px;

    border-radius: 999px;

    background:
        rgba(79, 142, 247, 0.12);

    color: var(--primary);

    font-size: 11px;

    font-weight: 700;

}

body.dark .replacement-import-activity {

    background:
        rgba(255, 255, 255, 0.03);

    border-color:
        rgba(255, 255, 255, 0.08);

}

body.dark
.replacement-import-activity
thead th {

    border-color:
        rgba(255, 255, 255, 0.08);

}

/*==========================================================
REPLACEMENT MANUAL COMPLETION
==========================================================*/

.replacement-completion-checkbox {

    width: 18px;

    height: 18px;

    margin-top: 0;

    cursor: pointer;

}

.replacement-completion-checkbox:disabled {

    cursor: wait;

    opacity: 0.65;

}

/*==========================================================
BULK COMPLETION RESULT
==========================================================*/

#replacementBulkCompletionResult {

    border-radius: 14px;

}

#replacementBulkCompletionResult span {

    white-space: nowrap;

}

/*==========================================================
REPLACEMENT UPLOAD BOXES
==========================================================*/

.replacement-upload-box {

    min-height: 340px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 40px 28px;

}

.replacement-upload-box .upload-icon {

    font-size: 58px;

    margin-bottom: 18px;

}

.replacement-upload-box h5 {

    margin-bottom: 10px;

    font-weight: 700;

}

.replacement-completion-upload-box {

    border-color: #22c55e;

}

.replacement-completion-upload-box
.upload-icon {

    color: #16a34a;

}

.replacement-completion-upload-box:hover {

    background:
        rgba(34, 197, 94, 0.06);

}

@media(max-width:992px) {

    .replacement-upload-box {

        min-height: 300px;

    }

}

/*==========================================================
REPLACEMENT CLICKABLE KPI
==========================================================*/

.replacement-clickable-kpi {

    cursor: pointer;

    user-select: none;

}

.replacement-clickable-kpi:hover {

    border-color:
        rgba(79, 142, 247, 0.45);

    box-shadow:
        0 16px 34px
        rgba(15, 23, 42, 0.14);

}

.replacement-clickable-kpi:focus {

    outline: none;

    border-color:
        var(--primary);

    box-shadow:
        0 0 0 4px
        rgba(79, 142, 247, 0.18);

}

.replacement-clickable-kpi small {

    display: block;

    margin-top: 8px;

    font-size: 11px;

}

/*==========================================================
REPLACEMENT TABLE HORIZONTAL SCROLL
==========================================================*/

.content {

    width: calc(100% - 260px);
    max-width: calc(100% - 260px);
    overflow-x: hidden;

}

#replacementContent {

    width: 100%;
    max-width: 100%;
    min-width: 0;

}

#replacementAssetResultsSection {

    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;

}

#replacementAssetResultsSection .table-responsive {

    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

}

#replacementAssetResultsSection table {

    width: max-content;
    min-width: 1500px;
    margin-bottom: 0;

}

#replacementAssetResultsSection th,
#replacementAssetResultsSection td {

    white-space: nowrap;

}

#replacementAssetResultsSection
.table-responsive::-webkit-scrollbar {

    height: 10px;

}

#replacementAssetResultsSection
.table-responsive::-webkit-scrollbar-thumb {

    background: rgba(100, 116, 139, 0.45);
    border-radius: 10px;

}

#replacementAssetResultsSection
.table-responsive::-webkit-scrollbar-track {

    background: rgba(100, 116, 139, 0.12);
    border-radius: 10px;

}

@media (max-width: 992px) {

    .content {

        width: 100%;
        max-width: 100%;

    }

}
/*==========================================================
PREMIUM ENTERPRISE UI â€” VISUAL OVERRIDE LAYER
Visual enhancement only. No application logic is affected.
==========================================================*/

/*----------------------------------------------------------
DESIGN TOKENS
----------------------------------------------------------*/

:root {
    --primary: #2F80ED;
    --secondary: #2EC5CE;

    --bg: #F3F7FC;
    --surface: rgba(255, 255, 255, 0.82);
    --glass: rgba(255, 255, 255, 0.68);

    --text: #152238;
    --muted: #64748B;
    --border: rgba(148, 163, 184, 0.22);

    --premium-blue: #2F80ED;
    --premium-cyan: #2EC5CE;
    --premium-violet: #7C6FF0;
    --premium-navy: #071426;

    --premium-glass: rgba(255, 255, 255, 0.66);
    --premium-glass-strong: rgba(255, 255, 255, 0.80);
    --premium-surface-soft: rgba(248, 251, 255, 0.74);
    --premium-border: rgba(148, 163, 184, 0.22);
    --premium-border-strong: rgba(47, 128, 237, 0.28);

    --premium-shadow-sm:
        0 8px 24px rgba(15, 23, 42, 0.06);

    --premium-shadow:
        0 18px 48px rgba(15, 23, 42, 0.10),
        0 2px 8px rgba(15, 23, 42, 0.04);

    --premium-shadow-hover:
        0 22px 58px rgba(15, 23, 42, 0.13),
        0 8px 20px rgba(47, 128, 237, 0.07);

    --premium-radius-sm: 12px;
    --premium-radius: 18px;
    --premium-radius-lg: 24px;

    --premium-transition:
        180ms cubic-bezier(0.2, 0.8, 0.2, 1);

    --shadow: var(--premium-shadow);
}

body.dark {
    --primary: #5AA7FF;
    --secondary: #45D5DB;

    --bg: #07111F;
    --surface: rgba(13, 27, 46, 0.82);
    --glass: rgba(10, 24, 42, 0.70);

    --text: #F4F8FC;
    --muted: #A7B6C9;
    --border: rgba(148, 179, 214, 0.13);

    --premium-glass: rgba(8, 22, 39, 0.66);
    --premium-glass-strong: rgba(10, 26, 46, 0.84);
    --premium-surface-soft: rgba(18, 38, 63, 0.56);
    --premium-border: rgba(148, 179, 214, 0.13);
    --premium-border-strong: rgba(90, 167, 255, 0.30);

    --premium-shadow-sm:
        0 10px 28px rgba(0, 0, 0, 0.22);

    --premium-shadow:
        0 20px 52px rgba(0, 0, 0, 0.30),
        0 2px 8px rgba(0, 0, 0, 0.20);

    --premium-shadow-hover:
        0 24px 64px rgba(0, 0, 0, 0.38),
        0 8px 24px rgba(43, 128, 237, 0.10);

    color-scheme: dark;
}

/*----------------------------------------------------------
LAYERED APPLICATION BACKGROUND
----------------------------------------------------------*/

html {
    background: var(--bg);
}

body {
    position: relative;
    min-height: 100vh;
    isolation: isolate;
    overflow-x: hidden;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        linear-gradient(
            rgba(77, 116, 166, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(77, 116, 166, 0.045) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle at 14% 10%,
            rgba(47, 128, 237, 0.12),
            transparent 34%
        ),
        radial-gradient(
            circle at 88% 14%,
            rgba(46, 197, 206, 0.10),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #F8FBFF 0%,
            #F2F7FC 48%,
            #EEF5FB 100%
        );
    background-size:
        34px 34px,
        34px 34px,
        auto,
        auto,
        auto;
    background-attachment: fixed;
    transition:
        background-color 260ms ease,
        color 260ms ease;
}

body.dark {
    background-image:
        linear-gradient(
            rgba(120, 166, 219, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(120, 166, 219, 0.045) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle at 12% 8%,
            rgba(41, 121, 255, 0.16),
            transparent 34%
        ),
        radial-gradient(
            circle at 88% 12%,
            rgba(34, 211, 238, 0.11),
            transparent 30%
        ),
        radial-gradient(
            circle at 70% 82%,
            rgba(124, 111, 240, 0.09),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #06101D 0%,
            #081729 46%,
            #091426 100%
        );
    background-size:
        38px 38px,
        38px 38px,
        auto,
        auto,
        auto,
        auto;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: 0;
    width: min(46vw, 680px);
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(88px);
    opacity: 0.26;
    pointer-events: none;
    will-change: transform;
}

body::before {
    top: -16vw;
    right: -12vw;
    background:
        radial-gradient(
            circle,
            rgba(47, 128, 237, 0.62) 0%,
            rgba(46, 197, 206, 0.20) 46%,
            transparent 72%
        );
    animation:
        premiumAuroraOne 58s ease-in-out infinite alternate;
}

body::after {
    bottom: -22vw;
    left: -14vw;
    background:
        radial-gradient(
            circle,
            rgba(124, 111, 240, 0.34) 0%,
            rgba(47, 128, 237, 0.18) 46%,
            transparent 72%
        );
    animation:
        premiumAuroraTwo 72s ease-in-out infinite alternate;
}

body.dark::before {
    opacity: 0.34;
}

body.dark::after {
    opacity: 0.30;
}

@keyframes premiumAuroraOne {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(-5vw, 8vh, 0) scale(1.08);
    }
}

@keyframes premiumAuroraTwo {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(7vw, -6vh, 0) scale(1.10);
    }
}

.main-container,
.login-page {
    position: relative;
    z-index: 1;
}

/*----------------------------------------------------------
TYPOGRAPHY AND HIERARCHY
----------------------------------------------------------*/

body,
button,
input,
select,
textarea {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
    letter-spacing: -0.018em;
}

h1,
h2,
h3 {
    font-weight: 700;
}

h4,
h5,
h6 {
    font-weight: 650;
}

.text-muted,
.form-text {
    color: var(--muted) !important;
}

.form-label {
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.005em;
}

/*----------------------------------------------------------
FLOATING HEADER
----------------------------------------------------------*/

.top-header {
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    isolation: isolate;
}

.top-header::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 8px 12px;
    background: var(--premium-glass-strong);
    border: 1px solid var(--premium-border);
    border-radius: var(--premium-radius);
    box-shadow: var(--premium-shadow-sm);
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.top-header > * {
    position: relative;
    z-index: 1;
}

body.password-change-required .top-header::before {
    opacity: 0;
}

.logo-icon {
    color: var(--primary);
    filter: drop-shadow(0 7px 16px rgba(47, 128, 237, 0.20));
}

.logo-section h3 {
    font-weight: 700;
    letter-spacing: -0.025em;
}

.logo-section small {
    color: var(--muted);
    font-weight: 500;
}

.header-right {
    align-items: center;
}

/*----------------------------------------------------------
FLOATING SIDEBAR
----------------------------------------------------------*/

.sidebar {
    background: transparent;
    border-right: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding-top: 22px;
    isolation: isolate;
}

.sidebar::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 10px;
    right: 10px;
    bottom: 12px;
    left: 10px;
    background: var(--premium-glass);
    border: 1px solid var(--premium-border);
    border-radius: 22px;
    box-shadow: var(--premium-shadow-sm);
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
    pointer-events: none;
}

.sidebar > * {
    position: relative;
    z-index: 1;
}

.sidebar ul {
    padding: 0 10px;
}

.sidebar li {
    position: relative;
    min-height: 46px;
    margin: 3px 0;
    padding: 12px 14px;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 550;
    transition:
        transform var(--premium-transition),
        color var(--premium-transition),
        background-color var(--premium-transition),
        border-color var(--premium-transition),
        box-shadow var(--premium-transition);
}

.sidebar li i {
    width: 20px;
    flex: 0 0 20px;
    text-align: center;
    font-size: 17px;
    color: currentColor;
    transition:
        transform var(--premium-transition),
        color var(--premium-transition);
}

.sidebar li:hover {
    color: var(--text);
    background: rgba(47, 128, 237, 0.075);
    border-color: rgba(47, 128, 237, 0.10);
    transform: translateX(2px);
}

.sidebar li:hover i {
    color: var(--primary);
    transform: translateX(1px);
}

.sidebar li.active {
    color: var(--primary);
    background:
        linear-gradient(
            135deg,
            rgba(47, 128, 237, 0.14),
            rgba(46, 197, 206, 0.07)
        );
    border: 1px solid rgba(47, 128, 237, 0.17);
    border-right: 1px solid rgba(47, 128, 237, 0.17);
    box-shadow:
        inset 3px 0 0 rgba(47, 128, 237, 0.88),
        0 8px 22px rgba(47, 128, 237, 0.08);
}

.sidebar li.active i {
    color: var(--primary);
}

.submenu {
    margin-top: 5px;
    margin-left: 12px;
    padding-left: 8px;
    border-left: 1px solid var(--premium-border);
}

.submenu li {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 13px;
}

.submenu li:hover {
    color: var(--primary);
}

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.28);
}

/*----------------------------------------------------------
CONTENT SURFACES
----------------------------------------------------------*/

.content {
    position: relative;
    z-index: 1;
}

.glass-card,
.card,
.enterprise-user-card,
.replacement-import-activity {
    border-color: var(--premium-border);
    box-shadow: var(--premium-shadow);
}

.glass-card {
    position: relative;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.76),
            rgba(255, 255, 255, 0.58)
        );
    border: 1px solid var(--premium-border);
    border-radius: var(--premium-radius-lg);
    box-shadow: var(--premium-shadow);
    backdrop-filter: blur(22px) saturate(135%);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
    transition:
        transform var(--premium-transition),
        border-color var(--premium-transition),
        box-shadow var(--premium-transition),
        background-color var(--premium-transition);
}

body.dark .glass-card {
    background:
        linear-gradient(
            145deg,
            rgba(15, 35, 58, 0.78),
            rgba(7, 22, 39, 0.68)
        );
    border-color: rgba(148, 179, 214, 0.14);
}

.glass-card:hover {
    transform: translateY(-2px);
    border-color: var(--premium-border-strong);
    box-shadow: var(--premium-shadow-hover);
}

.card {
    background: var(--premium-glass-strong);
    color: var(--text);
    border-radius: var(--premium-radius);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.card-header,
.card-footer {
    background: rgba(148, 163, 184, 0.045);
    border-color: var(--premium-border);
}

body.dark .card {
    background: rgba(11, 28, 48, 0.82);
}

body.dark .card-header,
body.dark .card-footer {
    background: rgba(255, 255, 255, 0.025);
}

.dashboard-card {
    transition:
        transform var(--premium-transition),
        box-shadow var(--premium-transition),
        border-color var(--premium-transition);
}

/*----------------------------------------------------------
KPI CARDS
----------------------------------------------------------*/

.kpi-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.kpi-card::after {
    content: "";
    position: absolute;
    top: -54px;
    right: -54px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(47, 128, 237, 0.14),
            transparent 70%
        );
    pointer-events: none;
}

.kpi-card:hover {
    transform: translateY(-3px);
}

.kpi-card h6 {
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.kpi-card h2 {
    color: var(--text);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -0.035em;
}

/*----------------------------------------------------------
UPLOAD AREAS
----------------------------------------------------------*/

.upload-area {
    position: relative;
    overflow: hidden;
    border: 1.5px dashed rgba(47, 128, 237, 0.52);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(47, 128, 237, 0.045),
            rgba(46, 197, 206, 0.025)
        );
    transition:
        transform var(--premium-transition),
        background-color var(--premium-transition),
        border-color var(--premium-transition),
        box-shadow var(--premium-transition);
}

.upload-area:hover {
    transform: translateY(-1px);
    background:
        linear-gradient(
            145deg,
            rgba(47, 128, 237, 0.085),
            rgba(46, 197, 206, 0.045)
        );
    border-color: rgba(47, 128, 237, 0.76);
    box-shadow: 0 14px 34px rgba(47, 128, 237, 0.08);
}

.upload-icon {
    color: var(--primary);
    filter: drop-shadow(0 10px 20px rgba(47, 128, 237, 0.18));
}

/*----------------------------------------------------------
BUTTONS
----------------------------------------------------------*/

.btn {
    min-height: 40px;
    padding: 0.55rem 0.95rem;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: -0.005em;
    box-shadow: none;
    transition:
        transform var(--premium-transition),
        box-shadow var(--premium-transition),
        background-color var(--premium-transition),
        border-color var(--premium-transition),
        color var(--premium-transition);
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.btn:active:not(:disabled) {
    transform: translateY(0);
}

.btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(47, 128, 237, 0.18) !important;
}

.btn-primary {
    color: #FFFFFF;
    background:
        linear-gradient(
            135deg,
            #347FE6 0%,
            #2F80ED 58%,
            #377DE1 100%
        );
    border-color: rgba(47, 128, 237, 0.80);
    box-shadow: 0 8px 20px rgba(47, 128, 237, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
    color: #FFFFFF;
    background:
        linear-gradient(
            135deg,
            #3E8AF2 0%,
            #357FDF 100%
        );
    border-color: #428BEA;
    box-shadow: 0 10px 24px rgba(47, 128, 237, 0.24);
}

.btn-secondary,
.btn-light {
    color: var(--text);
    background: var(--premium-glass-strong);
    border-color: var(--premium-border);
    box-shadow: var(--premium-shadow-sm);
}

.btn-secondary:hover,
.btn-light:hover {
    color: var(--text);
    background: var(--premium-surface-soft);
    border-color: var(--premium-border-strong);
}

.btn-outline-primary {
    color: var(--primary);
    background: rgba(47, 128, 237, 0.035);
    border-color: rgba(47, 128, 237, 0.38);
}

.btn-outline-primary:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(47, 128, 237, 0.16);
}

.btn-outline-secondary {
    color: var(--muted);
    background: rgba(148, 163, 184, 0.035);
    border-color: var(--premium-border);
}

.btn-outline-secondary:hover {
    color: var(--text);
    background: rgba(148, 163, 184, 0.10);
    border-color: rgba(100, 116, 139, 0.28);
}

.btn-success,
.btn-danger,
.btn-warning,
.btn-info {
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.08);
}

.btn:disabled,
.btn.disabled {
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.62;
}

/*----------------------------------------------------------
FORM CONTROLS
----------------------------------------------------------*/

.form-control,
.form-select,
.input-group-text {
    min-height: 44px;
    color: var(--text);
    background-color: var(--premium-glass-strong);
    border: 1px solid var(--premium-border);
    border-radius: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition:
        background-color var(--premium-transition),
        border-color var(--premium-transition),
        box-shadow var(--premium-transition);
}

.form-control::placeholder {
    color: color-mix(in srgb, var(--muted) 78%, transparent);
}

.form-control:hover,
.form-select:hover {
    border-color: rgba(47, 128, 237, 0.27);
}

.form-control:focus,
.form-select:focus {
    color: var(--text);
    background-color: var(--premium-glass-strong);
    border-color: rgba(47, 128, 237, 0.68);
    box-shadow:
        0 0 0 3px rgba(47, 128, 237, 0.12),
        0 8px 20px rgba(47, 128, 237, 0.06);
}

.form-check-input {
    border-color: rgba(100, 116, 139, 0.36);
    box-shadow: none;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    border-color: rgba(47, 128, 237, 0.62);
    box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.12);
}

body.dark .form-control,
body.dark .form-select,
body.dark .input-group-text {
    background-color: rgba(10, 27, 47, 0.86);
    border-color: rgba(148, 179, 214, 0.16);
}

body.dark .form-control:focus,
body.dark .form-select:focus {
    background-color: rgba(12, 31, 53, 0.94);
}

/*----------------------------------------------------------
DROPDOWNS
----------------------------------------------------------*/

.dropdown-menu {
    padding: 8px;
    color: var(--text);
    background: var(--premium-glass-strong);
    border: 1px solid var(--premium-border);
    border-radius: 14px;
    box-shadow: var(--premium-shadow);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.dropdown-item {
    color: var(--text);
    border-radius: 10px;
    transition:
        color var(--premium-transition),
        background-color var(--premium-transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--primary);
    background: rgba(47, 128, 237, 0.09);
}

.dropdown-divider {
    border-color: var(--premium-border);
}

/*----------------------------------------------------------
TABLES AND DATATABLES
----------------------------------------------------------*/

.table-responsive {
    border-radius: 16px;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text);
    --bs-table-border-color: var(--premium-border);
    --bs-table-hover-bg: rgba(47, 128, 237, 0.055);
    --bs-table-hover-color: var(--text);

    margin-bottom: 0;
    color: var(--text);
    border-color: var(--premium-border);
}

.table > :not(caption) > * > * {
    padding: 0.82rem 0.9rem;
    color: var(--text);
    background-color: transparent;
    border-bottom-color: var(--premium-border);
    vertical-align: middle;
}

.table thead th,
table.dataTable thead th,
table.dataTable thead td {
    color: var(--muted);
    background:
        linear-gradient(
            180deg,
            rgba(148, 163, 184, 0.085),
            rgba(148, 163, 184, 0.035)
        );
    border-bottom: 1px solid var(--premium-border) !important;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    white-space: nowrap;
}

.table tbody tr,
table.dataTable tbody tr {
    transition:
        background-color var(--premium-transition),
        box-shadow var(--premium-transition);
}

.table tbody tr:hover,
table.dataTable.hover tbody tr:hover,
table.dataTable.display tbody tr:hover {
    background: rgba(47, 128, 237, 0.055);
}

.table tbody tr:last-child td,
table.dataTable tbody tr:last-child td {
    border-bottom-color: transparent;
}

.dataTables_wrapper,
.dt-container {
    color: var(--text);
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate,
.dt-container .dt-length,
.dt-container .dt-search,
.dt-container .dt-info,
.dt-container .dt-processing,
.dt-container .dt-paging {
    color: var(--muted) !important;
    font-size: 12px;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select,
.dt-container .dt-search input,
.dt-container .dt-length select {
    min-height: 38px;
    color: var(--text) !important;
    background: var(--premium-glass-strong) !important;
    border: 1px solid var(--premium-border) !important;
    border-radius: 10px !important;
    outline: none;
}

.dataTables_wrapper .dataTables_filter input:focus,
.dt-container .dt-search input:focus {
    border-color: rgba(47, 128, 237, 0.66) !important;
    box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.11);
}

.dataTables_wrapper .dataTables_paginate .paginate_button,
.dt-container .dt-paging .dt-paging-button {
    min-width: 34px;
    min-height: 34px;
    margin: 0 2px;
    color: var(--muted) !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    transition:
        color var(--premium-transition),
        background-color var(--premium-transition),
        border-color var(--premium-transition);
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.dt-container .dt-paging .dt-paging-button:hover {
    color: var(--primary) !important;
    background: rgba(47, 128, 237, 0.08) !important;
    border-color: rgba(47, 128, 237, 0.12) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.dt-container .dt-paging .dt-paging-button.current,
.dt-container .dt-paging .dt-paging-button.current:hover {
    color: #FFFFFF !important;
    background:
        linear-gradient(
            135deg,
            #347FE6,
            #2F80ED
        ) !important;
    border-color: transparent !important;
    box-shadow: 0 6px 16px rgba(47, 128, 237, 0.18) !important;
}

td.dataTables_empty,
.dataTables_empty,
.dt-empty {
    padding: 42px 20px !important;
    color: var(--muted) !important;
    text-align: center !important;
}

/*----------------------------------------------------------
CHART SURFACES
----------------------------------------------------------*/

.glass-card canvas,
.card canvas {
    border-radius: 14px;
}

/*----------------------------------------------------------
MODALS, TOASTS AND ALERTS
----------------------------------------------------------*/

.modal-content {
    color: var(--text);
    background: var(--premium-glass-strong);
    border: 1px solid var(--premium-border);
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(26px) saturate(145%);
    -webkit-backdrop-filter: blur(26px) saturate(145%);
    overflow: hidden;
}

body.dark .modal-content {
    background: rgba(9, 25, 44, 0.94);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.modal-header,
.modal-footer {
    border-color: var(--premium-border);
}

.modal-title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.dark .btn-close {
    filter: invert(1) grayscale(100%) brightness(190%);
}

.modal-backdrop.show {
    opacity: 0.56;
    backdrop-filter: blur(3px);
}

.toast {
    color: var(--text);
    background: var(--premium-glass-strong);
    border: 1px solid var(--premium-border);
    border-radius: 14px;
    box-shadow: var(--premium-shadow);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.alert {
    border-radius: 14px;
    border-width: 1px;
}

.badge {
    border-radius: 999px;
    font-weight: 650;
    letter-spacing: 0.01em;
}

/*----------------------------------------------------------
USER MANAGEMENT POLISH
----------------------------------------------------------*/

.user-toolbar .form-control,
.user-toolbar .form-select {
    background: var(--premium-glass-strong);
    border-color: var(--premium-border);
    border-radius: 12px;
}

.enterprise-user-card {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.82),
            rgba(248, 251, 255, 0.67)
        );
    border-color: var(--premium-border);
    box-shadow: var(--premium-shadow);
}

.enterprise-user-card::before {
    height: 3px;
    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary),
            var(--premium-violet)
        );
    opacity: 0.86;
}

.enterprise-user-card:hover {
    transform: translateY(-2px);
    border-color: var(--premium-border-strong);
    box-shadow: var(--premium-shadow-hover);
}

.user-avatar {
    background:
        linear-gradient(
            145deg,
            #377FD9,
            #557CEB 54%,
            #766CE4
        );
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 24px rgba(47, 128, 237, 0.20);
}

.user-card-meta span,
.summary-box {
    background: rgba(148, 163, 184, 0.075);
    border-color: var(--premium-border);
}

.user-chips span {
    color: var(--primary);
    background: rgba(47, 128, 237, 0.075);
    border-color: rgba(47, 128, 237, 0.14);
}

.user-card-actions {
    border-top-color: var(--premium-border);
}

body.dark .enterprise-user-card {
    background:
        linear-gradient(
            145deg,
            rgba(16, 36, 60, 0.88),
            rgba(8, 24, 42, 0.78)
        );
    border-color: rgba(148, 179, 214, 0.13);
    box-shadow: var(--premium-shadow);
}

body.dark .user-card-meta span,
body.dark .summary-box {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(148, 179, 214, 0.12);
}

/*----------------------------------------------------------
REPLACEMENT MODULE POLISH
----------------------------------------------------------*/

.replacement-import-activity {
    background: rgba(255, 255, 255, 0.48);
    border-color: var(--premium-border);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.replacement-import-activity thead th {
    color: var(--muted);
    background: rgba(148, 163, 184, 0.055);
    border-bottom-color: var(--premium-border);
}

.replacement-import-activity tbody tr {
    transition: background-color var(--premium-transition);
}

.replacement-import-activity tbody tr:hover {
    background: rgba(47, 128, 237, 0.05);
}

.replacement-import-type {
    background: rgba(47, 128, 237, 0.08);
    border: 1px solid rgba(47, 128, 237, 0.12);
}

.replacement-clickable-kpi:hover {
    border-color: var(--premium-border-strong);
    box-shadow: var(--premium-shadow-hover);
}

.replacement-clickable-kpi:focus-visible {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.15);
}

body.dark .replacement-import-activity {
    background: rgba(10, 28, 48, 0.58);
    border-color: rgba(148, 179, 214, 0.12);
}

/* Preserve the existing replacement horizontal-scroll behavior. */
#replacementAssetResultsSection .table-responsive::-webkit-scrollbar {
    height: 8px;
}

#replacementAssetResultsSection .table-responsive::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.38);
    border-radius: 999px;
}

#replacementAssetResultsSection .table-responsive::-webkit-scrollbar-track {
    background: rgba(100, 116, 139, 0.08);
    border-radius: 999px;
}

/*----------------------------------------------------------
LOGIN PAGE POLISH
----------------------------------------------------------*/

.login-page {
    background:
        radial-gradient(
            circle at 12% 8%,
            rgba(47, 128, 237, 0.12),
            transparent 34%
        ),
        radial-gradient(
            circle at 88% 16%,
            rgba(46, 197, 206, 0.09),
            transparent 30%
        ),
        transparent;
}

.login-page-panel {
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--premium-border);
    border-radius: 26px;
    box-shadow:
        0 32px 90px rgba(15, 23, 42, 0.16),
        0 4px 16px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(26px) saturate(145%);
    -webkit-backdrop-filter: blur(26px) saturate(145%);
}

.login-brand-section {
    background:
        radial-gradient(
            circle at 18% 18%,
            rgba(255, 255, 255, 0.13),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #123F83 0%,
            #2367C5 48%,
            #147F8C 100%
        );
}

.login-brand-icon {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.20);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 16px 36px rgba(3, 20, 45, 0.16);
}

.login-form-section {
    background: rgba(255, 255, 255, 0.44);
}

body.dark .login-page {
    background:
        radial-gradient(
            circle at 12% 8%,
            rgba(41, 121, 255, 0.18),
            transparent 34%
        ),
        radial-gradient(
            circle at 86% 16%,
            rgba(34, 211, 238, 0.10),
            transparent 30%
        ),
        transparent;
}

body.dark .login-page-panel {
    background: rgba(7, 20, 35, 0.82);
    border-color: rgba(148, 179, 214, 0.13);
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.46);
}

body.dark .login-form-section {
    background: rgba(7, 20, 35, 0.54);
}

body.dark .login-form-card .form-control {
    color: var(--text) !important;
    background-color: rgba(11, 31, 52, 0.90) !important;
    border-color: rgba(148, 179, 214, 0.17) !important;
}

body.dark .login-form-card .form-control:focus {
    color: #FFFFFF !important;
    background-color: rgba(13, 35, 59, 0.96) !important;
    border-color: rgba(90, 167, 255, 0.72) !important;
    box-shadow: 0 0 0 3px rgba(90, 167, 255, 0.14) !important;
}

/*----------------------------------------------------------
ACCESSIBILITY AND MOTION
----------------------------------------------------------*/

:focus-visible {
    outline: 2px solid rgba(47, 128, 237, 0.78);
    outline-offset: 2px;
}

::selection {
    color: #FFFFFF;
    background: rgba(47, 128, 237, 0.78);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/*----------------------------------------------------------
RESPONSIVE VISUAL ADJUSTMENTS
----------------------------------------------------------*/

@media (max-width: 992px) {
    body::before,
    body::after {
        width: min(72vw, 600px);
        opacity: 0.20;
    }

    .content {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .top-header::before {
        inset: 6px 8px;
        border-radius: 16px;
    }

    .glass-card {
        border-radius: 20px;
    }

    .btn {
        min-height: 42px;
    }
}

/*==========================================================
LOGIN PAGE — CENTER POSITION FIX
==========================================================*/

.login-page {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 32px;
    overflow-y: auto;

    z-index: 1050;
}

.login-page-panel {
    margin: auto;
}

@media (max-width: 850px) {

    .login-page {
        padding: 20px;
    }

}

@media (max-width: 480px) {

    .login-page {
        top: 58px;
        padding: 12px;
    }

}