*{box-sizing:border-box}

:root{
  --bg:#050505;
  --card:#0c0c0c;
  --card2:#11100b;
  --gold:#f4c542;
  --gold2:#dcae22;
  --text:#f5f5f5;
  --muted:#969696;
  --green:#19d875;
  --red:#ff5555;
  --border:rgba(244,197,66,.38);
}

html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  font-family:Arial,sans-serif;
}

body{
  min-height:100vh;
}

button,input,select{
  font:inherit;
}

button{
  cursor:pointer;
}

#app{
  width:100%;
}

.admin-wrap{
  width:100%;
  max-width:760px;
  margin:auto;
  padding:20px 16px 40px;
}

/* LOGIN */

.login-card{
  max-width:430px;
  margin:70px auto;
  padding:28px 22px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:24px;
}

.login-card .logo{
  color:var(--gold);
  font-size:30px;
  font-weight:800;
  letter-spacing:1px;
}

.login-card h2{
  margin:20px 0 7px;
}

.muted{
  color:var(--muted);
}

label{
  display:block;
  margin:18px 0 7px;
  color:#ddd;
  font-weight:600;
}

input,select{
  width:100%;
  min-height:52px;
  padding:14px;
  border-radius:13px;
  border:1px solid var(--border);
  background:#080808;
  color:white;
  outline:none;
}

input:focus,select:focus{
  border-color:var(--gold);
}

.btn{
  width:100%;
  min-height:52px;
  margin-top:18px;
  border:1px solid var(--gold);
  border-radius:13px;
  background:linear-gradient(135deg,#f6d45a,#dcae22);
  color:#111;
  font-weight:800;
}

/* HEADER */

.admin-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:20px;
  margin-bottom:20px;
  background:linear-gradient(145deg,#0d0d0d,#080808);
  border:1px solid var(--border);
  border-radius:24px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand-icon{
  width:58px;
  height:58px;
  border-radius:17px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#ffe36b,#dba91e);
  color:#111;
  font-size:30px;
  font-weight:900;
}

.brand-title{
  font-size:27px;
  font-weight:800;
}

.brand-sub{
  margin-top:3px;
  color:var(--gold);
  font-size:12px;
  letter-spacing:4px;
  font-weight:700;
}

.header-actions{
  display:flex;
  gap:8px;
}

.icon-btn,.logout{
  min-height:46px;
  padding:0 15px;
  border:1px solid var(--border);
  border-radius:13px;
  background:#0b0b0b;
  color:var(--gold);
  font-weight:700;
}

.icon-btn{
  font-size:23px;
  min-width:46px;
}

/* OVERVIEW */

.overview-card{
  display:flex;
  align-items:center;
  gap:16px;
  padding:22px;
  margin-bottom:18px;
  border:1px solid var(--gold);
  border-radius:25px;
  background:#0b0b0b;
}

.overview-icon{
  width:64px;
  height:64px;
  flex:none;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  border:1px solid var(--border);
  color:var(--gold);
  font-size:28px;
  background:rgba(244,197,66,.07);
}

.overview-card h2{
  margin:0 0 6px;
  font-size:23px;
}

.overview-card p{
  margin:0;
  color:var(--muted);
}

/* STATS */

.stats-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-bottom:20px;
}

.stat-card{
  position:relative;
  min-height:205px;
  padding:20px 18px;
  border:1px solid var(--border);
  border-radius:24px;
  background:#0b0b0b;
}

.stat-icon{
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--border);
  border-radius:50%;
  color:var(--gold);
  font-size:22px;
}

.stat-arrow{
  position:absolute;
  top:25px;
  right:18px;
  color:var(--gold);
  font-size:27px;
}

.stat-card small{
  display:block;
  margin-top:20px;
  color:#aaa;
  font-size:15px;
  font-weight:700;
}

.stat-card b{
  display:block;
  margin-top:9px;
  font-size:25px;
}

.today{
  display:block;
  margin-top:18px;
  color:var(--green);
  font-size:15px;
  font-weight:700;
}

.stat-wide{
  grid-column:1/-1;
}

/* MENU */

.menu-list{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-bottom:20px;
}

.menu-item{
  width:100%;
  display:flex;
  align-items:center;
  gap:18px;
  padding:17px 20px;
  text-align:left;
  border:1px solid var(--border);
  border-radius:21px;
  background:#0b0b0b;
  color:white;
}

.menu-item:hover{
  border-color:var(--gold);
  background:linear-gradient(90deg,rgba(244,197,66,.10),#0b0b0b);
}

.menu-icon{
  width:50px;
  height:50px;
  flex:none;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--border);
  border-radius:50%;
  color:var(--gold);
  font-size:22px;
}

.menu-content{
  flex:1;
  min-width:0;
}

.menu-title{
  font-size:20px;
  font-weight:800;
}

.menu-sub{
  margin-top:5px;
  color:var(--muted);
  font-size:15px;
}

.menu-arrow{
  color:var(--gold);
  font-size:28px;
}

/* PAGE */

.page{
  display:none;
}

.page.active{
  display:block;
}

.page-header{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}

.back-btn{
  width:45px;
  height:45px;
  border:1px solid var(--border);
  border-radius:13px;
  background:#0b0b0b;
  color:var(--gold);
  font-size:22px;
}

.page-title{
  font-size:26px;
  font-weight:800;
}

.panel{
  padding:20px;
  margin-bottom:16px;
  background:#0b0b0b;
  border:1px solid var(--border);
  border-radius:22px;
}

.panel h3{
  margin-top:0;
}

.address-box{
  padding:14px;
  border:1px solid var(--border);
  border-radius:13px;
  background:#070707;
  word-break:break-all;
  font-family:monospace;
  color:#ddd;
}

.order{
  padding:18px;
  margin-top:12px;
  border:1px solid var(--border);
  border-radius:18px;
  background:#090909;
}

.order-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
}

.status{
  height:max-content;
  padding:6px 10px;
  border-radius:20px;
  background:rgba(244,197,66,.12);
  color:var(--gold);
  font-size:12px;
  font-weight:800;
}

.actions{
  display:flex;
  gap:10px;
  margin-top:15px;
}

.approve,.reject{
  flex:1;
  min-height:46px;
  border-radius:12px;
  font-weight:800;
}

.approve{
  background:var(--green);
  color:#06140c;
}

.reject{
  background:#351010;
  border:1px solid #6e2222;
  color:#ff7777;
}

.empty{
  padding:30px 10px;
  text-align:center;
  color:var(--muted);
}

/* DASHBOARD DETAIL */

.dashboard-panel{
  padding:24px;
  border:1px solid var(--border);
  border-radius:24px;
  background:#0b0b0b;
}

.live{
  float:right;
  padding:8px 14px;
  border-radius:20px;
  background:var(--green);
  color:#07130c;
  font-weight:800;
}

.rate-box{
  margin-top:22px;
  padding:22px;
  border:1px solid var(--border);
  border-radius:18px;
}

.rate-box small{
  color:#aaa;
}

.rate-box b{
  display:block;
  margin-top:8px;
  color:var(--gold);
  font-size:34px;
}

/* DESKTOP */

@media(min-width:700px){
  .admin-wrap{
    padding:28px 20px 50px;
  }

  .stats-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .stat-wide{
    grid-column:auto;
  }
}

/* SMALL PHONE */

@media(max-width:380px){
  .admin-wrap{
    padding:14px 11px 30px;
  }

  .brand-title{
    font-size:23px;
  }

  .brand-icon{
    width:52px;
    height:52px;
  }

  .logout{
    padding:0 10px;
  }

  .stat-card{
    min-height:190px;
    padding:17px 14px;
  }

  .stat-card b{
    font-size:21px;
  }

  .menu-title{
    font-size:18px;
  }
}

/* ===== ADMIN MENU DRAWER ===== */

.icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:48px;
  margin-right:8px;
  background:#11100d;
  color:#f5c94a;
  border:1px solid #8d6b16;
  border-radius:14px;
  font-size:24px;
}

.header-actions{
  display:flex;
  align-items:center;
}

.menu-list{
  display:none;
}

.menu-list.menu-open{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:18px;
  margin-bottom:20px;
}

.menu-item{
  width:100%;
  display:flex;
  align-items:center;
  text-align:left;
  min-height:94px;
  padding:16px 18px;
  background:#0b0b0b;
  color:#fff;
  border:1px solid #725817;
  border-radius:20px;
}

.menu-item:hover{
  background:#17130a;
  border-color:#d4a92e;
}

.menu-icon{
  width:54px;
  height:54px;
  min-width:54px;
  border:1px solid #80651b;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#f5c94a;
  font-size:24px;
  margin-right:18px;
}

.menu-content{
  flex:1;
  min-width:0;
}

.menu-title{
  font-size:21px;
  font-weight:800;
  color:#f5f5f5;
}

.menu-sub{
  margin-top:5px;
  color:#8e8e8e;
  font-size:16px;
}

.menu-arrow{
  color:#f5c94a;
  font-size:32px;
  margin-left:10px;
}

@media(max-width:600px){
  .menu-item{
    min-height:86px;
  }

  .menu-title{
    font-size:19px;
  }

  .menu-sub{
    font-size:15px;
  }
}


/* ===== RPX PAY ADMIN MENU DRAWER ===== */

body.menu-active{
  overflow:hidden;
}

.menu-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.72);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:9998;
  transition:opacity .25s ease;
}

.menu-overlay.menu-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.menu-drawer{
  position:fixed;
  top:0;
  right:0;
  width:min(390px,92vw);
  height:100vh;
  background:#090909;
  border-left:1px solid #8b6815;
  box-shadow:-15px 0 45px rgba(0,0,0,.7);
  z-index:9999;
  transform:translateX(105%);
  transition:transform .25s ease;
  overflow-y:auto;
  padding:18px 14px 30px;
}

.menu-drawer.menu-open{
  transform:translateX(0);
}

.drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 12px 20px;
  margin-bottom:12px;
  border-bottom:1px solid #5e4810;
}

.drawer-title{
  color:#fff;
  font-size:23px;
  font-weight:800;
  letter-spacing:1px;
}

.drawer-sub{
  color:#f5c83b;
  font-size:11px;
  font-weight:800;
  letter-spacing:4px;
  margin-top:5px;
}

.drawer-close{
  width:48px;
  height:48px;
  padding:0;
  border-radius:12px;
  border:1px solid #8b6815;
  background:#111;
  color:#f5c83b;
  font-size:21px;
}

.drawer-menu{
  display:flex;
  flex-direction:column;
  gap:11px;
}

.drawer-menu .menu-item{
  width:100%;
  min-height:82px;
  display:flex;
  align-items:center;
  gap:14px;
  text-align:left;
  background:#0c0c0c;
  border:1px solid #5f4914;
  border-radius:18px;
  padding:14px;
  color:#fff;
}

.drawer-menu .menu-item:active{
  background:#181307;
  border-color:#d4a72d;
}

.drawer-menu .menu-icon{
  flex:0 0 50px;
  width:50px;
  height:50px;
  border-radius:50%;
  border:1px solid #826315;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#f5c83b;
  font-size:22px;
  background:#0b0b0b;
}

.drawer-menu .menu-content{
  flex:1;
  min-width:0;
}

.drawer-menu .menu-title{
  color:#fff;
  font-size:17px;
  font-weight:800;
}

.drawer-menu .menu-sub{
  color:#888;
  font-size:13px;
  margin-top:5px;
}

.drawer-menu .menu-arrow{
  color:#f5c83b;
  font-size:29px;
}

@media(max-width:600px){
  .menu-drawer{
    width:92vw;
  }

  .drawer-menu .menu-item{
    min-height:80px;
  }
}


/* MOBILE ADMIN MENU SCROLL FIX */
.menu-list {
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 0 80px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.menu-list .menu-item {
  min-height: 120px;
  flex-shrink: 0;
}

.menu-list.menu-open {
  max-height: calc(100vh - 190px);
  overflow-y: auto;
}

@media (max-width: 700px) {
  .menu-list {
    max-height: calc(100vh - 210px);
    padding-bottom: 100px;
  }

  .menu-list .menu-item {
    min-height: 120px;
  }
}


/* FINAL MOBILE MENU FIX */
@media (max-width: 700px) {

  .menu-list.menu-open {
    position: fixed !important;
    top: 155px !important;
    left: 55px !important;
    right: 0 !important;
    bottom: 0 !important;

    height: auto !important;
    max-height: none !important;

    overflow-y: scroll !important;
    overflow-x: hidden !important;

    padding: 15px 12px 120px 25px !important;
    box-sizing: border-box !important;

    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  .menu-list.menu-open .menu-item {
    display: flex !important;
    min-height: 120px !important;
    margin-bottom: 18px !important;
    flex-shrink: 0 !important;
  }

  .menu-list.menu-open .menu-item:last-child {
    margin-bottom: 80px !important;
  }
}


/* ===== FINAL ADMIN DRAWER SCROLL FIX ===== */

@media (max-width: 700px) {

  body {
    overflow-x: hidden !important;
  }

  .menu-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 55px !important;

    width: auto !important;
    height: auto !important;
    max-height: none !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;

    box-sizing: border-box !important;
    z-index: 9999 !important;

    padding-bottom: 120px !important;
  }

  .menu-drawer.menu-open {
    display: block !important;
    overflow-y: auto !important;
    max-height: none !important;
  }

  .menu-drawer .menu-list {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 100px !important;
  }

  .menu-drawer .menu-item {
    flex-shrink: 0 !important;
    min-height: 110px !important;
    margin-bottom: 16px !important;
  }

  .menu-overlay.menu-open {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9998 !important;
  }

}


/* ===== RESTORE ADMIN MENU LAYOUT + KEEP SCROLL ===== */

@media (max-width: 700px) {

  /* Restore drawer geometry */
  .menu-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: 0 !important;

    width: min(92vw, 420px) !important;
    height: 100% !important;

    max-height: 100% !important;

    box-sizing: border-box !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    padding-bottom: 90px !important;

    -webkit-overflow-scrolling: touch !important;
  }

  /* Keep the drawer's original internal layout */
  .menu-drawer .menu-list {
    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;
    height: auto !important;
    max-height: none !important;

    overflow: visible !important;

    box-sizing: border-box !important;

    padding-bottom: 40px !important;
  }

  .menu-drawer .menu-item {
    width: 100% !important;
    min-height: 120px !important;

    flex-shrink: 0 !important;

    box-sizing: border-box !important;

    margin-bottom: 18px !important;
  }

  .menu-drawer .menu-item:last-child {
    margin-bottom: 40px !important;
  }

  /* Don't move the whole page */
  .admin-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }

}

/* Desktop stays unchanged */
@media (min-width: 701px) {
  .menu-drawer {
    overflow-y: auto !important;
  }
}


/* ===== ADMIN PANEL / DASHBOARD — USER PAGE SIZE ===== */

.admin-wrap {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Dashboard content */
#homePage {
  width: 100%;
  box-sizing: border-box;
}

/* Overview */
.overview-card {
  width: 100%;
  box-sizing: border-box;
  padding: 20px 22px !important;
}

/* Statistics */
.stats-grid {
  width: 100%;
  box-sizing: border-box;
  gap: 14px !important;
}

.stat-card {
  box-sizing: border-box;
  padding: 18px !important;
  min-height: 125px !important;
}

/* Menu cards */
.menu-list {
  width: 100%;
  box-sizing: border-box;
  gap: 14px !important;
}

.menu-item {
  width: 100%;
  box-sizing: border-box;
  min-height: 112px !important;
  padding: 18px 20px !important;
}

/* Icon size */
.menu-icon {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
}

/* Text size */
.menu-title {
  font-size: 25px !important;
  line-height: 1.2 !important;
}

.menu-sub {
  font-size: 17px !important;
  line-height: 1.3 !important;
}

/* Dashboard lower panel */
.dashboard-panel {
  width: 100%;
  box-sizing: border-box;
  padding: 20px !important;
}

/* Mobile — same compact proportion as Users page */
@media (max-width: 700px) {

  .admin-wrap {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .overview-card {
    padding: 17px 18px !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .stat-card {
    min-height: 105px !important;
    padding: 16px !important;
  }

  .menu-list {
    gap: 12px !important;
  }

  .menu-item {
    min-height: 105px !important;
    padding: 16px 18px !important;
  }

  .menu-icon {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
  }

  .menu-title {
    font-size: 22px !important;
  }

  .menu-sub {
    font-size: 15px !important;
  }

  .dashboard-panel {
    padding: 17px !important;
  }
}


/* ===== COMPACT ADMIN MENU ===== */

.menu-list {
  gap: 8px !important;
  margin-top: 14px !important;
}

.menu-item {
  min-height: 82px !important;
  height: 82px !important;
  padding: 12px 16px !important;
  margin: 0 !important;
  border-radius: 22px !important;
  box-sizing: border-box !important;
}

.menu-icon {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
}

.menu-title {
  font-size: 21px !important;
  line-height: 1.15 !important;
}

.menu-sub {
  font-size: 14px !important;
  line-height: 1.2 !important;
  margin-top: 3px !important;
}

.menu-arrow {
  font-size: 28px !important;
}

/* Mobile */
@media (max-width: 700px) {

  .menu-list {
    gap: 7px !important;
    margin-top: 12px !important;
  }

  .menu-item {
    min-height: 78px !important;
    height: 78px !important;
    padding: 10px 14px !important;
    border-radius: 20px !important;
  }

  .menu-icon {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
  }

  .menu-title {
    font-size: 20px !important;
  }

  .menu-sub {
    font-size: 13px !important;
  }

  .menu-arrow {
    font-size: 26px !important;
  }
}

/* Drawer menu should also stay compact */
.menu-drawer .menu-list {
  gap: 8px !important;
}

.menu-drawer .menu-item {
  min-height: 82px !important;
  height: 82px !important;
  margin-bottom: 0 !important;
  padding: 12px 16px !important;
}


/* SIMPLE LIVE RATE + DEPOSIT ADDRESS */

.simple-admin-panel{
  max-width:620px;
  margin:0 auto 18px;
}

.simple-current{
  background:#f5f8f7;
  border:1px solid #e1e8e5;
  border-radius:12px;
  padding:16px;
  margin-bottom:16px;
}

.simple-current small{
  display:block;
  color:#71807b;
  font-size:13px;
  font-weight:700;
  margin-bottom:7px;
}

.simple-current b{
  display:block;
  font-size:25px;
  color:#087f62;
}

.simple-address{
  font-family:monospace;
  font-size:13px;
  line-height:1.5;
  word-break:break-all;
  color:#17201d;
}

.simple-admin-panel label{
  display:block;
  font-size:13px;
  font-weight:700;
  margin-bottom:5px;
}

.simple-admin-panel input{
  margin:0 0 12px;
}

.simple-admin-panel .btn{
  max-width:220px;
}

@media(max-width:600px){
  .simple-admin-panel{
    max-width:none;
  }

  .simple-admin-panel .btn{
    max-width:none;
  }

  .simple-current{
    padding:14px;
  }

  .simple-current b{
    font-size:22px;
  }
}


/* ===== FINAL RPX ADMIN MENU LAYOUT ===== */

.menu-list{
  display:none !important;
}

.menu-list.menu-open{
  display:none !important;
}

/* Main admin header */
.admin-header,
.admin-topbar,
header{
  min-height:64px !important;
}

/* Menu button */
.icon-btn{
  width:42px !important;
  height:40px !important;
  margin-right:6px !important;
  border-radius:10px !important;
  font-size:20px !important;
}

/* Right-side drawer */
.menu-drawer{
  width:min(330px,88vw) !important;
  padding:12px 12px 20px !important;
}

/* Drawer heading */
.drawer-head{
  padding:10px 8px 12px !important;
  margin-bottom:8px !important;
}

.drawer-title{
  font-size:19px !important;
}

.drawer-sub{
  font-size:9px !important;
  letter-spacing:3px !important;
}

.drawer-close{
  width:40px !important;
  height:40px !important;
  border-radius:10px !important;
  font-size:18px !important;
}

/* Menu items */
.drawer-menu{
  gap:7px !important;
}

.drawer-menu .menu-item{
  min-height:62px !important;
  height:62px !important;
  padding:9px 11px !important;
  gap:10px !important;
  border-radius:12px !important;
  box-sizing:border-box !important;
}

/* Menu icon */
.drawer-menu .menu-icon{
  flex:0 0 38px !important;
  width:38px !important;
  height:38px !important;
  font-size:17px !important;
}

/* Menu text */
.drawer-menu .menu-title{
  font-size:14px !important;
  line-height:1.2 !important;
}

.drawer-menu .menu-sub{
  font-size:11px !important;
  margin-top:2px !important;
}

.drawer-menu .menu-arrow{
  font-size:22px !important;
  margin-left:4px !important;
}

/* Prevent page content from showing menu items */
.admin-wrap .menu-list{
  display:none !important;
}

/* Mobile */
@media(max-width:700px){

  .menu-drawer{
    width:88vw !important;
    max-width:330px !important;
    padding:10px 10px 18px !important;
  }

  .drawer-menu{
    gap:6px !important;
  }

  .drawer-menu .menu-item{
    min-height:60px !important;
    height:60px !important;
    margin:0 !important;
  }

}


/* ===== FINAL ADMIN DRAWER SIZE ===== */

.menu-drawer{
  width:min(380px,92vw) !important;
  padding:16px 14px 24px !important;
}

.drawer-head{
  padding:14px 10px 16px !important;
  margin-bottom:12px !important;
}

.drawer-title{
  font-size:22px !important;
}

.drawer-close{
  width:44px !important;
  height:44px !important;
}

.drawer-menu{
  gap:9px !important;
}

.drawer-menu .menu-item{
  min-height:72px !important;
  padding:11px 13px !important;
  gap:12px !important;
  border-radius:15px !important;
}

.drawer-menu .menu-icon{
  flex:0 0 44px !important;
  width:44px !important;
  height:44px !important;
  font-size:20px !important;
}

.drawer-menu .menu-title{
  font-size:16px !important;
}

.drawer-menu .menu-sub{
  font-size:12px !important;
  margin-top:3px !important;
}

.drawer-menu .menu-arrow{
  font-size:25px !important;
}

@media(max-width:600px){
  .menu-drawer{
    width:88vw !important;
  }

  .drawer-menu .menu-item{
    min-height:70px !important;
  }
}

/* Old mobile menu-list rules must not affect drawer */
.menu-drawer .menu-list,
.menu-drawer .menu-list.menu-open{
  max-height:none !important;
  overflow:visible !important;
}


.copy-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
}

.copy-btn{
  border:1px solid #8d6b16;
  background:#111;
  color:#f5c94a;
  border-radius:6px;
  padding:3px 8px;
  font-size:11px;
  cursor:pointer;
}

.copy-btn:active{
  transform:scale(.97);
}


/* ===== Users Management - Mobile Readability ===== */

.users-management-card{
  color:#f5f5f5 !important;
  background:#151515 !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:14px !important;
}

.users-management-card .user-name{
  color:#ffffff !important;
  font-size:17px !important;
  font-weight:700 !important;
  line-height:1.35 !important;
}

.users-management-card .user-email{
  color:#cfcfcf !important;
  font-size:14px !important;
  line-height:1.4 !important;
  margin-top:3px !important;
}

.users-management-card .user-stat{
  min-width:0;
}

.users-management-card .user-stat-label{
  display:block;
  color:#bdbdbd !important;
  font-size:12px !important;
  font-weight:600 !important;
  margin-bottom:4px !important;
}

.users-management-card .user-stat-value{
  color:#ffffff !important;
  font-size:14px !important;
  font-weight:700 !important;
  white-space:nowrap;
}

.users-management-card .user-arrow{
  color:#ffffff !important;
  font-size:24px !important;
}

@media (max-width:600px){

  .users-management-card{
    padding:16px !important;
  }

  .users-management-card .user-name{
    font-size:16px !important;
  }

  .users-management-card .user-email{
    font-size:13px !important;
  }

  .users-management-card .user-stats{
    grid-template-columns:1fr !important;
    gap:9px !important;
  }

  .users-management-card .user-stat{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    padding:9px 10px;
    border-radius:9px;
    background:rgba(255,255,255,.05);
  }

  .users-management-card .user-stat-label{
    margin:0 !important;
    font-size:12px !important;
  }

  .users-management-card .user-stat-value{
    font-size:14px !important;
  }
}

.user-history-btn{
  width:100%;
  min-height:44px;
  border:1px solid rgba(242,201,76,.25);
  border-radius:10px;
  background:rgba(242,201,76,.06);
  color:inherit;
  padding:10px 12px;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.user-history-btn:hover{
  background:rgba(242,201,76,.12);
}

.user-history-btn span{
  font-size:18px;
  opacity:.75;
}

@media(max-width:600px){
  .user-history-btn{
    font-size:12px;
    padding:9px 8px;
  }
}
