/* =========================================================
   PMK ATI DASHBOARD
   MODERN ADMIN STYLE
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background: #f6f8fc;
    color: #172033;
    font-size: 14px;
}

html,
body,
button,
input,
select,
textarea {
    font-family: "Inter", Arial, sans-serif;
}

a {
    text-decoration: none;
}


/* =========================================================
   MAIN PAGE + SIDEBAR
   PMK ATI - FINAL CLEAN RESPONSIVE SYSTEM
   ========================================================= */

:root{
    --ati-sidebar-expanded:270px;
    --ati-sidebar-collapsed:72px;
    --ati-sidebar-bg:#082f68;
    --ati-sidebar-bg2:#0b3f88;
    --ati-sidebar-hover:rgba(255,255,255,.10);
    --ati-sidebar-text:#dbe8ff;
    --ati-sidebar-muted:#91acd2;
}

.ati-page{
    min-height:100vh;
    padding-left:var(--ati-sidebar-expanded);
    background:#f6f8fc;
    transition:padding-left .25s ease;
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.ati-sidebar{
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    width:var(--ati-sidebar-expanded);
    background:linear-gradient(
        180deg,
        var(--ati-sidebar-bg),
        var(--ati-sidebar-bg2)
    );
    color:#fff;
    z-index:1200;
    overflow-x:hidden;
    overflow-y:auto;
    transition:
        width .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
    scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.20) transparent;
}

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

.ati-sidebar::-webkit-scrollbar-track{
    background:transparent;
}

.ati-sidebar::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.20);
    border-radius:10px;
}

/* =========================================================
   COLLAPSED DESKTOP
   ========================================================= */

.ati-sidebar.collapsed{
    width:var(--ati-sidebar-collapsed);
}

/* Hover expands ONLY on desktop */
@media (min-width:1200px){

    .ati-sidebar.collapsed:hover{
        width:var(--ati-sidebar-expanded);
        box-shadow:10px 0 30px rgba(0,0,0,.18);
    }

}

/* =========================================================
   SIDEBAR INNER
   ========================================================= */

.ati-sidebar-inner{
    min-height:100%;
    display:flex;
    flex-direction:column;
}

/* =========================================================
   BRAND
   ========================================================= */

.ati-sidebar-brand{
    height:60px;
    padding:0 18px;
    display:flex;
    align-items:center;
    gap:12px;
    border-bottom:1px solid rgba(255,255,255,.08);
    white-space:nowrap;
    overflow:hidden;
}

.ati-sidebar-brand-icon{
    min-width:38px;
    width:38px;
    height:38px;
    border-radius:10px;
    background:rgba(255,255,255,.12);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-weight:800;
    font-size:13px;
    flex-shrink:0;
}

.ati-sidebar-brand-text{
    min-width:0;
    opacity:1;
    width:auto;
    overflow:hidden;
    transition:opacity .18s ease;
}

.ati-sidebar-brand-title{
    display:block;
    color:#fff;
    font-size:14px;
    font-weight:750;
}

.ati-sidebar-brand-subtitle{
    display:block;
    margin-top:2px;
    color:var(--ati-sidebar-muted);
    font-size:9px;
}

.ati-sidebar.collapsed .ati-sidebar-brand{
    justify-content:center;
    padding-left:17px;
    padding-right:17px;
}

.ati-sidebar.collapsed .ati-sidebar-brand-text{
    display:none;
}

@media (min-width:1200px){

    .ati-sidebar.collapsed:hover .ati-sidebar-brand{
        justify-content:flex-start;
        padding-left:18px;
        padding-right:18px;
    }

    .ati-sidebar.collapsed:hover .ati-sidebar-brand-text{
        display:block;
    }

}

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

.ati-sidebar-menu{
    flex:1;
    padding:15px 10px 25px;
}

.ati-menu-group{
    margin-bottom:4px;
}

.ati-menu-link,
.ati-menu-toggle{
    width:100%;
    min-height:46px;
    padding:0 12px;
    border:0;
    background:transparent;
    color:var(--ati-sidebar-text);
    display:flex;
    align-items:center;
    gap:12px;
    border-radius:9px;
    text-decoration:none;
    font-family:inherit;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    white-space:nowrap;
    transition:
        background .18s ease,
        color .18s ease;
}

.ati-menu-link:hover,
.ati-menu-toggle:hover{
    background:var(--ati-sidebar-hover);
    color:#fff;
}

.ati-menu-icon{
    min-width:30px;
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    color:#dbe8ff;
    font-size:15px;
    flex-shrink:0;
}

.ati-menu-text{
    flex:1;
    min-width:0;
    text-align:left;
    overflow:hidden;
    text-overflow:ellipsis;
}

.ati-menu-arrow{
    flex-shrink:0;
    font-size:10px;
    transition:transform .2s ease;
}

.ati-menu-link.active{
    background:rgba(255,255,255,.14);
    color:#fff;
}

/* Collapsed desktop menu */
.ati-sidebar.collapsed .ati-menu-link,
.ati-sidebar.collapsed .ati-menu-toggle{
    justify-content:center;
    padding-left:0;
    padding-right:0;
}

.ati-sidebar.collapsed .ati-menu-text,
.ati-sidebar.collapsed .ati-menu-arrow{
    display:none;
}

@media (min-width:1200px){

    .ati-sidebar.collapsed:hover .ati-menu-link,
    .ati-sidebar.collapsed:hover .ati-menu-toggle{
        justify-content:flex-start;
        padding-left:12px;
        padding-right:12px;
    }

    .ati-sidebar.collapsed:hover .ati-menu-text,
    .ati-sidebar.collapsed:hover .ati-menu-arrow{
        display:block;
    }

}

/* =========================================================
   DROPDOWN / SUBMENU
   ========================================================= */

.ati-submenu{
    display:none;
    margin:3px 0 7px;
    padding:2px 0 5px 42px;
}

.ati-menu-group.open > .ati-submenu{
    display:block;
}

.ati-submenu a{
    min-height:38px;
    padding:8px 10px;
    display:flex;
    align-items:center;
    gap:9px;
    color:var(--ati-sidebar-muted);
    text-decoration:none;
    border-radius:7px;
    font-size:11px;
    white-space:nowrap;
}

.ati-submenu a:hover{
    background:rgba(255,255,255,.07);
    color:#fff;
}

.ati-menu-group.open > .ati-menu-toggle .ati-menu-arrow{
    transform:rotate(180deg);
}

/* Never show submenu while truly collapsed */
.ati-sidebar.collapsed .ati-submenu{
    display:none !important;
}

/* If collapsed desktop is hovered, sidebar visually expands */
@media (min-width:1200px){

    .ati-sidebar.collapsed:hover
    .ati-menu-group.open > .ati-submenu{
        display:block !important;
    }

}

/* =========================================================
   NAVBAR / FOOTER POSITION
   ========================================================= */

.ati-navbar{
    left:var(--ati-sidebar-expanded);
    transition:left .25s ease;
}

.ati-footer{
    margin-left:var(--ati-sidebar-expanded);
    transition:margin-left .25s ease;
}

.ati-page.sidebar-collapsed{
    padding-left:var(--ati-sidebar-collapsed);
}

.ati-page.sidebar-collapsed .ati-navbar{
    left:var(--ati-sidebar-collapsed);
}

.ati-page.sidebar-collapsed .ati-footer{
    margin-left:var(--ati-sidebar-collapsed);
    width:calc(100% - var(--ati-sidebar-collapsed));
}

/* =========================================================
   TABLET
   768px - 1199px
   Auto collapsed. Hamburger can expand.
   No hover expansion.
   ========================================================= */

@media (min-width:768px) and (max-width:1199px){

    .ati-sidebar{
        width:var(--ati-sidebar-collapsed);
    }

    .ati-sidebar:not(.collapsed){
        width:var(--ati-sidebar-expanded);
        box-shadow:10px 0 30px rgba(0,0,0,.18);
    }

    .ati-page,
    .ati-page.sidebar-collapsed{
        padding-left:var(--ati-sidebar-collapsed);
    }

    .ati-page:not(.sidebar-collapsed){
        padding-left:var(--ati-sidebar-expanded);
    }

    .ati-navbar{
        left:var(--ati-sidebar-collapsed);
    }

    .ati-page:not(.sidebar-collapsed) .ati-navbar{
        left:var(--ati-sidebar-expanded);
    }

    .ati-footer{
        margin-left:var(--ati-sidebar-collapsed);
        width:calc(100% - var(--ati-sidebar-collapsed));
    }

    .ati-page:not(.sidebar-collapsed) .ati-footer{
        margin-left:var(--ati-sidebar-expanded);
        width:calc(100% - var(--ati-sidebar-expanded));
    }

    .ati-sidebar.collapsed:hover{
        width:var(--ati-sidebar-collapsed);
        box-shadow:none;
    }

}

/* =========================================================
   MOBILE
   <= 767px
   Sidebar is a real off-canvas menu.
   ========================================================= */

@media (max-width:767px){

    .ati-page,
    .ati-page.sidebar-collapsed,
    .ati-page:not(.sidebar-collapsed){
        padding-left:0;
    }

    .ati-sidebar,
    .ati-sidebar.collapsed{
        width:var(--ati-sidebar-expanded);
        transform:translateX(-100%);
        box-shadow:none;
    }

    .ati-sidebar:not(.collapsed){
        width:var(--ati-sidebar-expanded);
        transform:translateX(0);
        box-shadow:10px 0 35px rgba(0,0,0,.20);
    }

    /* Mobile always uses full menu when opened */
    .ati-sidebar.collapsed .ati-sidebar-brand{
        justify-content:flex-start;
        padding-left:18px;
        padding-right:18px;
    }

    .ati-sidebar.collapsed .ati-sidebar-brand-text,
    .ati-sidebar.collapsed .ati-menu-text,
    .ati-sidebar.collapsed .ati-menu-arrow{
        display:block;
    }

    .ati-sidebar.collapsed .ati-menu-link,
    .ati-sidebar.collapsed .ati-menu-toggle{
        justify-content:flex-start;
        padding-left:12px;
        padding-right:12px;
    }

    .ati-sidebar.collapsed .ati-submenu{
        display:none !important;
    }

    .ati-sidebar:not(.collapsed) .ati-submenu{
        display:none;
    }

    .ati-sidebar:not(.collapsed)
    .ati-menu-group.open > .ati-submenu{
        display:block;
    }

    .ati-navbar,
    .ati-page.sidebar-collapsed .ati-navbar{
        left:0;
    }

    .ati-footer,
    .ati-page.sidebar-collapsed .ati-footer{
        margin-left:0;
        width:100%;
    }

    .ati-sidebar-overlay{
        position:fixed;
        inset:0;
        background:rgba(5,15,30,.48);
        z-index:1150;
        opacity:0;
        visibility:hidden;
        pointer-events:none;
        transition:
            opacity .2s ease,
            visibility .2s ease;
    }

    .ati-sidebar-overlay.show{
        opacity:1;
        visibility:visible;
        pointer-events:auto;
    }

}

@media (min-width:768px){
    .ati-sidebar-overlay{
        display:none !important;
    }
}

@media (max-width:380px){

    :root{
        --ati-sidebar-expanded:250px;
    }

}


/* =========================================================
   NAVBAR
========================================================= */

.ati-navbar {
    position: fixed;

    top: 0;
    right: 0;
    left: 270px;

    height: 60px;

    background: #fff;

    border-bottom: 1px solid #e9edf4;

    z-index: 1000;

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

    padding: 0 28px;

    transition: .25s ease;
}

/* =========================================================
   MARQUEE BAR (notices)
   Fixed bar pinned directly under the navbar.
   body:has(.ati-marquee) bumps main paddings by its height.
========================================================= */

.ati-marquee {
    position: fixed;

    top: 60px;
    left: var(--ati-sidebar-expanded, 270px);
    right: 0;

    height: 34px;

    display: flex;
    align-items: center;

    background: linear-gradient(90deg, #fbbf24, #f97316);

    color: #4b2400;

    z-index: 990;

    box-shadow: 0 2px 6px rgba(249, 115, 22, .28);

    overflow: hidden;

    transition: left .25s ease;
}

.ati-page.sidebar-collapsed .ati-marquee,
body:has(#atiSidebar.collapsed) .ati-marquee {
    left: var(--ati-sidebar-collapsed, 72px);
}

.ati-marquee-label {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 0 16px;
    margin-right: 14px;

    height: 100%;

    background: rgba(120, 53, 15, .16);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.ati-marquee-label i {
    font-size: 13px;
}

.ati-marquee-viewport {
    flex: 1;

    overflow: hidden;
}

.ati-marquee-track {
    display: inline-flex;

    align-items: center;

    white-space: nowrap;

    animation: ati-marquee-scroll 30s linear infinite;
}

.ati-marquee:hover .ati-marquee-track {
    animation-play-state: paused;
}

.ati-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    font-size: 12.5px;
    font-weight: 600;
}

.ati-marquee-item > i {
    color: rgba(120, 53, 15, .55);
}

.ati-marquee-tag {
    flex: 0 0 auto;

    padding: 2px 8px;

    border-radius: 99px;

    background: rgba(120, 53, 15, .18);

    font-size: 9.5px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .5px;
}

@keyframes ati-marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* =========================================================
   MARQUEE PADDING COMPENSATION (desktop)
   Pinned under the 60px navbar => mains need +34px.
========================================================= */

body:has(.ati-marquee) .ati-dashboard-main,
body:has(.ati-marquee) .nb-main,
body:has(.ati-marquee) .wl-main,
body:has(.ati-marquee) .sv-main,
body:has(.ati-marquee) .ac-main,
body:has(.ati-marquee) .rn-main,
body:has(.ati-marquee) .nc-main,
body:has(.ati-marquee) .bp-main,
body:has(.ati-marquee) .rc-main,
body:has(.ati-marquee) .rc-main2,
body:has(.ati-marquee) .nci-main,
body:has(.ati-marquee) .cl-main,
body:has(.ati-marquee) .sl-main,
body:has(.ati-marquee) .cs-main,
body:has(.ati-marquee) .vw-main,
body:has(.ati-marquee) .rr-main {
    padding-top: 120px;
}

body:has(.ati-marquee) .ati-main {
    padding-top: 94px;
}

body:has(.ati-marquee) .at-main {
    padding-top: 58px;
}

/* =========================================================
   MARQUEE - MOBILE
   Navbar height is variable; drop the fixed bar to avoid overlap.
========================================================= */

@media (max-width: 767px) {
    .ati-marquee {
        display: none;
    }
}

.ati-navbar-left {
    display: flex;
    align-items: center;
}

.ati-navbar-toggle {
    width: 36px;
    height: 36px;

    border: 0;
    border-radius: 9px;

    background: linear-gradient(135deg, #facc15, #f97316);

    color: #ffffff;

    font-size: 17px;

    cursor: pointer;

    box-shadow: 0 6px 14px -6px rgba(249, 115, 22, .5);
}

.ati-navbar-toggle:hover {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #ffffff;
}

.ati-navbar-title {
    margin-left: 12px;

    font-size: 16px;

    color: #172033;
}

.ati-navbar-right {
    display: flex;
    align-items: center;
}

.ati-navbar-info,
.ati-navbar-icons,
.ati-wallet-wrapper,
.ati-session-wrapper {
    display: contents;
}

/* Dropdown panels (mobile wallet clicks & session) */

.ati-dd-panel {
    background: #fff;

    border: 1px solid #e6ebf2;

    border-radius: 13px;

    padding: 8px;

    box-shadow:
        0 15px 40px rgba(15,23,42,.14);

    color: #172033;
}

.ati-wallet-wrapper.open
.ati-wallet-dropdown,
.ati-session-wrapper.open
.ati-session-dropdown {
    display: block;

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}

.ati-dd-panel {
    display: none;

    position: fixed;

    top: 0;

    left: 0;

    min-width: 200px;

    z-index: 2400;
}

.ati-dd-row {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 9px 10px;
}

.ati-dd-ico {
    width: 34px;

    height: 34px;

    flex-shrink: 0;

    border-radius: 9px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eef4ff;

    color: #1769e0;

    font-size: 15px;
}

.ati-session-dropdown .ati-dd-ico {
    background: #f3edff;

    color: #7c3aed;
}

.ati-dd-meta {
    min-width: 0;
}

.ati-dd-meta small {
    display: block;

    color: #7c879a;

    font-size: 9.5px;

    font-weight: 650;

    letter-spacing: .6px;

    text-transform: uppercase;
}

.ati-dd-meta strong {
    display: block;

    color: #172033;

    font-size: 14px;

    font-weight: 750;

    margin-top: 3px;

    font-variant-numeric: tabular-nums;
}

.ati-dd-divider {
    height: 1px;

    background: #edf1f5;

    margin: 5px 4px;
}

.ati-dd-action {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 10px 10px 5px;

    color: #1769e0;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;
}

.ati-dd-note {
    color: #7c879a;

    font-size: 10.5px;

    line-height: 1.5;

    padding: 2px 10px 8px;

    margin: 0;
}

.ati-navbar-center-code {
    margin-right: 25px;

    color: #64748b;

    font-size: 12px;

    font-weight: 600;
}

.ati-navbar-center-code i {
    color: #1769e0;
    margin-right: 5px;
}

.ati-navbar-user {
    display: flex;
    align-items: center;
}

.ati-user-avatar {
    width: 40px;
    height: 40px;

    border-radius: 50%;

    background: #1769e0;

    color: #fff;

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

    font-weight: 700;

    margin-right: 10px;
}

.ati-user-details strong {
    display: block;

    color: #172033;

    font-size: 13px;
}

.ati-user-details small {
    display: block;

    color: #506079;

    font-size: 10px;

    margin-top: 2px;
}

.ati-navbar-logout {
    margin-left: 20px;

    color: #64748b;

    font-size: 17px;
}

.ati-navbar-logout:hover {
    color: #dc2626;
}


/* =========================================================
   MAIN
========================================================= */

.ati-main {
    padding-top: 60px;

    min-height: calc(100vh - 55px);
}

.ati-content {
    padding: 30px 28px 25px;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.ati-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 28px;
}

.ati-page-header h1 {
    margin: 0;

    font-size: 29px;

    font-weight: 750;

    color: #152238;
}

.ati-page-header p {
    margin: 5px 0 0;

    color: #718096;

    font-size: 13px;
}

.ati-breadcrumb {
    display: flex;
    align-items: center;

    gap: 9px;

    font-size: 12px;

    color: #506079;
}

.ati-breadcrumb strong {
    color: #1769e0;
}


/* =========================================================
   DASHBOARD CARDS
========================================================= */

.dashboard-card {
    position: relative;

    background: #fff;

    border: 1px solid #edf0f5;

    border-radius: 12px;

    padding: 20px;

    min-height: 145px;

    box-shadow:
        0 4px 18px rgba(30, 45, 70, .055);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

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

    box-shadow:
        0 9px 25px rgba(30, 45, 70, .09);
}


/* =========================================================
   CARD TITLES
========================================================= */

.card-title {
    color: #68778d;

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 6px;
}

.card-value {
    font-size: 23px;

    font-weight: 750;

    line-height: 1.2;
}


/* =========================================================
   ICON BOX
========================================================= */

.icon-box {
    width: 52px;
    height: 52px;

    border-radius: 12px;

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

    font-size: 20px;

    flex-shrink: 0;
}


/* BLUE */

.bg-blue {
    background: #e8f0ff;
    color: #1769e0;
}


/* GREEN */

.bg-green {
    background: #e7f8ef;
    color: #08a05c;
}


/* PURPLE */

.bg-purple {
    background: #f1eaff;
    color: #8538d1;
}


/* ORANGE */

.bg-orange {
    background: #fff0df;
    color: #ff7415;
}


/* RED */

.bg-red {
    background: #ffe8eb;
    color: #e92f4f;
}


/* DARK */

.bg-dark {
    background: #e9edf3;
    color: #263445;
}


/* =========================================================
   TEXT COLORS
========================================================= */

.text-primary {
    color: #1769e0 !important;
}

.text-success {
    color: #08a05c !important;
}

.text-danger {
    color: #ed3150 !important;
}

.text-purple {
    color: #8538d1 !important;
}


/* =========================================================
   SECTION TITLE
========================================================= */

.section-title {
    color: #172033;

    font-size: 17px;

    font-weight: 700;
}


/* =========================================================
   BRANCH INFORMATION
========================================================= */

.ati-content .dashboard-card strong {
    color: #172033;
}

.ati-content .text-muted {
    color: #718096 !important;
}


/* =========================================================
   FOOTER
========================================================= */

.ati-footer {
    min-height: 55px;

    padding: 0 28px;

    background: #fff;

    border-top: 1px solid #e8edf3;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;

    color: #718096;

    font-size: 11px;

    box-sizing: border-box;
    transition: .25s ease;
}

.ati-footer-left strong {
    color: #1769e0;
}

.ati-footer-right {
    color: #506079;
}

.ati-footer-right span {
    margin: 0 8px;
    color: #cbd5e1;
}


/* =========================================================
   PREMIUM ATI HEADER
========================================================= */

.ati-navbar {
    height: 60px;

    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 45%, #db2777 100%);

    border-bottom: 1px solid rgba(255, 255, 255, .18);

    box-shadow:
        0 3px 15px rgba(15, 23, 42, .08);
}


/* =========================================================
   LEFT
========================================================= */

.ati-navbar-heading {
    margin-left: 12px;
}

.ati-navbar-heading-title {
    color: #ffffff;

    font-size: 13px;

    font-weight: 750;

    line-height: 16px;
}

.ati-navbar-heading-sub {
    color: rgba(255, 255, 255, .78);

    font-size: 9px;

    line-height: 12px;

    margin-top: 2px;
}


/* =========================================================
   CENTER CHIP
========================================================= */

.ati-center-chip {
    height: 36px;

    padding: 0 11px;

    display: flex;

    align-items: center;

    gap: 7px;

    background: #f4f7fb;

    border: 1px solid #e8edf4;

    border-radius: 9px;

    color: #536276;

    font-size: 11px;

    font-weight: 650;

    margin-right: 10px;
}

.ati-center-chip-icon {
    width: 25px;
    height: 25px;

    border-radius: 7px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #e7f0ff;

    color: #1769e0;
}

/* =========================================================
   WALLET BALANCE CHIP (navbar)
   ========================================================= */

.ati-wallet-chip {
    height: 34px;

    padding: 0 9px 0 6px;

    gap: 6px;

    background: linear-gradient(135deg, #059669, #0d9488);

    border: 1px solid rgba(255, 255, 255, .16);

    border-radius: 10px;

    box-shadow: 0 6px 14px -7px rgba(5, 150, 105, .55), inset 0 1px 0 rgba(255, 255, 255, .18);

    color: #ffffff;

    font-size: 10.5px;

    font-weight: 700;

    text-decoration: none;

    transition: transform .15s ease, box-shadow .15s ease;

    margin-right: 10px;
}

.ati-wallet-chip:hover {
    transform: translateY(-1px);

    box-shadow: 0 9px 18px -7px rgba(5, 150, 105, .65), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.ati-wallet-chip .ati-center-chip-icon {
    width: 22px;
    height: 22px;

    border-radius: 7px;

    font-size: 11px;

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

    color: #ffffff;
}

.ati-wallet-chip small {
    display: block;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    opacity: .85;
}

.ati-wallet-chip strong {
    display: block;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: .2px;
}

.ati-balance-wrap {
    color: #ffffff;

    line-height: 1.25;
}

.ati-balance-row {
    display: flex;

    align-items: center;

    gap: 5px;
}

.ati-balance-eye {
    font-size: 12px;

    line-height: 1;

    cursor: pointer;

    opacity: .8;

    transition: opacity .15s ease, transform .15s ease;
}

.ati-balance-eye:hover {
    opacity: 1;

    transform: scale(1.12);
}


/* =========================================================
   DATE RANGE FILTER
========================================================= */

.ati-date-filter {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 12px;
    color: #374151;
    transition: all .15s;
}

.ati-date-filter:hover {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

.ati-date-filter > i {
    font-size: 13px;
    color: #2563eb;
}

.ati-date-filter input[type="number"] {
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: #1e40af;
    cursor: pointer;
    outline: none;
    padding: 2px 4px;
    width: 62px;
    -moz-appearance: textfield;
}

.ati-date-filter input[type="number"]::-webkit-outer-spin-button,
.ati-date-filter input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ati-date-filter input[type="number"]:focus {
    box-shadow: none;
}

.ati-date-sep {
    color: #4b5563;
    font-size: 10px;
}

.ati-date-apply {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: background .15s;
}

.ati-date-apply:hover {
    background: #1d4ed8;
}

.ati-date-reset {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    color: #ef4444;
    font-size: 11px;
    text-decoration: none;
    transition: all .15s;
}

.ati-date-reset:hover {
    background: #fef2f2;
    border-color: #fca5a5;
}


/* =========================================================
   HEADER ACTION
========================================================= */

.ati-header-action {
    width: 34px;
    height: 34px;

    border: 1px solid #e8edf4;

    border-radius: 9px;

    background: #fff;

    color: #64748b;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    font-size: 13px;

    margin-right: 10px;

    transition: .2s ease;
}

.ati-header-action:hover {
    background: #f2f6fc;

    border-color: #d9e3f0;

    color: #1769e0;

    transform: translateY(-1px);
}

/* =========================================================
   ADMISSION CART (NAVBAR)
========================================================= */

.ati-cart-link {
    position: relative;

    text-decoration: none;
}

.ati-cart-badge {
    position: absolute;

    top: -4px;

    right: -4px;

    min-width: 17px;

    height: 17px;

    padding: 0 4px;

    border-radius: 10px;

    background: #2563eb;

    color: #fff;

    font-size: 9px;

    font-weight: 700;

    display: flex;

    align-items: center;

    justify-content: center;

    line-height: 1;

    border: 2px solid #fff;
}

.ati-cart-link:hover .ati-cart-badge {
    background: #1769e0;
}

/* =========================================================
   COLOURFUL CART (NAVBAR)
========================================================= */

.ati-cart-link,
.ati-cart-link:hover {
    background: linear-gradient(135deg, #f59e0b, #f97316);

    border: none;

    color: #ffffff;

    box-shadow: 0 6px 14px -6px rgba(249, 115, 22, .45);
}

.ati-cart-link .ati-cart-badge,
.ati-cart-link:hover .ati-cart-badge {
    background: #ffffff;

    color: #f97316;

    border-color: #f97316;
}

.ati-cart-link:hover .ati-cart-badge {
    color: #d97706;
}

/* =========================================================
   COLOURFUL FULLSCREEN (NAVBAR)
========================================================= */

button#atiFullscreenButton,
button#atiFullscreenButton:hover {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);

    border: none;

    color: #ffffff;

    box-shadow: 0 6px 14px -6px rgba(37, 99, 235, .45);
}


/* =========================================================
   PROFILE CARD
========================================================= */

.ati-profile-card {
    height: 40px;

    min-width: 138px;

    padding: 3px 6px 3px 3px;

    background: #fff;

    border: 1px solid #e7ecf3;

    border-radius: 11px;

    display: flex;

    align-items: center;

    cursor: default;

    box-shadow:
        0 3px 12px rgba(15,23,42,.035);

    transition: .2s ease;
}

.ati-profile-card:hover {
    border-color: #dce5f0;

    box-shadow:
        0 5px 16px rgba(15,23,42,.07);
}


/* =========================================================
   AVATAR
========================================================= */

.ati-profile-avatar {
    position: relative;

    width: 26px;
    height: 26px;

    border-radius: 50%;

    overflow: visible;

    flex-shrink: 0;
}

.ati-profile-avatar img {
    width: 26px;
    height: 26px;

    object-fit: cover;

    border-radius: 50%;

    display: block;
}

.ati-profile-avatar > span:not(.ati-online-dot) {
    width: 26px;
    height: 26px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #1769e0,
            #0b4da8
        );

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 11px;

    font-weight: 750;
}


/* =========================================================
   ONLINE DOT
========================================================= */

.ati-online-dot {
    position: absolute;

    right: -1px;
    bottom: 1px;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #16a34a;

    border: 2px solid #fff;
}


/* =========================================================
   PROFILE INFORMATION
========================================================= */

.ati-profile-info {
    flex: 1;

    min-width: 0;

    margin-left: 6px;
}

.ati-profile-name {
    color: #172033;

    font-size: 10px;

    font-weight: 750;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    line-height: 13px;
}

.ati-profile-designation {
    color: #8b98a9;

    font-size: 8px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    line-height: 11px;
}

.ati-profile-designation i {
    color: #1769e0;

    margin-right: 3px;

    font-size: 8px;
}


/* =========================================================
   PROFILE ARROW
========================================================= */

.ati-profile-arrow {
    color: #a2adba;

    font-size: 9px;

    margin-left: 6px;
}


/* =========================================================
   LOGOUT
========================================================= */

.ati-header-logout {
    width: 36px;
    height: 36px;

    margin-left: 9px;

    border-radius: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ffffff;

    background: linear-gradient(135deg, #ef4444, #b91c1c);

    font-size: 15px;

    box-shadow: 0 6px 14px -6px rgba(220, 38, 38, .55);

    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.ati-header-logout:hover {
    color: #ffffff;

    background: linear-gradient(135deg, #f87171, #b91c1c);

    transform: translateY(-1px);

    box-shadow: 0 9px 18px -6px rgba(220, 38, 38, .65);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .ati-navbar {
        height: auto;

        min-height: 56px;

        padding: 6px 10px;

        flex-direction: row;

        align-items: center;

        flex-wrap: nowrap;

        gap: 8px;

        overflow-x: auto;

        scrollbar-width: none;
    }

    .ati-navbar::-webkit-scrollbar {
        display: none;
    }

    .ati-navbar-left {
        justify-content: flex-start;

        flex-shrink: 0;

        gap: 0;
    }

    .ati-navbar-heading {
        margin-left: 7px;

        flex-shrink: 0;
    }

    .ati-navbar-heading-title {
        font-size: 13px;

        white-space: nowrap;
    }

    .ati-navbar-heading-sub {
        display: none;
    }

    .ati-navbar-right {
        display: flex;

        flex-direction: row;

        align-items: center;

        justify-content: flex-start;

        gap: 6px;

        flex-wrap: nowrap;

        margin-left: auto;

        flex-shrink: 0;

        overflow-x: auto;

        scrollbar-width: none;

        min-width: 0;
    }

    .ati-navbar-right::-webkit-scrollbar {
        display: none;
    }

    .ati-center-chip.ati-center-code-chip {
        display: none;
    }

    .ati-navbar-info .ati-wallet-chip {
        width: 36px;

        height: 36px;

        padding: 0;

        justify-content: center;

        background: #f4f7fb;

        border: 1px solid #e8edf4;

        border-radius: 9px;

        color: #1769e0;

        box-shadow: none;

        margin-right: 0;

        cursor: pointer;
    }

    .ati-navbar-info .ati-wallet-chip .ati-center-chip-icon {
        width: 22px;

        height: 22px;

        background: #e7f0ff;

        color: #1769e0;

        font-size: 12px;
    }

    .ati-navbar-info .ati-wallet-chip .ati-balance-wrap {
        display: none;
    }

    .ati-navbar-info .ati-session-chip {
        width: 36px;

        height: 36px;

        padding: 0;

        justify-content: center;

        margin-right: 0;

        cursor: pointer;
    }

    .ati-navbar-info .ati-session-chip
    > span:last-child {
        display: none;
    }

    .ati-navbar-info .ati-session-chip
    .ati-center-chip-icon {
        width: 24px !important;

        height: 24px !important;

        border-radius: 7px !important;

        text-align: center;

        line-height: 24px;
    }

    .ati-navbar-info .ati-session-chip
    .ati-center-chip-icon i {
        font-size: 15px !important;

        line-height: 24px !important;
    }

    .ati-navbar-info,
    .ati-navbar-icons {
        display: flex;

        flex-direction: row;

        flex-wrap: nowrap;

        align-items: center;

        justify-content: flex-start;

        gap: 6px;

        min-width: 0;
    }

    .ati-navbar-info > *,
    .ati-navbar-icons > * {
        flex-shrink: 0;
    }

    .ati-wallet-chip,
    .ati-session-chip {
        flex-shrink: 0;
    }

    .ati-center-chip {
        display: flex;

        flex-shrink: 0;

        height: 36px;

        padding: 0 10px;

        gap: 7px;

        margin-right: 0;

        font-size: 10.5px;
    }

    .ati-header-action {
        width: 35px;
        height: 35px;

        margin-right: 6px;
    }

    .ati-profile-card {
        min-width: 0;

        width: 40px;
        height: 40px;

        padding: 1px;

        border: 0;

        box-shadow: none;

        background: transparent;
    }

    .ati-profile-avatar,
    .ati-profile-avatar img,
    .ati-profile-avatar > span:not(.ati-online-dot) {
        width: 36px;
        height: 36px;
    }

    .ati-profile-info,
    .ati-profile-arrow {
        display: none;
    }

    .ati-online-dot {
        right: 0;
        bottom: 1px;
    }

    .ati-header-logout {
        width: 36px;
        height: 36px;

        margin-left: 4px;
    }

    .ati-datetime-chip,
    #atiFullscreenButton,
    .ati-header-logout,
    .ati-popup-icon {
        display: none;
    }

}


@media (max-width: 420px) {

    .ati-navbar-heading {
        display: none;
    }

}
/* =========================================================
   PROFILE DROPDOWN
========================================================= */

.ati-profile-wrapper {
    position: relative;
}


/* Profile button */

.ati-profile-card {
    border: 1px solid #e7ecf3;

    cursor: pointer;

    font-family: inherit;

    outline: none;
}

.ati-profile-card:focus {
    outline: none;
}


/* Arrow */

.ati-profile-arrow {
    transition: transform .2s ease;
}

.ati-profile-wrapper.open
.ati-profile-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   DROPDOWN BOX
========================================================= */

.ati-profile-dropdown {
    position: absolute;

    top: calc(100% + 10px);

    right: 0;

    width: 270px;

    background: #fff;

    border: 1px solid #e6ebf2;

    border-radius: 13px;

    padding: 8px;

    box-shadow:
        0 15px 40px rgba(15,23,42,.14);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(-8px);

    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease;

    z-index: 1500;
}


/* Open */

.ati-profile-wrapper.open
.ati-profile-dropdown {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);

}


/* =========================================================
   DROPDOWN USER HEADER
========================================================= */

.ati-dropdown-user {
    display: flex;

    align-items: center;

    padding: 10px;

    gap: 10px;
}

.ati-dropdown-avatar {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #1769e0,
            #0b4da8
        );

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 14px;

    font-weight: 750;

    overflow: hidden;

    flex-shrink: 0;
}

.ati-dropdown-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.ati-dropdown-user strong {
    display: block;

    color: #172033;

    font-size: 12px;

    font-weight: 750;
}

.ati-dropdown-user small {
    display: block;

    color: #506079;

    font-size: 10px;

    margin-top: 3px;
}


/* =========================================================
   DIVIDER
========================================================= */

.ati-dropdown-divider {
    height: 1px;

    background: #edf1f5;

    margin: 5px 4px;
}


/* =========================================================
   DROPDOWN ITEM
========================================================= */

.ati-dropdown-item {
    min-height: 43px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 8px;

    border-radius: 8px;

    color: #475569;

    font-size: 12px;

    font-weight: 600;

    transition: .15s ease;
}

.ati-dropdown-item:hover {
    background: #f6f8fb;

    color: #172033;
}


/* =========================================================
   DROPDOWN ICON
========================================================= */

.ati-dropdown-icon {
    width: 31px;
    height: 31px;

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 13px;
}

.ati-dropdown-icon.blue {
    background: #e8f0ff;
    color: #1769e0;
}

.ati-dropdown-icon.green {
    background: #e8f8ef;
    color: #08a05c;
}

.ati-dropdown-icon.purple {
    background: #f1eaff;
    color: #8538d1;
}

.ati-dropdown-icon.red {
    background: #ffe8eb;
    color: #dc2626;
}

.ati-dropdown-item.logout {
    color: #dc2626;
}

.ati-dropdown-item.logout:hover {
    background: #fff1f2;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .ati-profile-dropdown {
        position: fixed;

        top: 62px;

        right: 10px;

        width: 260px;
    }

}

/* =========================================================
   QUICK LINKS
========================================================= */

.ati-dashboard-section {
    margin-top: 28px;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.ati-section-heading {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 14px;
}

.ati-section-heading h2 {
    margin: 0;

    color: #172033;

    font-size: 16px;

    line-height: 21px;

    font-weight: 750;
}

.ati-section-heading p {
    margin: 3px 0 0;

    color: #506079;

    font-size: 10px;
}


/* =========================================================
   QUICK LINK GRID
========================================================= */

.ati-quick-links-grid {

    display: grid;

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

    gap: 12px;

}


/* =========================================================
   QUICK LINK
========================================================= */

.ati-quick-link {

    position: relative;

    min-height: 92px;

    padding: 15px;

    display: flex;

    align-items: center;

    background: #fff;

    border: 1px solid #edf0f5;

    border-radius: 11px;

    box-shadow:
        0 3px 14px rgba(30,45,70,.035);

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

    overflow: hidden;

}


.ati-quick-link:hover {

    transform: translateY(-2px);

    border-color: #e1e8f1;

    box-shadow:
        0 8px 22px rgba(30,45,70,.075);

}


/* =========================================================
   ICON
========================================================= */

.ati-quick-icon {

    width: 42px;

    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    font-size: 16px;

}


/* COLORS */

.ati-quick-icon.blue {
    background: #e8f0ff;
    color: #1769e0;
}

.ati-quick-icon.purple {
    background: #f1eaff;
    color: #8538d1;
}

.ati-quick-icon.green {
    background: #e7f8ef;
    color: #08a05c;
}

.ati-quick-icon.orange {
    background: #fff0df;
    color: #f07818;
}

.ati-quick-icon.red {
    background: #ffe8eb;
    color: #e92f4f;
}

.ati-quick-icon.teal {
    background: #e4f8f7;
    color: #0891a2;
}

.ati-quick-icon.cyan {
    background: #e5f7ff;
    color: #0784b8;
}

.ati-quick-icon.dark {
    background: #e9edf3;
    color: #334155;
}


/* =========================================================
   CONTENT
========================================================= */

.ati-quick-content {

    min-width: 0;

    margin-left: 11px;

    padding-right: 18px;

}


.ati-quick-content strong {

    display: block;

    color: #263445;

    font-size: 11px;

    font-weight: 750;

    line-height: 16px;

}


.ati-quick-content span {

    display: block;

    margin-top: 2px;

    color: #9aa6b5;

    font-size: 9px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


/* =========================================================
   ARROW
========================================================= */

.ati-quick-arrow {

    position: absolute;

    right: 12px;

    top: 12px;

    color: #c0c9d4;

    font-size: 10px;

    transition: .2s ease;

}


.ati-quick-link:hover
.ati-quick-arrow {

    color: #1769e0;

    transform:
        translate(1px,-1px);

}


/* =========================================================
   TABLET
========================================================= */

@media (
    min-width: 768px
) and (
    max-width: 1199px
) {

    .ati-quick-links-grid {

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

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .ati-dashboard-section {

        margin-top: 22px;

    }


    .ati-quick-links-grid {

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

        gap: 9px;

    }


    .ati-quick-link {

        min-height: 82px;

        padding: 11px;

    }


    .ati-quick-icon {

        width: 35px;

        height: 35px;

        border-radius: 8px;

        font-size: 13px;

    }


    .ati-quick-content {

        margin-left: 8px;

        padding-right: 10px;

    }


    .ati-quick-content strong {

        font-size: 10px;

    }


    .ati-quick-content span {

        font-size: 8px;

    }


    .ati-quick-arrow {

        right: 7px;

        top: 7px;

        font-size: 8px;

    }

}



/* =========================================================
   FINAL RESPONSIVE CLEANUP
   ========================================================= */

@media (max-width: 767px){

    .ati-main{
        padding-top:70px;
        min-height:calc(100vh - 55px);
    }

    /* Single-row mobile navbar => push every main container down. */
    .ati-bp-alias,
    .ati-main,
    .ati-dashboard-main,
    .ac-main,
    .nb-main,
    .wl-main,
    .sv-main,
    .rn-main,
    .nc-main,
    .bp-main,
    .rc-main,
    .rc-main2,
    .nci-main,
    .cl-main,
    .sl-main,
    .cs-main,
    .vw-main,
    .rr-main,
    .at-main {
        padding-top: 70px !important;
        min-height: calc(100vh - 55px);
    }

    .ati-content{
        padding:20px 14px 22px;
    }

    .ati-page-header{
        align-items:flex-start;
        flex-direction:column;
        gap:8px;
        margin-bottom:20px;
    }

    .ati-page-header h1{
        font-size:22px;
    }

    .ati-footer{
        min-height:auto;
        padding:14px 16px;
        flex-direction:column;
        gap:5px;
        text-align:center;
        word-break:break-word;
        overflow-wrap:anywhere;
    }

    .ati-footer-left,.ati-footer-right{
        text-align:center;
        line-height:1.5;
    }

    .ati-footer-right span{
        display:none;
    }

}


/* =========================================================
   NOTIFICATION BELL & DROPDOWN
========================================================= */

.ati-notif-wrapper {
    position: relative;
}

.ati-notif-bell {
    position: relative;
}

.ati-notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 10px;
    background: #dc2626;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid #fff;
}

.ati-notif-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 310px;
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(15,23,42,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 1600;
    overflow: hidden;
}

.ati-notif-wrapper.open .ati-notif-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ati-notif-head {
    padding: 14px 16px 10px;
}

.ati-notif-head strong {
    display: block;
    color: #172033;
    font-size: 13px;
}

.ati-notif-head small {
    display: block;
    margin-top: 2px;
    color: #506079;
    font-size: 10px;
}

.ati-notif-divider {
    height: 1px;
    background: #edf1f5;
    margin: 0 4px;
}

.ati-notif-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #475569;
    text-decoration: none;
    transition: background .15s ease;
}

.ati-notif-item:hover {
    background: #f6f8fb;
    color: #172033;
}

.ati-notif-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.ati-notif-icon.blue {
    background: #e8f0ff;
    color: #1769e0;
}

.ati-notif-icon.green {
    background: #e8f8ef;
    color: #08a05c;
}

.ati-notif-icon.purple {
    background: #f1eaff;
    color: #8538d1;
}

.ati-notif-icon.orange {
    background: #fff4e6;
    color: #d97706;
}

.ati-notif-item div {
    min-width: 0;
    flex: 1;
}

.ati-notif-item strong {
    display: block;
    color: #172033;
    font-size: 11px;
    font-weight: 700;
}

.ati-notif-item small {
    display: block;
    color: #506079;
    font-size: 9px;
    margin-top: 1px;
}

.ati-notif-count {
    flex-shrink: 0;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border-radius: 11px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   MARK ALL AS READ BUTTON
========================================================= */

.ati-notif-markall {
    margin: 6px 8px 8px;
    padding: 10px 14px !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 4px 12px rgba(37,99,235,.25);
}

.ati-notif-markall:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37,99,235,.35);
}

.ati-notif-markall:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37,99,235,.2);
}

.ati-notif-markall .ati-notif-icon {
    background: rgba(255,255,255,.2);
    color: #fff;
}

.ati-notif-markall strong {
    color: #fff !important;
    font-size: 11px;
}

.ati-notif-markall small {
    color: rgba(255,255,255,.7) !important;
    font-size: 9px;
}
/* =========================================================
   ATI LOGIN - SOFT GRADIENT SPLIT CARD
   INSPIRED BY CLASSIC BRANCH LOGIN (but unique)
   ========================================================= */

.ati-login-page {
    min-height: 100vh;
    margin: 0;
    padding: 40px 22px;
    position: relative;
    overflow-x: hidden;

    font-family: "Segoe UI", Arial, sans-serif;

    background:
        radial-gradient(
            90% 70% at 8% 6%,
            rgba(59, 130, 246, .14),
            transparent 55%
        ),
        linear-gradient(
            150deg,
            #e7f6fd 0%,
            #f4fbfd 45%,
            #fffdd7 100%
        );
}

.ati-login-page * {
    box-sizing: border-box;
}


/* =========================================================
   SUBTLE VECTOR WATERMARK (live layer)
   ========================================================= */

.ati-login-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.ati-login-bg img {
    width: min(900px, 95vw);
    height: auto;
    opacity: .16;
    filter: drop-shadow(0 40px 80px rgba(30, 64, 175, .08));
    transform: translateY(1%);
}

.ati-login-bg::after {
    content: '';

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            120% 90% at 50% 45%,
            transparent 40%,
            rgba(231, 246, 253, .6) 85%
        );
}


/* =========================================================
   CENTRING
   ========================================================= */

.ati-login-shell {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   OUTER CARD (soft container like reference)
   ========================================================= */

.ati-login-card {
    width: 100%;
    max-width: 960px;
    min-height: 500px;

    display: grid;
    grid-template-columns: 50% 50%;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .55),
            rgba(255, 255, 255, .25)
        );

    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 26px;

    box-shadow:
        0 0 30px rgba(0, 0, 0, .18),
        0 30px 70px rgba(30, 64, 175, .10);

    overflow: hidden;
}


/* =========================================================
   LEFT : LOGO (sits on the gradient)
   ========================================================= */

.ati-login-logo-side {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 36px;
    text-align: center;
    color: #1d2b40;
}

.ati-login-logo-block {
    width: 150px;
    height: 150px;
    padding: 16px;
    border-radius: 32px;

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

    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, .95);

    box-shadow:
        0 16px 36px rgba(0, 0, 0, .16),
        0 0 0 6px rgba(255, 255, 255, .4);
}

.ati-login-logo-block img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ati-login-brand-monogram {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0a4976;
}

.ati-login-logo-org {
    margin-top: 24px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .2px;
    color: #12303f;
}

.ati-login-logo-tag {
    margin-top: 9px;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .4px;
    color: #5b6f83;
    text-transform: uppercase;
}

.ati-login-logo-chips {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ati-login-logo-chips li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border-radius: 30px;

    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(255, 255, 255, .95);

    font-size: 11.5px;
    font-weight: 700;
    color: #2b3c52;

    box-shadow: 0 4px 12px rgba(30, 64, 175, .08);
}

.ati-login-logo-chips li:nth-child(1) {
    background: linear-gradient(135deg, #e0f2fe, #f4fbff);
    border-color: #bae6fd;
}

.ati-login-logo-chips li:nth-child(2) {
    background: linear-gradient(135deg, #dcfce7, #f4fff7);
    border-color: #bbf7d0;
}

.ati-login-logo-chips li:nth-child(3) {
    background: linear-gradient(135deg, #fef3c7, #fffdf0);
    border-color: #fde68a;
}

.ati-login-logo-chips li:nth-child(4) {
    background: linear-gradient(135deg, #ede9fe, #f9f7ff);
    border-color: #ddd6fe;
}

.ati-login-logo-chips i {
    font-size: 13px;
}

.ati-login-logo-chips li:nth-child(1) i { color: #0284c7; }
.ati-login-logo-chips li:nth-child(2) i { color: #16a34a; }
.ati-login-logo-chips li:nth-child(3) i { color: #d97706; }
.ati-login-logo-chips li:nth-child(4) i { color: #7c3aed; }


/* =========================================================
   RIGHT : FLOATING WHITE FORM CARD
   ========================================================= */

.ati-login-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 42px;
}

.ati-login-form-card {
    width: 100%;
    background: rgba(255, 255, 255, .99);
    padding: 42px 34px 26px;
    margin: -20px 0;

    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 20px;

    box-shadow:
        0 0 22px rgba(0, 0, 0, .18);
}

.ati-login-box-title {
    color: #454545;
    font-size: 23px;
    font-weight: 800;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: .5px;
    margin: 0 0 28px;
    line-height: 1.3;

    background: linear-gradient(
        92deg,
        #0a4976 0%,
        #2563eb 34%,
        #7c3aed 66%,
        #db2777 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


/* error */

.ati-login-error {
    margin-bottom: 20px;
    padding: 11px 14px;

    border: 1px solid #fde2e2;
    border-radius: 14px;
    background: #fef1f1;
    color: #f56b6b;

    font-size: 12.5px;
    line-height: 1.5;

    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.ati-login-error i {
    margin-top: 1px;
}

.ati-login-note {
    margin-bottom: 20px;
    padding: 12px 14px;

    border-radius: 14px;

    font-size: 12.5px;
    line-height: 1.55;

    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.ati-login-note i {
    margin-top: 1px;
    font-size: 15px;
}

.ati-login-note.ok {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
}

.ati-login-note.warn {
    border: 1px solid #fde68a;
    background: #fffbeb;
    color: #b45309;
}

.ati-login-note.err {
    border: 1px solid #fde2e2;
    background: #fef1f1;
    color: #f56b6b;
}

.ati-login-note a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    word-break: break-all;
}


/* =========================================================
   PILL INPUT GROUPS
   ========================================================= */

.ati-form-group {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;

    height: 46px;
    margin: 0 0 16px;
    padding: 0 10px 0 14px;

    background: rgba(255, 255, 255, .15);
    border: 1px solid #b5b5b5;
    border-radius: 30px;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.ati-login-ico {
    flex: 0 0 auto;
    color: #b5b5b5;
    font-size: 15px;
    line-height: 1;
}

.ati-form-group input {
    flex: 1;
    min-width: 0;

    height: 100%;
    padding: 0;

    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: none;

    color: #000000;
    font-family: inherit;
    font-size: 14px;
    letter-spacing: .5px;
}

.ati-form-group input::placeholder {
    color: #b5b5b5;
    font-size: 13px;
}

.ati-form-group:focus-within {
    border-color: #0a4976;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 0 0 3px rgba(10, 73, 118, .10);
}

.ati-login-eye {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #b5b5b5;
    font-size: 14px;
    cursor: pointer;

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

    transition:
        color .15s ease,
        background .15s ease;
}

.ati-login-eye:hover {
    color: #0a4976;
    background: rgba(10, 73, 118, .08);
}

.ati-login-eye:active {
    background: rgba(10, 73, 118, .15);
}


/* submit button (pill) */

.ati-login-button {
    width: 100%;
    height: 46px;
    margin-top: 4px;

    border: 0;
    border-radius: 30px;
    background:
        linear-gradient(
            92deg,
            #1d4ed8 0%,
            #2563eb 30%,
            #7c3aed 68%,
            #db2777 100%
        );

    color: rgba(255, 255, 255, .97);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    box-shadow:
        0 10px 22px rgba(37, 99, 235, .32);

    transition:
        box-shadow .25s ease,
        opacity .25s ease,
        transform .15s ease,
        background-position .3s ease;

    background-size: 160% 100%;
    background-position: 0% 0%;
}

.ati-login-button:hover {
    background-position: 100% 0%;
    box-shadow: 0 14px 30px rgba(124, 58, 237, .38);
    transform: translateY(-1px);
}

.ati-login-button:active {
    transform: translateY(0);
}

.ati-login-button.loading {
    opacity: .7;
    pointer-events: none;
    transform: translateY(0);
}

.ati-login-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
    color: #999;
    font-size: 11.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.ati-login-forgot {
    margin-top: 16px;
    font-size: 12.5px;
    text-align: center;
}

.ati-login-forgot a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.ati-login-forgot a:hover {
    color: #7c3aed;
    text-decoration: underline;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .ati-login-card {
        max-width: 560px;
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .ati-login-logo-side {
        padding: 34px 28px;
    }

.ati-login-logo-block {
        width: 110px;
        height: 110px;
        border-radius: 24px;
    }

    .ati-login-logo-org {
        margin-top: 18px;
        font-size: 18px;
    }

    .ati-login-logo-chips {
        margin-top: 22px;
    }

    .ati-login-form-side {
        padding: 34px 30px;
    }

    .ati-login-form-card {
        margin: 0;
    }

}

@media (max-width: 576px) {

    .ati-login-page {
        padding: 26px 16px;
    }

    .ati-login-bg img {
        opacity: .1;
        transform: translateY(4%);
    }

    .ati-login-card {
        border-radius: 20px;
    }

    .ati-login-logo-side {
        padding: 28px 22px;
    }

    .ati-login-logo-block {
        width: 96px;
        height: 96px;
        border-radius: 22px;
    }

    .ati-login-brand-monogram {
        font-size: 26px;
    }

    .ati-login-logo-org {
        font-size: 17px;
    }

    .ati-login-logo-chips {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 20px;
    }

    .ati-login-form-side {
        padding: 20px 18px 26px;
    }

    .ati-login-form-card {
        padding: 30px 22px 22px;
        border-radius: 16px;
    }

    .ati-login-box-title {
        font-size: 20px;
        margin-bottom: 22px;
    }

    .ati-form-group {
        height: 44px;
    }

    .ati-login-button {
        height: 44px;
    }

}
