/* ===== keep your animated gold brand ===== */
.site-brand {
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(270deg, #ffffff, #ffd700, #ffa500, #ffffff);
    background-size: 600% 600%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s ease infinite;
}

@keyframes gradientFlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.site-brand:hover {
    text-decoration: none;
    filter: brightness(1.2);
}

/* ===== Indigo sidebar theme (namespaced: adm-) ===== */
:root {
    --adm-head-a: #4338ca;
    --adm-head-b: #6366f1;
    --adm-primary: #4f46e5;
    --adm-accent: #4338ca;
    --adm-card: #ffffff;
    --adm-line: #e9ecf2;
    --adm-ink: #1a1d29;
    --adm-ink2: #3c4250;
    --adm-muted: #9aa3b2;
    --adm-hover: #f6f7fb;
    --adm-divider: #eceef3;
    --adm-proc-bg: #eef2ff;
    --adm-badge: #ef4444;
    --adm-danger: #dc2626;
    --adm-soft-ink: #5b6472;
}

/* ===== Top bar ===== */
.adm-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(110deg, var(--adm-head-a), var(--adm-head-b));
    padding: 11px 52px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 10px rgba(67, 56, 202, .25);
}

@media (max-width:768px){
    .adm-topbar{
        padding:11px 12px;
    }
}

.adm-iconbtn {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, .15);
    border-radius: 9px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
    position: relative;
}

.adm-iconbtn i {
    font-size: 17px;
    line-height: 1;
}

.adm-iconbtn:hover {
    background: rgba(255, 255, 255, .25);
}

.adm-topbar .site-brand {
    margin: 0;
}

/* wider menu (hamburger) open button */
.adm-menu {
    height: 34px;
    width: 44px;
}

/* notification bell + badge */
.adm-notif {
    margin-left: auto;
}

.adm-settings-link {
    text-decoration: none;
}

/* Quick-links + edit icon — ek group, RIGHT side (margin-left:auto). Quicklinks khaali ho to
   bhi edit icon right hi rahega. */
.adm-topbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Header quick-links — edit icon jaisa hi look (.adm-iconbtn) */
.adm-quicklinks {
    display: flex;
    align-items: center;
    gap: 8px;
}
.adm-ql:hover {
    background: rgba(255, 255, 255, .28);
    color: #fff;
}
.adm-ql i {
    font-size: 15px;
}

.adm-notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 17px;
    min-height: 50px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--adm-badge);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
    border: 1.5px solid var(--adm-head-b);
}

/* ===== Overlay + Sidebar ===== */
.adm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 18, 30, .45);
    opacity: 0;
    visibility: hidden;
    transition: .2s;
    z-index: 1090;
}

.adm-overlay.show {
    opacity: 1;
    visibility: visible;
}

.adm-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    width: 274px;
    max-width: 85vw;
    height: 100%;
    background: var(--adm-card);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transition: transform .24s ease;
    box-shadow: 6px 0 30px rgba(20, 24, 40, .22);
}

.adm-sidebar.show {
    transform: none;
}

/* ===== Sidebar head ===== */
.adm-side-head {
    position: relative;
    background: linear-gradient(110deg, var(--adm-head-a), var(--adm-head-b));
    padding: 14px;
    color: #fff;
}

.adm-side-head .adm-sub {
    font-size: 11px;
    color: #c7d2fe;
    margin-top: 3px;
}

.adm-close {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.adm-close svg {
    width: 16px;
    height: 16px;
}

.adm-close i {
    font-size: 16px;
    line-height: 1;
}

.adm-close:hover {
    background: rgba(255, 255, 255, .26);
}

/* currency selector */
.adm-controls {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

/* dark/light toggle — sidebar head mein currency ke saath (same row, right side);
   look currency trigger jaisa (translucent white, 38px) */
.adm-theme-toggle {
    flex: 0 0 auto;
    margin-left: auto;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(255, 255, 255, .16);
    border-radius: 9px;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    -webkit-tap-highlight-color: transparent;
}

.adm-theme-toggle:hover {
    background: rgba(255, 255, 255, .24);
}

/* click/tap par ugly outline na aaye (baaki head controls jaisa); sirf keyboard par soft ring */
.adm-theme-toggle:focus {
    outline: none;
    box-shadow: none;
}

.adm-theme-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .55);
    outline-offset: 2px;
}

.adm-theme-toggle i {
    line-height: 1;
}

.adm-cur {
    flex: 1;
    position: relative;
}

.adm-cur-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 12px;
    background: rgba(255, 255, 255, .16);
    border-radius: 9px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.adm-cur-trigger:hover {
    background: rgba(255, 255, 255, .24);
}

.adm-cur-trigger svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}

.adm-cur-trigger .adm-caret {
    margin-left: auto;
    font-size: 11px;
}

.adm-cur .dropdown-menu {
    border: 1px solid var(--adm-divider);
    border-radius: 10px;
    padding: 6px;
    min-width: 210px;
    box-shadow: 0 12px 28px rgba(20, 24, 40, .16);
    background: var(--adm-card);
}

.adm-cur .dropdown-menu a {
    display: block;
    padding: 8px 11px;
    border-radius: 7px;
    font-size: 13px;
    color: var(--adm-ink2);
    text-decoration: none;
}

.adm-cur .dropdown-menu a:hover {
    background: var(--adm-hover);
    color: var(--adm-primary);
}

.adm-cur .dropdown-menu a.active {
    background: var(--adm-proc-bg);
    color: var(--adm-primary);
}

/* Settings dropdown (topbar gear) — Account / Logout. Currency dropdown jaisा clean + theme-aware. */
.adm-settings .dropdown-menu {
    border: 1px solid var(--adm-divider);
    border-radius: 10px;
    padding: 6px;
    min-width: 180px;
    box-shadow: 0 12px 28px rgba(20, 24, 40, .16);
    background: var(--adm-card);
}
.adm-settings .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 7px;
    font-size: 13.5px;
    color: var(--adm-ink2);
    text-decoration: none;
}
.adm-settings .dropdown-menu .dropdown-item i {
    width: 16px;
    text-align: center;
}
.adm-settings .dropdown-menu .dropdown-item:hover,
.adm-settings .dropdown-menu .dropdown-item:focus {
    background: var(--adm-hover);
    color: var(--adm-primary);
}
.adm-settings .dropdown-menu .dropdown-divider {
    margin: 5px 2px;
    border-top: 1px solid var(--adm-divider);
}
.adm-settings .dropdown-menu .dropdown-item.adm-logout-item {
    color: #e5484d;
}
.adm-settings .dropdown-menu .dropdown-item.adm-logout-item:hover,
.adm-settings .dropdown-menu .dropdown-item.adm-logout-item:focus {
    background: rgba(229, 72, 77, .1);
    color: #e5484d;
}
/* button-as-item (dark mode toggle) — default button styling reset */
.adm-settings .dropdown-menu button.dropdown-item {
    border: 0;
    background: transparent;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
}
/* Currency section — chhota label + scrollable list (currencies zyada ho sakti) */
.adm-settings .dropdown-menu .adm-set-label {
    padding: 6px 11px 2px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--adm-ink3, #9aa0ac);
}
.adm-settings .dropdown-menu .adm-set-cur {
    max-height: 220px;
    overflow-y: auto;
}
.adm-settings .dropdown-menu .dropdown-item.active {
    background: var(--adm-proc-bg);
    color: var(--adm-primary);
}

/* ===== Nav ===== */
.adm-nav {
    padding: 8px;
    flex: 1;
    overflow-y: auto;
}

.adm-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--adm-ink2);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.adm-nav-item:hover {
    background: var(--adm-hover);
    color: var(--adm-ink2);
}

.adm-nav-item.active {
    background: var(--adm-proc-bg);
    color: var(--adm-primary);
}

.adm-nav-item i.adm-lead {
    width: 18px;
    text-align: center;
    font-size: 15px;
    color: var(--adm-muted);
    flex: 0 0 auto;
}

.adm-nav-item.active i.adm-lead {
    color: var(--adm-primary);
}

.adm-nav-item .badge {
    margin-left: 0;   /* naam ke SATH (flex gap:12px se spacing); far-right nahi. group items mein chevron apni ml:auto se right rehta hai */
}

.adm-nav-item .chev {
    margin-left: auto;
    font-size: 11px;
    color: var(--adm-muted);
    transition: transform .2s;
}

.adm-nav-group.open > .adm-nav-item .chev {
    transform: rotate(90deg);
}

/* ===== Submenu ===== */
.adm-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
    margin: 2px 0 2px 24px;
    border-left: 1.5px solid var(--adm-divider);
}

.adm-nav-group.open > .adm-submenu {
    max-height: 640px;
}

.adm-submenu a {
    display: block;
    padding: 8px 12px 8px 16px;
    color: var(--adm-soft-ink);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
}

.adm-submenu a:hover {
    background: var(--adm-hover);
    color: var(--adm-primary);
}

.adm-submenu a.active {
    background: var(--adm-proc-bg);
    color: var(--adm-primary);
}

/* ===== Footer ===== */
.adm-side-foot {
    padding: 12px 14px;
    border-top: 1px solid var(--adm-line);
}

.adm-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--adm-danger);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}

.adm-logout i {
    width: 18px;
    text-align: center;
}

/* ===== remove thick black outline on click / tap ===== */
.adm-topbar button,
.adm-close,
.adm-cur-trigger,
.adm-nav-item,
.adm-submenu a,
.adm-logout {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.adm-topbar button:focus,
.adm-close:focus,
.adm-cur-trigger:focus,
.adm-nav-item:focus,
.adm-submenu a:focus,
.adm-logout:focus {
    outline: none;
    box-shadow: none;
}

/* keep a soft ring only for keyboard navigation */
.adm-topbar button:focus-visible,
.adm-close:focus-visible,
.adm-cur-trigger:focus-visible,
.adm-nav-item:focus-visible,
.adm-submenu a:focus-visible,
.adm-logout:focus-visible {
    outline: 2px solid var(--adm-primary);
    outline-offset: 2px;
}





/* Footer */

.adm-footer{
    background:linear-gradient(110deg,#4338ca,#6366f1);
    padding:14px 18px;
    text-align:center;
    box-shadow:0 -2px 10px rgba(67,56,202,.15);
}

.adm-footer-copy{
    color:#fff;
    font-size:14px;
    font-weight:700;
    line-height:1.5;
}

@media (max-width:768px){

    .adm-footer{
        padding:12px 15px;
    }

}


