﻿

:root {
    --brand-blue: #281c4a;
    --brand-orange: #fd7e14;
    --brand-blue-dark: #281c4a;
    --brand-bg: #F7FAFF;
    --brand-bright-orange: #ff2300;
    --brand-green-bg: #157347;
    --brand-shadow: 0 10px 40px rgba(40, 123, 255, 0.10);
    --brand-radius: 45px;
    --sidebar-width: 80px;
    --sidebar-width-expanded: 260px;
    --transition: 0.45s cubic-bezier(.42,0,.32,1);
    --submenu-bg: #F8FAFF;
    --submenu-active-bg: #E9F0FB;
    --submenu-border: #E1E8F0;
    --primary: #fd7e14;
    --dark: #281c4a;
    --glass: rgba(255,255,255,0.96);
    --glass-border: rgba(253,126,20,0.11);
    --brand-gradient: linear-gradient(90deg, #fd7e14 10%, #fff4e6 100%);
    --shadow-card: 0 2.5px 14px 0 rgba(40,28,74,0.08), 0 0.5px 2px 0 rgba(253,126,20,0.03);
    --border-radius: 22px;
    --shadow-card: 0 2.5px 14px 0 rgba(40,28,74,0.08), 0 0.5px 2px 0 rgba(253,126,20,0.03);
    --glass: rgba(255,255,255,0.96);
    --glass-border: rgba(253,126,20,0.11);
    --brand-gradient: linear-gradient(90deg, #fd7e14 10%, #fff4e6 100%);
    --border-radius: 22px;
    --bs-btn-disabled-bg: #4a4c4e !important;
}

.bg-night-blue {
    background-color: #0a5a9b;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.alert {
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 5px;
}

.alert-success {
    background: #e7f8ee;
    color: #228c50;
}

.alert-danger {
    background: #fbeaec;
    color: #b8001c;
}
.brand-blue-dark-bg {
    background-color: var(--brand-blue-dark) !important;
}

.brand-bright-orange-bg {
    background-color: var(--brand-bright-orange) !important;
}

.brand-green-bg {
    background-color: var(--brand-green-bg) !important;
}

html, body {
    width: 100vw;
    overflow-x: hidden !important;
}


body {
    --content-title-font-family: "Work Sans", sans-serif;
    background: linear-gradient(to bottom, #fff 60%, var(--brand-bg) 100%);
    min-height: 100vh;
    margin: 0;
    color: var(--brand-blue-dark);
    font-family: "Work Sans", sans-serif;
    transition: background 0.6s, margin-left var(--transition);
    overflow-x: auto;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-thumb {
    background: rgba(40,123,255,0.10);
    border-radius: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

* {
    scrollbar-width: thin; 
    scrollbar-color: rgba(40,123,255,0.10) transparent; 
}


.app-shell {
    display: flex;
    flex-direction: row;
    width: 100vw;
    min-height: 100vh;
    position: relative;
    transition: all 0.3s;
}

/* Toast notification styles */

.custom-toast {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    min-width: 300px;
    max-width: 96vw;
    z-index: 9999;
    background: #fff;
    color: #222;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13), 0 1.5px 3px rgba(0,0,0,0.09);
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(.4,.14,.23,1), transform 0.35s cubic-bezier(.33,1,.68,1), box-shadow 0.3s cubic-bezier(.4,.14,.23,1);
}

.toast-info {
    border-left: 6px solid #233E99 !important;
}

.toast-success {
    border-left: 6px solid #2EB872 !important;
}

.toast-warning {
    border-left: 6px solid #FFC107 !important;
}

.toast-error {
    border-left: 6px solid #E64747 !important;
}

.toast-info i {
    color: #233E99;
}

.toast-success i {
    color: #2EB872;
}

.toast-warning i {
    color: #FFA800;
}

.toast-error i {
    color: #E64747 !important;
}

@media (max-width: 600px) {
    .custom-toast {
        min-width: 180px;
        font-size: 0.97rem;
        padding: 0.8rem 0.6rem;
        top: 1rem;
        right: 0.5rem;
    }
}
/* ********************
    Sidebar 
    ********************
*/
.navigation {
    position: fixed;
    top: 20px;
    left: 20px;
    bottom: 20px;
    width: var(--sidebar-width);
    background: var(--brand-blue);
    border-radius: var(--brand-radius);
    box-shadow: 15px 15px 25px rgba(0, 0, 0, 0.07);
    z-index: 1002;
    transition: width var(--transition), border-radius var(--transition), background var(--transition);
    display: flex;
    flex-direction: column;
    overflow: visible;
}

    .navigation.active {
        width: var(--sidebar-width-expanded);
        border-radius: 22px;
        background: #FFF;
    }

    .navigation .brand-header {
        display: flex;
        align-items: center;
        height: 80px;
        padding: 15px 22px 0 22px;
        gap: 12px;
        transition: padding var(--transition), color var(--transition);
    }

.sidebar-logo {
    height: 38px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.sidebar-logo-collapsed {
    display: block;
}

.sidebar-logo-expanded {
    display: none;
}

.navigation.active .sidebar-logo-collapsed {
    display: none;
}

.navigation.active .sidebar-logo-expanded {
    display: block;
}

.brand-name {
    font-size: 1.25em;
    font-weight: 700;
    color: #FFF;
    letter-spacing: 0.07em;
    display: inline-block;
    transition: color var(--transition), opacity 0.2s;
}

.navigation:not(.active) .brand-name {
    opacity: 0;
    width: 0;
}

.navigation.active .brand-name {
    color: var(--brand-blue-dark);
    opacity: 1;
    width: auto;
}

.menu-scroll-container {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: visible;
    padding-right: 2px;
}

    .menu-scroll-container::-webkit-scrollbar {
        width: 7px;
    }

    .menu-scroll-container::-webkit-scrollbar-thumb {
        background: rgba(40,123,255,0.10);
        border-radius: 4px;
    }

/***************************
    Main Menu 
    ****************************/
.navigation ul {
    position: relative;
    flex: 1;
    padding: 0;
    margin: 0;
    list-style: none;
    margin-top: 10px;
}

    .navigation ul li {
        position: relative;
        width: 100%;
        border-top-left-radius: 30px;
        border-bottom-left-radius: 30px;
        margin-bottom: 2px !important;
        transition: background 0.23s, box-shadow 0.21s, transform 0.21s;
    }

        .navigation ul li a {
            width: 100%;
            display: flex;
            align-items: center;
            text-decoration: none;
            color: #FFF;
            padding: 13px 0 13px 23px;
            border-radius: inherit;
            font-weight: 500;
            font-size: 1em;
            transition: color 0.23s, background 0.18s, padding-left 0.18s;
            position: relative;
            letter-spacing: 0.01em;
        }

            .navigation ul li a .icon {
                min-width: 42px;
                height: 44px;
                line-height: 44px;
                text-align: center;
                font-size: 1.55em;
                transition: color 0.21s;
            }

            .navigation ul li a .title {
                display: none;
                padding-left: 8px;
                white-space: nowrap;
            }

.navigation.active ul li a .title {
    display: inline-block;
}

.navigation ul li:hover,
.navigation ul li.active {
    background: #FFF;
    color: var(--brand-blue-dark);
    transform: translateX(2px) scale(1.03);
}

    .navigation ul li:hover a,
    .navigation ul li.active a {
        color: var(--brand-blue-dark);
    }

        .navigation ul li:hover a .icon,
        .navigation ul li.active a .icon {
            color: var(--brand-blue-dark);
        }

.navigation.active ul li:hover a .icon,
.navigation.active ul li.active a .icon {
    color: var(--brand-blue);
}

.navigation.active ul li a {
    color: var(--brand-blue-dark);
    padding-left: 19px;
}

.navigation.active ul li:hover a {
    color: var(--brand-blue);
}


.navigation:not(.active) .submenu,
.navigation:not(.active) .submenu-arrow {
    display: none !important;
}

.has-submenu > a {
    position: relative;
}

.submenu-arrow {
    margin-left: auto;
    margin-right: 10px;
    display: inline-block;
    width: 15px;
    height: 15px;
    background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24" height="14" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M9 5l7 7-7 7"></path></svg>') no-repeat center/contain;
    opacity: 0.6;
    transition: transform 0.22s;
    vertical-align: middle;
}

.has-submenu:hover > a .submenu-arrow,
.has-submenu:focus-within > a .submenu-arrow {
    transform: rotate(90deg);
}

.has-submenu {
    position: relative;
}
.navigation.active ul > li.has-submenu > .submenu {
    /*    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 215px;
    background: var(--submenu-bg);*/
    display: none;
    position: static;
    margin: 0 0 0 0;
    background: var(--submenu-bg);
    border-radius: 13px;
    padding: 6px 0 6px 24px;
    transition: max-height 0.32s cubic-bezier(.42,0,.32,1);
    overflow: hidden;
    max-height: 0;
    box-shadow: 0 8px 32px rgba(40,123,255,0.10);
    z-index: 1110;
    margin-left: 0;
    margin-top: 3px;
    box-sizing: border-box;
    border: 1.4px solid var(--submenu-border);
    max-height: 800px;
}


.navigation.active ul > li.has-submenu.open > .submenu {
    display: block;
    max-height: 500px;
    box-shadow: 0 8px 32px rgba(40,123,255,0.07);
    margin-bottom: 4px;
}

.navigation.active ul > li.has-submenu:hover > .submenu,
.navigation.active ul > li.has-submenu:focus-within > .submenu {
    display: block;
    animation: submenu-fade-in 0.23s cubic-bezier(.42,0,.32,1);
}

.navigation.active .submenu .has-submenu > .submenu {
    display: none;
    position: static;
    margin: 0 0 0 16px;
/*    border-radius: 10px;*/
    transition: max-height 0.25s cubic-bezier(.42,0,.32,1);
    overflow: hidden;
    max-height: 800px;
    left: 100%;
    top: 0;
    min-width: 190px;
    background: var(--submenu-bg);
    box-shadow: 0 4px 20px rgba(40,123,255,0.12);
    border-radius: 13px;
    padding: 7px 0;
    margin-left: 7px;
    margin-top: 0;
    border: 1.2px solid var(--submenu-border);
    z-index: 1120;
}

.navigation.active .submenu .has-submenu:hover > .submenu,
.navigation.active .submenu .has-submenu:focus-within > .submenu {
    display: block;
    animation: submenu-fade-in 0.21s cubic-bezier(.42,0,.32,1);
}

.submenu li {
    margin: 0;
    border-radius: 8px;
}

.submenu a {
    display: flex;
    align-items: center;
    padding: 11px 18px 11px 22px;
    font-size: 1.01em;
    color: var(--brand-blue-dark);
    background: none;
    border-radius: 8px;
    transition: background 0.16s, color 0.13s;
    position: relative;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.submenu-title {
    font-weight: 600;
}

.submenu a:hover,
.submenu li.active > a {
    background: var(--submenu-active-bg);
    color: var(--brand-blue);
}

    .submenu a:hover::before,
    .submenu li.active > a::before {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3.3px;
        border-radius: 4px 0 0 4px;
        background: var(--brand-blue-dark);
    }

@keyframes submenu-fade-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 650px) {
    .submenu {
        left: 90%;
        min-width: 120px;
        font-size: 0.93em;
    }
}

.toggle {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 52px;
    background: #FFF;
    border-radius: 50%;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.13);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 12;
    transition: background var(--transition), left var(--transition);
}

    .toggle::before, .toggle::after {
        content: '';
        position: absolute;
        width: 28px;
        height: 3.3px;
        border-radius: 3px;
        background: var(--brand-blue-dark);
        transition: 0.5s;
    }

    .toggle::before {
        transform: translateY(-6px);
    }

    .toggle::after {
        transform: translateY(6px);
    }

.navigation.active .toggle {
    left: 94%;
}

    .navigation.active .toggle::before {
        transform: translateY(0) rotate(-405deg);
    }

    .navigation.active .toggle::after {
        transform: translateY(0) rotate(405deg);
    }

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 64px;
    background: #FFF;
    box-shadow: 0 2px 10px rgba(40,123,255,0.07);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 34px;
    z-index: 1001;
    transition: left var(--transition), background var(--transition), box-shadow var(--transition), height var(--transition);
    border-bottom-left-radius: 0;
}

body.active .topbar {
    left: var(--sidebar-width-expanded);
    width: calc(100vw - var(--sidebar-width-expanded));
}

body.sidebar-collapsed .topbar {
    background: transparent !important;
    box-shadow: none !important;
    height: 56px;
    min-height: 56px;
    padding: 0 24px 0 18px;
    pointer-events: none;
}

    body.sidebar-collapsed .topbar > * {
        pointer-events: auto;
        position: relative;
        top: 0;
    }

    body.sidebar-collapsed .topbar .logo {
        display: none !important;
    }

    body.sidebar-collapsed .topbar .actions {
        right: 0;
        position: relative;
        top: 0;
        gap: 20px;
    }

    body.sidebar-collapsed .topbar .user {
        right: 0;
        position: relative;
        top: 0;
    }

.topbar .search {
    flex: 1;
    max-width: 400px;
    margin: 0 32px;
}

    .topbar .search input {
        width: 100%;
        padding: 10px 18px;
        border: 1.5px solid #e3ebfc;
        border-radius: 100px;
        font-size: 1.07em;
        outline: none;
        background: #F5F9FF;
        transition: border 0.2s, box-shadow 0.2s;
    }

        .topbar .search input:focus {
            border-color: var(--brand-blue);
            box-shadow: 0 2px 12px rgba(40,123,255,0.08);
        }

.topbar .actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

    .topbar .actions button {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 1.4em;
        color: var(--brand-blue-dark);
        transition: color 0.2s, transform 0.15s;
    }

        .topbar .actions button:hover {
            color: var(--brand-blue);
            transform: scale(1.09);
        }

.topbar .user {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: #F6F9FF;
    padding: 5px 14px;
    border-radius: 100px;
    transition: background 0.2s;
}

    .topbar .user:hover {
        background: #EAF1FF;
    }

    .topbar .user img {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        object-fit: cover;
        box-shadow: 0 2px 5px rgba(0,0,0,.07);
    }

    .topbar .user span {
        font-weight: 500;
        color: var(--brand-blue-dark);
        font-size: 1em;
    }

/***********************
    Main content area 
    ****************************
*/


.main {
    margin-left: calc(var(--sidebar-width) + 10px);
    margin-top: 80px;
    padding: 0 32px 48px 32px;
    width: calc(100vw - var(--sidebar-width) - 10px);
    max-width: 100vw;
    box-sizing: border-box;
    transition: margin-left var(--transition), width var(--transition);
    overflow-x: auto;
}

body.active .main {
    margin-left: calc(var(--sidebar-width-expanded) + 10px);
    width: calc(100vw - var(--sidebar-width-expanded) - 10px);
}

body.sidebar-collapsed .main {
    margin-left: calc(var(--sidebar-width) + 10px);
}


body.sidebar-expanded .main {
    margin-left: calc(var(--sidebar-width-expanded) + 10px);
    width: calc(100vw - var(--sidebar-width-expanded) - 10px);
}


body.sidebar-overlay .main {
    margin-left: 0 !important;
    width: 100vw !important;
}


body:not(.sidebar-expanded) .main {
    margin-left: calc(var(--sidebar-width) + 10px);
    width: calc(100vw - var(--sidebar-width) - 10px);
}


.chart {
    background: #fff;
    padding: 32px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(40,123,255,0.07);
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 900px) {

    .main,
    body.sidebar-expanded .main {
        margin-left: 0 !important;
        width: 100vw !important;
        padding: 0 8px 48px 8px;
    }
}

@media (max-width: 650px) {
    :root {
        --sidebar-width: 56px;
        --sidebar-width-expanded: 180px;
    }

    .navigation, .navigation.active {
        width: var(--sidebar-width);
    }

    .main, body.active .main {
        margin-left: 0;
    }

    .topbar, body.active .topbar {
        left: var(--sidebar-width-expanded);
        width: calc(100vw - var(--sidebar-width-expanded));
    }

    .brand-header .brand-name, .navigation.active .brand-header .brand-name {
        display: none;
    }

    .topbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        transition: left var(--transition), width var(--transition);
        z-index: 1001;
    }
}

/*************************
    Stats Grid 
    *****************************/


.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 18px 0 22px 0;
}

.stat-card {
    background: var(--glass, rgba(255,255,255,0.75));
    border: none;
    border-radius: 22px;
    padding: 22px 20px 18px 20px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.20s, transform 0.15s;
    cursor: pointer;
    box-shadow: 0 4px 28px -10px #fd7e1425, 0 2px 9px 0 #6c757d0a;
    backdrop-filter: blur(10px);
    will-change: transform, box-shadow;
}

    .stat-card:hover {
        box-shadow: 0 16px 44px -10px #fd7e1455, 0 3px 12px 0 #fd7e144c;
        transform: translateY(-3px) scale(1.021);
    }

.stat-icon-glass {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 9px;
    margin-top: 2px;
    background: var(--icon-bg, rgba(253,126,20,0.10));
    color: var(--icon-col, #fd7e14);
    box-shadow: 0 2px 7px -2px rgba(253,126,20,0.06);
    transition: background 0.18s, color 0.18s;
}

.stat-card[data-type="approved"] .stat-icon-glass {
    background: rgba(61,216,130,0.11);
    color: #3fb98b;
}

.stat-card[data-type="rejected"] .stat-icon-glass {
    background: rgba(250, 82, 82, 0.10);
    color: #fa5252;
}

.stat-card[data-type="review"] .stat-icon-glass {
    background: rgba(44, 123, 229, 0.10);
    color: #2c7be5;
}

.stat-card[data-type="total"] .stat-icon-glass {
    background: rgba(253,126,20,0.11);
    color: #fd7e14;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #23263b;
    margin-bottom: 0px;
    margin-top: -1px;
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: 1.04rem;
    font-weight: 600;
    color: #7b809a;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.stat-change {
    font-size: 0.96rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #adb5bd;
    margin-bottom: 0;
}

    .stat-change.positive {
        color: #3fb98b;
    }

    .stat-change.negative {
        color: #fa5252;
    }

.stat-change-context {
    font-size: 0.91em;
    color: #b7bacd;
    font-weight: 500;
    margin-left: 10px;
}

.stat-sparkline {
    margin-top: 7px;
    margin-left: auto;
    width: 38px;
    opacity: 0.18;
}

@media (max-width: 1200px) {
    .stats-grid {
        gap: 14px;
    }

    .stat-card {
        padding: 17px 9px 14px 13px;
        min-height: 92px;
    }
}

@media (max-width: 700px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: 88px;
    }
}


/* --- CHART CONTAINER BLOCKS --- */
.chart-container {
    background: var(--glass);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    padding: 30px 24px;
    min-height: 310px;
    transition: box-shadow 0.19s;
    overflow: hidden;
}

.chart-title {
    font-size: 1.17rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.list-group-item {
    border: none;
    border-radius: 13px;
    margin-bottom: 2px;
    background: rgba(253,126,20,0.06);
}

.status-badge, .badge.status-submitted {
    background: #fffbe9 !important;
    color: var(--primary) !important;
    font-weight: 700;
    padding: 0.43em 1.1em !important;
    font-size: 1em !important;
    border-radius: 14px;
    box-shadow: 0 2px 8px -3px #ffe1b5;
    border: 1px solid #ffe1b5;
}

.rounded-circle {
    border-radius: 50% !important;
}

@media (max-width: 900px) {
    .chart-container {
        min-height: 220px;
        padding: 16px 9px;
    }

    .chart-title {
        font-size: 1.01rem;
        margin-bottom: 8px;
    }
}

.tcxspan{
    text-decoration: none !important;
}

.filters-container {
    background: var(--glass) !important;
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-card) !important;
    border: 1.5px solid var(--glass-border) !important;
    padding: 24px !important;
}

.glass-card, .table-container {
    background: var(--glass) !important;
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-card) !important;
    border: 1.5px solid var(--glass-border) !important;
    padding: 24px !important;
}

.selected-row {
    background: #fff1e6 !important;
    font-weight: bold !important;
    color: black !important;
}

.redzen-table, .modern-table {
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow-card) !important;
    border: 1.5px solid var(--glass-border) !important;
    background: var(--glass) !important;
    width: 100%;
    margin-bottom: 0;
}

    .redzen-table th, .modern-table th {
        background: #fff7ed !important;
        border: none !important;
        padding: 16px !important;
        font-weight: 700 !important;
        color: var(--primary) !important;
        font-size: 0.98rem;
        text-transform: uppercase;
        letter-spacing: 0.4px;
    }

    .redzen-table td, .modern-table td {
        padding: 16px !important;
        border: none !important;
        border-bottom: 1px solid #ffe7c1 !important;
        vertical-align: middle !important;
        background: transparent !important;
    }

    .redzen-table tr, .modern-table tr {
        transition: all 0.13s;
    }

        .redzen-table tr:hover, .modern-table tr:hover {
            background: #fff1e6 !important;
            transform: scale(1.01);
        }

/* --- Status Chips --- */
.status-chip {
    display: inline-block;
    font-weight: 700 !important;
    border-radius: 14px !important;
    padding: 0.43em 1.1em !important;
    font-size: 1em !important;
    box-shadow: 0 2px 8px -3px #ffe1b5;
    border: 1px solid #ffe1b5;
}

.status-submitted {
    background: #fffbe9 !important;
    color: var(--primary) !important;
}

.status-inreview {
    background: #fffbe9 !important;
    color: #fd7e14 !important;
}

.status-approved {
    background: #ecfff6 !important;
    color: #3fb98b !important;
}

.status-rejected {
    background: #ffe6e6 !important;
    color: #fa5252 !important;
}

.table-actions .icon-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
    border: 1.5px solid #ffe7c1 !important;
    background: #fffdfa !important;
    color: var(--primary) !important;
    margin: 0 3px !important;
    transition: background 0.16s, color 0.16s;
    font-size: 1.25rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .table-actions .icon-btn:hover {
        background: var(--primary) !important;
        color: #fff !important;
        transform: translateY(-2px) scale(1.07);
        box-shadow: var(--shadow-card) !important;
    }

.export-block {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.export-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2.5px solid #d7d7d7;
    border-radius: 8px;
    background: #fff;
    padding: 12px 16px;
    min-width: 120px;
    transition: box-shadow 0.13s, border-color 0.13s;
    cursor: pointer;
    box-shadow: 0 2.5px 14px 0 rgba(40,28,74,0.08);
    font-weight: 600;
    font-size: 1rem;
}

    .export-btn:hover {
        border-color: #fd7e14;
        box-shadow: 0 8px 24px -6px #fd7e1433;
    }

    .export-btn img, .export-btn svg {
        width: 48px;
        height: 48px;
        margin-bottom: 6px;
    }

@media (max-width: 900px) {
    .redzen-table th, .redzen-table td,
    .modern-table th, .modern-table td {
        padding: 11px !important;
    }
}

/******Table*************/

.status-chip {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    display: inline-block;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.status-submitted {
    background-color: #fff3cd;
    color: #856404;
}

.status-inreview {
    background-color: #ffeeba;
    color: #8a6d3b;
}

.status-approved {
    background-color: #d4edda;
    color: #155724;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.redzen-table .rz-paginator {
    background: #fff;
    border-top: 1px solid #eee;
    font-size: 14px;
    padding: 0.75rem;
}


.redzen-table thead tr th {
    background: #fff6ea;
    color: #fd7e14;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    border-bottom: 2px solid #ffe0b3;
    vertical-align: middle;
    text-transform: uppercase;
    padding-top: 14px;
    padding-bottom: 14px;
}

.redzen-table tbody tr {
    background: #fff;
    transition: background 0.15s, box-shadow 0.15s;
}

    .redzen-table tbody tr:hover {
        background: #fdf3e8; 
        box-shadow: 0 2px 12px rgba(253, 126, 20, 0.04);
    }

    .redzen-table tbody tr.rz-state-selected,
    .redzen-table tbody tr.selected,
    .redzen-table tbody tr[aria-selected="true"] {
        background: #fff2d8 !important;
        box-shadow: 0 2px 18px 0 rgba(253, 126, 20, 0.09);
        border-left: 4px solid #fd7e14;
    }

        .redzen-table tbody tr.rz-state-selected td,
        .redzen-table tbody tr.selected td,
        .redzen-table tbody tr[aria-selected="true"] td {
            color: #281c4a;
            font-weight: 600;
        }

.checkbox-header, .checkbox-row {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    height: 42px;
    padding: 0 !important;
}

.redzen-table .rz-checkbox-box {
    margin: 0 auto;
    box-shadow: none;
    outline: none;
}

.btn-brand-dark {
    background: #281c4a;
    color: #fff !important;
    border: none;
    padding: 8px 18px;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.15s;
    box-shadow: 0 1px 6px 0 rgba(40, 28, 74, 0.06);
}

    .btn-brand-dark:hover {
        background: #160e26;
        color: #fff !important;
    }

.btn-brand-accent {
    background: #fd7e14;
    color: #fff !important;
    border: none;
    padding: 8px 18px;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.15s;
    box-shadow: 0 1px 6px 0 rgba(253, 126, 20, 0.10);
}

    .btn-brand-accent:hover {
        background: #e95a00;
        color: #fff !important;
    }


.bbtn {
    padding: 16px 28px;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    color: white !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    outline: none;
    text-decoration: none;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
}


    .bbtn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.6s;
    }

    .bbtn:hover::before {
        left: 100%;
    }

    .bbtn:hover {
        transform: translateY(-2px);
    }

.btn-special {
    background: linear-gradient(135deg, #ff6b35 0%, #4a4a7a 50%, #ff6b35 100%);
    background-size: 300% 300%;
    color: white;
    font-weight: 800;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 4px 8px rgba(255, 107, 53, 0.3), 0 16px 32px rgba(74, 74, 122, 0.2);
    animation: gradientFlow 4s ease-in-out infinite;
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.btn-special:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 8px 16px rgba(255, 107, 53, 0.4), 0 32px 64px rgba(74, 74, 122, 0.3);
}

.export-block .btn i {
    font-size: 1.2rem;
}

.export-block .btn span {
    font-size: 1rem;
    font-weight: 600;
}

.redzen-table {
    border-radius: 22px;
    overflow: hidden;
    border: none;
}

.table-actions .icon-btn {
    background: transparent;
    border: none;
    margin-right: 7px;
    color: #fd7e14;
    font-size: 1.18rem;
    border-radius: 50%;
    transition: background 0.15s, color 0.15s;
    padding: 6px;
    text-decoration: none;
}

    .table-actions .icon-btn:last-child {
        margin-right: 0;
    }

    .table-actions .icon-btn:hover {
        background: #fff6ea;
        color: #281c4a;
    }

.redzen-table td, .modern-table td {
    padding: 16px 0px !important;
}

.redzen-table th, .modern-table th{
    padding: 0px !important;
}

.brand-btn {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: 1.09rem;
    border-radius: 999px;
    padding: 0.75rem 1.95rem;
    box-shadow: 0 3px 18px 0 rgba(255,102,0,0.09);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.rz-picker-popup,
.rz-datepicker-popup,
.rz-timepicker-popup,
.rz-dropdown-popup,
.rz-calendar {
    z-index: 3000 !important;
}

.filters-container, .glass-card {
    overflow: visible !important;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*InformationRequestedJustification*/

.information-requested-justification-modal {
    background: #fff !important;
    box-shadow: 0 2.5px 14px 0 rgba(40,28,74,0.08), 0 0.5px 2px 0 rgba(253,126,20,0.03) !important;
    border-radius: 22px !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

.information-requested-justification-modal .rz-dialog-titlebar {
    background: var(--brand-blue-dark);
    padding: 10px 12px;
    border-bottom: none;
}

.information-requested-justification-modal .rz-dialog-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.02em;
}

.information-requested-justification-modal .icon {
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    justify-content: center;
    align-items: center;
    font-size: 36px
}

.information-requested-justification-modal .subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 100;
    font-style: italic;
}

.information-requested-justification-modal .footer {
    border-top: none;
    padding: 24px 0px 0px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

/*Registration*/

.registration-modal {
    background: var(--glass);
    /*border: 1.5px solid var(--glass-border);*/
    box-shadow: var(--shadow-card);
    border-radius: var(--border-radius);
    z-index: 10;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}
.registration-modal .form-control {
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-card);
    border-radius: 12px;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .registration-modal .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.25);
    }
.registration-modal .rz-dialog-titlebar {
    background: var(--brand-blue-dark);
    padding: 20px 24px;
    border-bottom: none;
}
.registration-modal .rz-dialog-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.02em;
}
.registration-modal .footer {
    border-top: none;
    padding: 24px 24px 0px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.registration-modal-confirm {
    background: var(--glass);
    box-shadow: var(--shadow-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}
.registration-modal-confirm .rz-dialog-titlebar {
    background: var(--brand-blue-dark);
    padding: 20px 24px;
    border-bottom: none;
}
.registration-modal-confirm .rz-dialog-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.02em;
}
.registration-modal-confirm .footer {
    border-top: none;
    padding: 24px 24px 0px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Modern validation message styling */
.validation-message {
    color: #E14444 !important;
    background: #FFF6F6;
    border-radius: 6px;
    padding: 6px 12px;
    margin-top: 7px;
    margin-bottom: 7px;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.4;
}

/*Notes*/
.notes-modal {
    background: var(--glass);
    border: 1.5px solid var(--glass-border);
    box-shadow: var(--shadow-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

    .notes-modal .modal-header {
        background: var(--brand-blue-dark);
        color: #fff;
        padding: 20px 24px;
        border-bottom: none;
/*        border-top-left-radius: var(--border-radius);
        border-top-right-radius: var(--border-radius);*/
    }

    .notes-modal .modal-title {
        font-weight: 700;
        font-size: 1.3rem;
        display: flex;
        align-items: center;
        gap: 12px;
        letter-spacing: 0.02em;
    }

    .notes-modal .btn-close {
        background: transparent;
        border: none;
        color: #fff;
        opacity: 0.8;
        transition: opacity 0.2s;
    }

        .notes-modal .btn-close:hover {
            opacity: 1;
        }

    .notes-modal .modal-body {
        padding: 24px;
        background: transparent;
    }

.notes-list {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 16px;
}

    .notes-list::-webkit-scrollbar {
        width: 6px;
    }

    .notes-list::-webkit-scrollbar-thumb {
        background: rgba(253, 126, 20, 0.4);
        border-radius: 3px;
    }

    .notes-list::-webkit-scrollbar-track {
        background: transparent;
    }

.note-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .note-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(40, 28, 74, 0.12);
    }

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

    .note-header strong {
        color: var(--primary);
        font-weight: 700;
    }

    .note-header span {
        font-size: 0.85rem;
        color: #6c757d;
        font-style: italic;
    }

.note-content {
    font-size: 1rem;
    line-height: 1.5;
    color: #343a40;
    word-break: break-word;
}

.new-note {
    background: #fff4e6 !important;
    border-left: 5px solid var(--primary);
    animation: highlightNew 2s ease-out;
}

@keyframes highlightNew {
    0% {
        background: #ffe7c1;
        transform: scale(1.02);
    }

    100% {
        background: #fff4e6;
        transform: scale(1);
    }
}

.notes-modal .form-control {
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-card);
    border-radius: 12px;
    min-height: 80px;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .notes-modal .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.25);
    }

.notes-modal .modal-footer {
    border-top: none;
    padding: 0 24px 24px 24px;
    justify-content: flex-end;
    gap: 12px;
}

.notes-modal .btn-secondary {
    background: #f8f9fa;
    color: #281c4a;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

    .notes-modal .btn-secondary:hover {
        background: #e9ecef;
        color: #281c4a;
    }

.notes-modal .btn-primary {
    background: var(--brand-blue-dark);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(253, 126, 20, 0.3);
    transition: background 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .notes-modal .btn-primary:hover {
        background: var(--brand-blue-dark);
        box-shadow: 0 4px 12px rgba(253, 126, 20, 0.4);
    }

.note-item .btn-sm {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
}

.note-item .btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    transition: background 0.2s, color 0.2s;
}

    .note-item .btn-outline-primary:hover {
        background: var(--primary);
        color: #fff;
    }

.note-item .btn-outline-danger {
    color: #fa5252;
    border-color: #fa5252;
    transition: background 0.2s, color 0.2s;
}

    .note-item .btn-outline-danger:hover {
        background: #fa5252;
        color: #fff;
    }


.notes-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

    .notes-modal-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
        opacity: 0.8;
    }

.notes-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1;
    position: relative;
}

.notes-modal-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

    .notes-modal-icon i {
        font-size: 20px;
        color: #ffffff;
    }

.notes-header-content h3 {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notes-count-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.custom-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .custom-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

.notes-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
}

.note-category-selector-wrapper {
    position: relative;
    min-width: 160px;
}

.note-category-selector {
    padding-right: 2.5rem;
    background: linear-gradient(135deg, #f8f4ff 0%, #fff0f8 100%);
    border: 2px solid #ffe1d6;
    border-radius: 0.5rem;
    font-weight: 500;
    color: #ff6b35;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

    .note-category-selector:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
        border-color: #ff6b35;
    }

    .note-category-selector:focus {
        outline: none;
        border-color: #ff6b35;
        box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
    }

    .note-category-selector:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

.note-category-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff6b35;
    pointer-events: none;
    transition: color 0.3s ease;
}

.note-category-selector-wrapper:hover .note-category-icon {
    color: #ff6b35;
}

.note-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.1);
    color: #ff6b35;
    border: 1px solid rgba(139, 92, 246, 0.2);
    margin-left: 0.5rem;
}

.note-category-assessornote {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.2);
}

.note-category-telephonecall {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border-color: rgba(34, 197, 94, 0.2);
}

.note-category-gahicalculations {
    background: rgba(236, 72, 153, 0.1);
    color: #db2777;
    border-color: rgba(236, 72, 153, 0.2);
}

.note-category-gahideclaration {
    background: rgba(251, 146, 60, 0.1);
    color: #ea580c;
    border-color: rgba(251, 146, 60, 0.2);
}

.note-category-complaint {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border-color: rgba(239, 68, 68, 0.2);
}

.note-category-emails {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
    border-color: rgba(14, 165, 233, 0.2);
}

.note-category-documents {
    background: rgba(168, 85, 247, 0.1);
    color: #9333ea;
    border-color: rgba(168, 85, 247, 0.2);
}

.note-category-general {
    background: rgba(107, 114, 128, 0.1);
    color: #4b5563;
    border-color: rgba(107, 114, 128, 0.2);
}

.note-category-snippet {
    background: rgba(20, 184, 166, 0.1);
    color: #0d9488;
    border-color: rgba(20, 184, 166, 0.2);
}

.note-category-duplicate {
    background: rgba(217, 119, 6, 0.1);
    color: #b45309;
    border-color: rgba(217, 119, 6, 0.2);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.note-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .note-item:hover {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

    .note-item.editing {
        background: #f8f9fa;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .note-item.newly-added {
        animation: slideInRight 0.5s ease-out, highlight 2s ease-out;
    }

.note-header {
    margin-bottom: 0.75rem;
}

.note-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.author-badge {
    background: linear-gradient(135deg, #ffd5b1 0%, #ffffff 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.timestamp {
    color: #6c757d;
    font-size: 0.875rem;
}

.edited-badge {
    color: #ffc107;
    font-style: italic;
    margin-left: 0.25rem;
}

.note-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.note-content {
    color: #555;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

    .action-buttons button {
        transition: all 0.3s ease;
    }

        .action-buttons button:hover {
            transform: translateY(-2px);
        }

.edit-mode {
    animation: fadeIn 0.3s ease-out;
}

.edit-title, .edit-content {
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

    .edit-title:focus, .edit-content:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

.new-note-section {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.custom-textarea {
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    resize: vertical;
}

    .custom-textarea:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

.textarea-wrapper {
    position: relative;
}

.char-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.75rem;
    color: #6c757d;
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
}

    .char-counter.warning {
        color: #dc3545;
        font-weight: bold;
    }

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.loading-state {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.loading-indicator {
    color: #6c757d;
    display: flex;
    align-items: center;
}

.pulse-button {
    animation: pulse 2s infinite;
}

.pulse-icon {
    animation: pulse 2s infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes slideIn {
    from {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    to {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes highlight {
    0% {
        background: #fff3cd;
    }

    100% {
        background: white;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}
/***Notes search*/
.internal-notes-search-container {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid transparent;
}

    .internal-notes-search-container.internal-notes-expanded {
        max-height: 140px;
        border-bottom: 2px solid #ffe0d4;
        box-shadow: 0 4px 8px rgba(0, 123, 255, 0.1);
    }

.internal-notes-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.internal-notes-search-toggle-btn {
    background: linear-gradient(135deg, #ff6b35, #281c4a);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

    .internal-notes-search-toggle-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
    }

    .internal-notes-search-toggle-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transition: all 0.4s ease;
        transform: translate(-50%, -50%);
    }

    .internal-notes-search-toggle-btn:hover::before {
        width: 100px;
        height: 100px;
    }

    .internal-notes-search-toggle-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    }

    .internal-notes-search-toggle-btn:active {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    }

    .internal-notes-search-toggle-btn.internal-notes-active {
        background: linear-gradient(135deg, #ff4400, #ff6b35);
        transform: rotate(180deg);
    }

        .internal-notes-search-toggle-btn.internal-notes-active:hover {
            transform: rotate(180deg) translateY(-2px);
            box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
        }

.internal-notes-search-icon {
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.internal-notes-search-input-wrapper {
    padding: 15px 20px 20px 20px;
    animation: internal-notes-slideInFromTop 0.4s ease-out;
}

.internal-notes-search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.internal-notes-search-icon-wrapper {
    position: absolute;
    left: 15px;
    z-index: 3;
    color: #6c757d;
}


.internal-notes-search-input {
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 12px 50px 12px 50px !important;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .internal-notes-search-input:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1), 0 4px 15px rgba(0, 123, 255, 0.2);
        background: #fff;
        transform: translateY(-1px);
    }

.internal-notes-search-clear-btn {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: #6c757d;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 3;
    cursor: pointer;
    outline: none;
}

    .internal-notes-search-clear-btn:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
    }

    .internal-notes-search-clear-btn:hover {
        background: #dc3545;
        color: white;
        transform: scale(1.1);
    }

    .internal-notes-search-clear-btn:active {
        transform: scale(1.05);
    }

.internal-notes-search-results-info {
    margin-top: 8px;
    font-size: 12px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: internal-notes-fadeInUp 0.3s ease-out 0.2s both;
    min-height: 20px;
}

.internal-notes-no-results {
    color: #dc3545;
    font-style: italic;
}

.internal-notes-clear-search-link {
    color: #007bff !important;
    text-decoration: underline;
    font-size: inherit;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    margin: 0;
}

    .internal-notes-clear-search-link:hover {
        color: #0056b3 !important;
    }

    .internal-notes-clear-search-link:focus {
        outline: 2px solid rgba(0, 123, 255, 0.5);
        outline-offset: 2px;
    }

.internal-notes-search-highlight {
    background: linear-gradient(120deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
    color: #856404;
    box-shadow: 0 1px 3px rgba(255, 193, 7, 0.3);
    animation: internal-notes-highlightPulse 0.6s ease-out;
}

.note-item.internal-notes-search-highlighted {
    border-left: 4px solid #007bff;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
}

.internal-notes-search-empty {
    animation: internal-notes-fadeInScale 0.5s ease-out;
}

@keyframes internal-notes-slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes internal-notes-fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes internal-notes-fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes internal-notes-highlightPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 1px 3px rgba(255, 193, 7, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 2px 8px rgba(255, 193, 7, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 1px 3px rgba(255, 193, 7, 0.3);
    }
}

@media (max-width: 768px) {
    .internal-notes-search-input {
        padding: 10px 40px 10px 35px;
        font-size: 12px;
    }

    .internal-notes-search-toggle-btn {
        width: 35px;
        height: 35px;
    }

    .internal-notes-search-container.internal-notes-expanded {
        max-height: 120px;
    }

    .internal-notes-search-input-wrapper {
        padding: 12px 15px 15px 15px;
    }
}

/*************************/
/*********BulUpdatStatus*******/

.form-label {
    font-weight: 700;
    color: #374151;
    margin-bottom: 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-input, .form-select {
    padding: 16px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 1.5px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    font-size: 15px;
    color: #1f2937;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    font-weight: 500;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 0 0px rgba(255, 107, 53, 0);
}

    .form-input::placeholder {
        color: #9ca3af;
        font-weight: 400;
    }

    .form-input:focus, .form-select:focus {
        border-color: #ff6b35;
        background: linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 0 4px rgba(255, 107, 53, 0.1), 0 2px 8px rgba(255, 107, 53, 0.15);
        transform: translateY(-1px);
    }

    .form-select option {
        background: #ffffff;
        color: #1f2937;
        padding: 12px;
        font-weight: 500;
    }

.date-inputs {
    display: flex;
    gap: 16px;
    align-items: center;
}

    .date-inputs span {
        color: #6b7280;
        font-weight: 600;
        font-size: 14px;
    }


.modal-body {
    padding: 32px;
}

.modal-grid {
    display: grid;
    gap: 32px;
}

.percentage-container {
    position: relative;
}

.percentage-input {
    position: relative;
    margin-bottom: 24px;
}

    .percentage-input input {
        padding-right: 60px;
        text-align: center;
        font-size: 18px;
        font-weight: 700;
    }

.percentage-symbol {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: 20px;
}

.range-container {
    margin: 20px 0;
    position: relative;
}

.range-input {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, rgba(226, 232, 240, 0.8) 0%, rgba(255, 107, 53, 0.3) 50%, rgba(74, 74, 122, 0.3) 100%);
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .range-input::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: linear-gradient(135deg, #ff6b35 0%, #4a4a7a 100%);
        cursor: pointer;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3), 0 2px 8px rgba(255, 107, 53, 0.4), 0 4px 16px rgba(74, 74, 122, 0.2);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

        .range-input::-webkit-slider-thumb:hover {
            transform: scale(1.2);
            box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.4), 0 4px 12px rgba(255, 107, 53, 0.5), 0 8px 24px rgba(74, 74, 122, 0.3);
        }

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
}

.preview-section {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.8) 100%);
    border: 2px dashed rgba(255, 107, 53, 0.2);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .preview-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.05), transparent);
        animation: shimmer 3s infinite;
    }

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.preview-title {
    font-size: 18px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.stat-box {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.04), 0 8px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .stat-box:hover {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 4px 8px rgba(0, 0, 0, 0.08), 0 16px 32px rgba(0, 0, 0, 0.08);
    }

.stat-number {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b35 0%, #4a4a7a 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.modal-footer {
    padding: 0 32px 32px;
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.btn-cancel {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #64748b;
    border: 1px solid rgba(226, 232, 240, 0.8);
    font-weight: 600;
}

    .btn-cancel:hover {
        background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
        border-color: rgba(203, 213, 225, 0.8);
        color: #475569;
    }

.btn-execute {
    background: linear-gradient(135deg, #1e293b 0%, #3a3a5c 100%);
    color: white !important;
    font-weight: 800;
    font-size: 15px;
    padding: 16px 32px;
    box-shadow: 0 0 0 1px rgba(74, 74, 122, 0.2), 0 4px 8px rgba(74, 74, 122, 0.3), 0 16px 32px rgba(74, 74, 122, 0.2);
}

    .btn-execute:hover {
        background: linear-gradient(135deg, #3a3a5c 0%, #2a2a42 100%);
        box-shadow: 0 0 0 1px rgba(74, 74, 122, 0.3), 0 8px 16px rgba(74, 74, 122, 0.4), 0 32px 64px rgba(74, 74, 122, 0.3);
    }

    .btn-execute:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

.help-text {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
    line-height: 1.5;
    font-weight: 500;
}

.loading-dots {
    display: inline-flex;
    gap: 4px;
    margin-left: 12px;
}

.loading-dot {
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    animation: loading 1.4s infinite ease-in-out;
}

    .loading-dot:nth-child(1) {
        animation-delay: -0.32s;
    }

    .loading-dot:nth-child(2) {
        animation-delay: -0.16s;
    }

@keyframes loading {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.notification {
    position: fixed;
    top: 32px;
    right: 32px;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 16px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 20px 24px;
    max-width: 450px;
    z-index: 2000;
    transform: translateX(500px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
}

    .notification.show {
        transform: translateX(0) scale(1);
    }

    .notification.success {
        border-left: 4px solid #10b981;
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.02) 0%, #ffffff 100%);
    }

    .notification.error {
        border-left: 4px solid #ef4444;
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.02) 0%, #ffffff 100%);
    }

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.notification-icon {
    font-size: 20px;
    margin-top: 2px;
}

.notification-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    white-space: pre-line;
    font-weight: 500;
}


input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(203, 213, 225, 0.8);
    border-radius: 4px;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

    input[type="checkbox"]:checked {
        background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
        border-color: #ff6b35;
        transform: scale(1.05);
    }

        input[type="checkbox"]:checked::before {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-weight: bold;
            font-size: 12px;
        }

    input[type="checkbox"]:hover {
        border-color: #ff6b35;
        box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    }

.mu-empty-state-container {
    text-align: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.mu-empty-state-icon {
    font-size: 4rem;
    color: #e5e7eb;
    margin-bottom: 20px;
    animation: mu-float 3s ease-in-out infinite;
}

.mu-empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.mu-empty-state-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto 40px;
}

.mu-floating-cards {
    position: relative;
    height: 100px;
    width: 100%;
}

.mu-floating-card {
    position: absolute;
    width: 60px;
    height: 40px;
    background: #e5e7eb;
    border-radius: 8px;
    opacity: 0.3;
}

.mu-card-1 {
    left: 20%;
    top: 20%;
    animation: mu-float 3s ease-in-out infinite;
}

.mu-card-2 {
    right: 30%;
    top: 10%;
    animation: mu-float 3s ease-in-out infinite 1s;
}

.mu-card-3 {
    left: 50%;
    bottom: 20%;
    animation: mu-float 3s ease-in-out infinite 2s;
}

@keyframes mu-float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.mu-status-analysis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.mu-analysis-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
}

    .mu-analysis-title i {
        color: #6b7280;
    }

.mu-applications-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #6b7280;
}

.mu-count-badge {
    background: #6366f1;
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.mu-mixed-status-alert {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.mu-alert-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #92400e;
}

    .mu-alert-header i {
        font-size: 1rem;
    }

.mu-alert-description {
    color: #92400e;
    margin-bottom: 16px;
    line-height: 1.5;
}

.mu-status-breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.mu-status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

    .mu-status-item:hover {
        transform: translateY(-1px);
        background: rgba(255, 255, 255, 0.9);
    }

    .mu-status-item.mu-selected {
        background: rgba(99, 102, 241, 0.1);
        border-color: #6366f1;
        transform: translateY(-1px);
    }

.mu-status-radio {
    position: relative;
    cursor: pointer;
    user-select: none;
}

    .mu-status-radio input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.mu-radiomark {
    height: 18px;
    width: 18px;
    background-color: white;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.mu-status-radio input:checked ~ .mu-radiomark {
    background-color: #6366f1;
    border-color: #6366f1;
}

.mu-radiomark:after {
    content: "";
    position: absolute;
    display: none;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.mu-status-radio input:checked ~ .mu-radiomark:after {
    display: block;
}

.mu-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mu-status-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mu-status-name {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.mu-status-count {
    font-size: 0.8rem;
    color: #6b7280;
}

.mu-status-percentage {
    font-weight: 600;
    color: #92400e;
    font-size: 0.9rem;
}

.mu-no-selection-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    border-radius: 8px;
    color: #dc2626;
    font-size: 0.9rem;
    margin-top: 12px;
}

.mu-selection-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    border-radius: 8px;
    color: #065f46;
    font-size: 0.9rem;
    margin-top: 12px;
}

.mu-quick-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.mu-quick-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #6b7280;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .mu-quick-action-btn:hover {
        background: white;
        border-color: #6366f1;
        color: #6366f1;
        transform: translateY(-1px);
    }

.mu-disabled-dropdown {
    padding: 12px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #9ca3af;
    font-style: italic;
}

.mu-current-status-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #6b7280;
    font-style: italic;
}

    .mu-current-status-info i {
        color: #3b82f6;
    }

s ease;
}

.quick-action-btn:hover {
    background: white;
    border-color: #6366f1;
    color: #6366f1;
    transform: translateY(-1px);
}

.disabled-dropdown {
    padding: 12px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #9ca3af;
    font-style: italic;
}

.current-status-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #6b7280;
    font-style: italic;
}

    .current-status-info i {
        color: #3b82f6;
    }

/*********Advanced Filters*********/
.adv-filter-toggle {
    background: none;
    border: 1px solid #dee2e6;
    color: #6c757d;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 15px 0 10px 0;
    font-weight: 500;
}

    .adv-filter-toggle:hover {
        border-color: #adb5bd;
        color: #495057;
        background: #f8f9fa;
    }

    .adv-filter-toggle.adv-filter-active {
        border-color: #ff6b35;
        color: #ff6b35;
        background: #f8f9ff;
    }

.adv-filter-count {
    color: #6c757d;
    font-size: 12px;
    margin-left: 4px;
}

.adv-filter-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 15px;
}

    .adv-filter-container.adv-filter-expanded {
        max-height: 400px;
        border: 1px solid #dee2e6;
    }

.adv-filter-content {
    padding: 20px;
}

@media (max-width: 768px) {
    .adv-filter-container.adv-filter-expanded {
        max-height: 600px;
    }
}

/*********dOCS**********/
.modal.show {
    display: block;
    animation: docs-fadeIn 0.3s ease-out;
}

.modal-content.docs-modal-content {
    height: 90vh;
/*    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);*/
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 0 100px rgba(88, 101, 242, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.docs-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: var(--brand-blue-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.docs-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.docs-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.docs-title-wrapper {
    display: flex;
    flex-direction: column;
}

.docs-modal-title {
    margin: 0;
    color: white;
    font-size: 24px;
    font-weight: 600;
}

.docs-document-count {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.docs-btn-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 60px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .docs-btn-close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg);
    }

.docs-search-container {
    padding: 20px 32px;
    background: rgba(248, 249, 250, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.docs-search-wrapper {
    position: relative;
}

.docs-search-input {
    width: 100%;
    padding: 12px 20px 12px 48px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    color: #212529;
    font-size: 15px;
    transition: all 0.3s ease;
}

    .docs-search-input::placeholder {
        color: rgba(0, 0, 0, 0.4);
    }

    .docs-search-input:focus {
        outline: none;
        background: white;
        border-color: #5865f2;
        box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.15);
    }

.docs-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.4);
}

.docs-filter-chips {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.docs-filter-chip {
    padding: 6px 12px;
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 20px;
    color: #a8b3ff;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .docs-filter-chip:hover {
        background: rgba(88, 101, 242, 0.3);
    }

    .docs-filter-chip i {
        font-size: 12px;
        cursor: pointer;
    }


.docs-modal-body {
    flex: 1;
    display: flex;
    gap: 24px;
    padding: 24px;
    overflow: hidden;
}


.docs-list-container {
    width: 420px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.docs-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.docs-list-title {
    color: black;
    font-size: 16px;
    font-weight: 500;
}

.docs-btn-sort {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .docs-btn-sort:hover {
        background: rgba(255, 255, 255, 0.15);
        color: white;
    }


.docs-document-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
}


.docs-group-section {
    margin-bottom: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

    .docs-group-section:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

.docs-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.2s ease;
}

    .docs-group-header:hover {
        background: linear-gradient(135deg, #f0f2f5 0%, #f8f9fa 100%);
    }

.docs-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #212529;
    font-weight: 600;
    font-size: 15px;
}

    .docs-group-title i {
        color: #5865f2;
        font-size: 16px;
    }

.docs-group-count {
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.docs-unassigned-section .docs-group-title i {
    color: #ffa94d;
}

.docs-unassigned-count {
    background: linear-gradient(135deg, #ffa94d 0%, #fd7e14 100%);
}

.docs-collapse-btn {
    background: transparent;
    border: none;
    color: #6c757d;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .docs-collapse-btn:hover {
        color: #212529;
    }

.docs-group-items {
    padding: 12px;
}


.docs-item {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

    .docs-item:hover {
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        border-color: rgba(88, 101, 242, 0.2);
        transform: translateX(4px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    }

    .docs-item.docs-active {
        background: linear-gradient(135deg, rgba(88, 101, 242, 0.08) 0%, rgba(114, 137, 218, 0.05) 100%);
        border-color: #5865f2;
        box-shadow: 0 6px 20px rgba(88, 101, 242, 0.15);
    }

.docs-item-left {
    display: flex;
    gap: 12px;
    flex: 1;
}

.docs-doc-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(88, 101, 242, 0.2);
}

.docs-unassigned-icon {
    background: linear-gradient(135deg, #ffa94d 0%, #fd7e14 100%);
    box-shadow: 0 4px 8px rgba(255, 169, 77, 0.2);
}

.docs-doc-info {
    flex: 1;
    min-width: 0;
}

.docs-doc-title {
    color: #212529;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.docs-approved-badge {
    color: #28a745;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.docs-doc-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

    .docs-doc-meta span {
        color: #6c757d;
        font-size: 12px;
    }

.docs-doc-controls {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.docs-btn-view {
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(88, 101, 242, 0.2);
}

    .docs-btn-view:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
    }

.docs-btn-approve {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.2);
}

    .docs-btn-approve:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    }

.docs-dropdown-select {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    color: #495057;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .docs-dropdown-select:focus {
        outline: none;
        border-color: #5865f2;
        background: white;
        box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.1);
    }

.docs-dropdown-assign {
    border-color: #ffa94d;
}

    .docs-dropdown-assign:focus {
        border-color: #fd7e14;
        box-shadow: 0 0 0 3px rgba(255, 169, 77, 0.1);
    }

.docs-dropdown-select option {
    background: white;
    color: #212529;
}

.docs-badge-new {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #f54242 0%, #ff6b6b 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    animation: docs-pulse 2s infinite;
    box-shadow: 0 2px 6px rgba(245, 66, 66, 0.3);
}


.docs-no-documents {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #6c757d;
    text-align: center;
}

    .docs-no-documents i {
        font-size: 48px;
        color: #dee2e6;
        margin-bottom: 16px;
    }

.docs-doc-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.docs-btn-view {
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .docs-btn-view:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
    }

.docs-dropdown-select {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    color: #495057;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .docs-dropdown-select:focus {
        outline: none;
        border-color: #5865f2;
        background: white;
        box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.1);
    }

    .docs-dropdown-select option {
        background: white;
        color: #212529;
    }

.docs-badge-new {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #f54242 0%, #ff6b6b 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    animation: docs-pulse 2s infinite;
}


.docs-viewer-container {
    flex: 1;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.docs-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.docs-viewer-title {
    color: #212529;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.docs-viewer-controls {
    display: flex;
    gap: 8px;
}

.docs-viewer-btn {
    width: 36px;
    height: 36px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .docs-viewer-btn:hover {
        background: #f8f9fa;
        color: #212529;
        transform: translateY(-2px);
        border-color: rgba(0, 0, 0, 0.2);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

.docs-viewer-content {
    flex: 1;
    position: relative;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.docs-viewer-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: #6c757d;
}

.docs-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(88, 101, 242, 0.1);
    border-top-color: var(--brand-blue-dark);
    border-radius: 50%;
    animation: docs-spin 1s linear infinite;
}

.docs-viewer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: #6c757d;
    text-align: center;
    padding: 40px;
}

.docs-empty-icon {
    font-size: 64px;
    color: #dee2e6;
}

.docs-viewer-empty h4 {
    color: #495057;
    margin: 0;
}

.docs-viewer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.docs-page-info {
    color: #6c757d;
    font-size: 14px;
}

.docs-page-controls {
    display: flex;
    gap: 8px;
}

.docs-page-btn {
    width: 32px;
    height: 32px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .docs-page-btn:hover:not(:disabled) {
        background: #f8f9fa;
        color: #212529;
        border-color: rgba(0, 0, 0, 0.2);
    }

    .docs-page-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

.docs-document-list::-webkit-scrollbar {
    width: 8px;
}

.docs-document-list::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 4px;
}

.docs-document-list::-webkit-scrollbar-thumb {
    background: #cbd3da;
    border-radius: 4px;
}

    .docs-document-list::-webkit-scrollbar-thumb:hover {
        background: #adb5bd;
    }

@keyframes docs-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes docs-fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes docs-slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes docs-slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes docs-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes docs-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@media (max-width: 1200px) {
    .docs-list-container {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .modal-dialog {
        width: 100%;
        height: 100vh;
        margin: 0;
    }

    .modal-content.docs-modal-content {
        border-radius: 0;
        height: 100vh;
    }

    .docs-modal-body {
        flex-direction: column;
        padding: 16px;
    }

    .docs-list-container {
        width: 100%;
        height: 40%;
    }

    .docs-viewer-container {
        height: 60%;
    }
}

/* ---- Loader  ---- */

.brand-loader-backdrop {
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-width: 100vw;
}

.brand-loader {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .brand-loader .circle {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 8px solid #fff;
        border-top: 8px solid #233E99; 
        border-bottom: 8px solid #FF6600; 
        animation: spin 1.2s linear infinite;
        box-shadow: 0 0 24px #233E99, 0 0 44px #FF6600;
    }

    .brand-loader .circle2 {
        border-top: 8px solid #FF6600;
        border-bottom: 8px solid #233E99;
        border-left: 8px solid #fff;
        border-right: 8px solid #fff;
        animation: spin-rev 1.8s linear infinite;
        opacity: 0.65;
    }

    .brand-loader .logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 64px;
        height: 64px;
        z-index: 2;
        pointer-events: none;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-rev {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}


/* *******************************
*************Application details Page & Sections****** */

.application-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.application-btn-check:checked + .application-btn,
.application-btn.application-active,
.application-btn.application-show,
.application-btn:first-child:active,
:not(.application-btn-check) + .application-btn:active {
    background-color: var(--brand-blue) !important;
    color: white;
}

.application-min-h-screen {
    min-height: 100vh;
}

.application-header-gradient {
    background: linear-gradient(135deg, #2e2150 0%, #4a3670 100%);
    padding: 2rem;
}

.application-header-container {
    max-width: 1280px;
    margin: 0 auto;
}

.application-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.application-header-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.application-header-subtitle {
    font-size: 1.125rem;
    color: #d1d5db;
    font-weight: 400;
}

.application-header-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .application-header-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .application-header-grid {
        grid-template-columns: 1fr;
    }
}

.application-header-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.application-header-card-label {
    font-size: 0.875rem;
    color: #d1d5db;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.application-header-card-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.01em;
}

.application-status-dropdown, .application-assigned-dropdown {
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid #2e2150;
    background: white;
    color: #2e2150;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    font-family: inherit;
}

.application-account-type-dropdown {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #2e2150
}
    .application-status-dropdown option, .application-assigned-dropdown option, .application-account-type-dropdown option {
        color: #2e2150
    }


.application-main-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
}

.application-space-y-6 > *:not(:first-child) {
    margin-top: 1.5rem;
}

.application-section-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s;
    border-left: 6px solid #ff6600;
    margin-bottom: 1.5rem;
}

    .application-section-card:hover {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    }

.application-section-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .application-section-header:hover {
        background: #fafafa;
    }

.application-section-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    flex: 1;
}

.application-section-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    background: #2e2150;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.application-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e2150;
}

.application-section-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.application-icon-button {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #2e2150;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

    .application-icon-button:hover {
        background: #f3f4f6;
    }

    .application-icon-button.application-editing {
        color: #ff6600;
        background: #fff7ed;
    }

.application-chevron-button {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

    .application-chevron-button:hover {
        background: #f3f4f6;
    }

    .application-chevron-button.application-open {
        transform: rotate(180deg);
    }

.application-section-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s;
}

    .application-section-content.application-open {
        max-height: 5000px;
        opacity: 1;
        padding: 0 1.5rem 1.5rem;
    }

.application-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.application-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .application-grid-2,
    .application-grid-3 {
        grid-template-columns: 1fr;
    }
}

.application-info-row {
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid #f3f4f6;
}

    .application-info-row:last-child {
        border-bottom: none;
    }

.application-info-icon {
    font-size: 1.25rem;
    margin-top: 0.125rem;
    color: #ff6600;
}

.application-info-content {
    flex: 1;
}

.application-info-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.375rem;
    font-weight: 500;
}

.application-info-value {
    font-size: 1rem;
    font-weight: 600;
    color: #2e2150;
}

.application-info-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #2e2150;
}

    .application-info-input:focus {
        outline: none;
        border-color: #ff6600;
    }

.application-boolean-badge {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem;
    border-radius: 0.5rem;
    background: #f9fafb;
    border-left: 4px solid;
}

    .application-boolean-badge.application-active {
        border-left-color: #ff6600;
    }

    .application-boolean-badge.application-inactive {
        border-left-color: #cbd5e0;
    }

.application-badge-icon {
    font-size: 1.25rem;
}

.application-badge-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: #ff6600;
}

.application-badge-label {
    font-size: 0.875rem;
    font-weight: 500;
}

    .application-badge-label.application-active {
        color: #1f2937;
    }

    .application-badge-label.application-inactive {
        color: #6b7280;
    }

.application-gahi-member-card {
    background: #f9fafb;
    border-radius: 0.75rem;
    padding: 1.25rem;
    border: 2px solid #e5e7eb;
}

.application-gahi-member-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: #2e2150;
    margin-bottom: 1rem;
}

.application-gahi-input-group {
    margin-bottom: 0.875rem;
}

.application-gahi-label {
    font-size: 0.875rem;
    color: #6b7280;
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 500;
}

.application-gahi-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.application-gahi-currency {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
}

.application-gahi-input,
.application-gahi-select {
    padding: 0.625rem 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-weight: 600;
    color: #2e2150;
    font-size: 1rem;
}

.application-gahi-input {
    flex: 1;
}

.application-gahi-select {
    width: 100%;
    cursor: pointer;
}

    .application-gahi-input:disabled,
    .application-gahi-select:disabled {
        background: #f3f4f6;
        opacity: 0.7;
    }

.application-gahi-total-box {
    border-radius: 0.75rem;
    padding: 1.25rem;
    border-left: 4px solid;
}

    .application-gahi-total-box.application-blue {
        background: #eff6ff;
        border-left-color: #2e2150;
    }

    .application-gahi-total-box.application-orange {
        background: #fff7ed;
        border-left-color: #ff6600;
    }

.application-gahi-total-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.375rem;
    font-weight: 500;
}

.application-gahi-total-value {
    font-size: 1.875rem;
    font-weight: 700;
}

    .application-gahi-total-value.application-blue {
        color: #2e2150;
    }

    .application-gahi-total-value.application-orange {
        color: #ff6600;
    }

.application-gahi-threshold-box {
    padding: 1.25rem;
    border-radius: 0.75rem;
    border-left: 4px solid;
    margin-top: 1rem;
}

    .application-gahi-threshold-box.application-success {
        background: #f0fdf4;
        border-left-color: #10b981;
    }

    .application-gahi-threshold-box.application-error {
        background: #fef2f2;
        border-left-color: #ef4444;
    }

.application-gahi-threshold-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.application-gahi-threshold-icon {
    font-size: 1.5rem;
}

.application-gahi-threshold-text {
    font-weight: 700;
    font-size: 1.125rem;
}

.application-table-container {
    overflow-x: auto;
    margin-top: 0.5rem;
}

.application-data-table {
    width: 100%;
    border-collapse: collapse;
}

    .application-data-table thead tr {
        border-bottom: 2px solid #2e2150;
    }

    .application-data-table th {
        padding: 0.875rem 1rem;
        font-weight: 700;
        color: #2e2150;
        text-align: left;
        font-size: 0.875rem;
    }

        .application-data-table th.application-center {
            text-align: center;
        }

    .application-data-table tbody tr {
        border-bottom: 1px solid #e5e7eb;
    }

        .application-data-table tbody tr:hover {
            background: #fafafa;
        }

    .application-data-table td {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }

.application-data-table td.application-center {
    text-align: center;
}

.application-data-validation-table {
    table-layout: fixed;
    width: 100%;
}

    .application-data-validation-table.validation-table {
        table-layout: fixed;
        width: 100%;
    }

        .application-data-validation-table.validation-table th:first-child,
        .application-data-validation-table.validation-table td:first-child {
            width: 40%;
        }

        .application-data-validation-table.validation-table th:nth-child(2),
        .application-data-validation-table.validation-table td:nth-child(2) {
            width: 35%;
        }

        .application-data-validation-table.validation-table th:nth-child(3),
        .application-data-validation-table.validation-table td:nth-child(3) {
            width: 25%;
        }

.application-table-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

    .application-table-badge.application-success {
        background: #d1fae5;
        color: #065f46;
    }

    .application-table-badge.application-neutral {
        background: #f3f4f6;
        color: #1f2937;
    }

.application-table-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: #ff6600;
}

.application-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.9375rem;
}

.application-btn-primary {
    background: #2e2150;
    color: white;
}

    .application-btn-primary:hover {
        background: #1f1638;
    }

.application-btn-secondary {
    background: white;
    border: 2px solid #2e2150;
    color: #2e2150;
}

.application-btn-danger {
    border: 2px solid #ff6600;
    color: #ff6600;
    background: white;
}

.application-btn-accent {
    background: #ff6600;
    color: white;
}

.application-btn-large {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
}

.application-subsection {
    margin-bottom: 2rem;
}

.application-subsection-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ff6600 !important;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ff6600 !important;
}

.application-complete-validation-btn {
    display: block;
    margin: 1.5rem auto 0;
}

.application-action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1rem 0 2rem;
}

.application-document-status-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
}

.application-status-badge {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
}

    .application-status-badge.application-success {
        background: #d1fae5;
        color: #065f46;
    }

    .application-status-badge.application-error {
        background: #fee2e2;
        color: #991b1b;
    }

.application-space-y-2 > *:not(:first-child) {
    margin-top: 0.5rem;
}

.application-space-y-3 > *:not(:first-child) {
    margin-top: 0.75rem;
}

.application-space-y-4 > *:not(:first-child) {
    margin-top: 1rem;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10001;
    max-height: 200px;
    overflow: auto;
}

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #fff1e6;
        }



.application-select-container {
    position: relative;
    display: inline-block;
    width: auto;
}

.application-select-wrapper {
    position: relative;
    display: inline-block;
}

.application-select.rz-dropdown {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%) !important;
    color: white;
    border: none !important;
    border-radius: 8px;
    padding: 14px 50px 14px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3) !important;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none !important;
    min-width: 240px;
    min-height: fit-content;
    height: fit-content;
}

.application-select .rz-dropdown-label.rz-placeholder {
    color: white !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}

.application-select .rz-dropdown-trigger {
    display: none !important;
}

.application-select:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
}

    .application-select:focus {
        box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5), 0 0 0 3px rgba(255, 107, 53, 0.2);
    }

    .application-select option {
        background: white;
        color: #1a237e;
        padding: 12px;
        font-weight: 500;
    }

.application-select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.application-select:hover + .application-select-arrow {
    background: rgba(255, 255, 255, 0.3);
}

.application-select-arrow::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(26, 35, 126, 0.9);
}

.application-select:focus + .application-select-arrow::before {
    transform: rotate(180deg);
}



.application-btn-success {
    background-color: #28a745;
    color: #fff;
    border: none;
}

.application-btn-danger {
    background-color: #dc3545;
    color: #fff;
    border: none;
}

.pulse-on {
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.6);
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 rgba(40,167,69,0.6);
    }

    50% {
        box-shadow: 0 0 20px rgba(40,167,69,0.8);
    }

    100% {
        box-shadow: 0 0 0 rgba(40,167,69,0.6);
    }
}

.pulse-off {
    box-shadow: 0 0 0 rgba(220,53,69,0.5);
}

.validation-history-container {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    background-color: #fafafa;
    border: 1px solid #eee;
}

.validation-history-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.validation-history-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.validation-history-item {
    margin-bottom: 0.8rem;
    position: relative;
}

    .validation-history-item::before {
        content: '';
        position: absolute;
        left: -10px;
        top: 0.8rem;
        width: 6px;
        height: 6px;
        background-color: #28a745;
        border-radius: 50%;
    }

.validation-history-card {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.validation-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.validation-history-status.valid {
    color: #28a745;
    font-weight: 600;
}

.validation-history-status.invalid {
    color: #dc3545;
    font-weight: 600;
}

.validation-history-date {
    color: #666;
    font-size: 0.85rem;
}

.fade-in {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.application-btn-success {
    background-color: #28a745;
    color: white;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .application-btn-success:hover {
        background-color: #218838;
        transform: scale(1.03);
    }

.application-btn-danger {
    background-color: #dc3545;
    color: white;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .application-btn-danger:hover {
        background-color: #c82333;
        transform: scale(1.03);
    }

.application-btn-primary:disabled {
    pointer-events: none;
    cursor: default;
    background-color: #cccccc;
    color: linen;
    opacity: 1;
}

.import-csv-modal {
    background: #fff;
    box-shadow: 0 2.5px 14px 0 rgba(40,28,74,0.08), 0 0.5px 2px 0 rgba(253,126,20,0.03);
    border-radius: 22px;
    max-width: 800px;
    max-height: 800px;
    margin: 0 auto;
}

    .import-csv-modal .container {
        display: flex;
        flex-direction: column;
        margin: 10px 0px 10px 0px;
        row-gap: 5px;
    }

    .import-csv-modal .file-card {
        border: solid 0.5px #f5f5f5;
        background: #f5f5f5;
        flex-direction: row;
        padding: 5px 10px 5px 5px;
        display: flex;
    }

    .import-csv-modal .subtitle {
        color: rgba(255, 255, 255, 0.8);
        font-size: 14px;
        font-weight: 100;
        font-style: italic;
    }

    .import-csv-modal .icon {
        background: rgba(255, 255, 255, 0.15);
        display: flex;
        width: 60px;
        height: 60px;
        border-radius: 12px;
        justify-content: center;
        align-items: center;
        font-size: 36px
    }

    .import-csv-modal .rz-fileupload-files {
        display: none !important;
    }

    .import-csv-modal .rz-button-text {
        text-transform: none !important;
        margin: 5px !important;
        font-size: 0.9rem !important
    }

    .import-csv-modal .rz-fileupload-buttonbar {
        background: #fff !important;
    }

    .import-csv-modal .rz-fileupload-choose {
        width: 100% !important;
        text-align: center !important;
        padding: 40px 0 !important;
        background: #fff !important;
        border: 2px dashed #FF6600 !important;
    }

        .import-csv-modal .rz-fileupload-choose > input {
            left: 0 !important;
        }

    .import-csv-modal .rz-dialog-titlebar {
        background: #281c4a !important;
        padding: 10px 12px !important;
        border-bottom: none !important;
    }

    .import-csv-modal .rz-dialog-title {
        color: #fff !important;
        font-weight: 600 !important;
        font-size: 1.3rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        letter-spacing: 0.02em !important;
    }

    .import-csv-modal .rz-dialog-titlebar-close .rzi-times {
        color: #fff !important;
    }

        .import-csv-modal .rz-dialog-titlebar-close .rzi-times:hover {
            color: #dee2e6 !important;
            cursor: pointer !important;
        }

    .import-csv-modal .footer {
        border-top: none !important;
        padding: 24px 24px 0px 24px !important;
        display: flex !important;
        justify-content: flex-end !important;
        gap: 12px !important;
    }

.bulk-update-tab .modal-body {
    max-height: 650px !important;
    overflow-y: scroll !important;
}