:root{
  --uny-v11-blue:#13a1ee;
  --uny-v11-blue-dark:#0877c8;
  --uny-v11-ink:#182235;
  --uny-v11-muted:#8b96a8;
  --uny-v11-line:#e9eef5;
  --uny-v11-soft:#f7f9fc;
  --uny-v11-danger:#ff5364;
  --uny-v11-shadow:0 16px 45px rgba(32,56,89,.10);
}

/* Desktop customer panel */
.uny-v11-sidebar-col{padding-right:10px}
.uny-v11-sidebar{position:sticky;top:110px;background:#fff;border:1px solid var(--uny-v11-line);border-radius:24px;box-shadow:var(--uny-v11-shadow);padding:18px}
.uny-v11-account{display:flex;align-items:center;gap:13px;padding:4px 3px 18px;border-bottom:1px solid var(--uny-v11-line);margin-bottom:12px}
.uny-v11-avatar{width:90px;height:90px;border-radius:50%;display:grid;place-items:center;overflow:hidden;flex:none;background:linear-gradient(135deg,var(--uny-v11-blue),#7155f7);color:#fff;font-weight:800;font-size:20px;box-shadow: 0 8px 22px rgb(111 35 144 / 27%)}
.uny-v11-avatar img{width:100%;height:100%;object-fit:cover}
.uny-v11-account-copy{min-width:0;display:flex;flex-direction:column;line-height:1.25}
.uny-v11-account-copy>span{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--uny-v11-blue);font-weight:900;margin-bottom:5px}
.uny-v11-account-copy strong{font-size:14px;color:var(--uny-v11-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.uny-v11-account-copy small{font-size:10px;color:var(--uny-v11-muted);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.uny-v11-desktop-nav{display:flex;flex-direction:column;gap:5px}
.uny-v11-desktop-nav a{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 12px;border-radius:14px;text-decoration:none!important;color:#455065;font-size:13px;font-weight:750;transition:.2s ease}
.uny-v11-desktop-nav a i{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#f2f5fa;color:#99a3b3}
.uny-v11-desktop-nav a:hover,.uny-v11-desktop-nav a.is-active{background:linear-gradient(135deg,#eef9ff,#f3f1ff);color:var(--uny-v11-blue-dark);transform:translateX(2px)}
.uny-v11-desktop-nav a.is-active i{background:#fff;color:var(--uny-v11-blue);box-shadow:0 5px 15px rgba(19,161,238,.12)}
.uny-v11-desktop-nav a.is-logout{margin-top:8px;padding-top:14px;border-top:1px solid var(--uny-v11-line);border-radius:0;color:var(--uny-v11-danger)}
.uny-v11-desktop-nav a.is-logout i{background:#fff1f3;color:var(--uny-v11-danger)}

/* Global app chrome - hidden on desktop */
.uny-v11-appbar,.uny-v11-bottom-nav,.uny-v11-drawer-overlay,.uny-v11-drawer,.uny-v11-search{display:none}
.uny-v11-mobile-profile{display:none}

@media (max-width:991.98px){
  body.uny-v11-customer-app{background:#f7f9fc!important;padding-bottom:78px!important}
  body.uny-v11-customer-app .main-header{display:none!important}
  body.uny-v11-customer-app .page-banner{display:none!important}
  body.uny-v11-customer-app footer,
  body.uny-v11-customer-app .footer-section{display:none!important}
  body.uny-v11-customer-app .user-dashbord{padding-top:85px!important;padding-bottom:96px!important;background:#f7f9fc!important}
  body.uny-v11-customer-app .user-dashbord>.container{padding-left:12px!important;padding-right:12px!important}
  body.uny-v11-customer-app .user-dashbord .row{margin-left:-5px!important;margin-right:-5px!important}
  body.uny-v11-customer-app .user-dashbord [class*="col-"]{padding-left:5px!important;padding-right:5px!important}

  .uny-v11-appbar{display:flex;position:fixed;left:0;right:0;top:0;height:64px;z-index:10030;background:var(--uny-v11-blue);align-items:center;justify-content:space-between;padding:0 16px;box-shadow:0 8px 22px rgba(7,95,157,.18)}
  .uny-v11-appbar-logo img{display:block;max-width:48px;max-height:42px;object-fit:contain}
  .uny-v11-appbar-menu{width:43px;height:43px;border:0;border-radius:50%;background:#fff;color:#596272;display:grid;place-items:center;font-size:19px;box-shadow:0 5px 14px rgba(0,0,0,.12)}

  .uny-v11-mobile-profile{display:block!important;width:100%;padding:0 4px;margin:0 0 12px}
  .uny-v11-mobile-profile-card{display:flex;align-items:center;gap:13px;padding:20px 9px;background:transparent}
  .uny-v11-avatar-mobile{width:62px;height:62px;border:3px solid #fff;box-shadow:0 6px 18px rgba(32,56,89,.13)}
  .uny-v11-mobile-profile-card .uny-v11-account-copy>span{font-size:10px;color:var(--uny-v11-blue);letter-spacing:.17em}
  .uny-v11-mobile-profile-card .uny-v11-account-copy strong{font-size:15px;text-transform:uppercase;max-width:225px}
  .uny-v11-mobile-profile-card .uny-v11-account-copy small{font-size:11px;max-width:225px}

  /* Customer content cards - app-like */
  body.uny-v11-customer-app .account-info,
  body.uny-v11-customer-app .user-profile-details,
  body.uny-v11-customer-app .card{background:#fff!important;border:1px solid var(--uny-v11-line)!important;border-radius:18px!important;box-shadow:0 8px 24px rgba(30,50,80,.06)!important;overflow:hidden!important;margin-bottom:10px!important}
  body.uny-v11-customer-app .account-info>.title,
  body.uny-v11-customer-app .user-profile-details .title{padding:15px 16px!important;border-bottom:1px solid var(--uny-v11-line)!important;background:#fff!important}
  body.uny-v11-customer-app .account-info>.title h4,
  body.uny-v11-customer-app .user-profile-details .title h4{font-size:15px!important;line-height:1.3!important;margin:0!important;color:var(--uny-v11-ink)!important}
  body.uny-v11-customer-app .account-info .info-list,
  body.uny-v11-customer-app .user-profile-details .content{padding:14px 16px!important}
  body.uny-v11-customer-app .form-control,
  body.uny-v11-customer-app .form_control{min-height:48px!important;border-radius:12px!important;border:1px solid #dfe6ef!important;background:#fbfcfe!important;padding:10px 13px!important;font-size:14px!important}
  body.uny-v11-customer-app .btn,
  body.uny-v11-customer-app .theme-btn{min-height:46px;border-radius:12px!important}
  body.uny-v11-customer-app table{font-size:12px!important}
  body.uny-v11-customer-app .dataTables_wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch}
  body.uny-v11-customer-app .dataTables_filter input{min-width:0!important;width:100%!important}
  body.uny-v11-customer-app .dataTables_filter label{width:100%!important;display:flex!important;gap:8px!important;align-items:center!important}

  /* Bottom navigation */
  .uny-v11-bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;z-index:10035;height:68px;padding:4px 4px calc(4px + env(safe-area-inset-bottom));background:rgba(255,255,255,.98);border-top:1px solid #e5eaf1;box-shadow:0 -8px 28px rgba(28,46,74,.08)}
  .uny-v11-bottom-nav button,.uny-v11-bottom-nav a{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#566273;text-decoration:none!important;font-size:9px;font-weight:800;min-width:0}
  .uny-v11-bottom-nav i{font-size:18px;line-height:1}
  .uny-v11-bottom-nav .is-active,.uny-v11-bottom-nav button:focus{color:var(--uny-v11-blue)}

  /* Drawer */
  .uny-v11-drawer-overlay{display:block;position:fixed;inset:0;z-index:10050;background:rgba(14,25,42,.42);backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:.22s ease}
  .uny-v11-drawer{display:flex;position:fixed;left:0;top:0;bottom:0;z-index:10060;width:min(88vw,390px);background:#fff;flex-direction:column;transform:translateX(-104%);transition:transform .28s cubic-bezier(.2,.8,.2,1);box-shadow:24px 0 60px rgba(9,22,39,.18);overflow-y:auto}
  body.uny-v11-menu-open .uny-v11-drawer-overlay{opacity:1;visibility:visible}
  body.uny-v11-menu-open .uny-v11-drawer{transform:translateX(0)}
  body.uny-v11-menu-open,html.uny-v11-menu-open{overflow:hidden!important}
  .uny-v11-drawer-head{display:flex;justify-content:space-between;align-items:flex-start;padding:30px 20px 25px;border-bottom:1px solid var(--uny-v11-line)}
  .uny-v11-drawer-account{display:flex;align-items:center;gap:12px;min-width:0}
  .uny-v11-drawer-account .uny-v11-avatar{width:58px;height:58px}
  .uny-v11-drawer-close{width:34px;height:34px;border-radius:50%;border:0;background:#1266aa;color:#fff;display:grid;place-items:center;flex:none}
  .uny-v11-drawer-nav{display:flex;flex-direction:column;padding:12px 14px 22px;gap:4px}
  .uny-v11-drawer-nav a{display:flex;align-items:center;gap:18px;min-height:51px;padding:8px 11px;border-radius:13px;color:#344052;text-decoration:none!important;font-size:18px;font-weight:600}
  .uny-v11-drawer-nav a i{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#f2f5fa;color:#9aa5b5;font-size:14px}
  .uny-v11-drawer-nav a:hover,.uny-v11-drawer-nav a.is-active{background:linear-gradient(135deg,#eef9ff,#f1efff);color:var(--uny-v11-blue-dark)}
  .uny-v11-drawer-nav a.is-active i{background:#fff;color:var(--uny-v11-blue);box-shadow:0 4px 13px rgba(19,161,238,.12)}
  .uny-v11-drawer-nav .uny-v11-logout{margin-top:8px;border-top:1px solid var(--uny-v11-line);border-radius:0;padding-top:14px;color:var(--uny-v11-danger)}
  .uny-v11-drawer-nav .uny-v11-logout i{background:#fff0f2;color:var(--uny-v11-danger)}

  /* Search screen */
  .uny-v11-search{display:flex;position:fixed;inset:0;z-index:10070;background:#fff;flex-direction:column;transform:translateY(105%);transition:transform .25s ease}
  body.uny-v11-search-open .uny-v11-search{transform:translateY(0)}
  body.uny-v11-search-open,html.uny-v11-search-open{overflow:hidden!important}
  .uny-v11-search-head{height:64px;background:var(--uny-v11-blue);display:flex;align-items:center;gap:8px;padding:10px 12px}
  .uny-v11-search-form{display:flex;flex:1;height:42px;background:#fff;border-radius:3px;overflow:hidden;border:1px solid rgba(255,255,255,.7)}
  .uny-v11-search-form input{flex:1;min-width:0;border:0;padding:0 12px;font-size:13px;outline:0}
  .uny-v11-search-form button{width:48px;border:0;background:transparent;color:var(--uny-v11-blue);font-size:22px}
  .uny-v11-search-close{width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff}
  .uny-v11-search-body{flex:1;background:#fff;padding:28px 20px;color:#9099a8;font-size:13px}

  /* Hide previous V8 mobile quick UI to avoid duplicate navigation */
  .uny-customer-mobile-shell{display:none!important}
  .uny-mobile-menu__customer-area{display:none!important}
}

@media (max-width:380px){
  .uny-v11-mobile-profile-card .uny-v11-account-copy strong,
  .uny-v11-mobile-profile-card .uny-v11-account-copy small{max-width:190px}
}
