/* Modern admin skin — selected per institute from Settings → Appearance */
body.admin-skin-modern{
  --az-sidebar-bg:linear-gradient(180deg,#072f24 0%,#041f18 100%);
  --az-accent:#0f5132;--az-accent-2:#f5c542;--az-bg:#f4f1e8;--az-card:#ffffff;--az-line:#e8e1d3;
  --az-primary:#0f5132;--az-primary-2:#f5c542;
  --az-gradient:linear-gradient(135deg,#0b3a25,#0f5132 55%,#1b6a46);
  background:#f4f1e8!important;color:#14251d;
}
body.admin-skin-modern .az-finance-hub button.active,
body.admin-skin-modern .az-group-tab.active,
body.admin-skin-modern .ii-optab.active,
body.admin-skin-modern .az-lang-tab.on{background:linear-gradient(135deg,#0f5132,#15803d)!important;border-color:#0f5132!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,81,50,.22)!important}
body.admin-skin-modern .az-finance-hub button:hover,
body.admin-skin-modern .az-parent-picker{background:#eef7f1!important;border-color:#cfe3d6!important;color:#0f5132!important}
body.admin-skin-modern .az-up-zone.az-drag{border-color:#0f5132!important;background:#eef7f1!important}
body.admin-skin-modern .az-up-zone .az-up-ic,.admin-skin-modern .az-up-bar i{background:linear-gradient(135deg,#0f5132,#f5c542)!important}
body.admin-skin-modern .admin-content .admin-button.secondary{background:#eef7f1!important;color:#0f5132!important;border-color:#cfe3d6!important}
body.admin-skin-modern .admin-content .admin-button.primary{background:linear-gradient(135deg,#0f5132,#15803d)!important;box-shadow:0 8px 20px rgba(15,81,50,.2)!important}
body.admin-skin-modern .page-title{color:#fff!important;font-weight:900!important;text-shadow:0 1px 2px rgba(0,0,0,.2);letter-spacing:.2px}
body.admin-skin-modern .admin-content section.admin-page > .admin-page-header h1,
body.admin-skin-modern .admin-content section.admin-page > .admin-page-header h2{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.18)}
body.admin-skin-modern .admin-sidebar.open{transform:translateX(0)!important;visibility:visible!important;z-index:140!important}
body.admin-skin-modern .az-side-backdrop{z-index:125!important}
@media(max-width:900px){
  body.admin-skin-modern .az-group-tabs{display:none!important}
  body.admin-skin-modern .az-group-mobile-select{display:none!important}
}
@media(min-width:901px){
  body.admin-skin-modern .sidebar-nav .submenu-nested{display:none!important}
  body.admin-skin-modern .submenu-parent .arrow{display:none!important}
}
body.admin-skin-modern .admin-page select:focus,body.admin-skin-modern .admin-page textarea:focus,body.admin-skin-modern .admin-page input:focus{border-color:#0f5132!important;box-shadow:0 0 0 3px rgba(15,81,50,.12)!important}
body.admin-skin-modern .admin-content section.admin-page > .admin-page-header{background:var(--az-gradient)!important;box-shadow:0 18px 42px rgba(15,81,50,.18)!important}
body.admin-skin-modern .lib-head,body.admin-skin-modern .inv-head,body.admin-skin-modern .tr-head,body.admin-skin-modern .pm-head,body.admin-skin-modern .st-head,body.admin-skin-modern .sv-head,body.admin-skin-modern .br-head,body.admin-skin-modern .crm-head,body.admin-skin-modern .rb-head,body.admin-skin-modern .cc-head,body.admin-skin-modern .oex-head,body.admin-skin-modern .lv-head{background:var(--az-gradient)!important;box-shadow:0 14px 34px rgba(15,81,50,.2)!important}
body.admin-skin-modern .admin-page-header p,body.admin-skin-modern .admin-page-header small,body.admin-skin-modern .admin-page-header .cls-sub{color:#d9eadf!important}
body.admin-skin-modern .admin-page-header .admin-button.primary{background:#f5c542!important;color:#15281c!important}
body.admin-skin-modern .admin-content .admin-button.primary{background:linear-gradient(135deg,#0f5132,#15803d)!important;color:#fff!important}
body.admin-skin-modern .admin-content .admin-button.secondary{background:#eef7f1!important;color:#0f5132!important;border-color:#cfe3d6!important}
body.admin-skin-modern [class*="-dialog-head"],body.admin-skin-modern [class*="-modal-head"],body.admin-skin-modern .az-modal-head{background:linear-gradient(135deg,#0b3a25,#0f5132)!important;color:#fff!important;border-bottom-color:rgba(245,197,66,.22)!important}
body.admin-skin-modern [class*="-dialog-head"] h3,body.admin-skin-modern [class*="-modal-head"] h3,body.admin-skin-modern .az-modal-head h3{color:#fff!important}
body.admin-skin-modern [class*="-dialog-head"] .close,body.admin-skin-modern [class*="-modal-head"] .close{background:rgba(255,255,255,.15)!important;color:#fff!important}
body.admin-skin-modern .swal2-confirm{background:#0f5132!important;border-color:#0f5132!important}
body.admin-skin-modern .swal2-cancel{background:#eef7f1!important;color:#0f5132!important;border-color:#cfe3d6!important}
body.admin-skin-modern .admin-page-header .admin-button.primary,
body.admin-skin-modern [class*="-head-actions"] .admin-button.primary{background:#f5c542!important;color:#15281c!important;border-color:#f5c542!important;box-shadow:0 8px 18px rgba(245,197,66,.22)!important}
body.admin-skin-modern .admin-page-header .admin-button.secondary,
body.admin-skin-modern [class*="-head-actions"] .admin-button.secondary{background:rgba(255,255,255,.16)!important;color:#fff!important;border-color:rgba(255,255,255,.28)!important}
body.admin-skin-modern .crs-bar-fill{background:linear-gradient(90deg,#0f5132,#f5c542)!important}
body.admin-skin-modern .crs-type{background:#eef7f1!important;color:#0f5132!important}
body.admin-skin-modern .crs-type.hybrid{background:#fef3c7!important;color:#92400e!important}
body.admin-skin-modern .crs-langtabs button.on{background:#0f5132!important;border-color:#0f5132!important;color:#fff!important}
body.admin-skin-modern .crs-head-actions button{background:rgba(255,255,255,.16)!important;color:#fff!important;border-color:rgba(255,255,255,.3)!important;box-shadow:none!important}
body.admin-skin-modern .crs-head-actions button.primary{background:#f5c542!important;color:#15281c!important;border-color:#f5c542!important}
body.admin-skin-modern .crs-stat i{background:#eef7f1!important;color:#0f5132!important}
body.admin-skin-modern .crs-chip{background:#eef7f1!important;color:#0f5132!important}
body.admin-skin-modern .crs-bar-fill{background:linear-gradient(90deg,#0f5132,#f5c542)!important}
body.admin-skin-modern .crs-card:hover{border-color:#cfe3d6!important}
body.admin-skin-modern .crs-price{color:#0f5132!important}
body.admin-skin-modern .crs-ico:hover{background:#eef7f1!important;color:#0f5132!important}
body.admin-skin-modern .crs-field input:focus,body.admin-skin-modern .crs-field select:focus,body.admin-skin-modern .crs-field textarea:focus{border-color:#0f5132!important;box-shadow:0 0 0 3px rgba(15,81,50,.12)!important}
body.admin-skin-modern .crs-mini{background:#eef7f1!important;color:#0f5132!important;border-color:#cfe3d6!important}
body.admin-skin-modern .crs-search{border-color:#e0dccf!important}
body.admin-skin-modern .az-notif-head{background:linear-gradient(135deg,#0b3a25,#0f5132)!important;border-bottom-color:#e8e1d3!important}
body.admin-skin-modern .az-notif-head button{background:rgba(245,197,66,.2)!important;color:#fff!important}
body.admin-skin-modern .az-notif-item.unread{background:#eef7f1!important}
body.admin-skin-modern .az-notif-item:hover{background:#f5faf6!important}
body.admin-skin-modern .az-notif-ic{background:#e8f4ec!important;color:#0f5132!important}
body.admin-skin-modern .az-notif-empty{color:#64748b!important}
body.admin-skin-modern .az-notif-badge{background:#dc2626!important}
body.admin-skin-modern .admin-layout{background:#f4f1e8!important}
body.admin-skin-modern .admin-sidebar{
  background:linear-gradient(180deg,#072f24 0%,#0b3a25 45%,#041f18 100%)!important;
  color:#e7f2ea!important;border-inline-start:1px solid rgba(245,197,66,.18);
  box-shadow:-10px 0 40px rgba(2,23,15,.28);width:280px!important;flex-basis:280px!important;
}
body.admin-skin-modern .sidebar-header{
  background:linear-gradient(135deg,#0f5132,#14532d)!important;color:#fff!important;
  border-bottom:1px solid rgba(245,197,66,.22)!important;padding:16px 14px!important;
}
body.admin-skin-modern .sidebar-logo{background:#f5c542!important;color:#0b3a25!important;box-shadow:0 8px 18px rgba(245,197,66,.25)!important}
body.admin-skin-modern .brand-title{color:#fff!important;font-weight:900!important}
body.admin-skin-modern .brand-sub{color:#c8dccf!important;opacity:.9!important}
body.admin-skin-modern .sidebar-user{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.08)!important;margin:10px!important;border-radius:14px!important;padding:10px!important}
body.admin-skin-modern .user-name{color:#fff!important;font-weight:900!important}
body.admin-skin-modern .user-role{color:#f5c542!important}
body.admin-skin-modern .user-avatar{background:#f5c542!important;color:#0b3a25!important;font-weight:900!important}
body.admin-skin-modern .sidebar-search{padding:8px 10px!important}
body.admin-skin-modern .sidebar-search .search-wrapper{background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:11px!important}
body.admin-skin-modern .sidebar-search input{color:#eaf4ed!important}
body.admin-skin-modern .sidebar-search input::placeholder{color:#a9c5b5!important}
body.admin-skin-modern .sidebar-search .search-icon{color:#f5c542!important}
body.admin-skin-modern .sidebar-nav{padding:6px 8px 10px!important}
body.admin-skin-modern .menu-item-wrap{margin:2px 0!important}
body.admin-skin-modern .submenu .submenu-item{padding:8px 11px!important}
body.admin-skin-modern .menu-item{
  color:#d8e8de!important;border-radius:11px!important;margin:2px 4px!important;
  padding:10px 12px!important;font-weight:800!important;transition:.16s!important;
}
body.admin-skin-modern .menu-item i{color:#9ec4ad!important}
body.admin-skin-modern .menu-item:hover{background:rgba(255,255,255,.07)!important;color:#fff!important}
body.admin-skin-modern .menu-item:hover i{color:#f5c542!important}
body.admin-skin-modern .menu-item.active{
  background:linear-gradient(135deg,#f5c542,#eab308)!important;color:#14251d!important;
  box-shadow:0 8px 18px rgba(245,197,66,.2)!important;
}
body.admin-skin-modern .menu-item.active i{color:#0b3a25!important}
body.admin-skin-modern .menu-item.menu-open{background:rgba(255,255,255,.06)!important;color:#fff!important}
body.admin-skin-modern .submenu{background:rgba(0,0,0,.12)!important;border-radius:10px!important;margin:3px 6px!important;padding:4px!important}
body.admin-skin-modern .submenu-item{color:#c5d8cc!important;border-radius:8px!important;padding:8px 11px!important;background:transparent!important;text-align:start!important}
body.admin-skin-modern .submenu-item i{color:#9ec4ad!important}
body.admin-skin-modern .submenu-item:hover{color:#fff!important;background:rgba(255,255,255,.08)!important}
body.admin-skin-modern .submenu-item.active,
body.admin-skin-modern .submenu-parent.active{background:rgba(245,197,66,.18)!important;color:#f5c542!important}
body.admin-skin-modern .submenu-item.active i,
body.admin-skin-modern .submenu-parent.active i{color:#f5c542!important}
body.admin-skin-modern .submenu-parent{color:#e6f2e9!important;font-weight:900!important}
body.admin-skin-modern .submenu-item.active{background:rgba(245,197,66,.16)!important;color:#f5c542!important}
body.admin-skin-modern .submenu-parent{display:flex!important;align-items:center!important;width:100%!important;border:0!important;cursor:pointer!important;text-align:start!important;font:inherit!important;-webkit-appearance:none!important;appearance:none!important;box-shadow:none!important;background:transparent!important;color:#e6f2e9!important}
body.admin-skin-modern .admin-layout .submenu-parent{background:transparent!important;color:#e6f2e9!important;border:0!important;box-shadow:none!important}
body.admin-skin-modern .admin-layout .submenu-parent.active{background:#f5c542!important;color:#14251d!important;box-shadow:0 6px 14px rgba(245,197,66,.2)!important}
body.admin-skin-modern .admin-layout .submenu-parent.active i{color:#14251d!important}
body.admin-skin-modern .admin-layout .submenu-item.active{background:#f5c542!important;color:#14251d!important;box-shadow:0 6px 14px rgba(245,197,66,.2)!important}
body.admin-skin-modern .admin-layout .submenu-item.active i{color:#14251d!important}
body.admin-skin-modern .submenu-parent .arrow{margin-inline-start:auto!important;font-size:9px!important;opacity:.75!important;transition:transform .16s!important}
body.admin-skin-modern .submenu-parent .arrow.rotate{transform:rotate(180deg)!important}
body.admin-skin-modern .submenu-nested{margin:2px 0 4px!important;padding:3px!important;background:rgba(0,0,0,.14)!important;border-radius:9px!important}
body.admin-skin-modern .submenu-leaf{font-size:10.5px!important;padding:7px 9px!important}
body.admin-skin-modern .sidebar-footer{border-top:1px solid rgba(255,255,255,.08)!important;padding:8px!important}
body.admin-skin-modern .admin-main{background:#f4f1e8!important}
body.admin-skin-modern .admin-topbar{
  background:linear-gradient(90deg,#0b3a25,#0f5132)!important;color:#fff!important;
  border-bottom:0!important;box-shadow:0 8px 24px rgba(2,23,15,.16)!important;
  padding:0 20px!important;min-height:68px!important;
}
body.admin-skin-modern .page-title{color:#fff!important;font-weight:900!important}
body.admin-skin-modern .btn-menu{background:rgba(255,255,255,.1)!important;color:#fff!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:10px!important}
body.admin-skin-modern .lang-switcher-btn,body.admin-skin-modern .role-badge{
  background:rgba(255,255,255,.09)!important;border:1px solid rgba(255,255,255,.18)!important;
  color:#fff!important;border-radius:10px!important;
}
body.admin-skin-modern .admin-content{padding:18px 20px!important;background:#f4f1e8!important}
body.admin-skin-modern .admin-page > h1{color:#0b3a25!important}
body.admin-skin-modern .admin-page-header h1,body.admin-skin-modern .admin-page-header h2,body.admin-skin-modern [class*="-hero"] h1{color:#fff!important}
body.admin-skin-modern .db-hero{
  background:linear-gradient(110deg,#0b3a25 0%,#0f5132 55%,#1b6a46 100%)!important;
  border-radius:22px!important;box-shadow:0 16px 36px rgba(2,23,15,.2)!important;
}
body.admin-skin-modern .db-hero h1,body.admin-skin-modern .db-hero p{color:#fff!important}
body.admin-skin-modern .db-stat,body.admin-skin-modern .db-panel,body.admin-skin-modern .db-quick-card{
  background:#fff!important;border:1px solid #e8e1d3!important;border-radius:16px!important;
  box-shadow:0 8px 22px rgba(15,81,50,.06)!important;
}
body.admin-skin-modern .db-stat b{color:#0b3a25!important}
body.admin-skin-modern .db-stat span{color:#6b7a70!important}
body.admin-skin-modern .db-stat .ic{background:linear-gradient(135deg,#0f5132,#15803d)!important;color:#f5c542!important;border-radius:12px!important}
body.admin-skin-modern .db-panel h3{color:#0b3a25!important}
body.admin-skin-modern .db-row{background:#f7faf7!important;border-color:#edf2ed!important}
body.admin-skin-modern .db-row .extra{color:#0f5132!important}
body.admin-skin-modern .db-quick-card:hover{border-color:#c7b26a!important;box-shadow:0 12px 28px rgba(15,81,50,.12)!important}
body.admin-skin-modern .admin-button.primary,body.admin-skin-modern .btn-primary,body.admin-skin-modern button.primary{
  background:linear-gradient(135deg,#0f5132,#15803d)!important;color:#fff!important;border:0!important;
  box-shadow:0 8px 18px rgba(15,81,50,.18)!important;border-radius:10px!important;
}
body.admin-skin-modern .admin-button.secondary,body.admin-skin-modern .btn-secondary{
  background:#fff!important;border:1px solid #e0d8c8!important;color:#334155!important;border-radius:10px!important;
}
body.admin-skin-modern .table th,body.admin-skin-modern table thead th{background:#f0f5ef!important;color:#0b3a25!important}
body.admin-skin-modern a{--az-link:#0f5132}
body.admin-skin-modern .az-tab.active,body.admin-skin-modern .tab.active{border-color:#0f5132!important;color:#0f5132!important}
body.admin-skin-modern .db-bar i{background:linear-gradient(180deg,#f5c542,#d4a90f)!important}
body.admin-skin-modern .pagination .active,body.admin-skin-modern .page-link.active{background:#0f5132!important;border-color:#0f5132!important}
@media(max-width:900px){
  body.admin-skin-modern .admin-sidebar{box-shadow:-8px 0 30px rgba(2,23,15,.35)!important}
  body.admin-skin-modern .admin-topbar{min-height:60px!important;padding:0 12px!important}
}
