*{box-sizing:border-box}
html,body,#app{margin:0;min-height:100%}
body{font-family:Arial,sans-serif;background:#080808;color:#fff}
button,input{font:inherit}

.login-page{min-height:100vh;display:grid;place-items:center;background:#080808}
.login-card{width:min(420px,calc(100% - 32px));padding:40px;border:1px solid #444;border-radius:22px;background:#111}
.logo,.brand{color:#ffc107;font-size:28px;font-weight:900}
.subtitle,.brand-sub{margin-top:4px;color:#777;font-size:10px;letter-spacing:4px}
.login-card h1{margin:30px 0 20px}
.login-card input{width:100%;padding:14px;margin-bottom:12px;border:1px solid #333;border-radius:10px;background:#080808;color:#fff}
.login-card button{width:100%;padding:14px;border:0;border-radius:10px;background:#ffc107;color:#111;font-weight:800;cursor:pointer}
.login-card button:disabled{opacity:.6}
.error{margin-bottom:12px;color:#ff6b6b}

.admin-layout{min-height:100vh;display:flex}
.sidebar{width:245px;min-height:100vh;padding:28px 18px;background:#101010;border-right:1px solid #242424;display:flex;flex-direction:column}
.sidebar nav{margin-top:42px;display:grid;gap:7px}
.nav-item{padding:13px 15px;border-radius:10px;color:#aaa}
.nav-item.active{background:#ffc107;color:#111;font-weight:800}
.logout{margin-top:auto;padding:12px;border:1px solid #333;border-radius:10px;background:transparent;color:#aaa;cursor:pointer}
.main{flex:1;min-width:0;padding:32px}
.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}
.topbar h1{margin:0;font-size:32px}
.topbar p{margin:7px 0 0;color:#777}
.admin-user{padding:10px 15px;border:1px solid #292929;border-radius:10px;background:#111}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.stat-card{padding:23px;border:1px solid #252525;border-radius:18px;background:#111}
.stat-card span{color:#888;font-size:13px}
.stat-card strong{display:block;margin-top:12px;color:#ffc107;font-size:27px}

.panel{margin-top:24px;border:1px solid #252525;border-radius:18px;background:#111;overflow:hidden}
.panel-title{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #252525}
.panel-title h2{margin:0;font-size:18px}
.panel-title span{color:#777;font-size:13px}
.promotion-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 100px;gap:16px;align-items:center;padding:17px 22px;border-bottom:1px solid #202020}
.promotion-row small{display:block;margin-top:5px;color:#777}
.status{color:#6ee7a0}
.claim-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:16px;padding:17px 22px;border-bottom:1px solid #202020}
.empty{padding:35px;text-align:center;color:#666}

@media(max-width:1000px){
  .sidebar{width:210px}
  .stats{grid-template-columns:1fr 1fr}
  .promotion-row,.claim-row{grid-template-columns:1fr 1fr}
}

@media(max-width:700px){
  .sidebar{display:none}
  .main{padding:18px}
  .topbar{align-items:flex-start;gap:15px;flex-direction:column}
  .stats{grid-template-columns:1fr}
  .promotion-row,.claim-row{grid-template-columns:1fr}
}

/* =========================
   GAMES MANAGEMENT REDESIGN
========================= */

.games-page{
  animation:gamesFade .2s ease;
}

@keyframes gamesFade{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:translateY(0)}
}

.games-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:26px;
}

.page-kicker{
  color:#777;
  font-size:11px;
  font-weight:700;
  letter-spacing:2px;
  margin-bottom:7px;
}

.games-header h1{
  margin:0;
  font-size:30px;
  line-height:1.2;
}

.games-header p{
  margin:8px 0 0;
  color:#777;
}

.games-refresh{
  border:1px solid #292929;
  background:#151515;
  color:#ddd;
  border-radius:10px;
  padding:11px 16px;
  cursor:pointer;
  transition:.2s;
}

.games-refresh:hover{
  background:#202020;
}

.games-refresh:disabled{
  opacity:.5;
  cursor:not-allowed;
}

.games-error{
  background:#2a1111;
  border:1px solid #542020;
  color:#ff8d8d;
  border-radius:12px;
  padding:13px 16px;
  margin-bottom:20px;
}

.game-summary{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-bottom:24px;
}

.summary-card{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:92px;
  padding:18px;
  background:#111;
  border:1px solid #252525;
  border-radius:15px;
}

.summary-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  background:#191919;
  border-radius:12px;
  font-size:21px;
}

.summary-card span{
  display:block;
  color:#777;
  font-size:12px;
  margin-bottom:5px;
}

.summary-card strong{
  font-size:24px;
}

.summary-card.online strong{
  color:#65e59a;
}

.summary-card.offline strong{
  color:#ff7373;
}

.games-section{
  background:#101010;
  border:1px solid #252525;
  border-radius:17px;
  overflow:hidden;
  margin-bottom:24px;
}

.section-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 22px;
  border-bottom:1px solid #252525;
}

.section-heading h2{
  margin:0;
  font-size:18px;
}

.section-heading p{
  margin:5px 0 0;
  color:#666;
  font-size:12px;
}

.section-count{
  color:#777;
  font-size:11px;
  font-weight:700;
  letter-spacing:1px;
}

.provider-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  padding:16px;
}

.provider-card{
  background:#151515;
  border:1px solid #292929;
  border-radius:13px;
  padding:16px;
  transition:.2s;
}

.provider-card:hover{
  border-color:#3a3a3a;
  transform:translateY(-1px);
}

.provider-card.disabled{
  opacity:.7;
}

.provider-top{
  display:flex;
  align-items:center;
  gap:11px;
}

.provider-logo{
  width:40px;
  height:40px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:#202020;
  color:#ddd;
  font-size:12px;
  font-weight:800;
}

.provider-title{
  min-width:0;
  flex:1;
}

.provider-title strong{
  display:block;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.provider-title small{
  display:block;
  margin-top:4px;
  color:#666;
}

.live-badge{
  font-size:9px;
  font-weight:800;
  white-space:nowrap;
}

.live-badge.live{
  color:#62e49a;
}

.live-badge.offline{
  color:#ff7070;
}

.provider-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:16px 0;
}

.provider-stats div{
  background:#101010;
  border-radius:8px;
  padding:9px 11px;
}

.provider-stats span{
  display:block;
  color:#666;
  font-size:10px;
}

.provider-stats strong{
  display:block;
  margin-top:3px;
  font-size:14px;
}

.provider-toggle{
  width:100%;
  border:0;
  border-radius:9px;
  padding:10px;
  font-weight:700;
  cursor:pointer;
  transition:.2s;
}

.provider-toggle.turn-off{
  background:#291717;
  color:#ff8b8b;
}

.provider-toggle.turn-off:hover{
  background:#381c1c;
}

.provider-toggle.turn-on{
  background:#153122;
  color:#70e5a1;
}

.provider-toggle.turn-on:hover{
  background:#1b412d;
}

.provider-toggle:disabled{
  opacity:.5;
  cursor:not-allowed;
}

.game-toolbar{
  display:grid;
  grid-template-columns:minmax(250px,1fr) 190px 150px 90px;
  gap:10px;
  padding:16px;
  border-bottom:1px solid #252525;
}

.game-search{
  display:flex;
  align-items:center;
  gap:9px;
  background:#171717;
  border:1px solid #292929;
  border-radius:9px;
  padding:0 12px;
}

.game-search span{
  color:#777;
  font-size:20px;
}

.game-search input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#ddd;
  padding:11px 0;
}

.game-toolbar select{
  border:1px solid #292929;
  background:#171717;
  color:#ccc;
  border-radius:9px;
  padding:0 10px;
  outline:0;
}

.filter-button{
  border:0;
  border-radius:9px;
  background:#ddd;
  color:#111;
  font-weight:700;
  cursor:pointer;
}

.filter-button:hover{
  background:#fff;
}

.games-table-head,
.game-item{
  display:grid;
  grid-template-columns:minmax(300px,2fr) minmax(160px,1fr) 120px 110px;
  gap:18px;
  align-items:center;
}

.games-table-head{
  padding:11px 20px;
  background:#151515;
  color:#555;
  font-size:9px;
  font-weight:800;
  letter-spacing:1.2px;
}

.game-item{
  padding:13px 20px;
  border-top:1px solid #222;
  transition:.2s;
}

.game-item:hover{
  background:#151515;
}

.game-item.disabled{
  opacity:.65;
}

.game-main{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
}

.game-cover{
  width:52px;
  height:52px;
  flex:0 0 52px;
  border-radius:9px;
  overflow:hidden;
  background:#1d1d1d;
  display:grid;
  place-items:center;
  color:#666;
}

.game-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.game-name{
  min-width:0;
}

.game-name strong{
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.game-name small{
  display:inline-block;
  margin-top:5px;
  margin-right:8px;
  color:#666;
  font-size:10px;
}

.game-provider-cell strong{
  display:block;
  font-size:12px;
}

.game-provider-cell small{
  display:block;
  color:#666;
  margin-top:4px;
  font-size:10px;
}

.game-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}

.game-status i{
  width:7px;
  height:7px;
  border-radius:50%;
  display:block;
}

.status-active{
  color:#69e59d;
}

.status-active i{
  background:#69e59d;
  box-shadow:0 0 7px #69e59d;
}

.status-inactive{
  color:#ff7373;
}

.status-inactive i{
  background:#ff7373;
}

.game-toggle{
  width:100%;
  border:0;
  border-radius:8px;
  padding:9px 8px;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
}

.game-toggle.close-game{
  background:#291717;
  color:#ff8585;
}

.game-toggle.close-game:hover{
  background:#3a1b1b;
}

.game-toggle.open-game{
  background:#153122;
  color:#70e5a1;
}

.game-toggle.open-game:hover{
  background:#1b422d;
}

.game-toggle:disabled{
  opacity:.5;
  cursor:not-allowed;
}

.games-empty{
  min-height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:10px;
  color:#666;
}

.loading-spinner{
  width:25px;
  height:25px;
  border:3px solid #292929;
  border-top-color:#aaa;
  border-radius:50%;
  animation:spin .7s linear infinite;
}

@keyframes spin{
  to{transform:rotate(360deg)}
}

@media(max-width:1100px){
  .game-summary{
    grid-template-columns:1fr 1fr;
  }

  .provider-grid{
    grid-template-columns:1fr 1fr;
  }

  .game-toolbar{
    grid-template-columns:1fr 1fr;
  }

  .game-search{
    grid-column:1 / -1;
  }
}

@media(max-width:800px){
  .games-header{
    align-items:flex-start;
    flex-direction:column;
  }

  .provider-grid{
    grid-template-columns:1fr;
  }

  .games-table-head{
    display:none;
  }

  .game-item{
    grid-template-columns:1fr auto;
    gap:12px;
  }

  .game-main{
    grid-column:1 / -1;
  }

  .game-provider-cell{
    display:none;
  }

  .game-action{
    grid-column:2;
    grid-row:2;
  }

  .game-item > div:nth-child(3){
    grid-column:1;
    grid-row:2;
  }
}

@media(max-width:550px){
  .game-summary{
    grid-template-columns:1fr;
  }

  .game-toolbar{
    grid-template-columns:1fr;
  }

  .game-search{
    grid-column:auto;
  }

  .section-heading{
    align-items:flex-start;
    gap:10px;
    flex-direction:column;
  }
}

/* =========================================================
   USERS MANAGEMENT — PREMIUM DARK TABLE
========================================================= */

.users-page{
  animation:usersFade .2s ease;
}

@keyframes usersFade{
  from{opacity:0;transform:translateY(6px)}
  to{opacity:1;transform:translateY(0)}
}

.users-page .topbar{
  margin-bottom:24px;
}

.users-page .topbar h1{
  font-size:30px;
  font-weight:800;
  margin:0;
  color:#fff;
}

.users-page .topbar p{
  margin:7px 0 0;
  color:#888;
}

/* STAT CARDS */

.users-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-bottom:22px;
}

.users-stats .stat-card{
  min-height:100px;
  border:1px solid #292929;
  border-radius:16px;
  background:linear-gradient(145deg,#151515,#101010);
  padding:22px 24px;
  box-sizing:border-box;
  transition:.2s ease;
}

.users-stats .stat-card:hover{
  border-color:#444;
  transform:translateY(-2px);
}

.users-stats .stat-card span{
  display:block;
  color:#999;
  font-size:13px;
  margin-bottom:8px;
}

.users-stats .stat-card strong{
  display:block;
  color:#ffbd00;
  font-size:25px;
  font-weight:800;
}

/* USERS MAIN PANEL */

.users-page .panel{
  background:#111;
  border:1px solid #292929;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 12px 40px rgba(0,0,0,.25);
}

.users-page .panel-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 24px;
  border-bottom:1px solid #292929;
}

.users-page .panel-title h2{
  margin:0;
  color:#fff;
  font-size:18px;
  font-weight:700;
}

.users-page .panel-title span{
  color:#888;
  font-size:13px;
}

/* SEARCH */

.users-page .user-filters,
.users-page .users-filters{
  display:flex;
  gap:10px;
  align-items:center;
  padding:18px 20px;
  border-bottom:1px solid #252525;
  background:#0d0d0d;
}

.users-page input,
.users-page select{
  height:42px;
  box-sizing:border-box;
  border:1px solid #333;
  border-radius:9px;
  background:#151515;
  color:#ddd;
  padding:0 13px;
  outline:none;
}

.users-page input{
  flex:1;
  min-width:240px;
}

.users-page select{
  min-width:150px;
}

.users-page input:focus,
.users-page select:focus{
  border-color:#ffbd00;
  box-shadow:0 0 0 2px rgba(255,189,0,.08);
}

.users-page .search-button,
.users-page .refresh-button{
  height:42px;
  border-radius:9px;
  border:1px solid #383838;
  padding:0 17px;
  cursor:pointer;
  font-weight:600;
  transition:.2s;
}

.users-page .search-button{
  background:#ffbd00;
  color:#111;
  border-color:#ffbd00;
}

.users-page .search-button:hover{
  background:#ffd24a;
}

.users-page .refresh-button{
  background:#181818;
  color:#ddd;
}

.users-page .refresh-button:hover{
  background:#222;
  border-color:#555;
}

/* TABLE */

.users-table{
  width:100%;
  overflow-x:auto;
}

.users-table table{
  width:100%;
  border-collapse:collapse;
  min-width:900px;
}

.users-table thead{
  background:#161616;
}

.users-table th{
  height:50px;
  padding:0 16px;
  text-align:left;
  color:#888;
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
  border-bottom:1px solid #292929;
  white-space:nowrap;
}

.users-table td{
  padding:14px 16px;
  color:#ddd;
  font-size:13px;
  border-bottom:1px solid #222;
  vertical-align:middle;
}

.users-table tbody tr{
  transition:.15s ease;
}

.users-table tbody tr:hover{
  background:#171717;
}

.users-table tbody tr:last-child td{
  border-bottom:0;
}

/* USER */

.user-cell{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:160px;
}

.user-avatar{
  width:38px;
  height:38px;
  min-width:38px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#7c3aed,#4c1d95);
  color:#fff;
  font-weight:800;
  font-size:14px;
}

.user-name{
  color:#fff;
  font-weight:650;
}

.user-id{
  color:#666;
  font-size:11px;
  margin-top:3px;
}

.user-email{
  color:#aaa;
  white-space:nowrap;
}

.user-referral{
  color:#b879ff;
  font-family:monospace;
  font-size:12px;
}

/* BALANCE */

.user-balance{
  color:#fff;
  font-weight:700;
}

.user-balance.has-balance{
  color:#ffbd00;
}

/* STATUS */

.user-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 10px;
  border-radius:7px;
  font-size:11px;
  font-weight:700;
}

.user-status.active{
  color:#45d878;
  background:rgba(39,174,96,.10);
  border:1px solid rgba(39,174,96,.35);
}

.user-status.blocked{
  color:#ff5d5d;
  background:rgba(231,76,60,.10);
  border:1px solid rgba(231,76,60,.35);
}

.user-status.active::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:#35d66f;
}

.user-status.blocked::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:#ff4d4d;
}

/* ACTIONS */

.user-actions{
  display:flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
}

.user-action{
  height:34px;
  padding:0 11px;
  border-radius:7px;
  border:1px solid #333;
  background:#181818;
  color:#ddd;
  cursor:pointer;
  font-size:11px;
  font-weight:600;
  transition:.18s;
}

.user-action:hover{
  background:#222;
  border-color:#555;
}

.user-action.block{
  color:#ff6666;
  border-color:#542b2b;
}

.user-action.block:hover{
  background:#2a1515;
  border-color:#8d3535;
}

.user-action.unblock{
  color:#4ddd80;
  border-color:#285b3a;
}

.user-action.unblock:hover{
  background:#132419;
  border-color:#3a8c55;
}

/* LOADING / EMPTY */

.users-page .empty{
  padding:50px 20px;
  text-align:center;
  color:#777;
}

/* RESPONSIVE */

@media(max-width:1000px){
  .users-stats{
    grid-template-columns:repeat(2,1fr);
  }

  .users-page .user-filters,
  .users-page .users-filters{
    flex-wrap:wrap;
  }

  .users-page input{
    min-width:100%;
  }
}

@media(max-width:600px){
  .users-stats{
    grid-template-columns:1fr;
  }

  .users-page .topbar h1{
    font-size:24px;
  }
}


/* =========================================================
   1-STAKE USERS MANAGEMENT — FINAL UI
========================================================= */

.users-page{
  animation:usersPageIn .2s ease;
}

@keyframes usersPageIn{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}

/* HEADER */

.users-page .topbar{
  margin-bottom:24px;
}

.users-page .topbar h1{
  margin:0;
  color:#fff;
  font-size:30px;
  font-weight:800;
  letter-spacing:-.5px;
}

.users-page .topbar p{
  margin:7px 0 0;
  color:#777;
}

/* =========================================================
   STATISTICS
========================================================= */

.users-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:15px;
  margin-bottom:22px;
}

.users-stats .stat-card{
  position:relative;
  min-height:105px;
  padding:20px 22px;
  border:1px solid #292929;
  border-radius:15px;
  background:
    radial-gradient(circle at top right,rgba(255,189,0,.07),transparent 45%),
    linear-gradient(145deg,#171717,#101010);
  box-sizing:border-box;
  overflow:hidden;
  transition:.2s ease;
}

.users-stats .stat-card:hover{
  transform:translateY(-2px);
  border-color:#3b3b3b;
}

.users-stats .stat-card span{
  display:block;
  color:#858585;
  font-size:12px;
  margin-bottom:9px;
}

.users-stats .stat-card strong{
  color:#f4f4f4;
  font-size:26px;
  font-weight:800;
}

.users-stats .stat-card:first-child strong{
  color:#ffbd00;
}

/* =========================================================
   USERS PANEL
========================================================= */

.users-panel{
  overflow:hidden;
  border:1px solid #292929;
  border-radius:16px;
  background:#101010;
  box-shadow:0 15px 45px rgba(0,0,0,.25);
}

.users-panel-title{
  padding:20px 22px;
  background:#131313;
  border-bottom:1px solid #292929;
}

.users-panel-title h2{
  margin:0;
  color:#fff;
  font-size:18px;
  font-weight:750;
}

.users-panel-title span{
  color:#777;
}

/* =========================================================
   FILTERS
========================================================= */

.users-page .user-filters{
  display:grid;
  grid-template-columns:minmax(250px,1fr) 170px auto;
  gap:10px;
  align-items:center;
  padding:16px 18px;
  background:#0c0c0c;
  border-bottom:1px solid #252525;
}

.users-page .user-filters input,
.users-page .user-filters select{
  width:100%;
  height:42px;
  box-sizing:border-box;
  border:1px solid #303030;
  border-radius:9px;
  background:#171717;
  color:#ddd;
  padding:0 13px;
  outline:none;
  font-size:13px;
}

.users-page .user-filters input::placeholder{
  color:#666;
}

.users-page .user-filters input:focus,
.users-page .user-filters select:focus{
  border-color:#ffbd00;
  box-shadow:0 0 0 2px rgba(255,189,0,.08);
}

.users-page .refresh-button{
  height:42px;
  padding:0 17px;
  border-radius:9px;
  border:1px solid #343434;
  background:#1b1b1b;
  color:#ddd;
  cursor:pointer;
  font-weight:650;
  transition:.2s;
}

.users-page .refresh-button:hover{
  background:#252525;
  border-color:#505050;
}

/* =========================================================
   TABLE HEADER
========================================================= */

.users-table{
  width:100%;
  overflow:hidden;
}

.users-table-head{
  display:grid;
  grid-template-columns:
    70px
    minmax(190px,1.5fr)
    minmax(190px,1.5fr)
    150px
    125px
    115px
    125px;
  align-items:center;
  min-height:48px;
  padding:0 18px;
  box-sizing:border-box;
  background:#171717;
  border-bottom:1px solid #2b2b2b;
  color:#777;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
}

/* =========================================================
   USER ROW
========================================================= */

.user-row{
  display:grid;
  grid-template-columns:
    70px
    minmax(190px,1.5fr)
    minmax(190px,1.5fr)
    150px
    125px
    115px
    125px;
  align-items:center;
  min-height:72px;
  padding:0 18px;
  box-sizing:border-box;
  background:#101010;
  border-bottom:1px solid #222;
  transition:.16s ease;
}

.user-row:hover{
  background:#171717;
}

.user-row:last-child{
  border-bottom:0;
}

/* =========================================================
   USER ID
========================================================= */

.user-row > div:first-child{
  color:#666;
  font-family:monospace;
  font-size:12px;
}

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

.user-main{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}

.user-main::before{
  content:"";
  width:37px;
  height:37px;
  min-width:37px;
  border-radius:50%;
  background:linear-gradient(135deg,#7c3aed,#4c1d95);
  box-shadow:0 4px 15px rgba(124,58,237,.2);
}

.user-main strong{
  display:block;
  color:#fff;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.user-id{
  display:block;
  margin-top:3px;
  color:#666;
  font-size:10px;
}

/* =========================================================
   EMAIL
========================================================= */

.user-email{
  color:#aaa;
  font-size:12px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* =========================================================
   REFERRAL
========================================================= */

.user-referral{
  color:#b783ff;
  font-family:monospace;
  font-size:11px;
}

/* =========================================================
   BALANCE
========================================================= */

.user-balance{
  color:#ddd;
  font-size:13px;
  font-weight:700;
}

.user-balance.has-balance{
  color:#ffbd00;
}

/* =========================================================
   STATUS
========================================================= */

.user-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:max-content;
  padding:5px 9px;
  border-radius:7px;
  font-size:10px;
  font-weight:750;
}

.user-status.active{
  color:#45dc7b;
  background:rgba(40,190,95,.09);
  border:1px solid rgba(40,190,95,.25);
}

.user-status.blocked{
  color:#ff6666;
  background:rgba(230,70,70,.09);
  border:1px solid rgba(230,70,70,.25);
}

.user-status.active::before,
.user-status.blocked::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
}

.user-status.active::before{
  background:#36d66d;
  box-shadow:0 0 7px rgba(54,214,109,.7);
}

.user-status.blocked::before{
  background:#ff4d4d;
  box-shadow:0 0 7px rgba(255,77,77,.6);
}

/* =========================================================
   TOGGLE
========================================================= */

.user-toggle{
  min-width:94px;
  height:34px;
  padding:0 11px;
  border-radius:8px;
  border:1px solid #353535;
  background:#181818;
  color:#ddd;
  cursor:pointer;
  font-size:11px;
  font-weight:700;
  transition:.18s ease;
}

.user-toggle:hover{
  background:#242424;
  border-color:#555;
}

.user-toggle:disabled{
  opacity:.55;
  cursor:wait;
}

.user-status.active + .user-toggle{
  color:#ff6666;
  border-color:#522d2d;
}

.user-status.blocked + .user-toggle{
  color:#45dc7b;
  border-color:#2d5b3d;
}

/* =========================================================
   MOBILE / SMALL SCREEN
========================================================= */

@media(max-width:1200px){

  .users-table{
    overflow-x:auto;
  }

  .users-table-head,
  .user-row{
    min-width:980px;
  }

}

@media(max-width:800px){

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

  .users-page .user-filters{
    grid-template-columns:1fr;
  }

}

@media(max-width:520px){

  .users-stats{
    grid-template-columns:1fr;
  }

}


/* USER CREDIT CONTROLS */

.user-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:wrap;
}

.user-action-btn,
.user-toggle{
  border:0;
  border-radius:8px;
  padding:8px 11px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
  transition:.18s ease;
}

.credit-add{
  background:#123d2a;
  color:#58e39a;
  border:1px solid #1d6745;
}

.credit-add:hover{
  background:#185638;
}

.credit-subtract{
  background:#44221f;
  color:#ff8e83;
  border:1px solid #71342f;
}

.credit-subtract:hover{
  background:#5a2925;
}

.delete-user{
  background:#35151b;
  color:#ff6875;
  border:1px solid #60232b;
}

.delete-user:hover{
  background:#4b1b23;
}

.credit-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(0,0,0,.78);
  backdrop-filter:blur(7px);
}

.credit-modal{
  width:min(440px,100%);
  background:#151515;
  border:1px solid #303030;
  border-radius:18px;
  padding:24px;
  box-shadow:0 25px 80px rgba(0,0,0,.6);
}

.credit-modal-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:20px;
}

.credit-modal-header h2{
  margin:0;
  color:#fff;
  font-size:21px;
}

.credit-modal-header p{
  margin:6px 0 0;
  color:#888;
}

.modal-close{
  width:34px;
  height:34px;
  border:0;
  border-radius:8px;
  background:#242424;
  color:#aaa;
  font-size:23px;
  cursor:pointer;
}

.credit-current{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px;
  margin-bottom:20px;
  border-radius:11px;
  background:#0d0d0d;
  border:1px solid #272727;
}

.credit-current span{
  color:#888;
}

.credit-current strong{
  color:#fff;
  font-size:20px;
}

.credit-label{
  display:block;
  margin:15px 0 7px;
  color:#ccc;
  font-size:13px;
  font-weight:700;
}

.credit-label span{
  color:#666;
  font-weight:400;
}

.credit-input{
  width:100%;
  box-sizing:border-box;
  padding:12px 13px;
  border:1px solid #333;
  border-radius:9px;
  background:#0e0e0e;
  color:#fff;
  outline:none;
}

.credit-input:focus{
  border-color:#777;
}

.credit-modal-actions{
  display:flex;
  gap:10px;
  margin-top:22px;
}

.modal-cancel,
.modal-confirm-add,
.modal-confirm-subtract{
  flex:1;
  border:0;
  border-radius:9px;
  padding:12px;
  font-weight:800;
  cursor:pointer;
}

.modal-cancel{
  background:#282828;
  color:#bbb;
}

.modal-confirm-add{
  background:#16804b;
  color:#fff;
}

.modal-confirm-subtract{
  background:#b33a36;
  color:#fff;
}

@media(max-width:900px){
  .user-actions{
    justify-content:flex-start;
  }
}

/* =========================================================
   CUSTOMER DETAIL MODAL
========================================================= */

.customer-detail-backdrop{
  position:fixed!important;
  inset:0!important;
  z-index:99999!important;
  display:flex!important;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(0,0,0,.78);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.customer-detail-modal{
  width:min(1100px,96vw);
  max-height:92vh;
  overflow-y:auto;
  position:relative;
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  background:linear-gradient(145deg,#1c1c22,#0d0d11);
  box-shadow:0 30px 100px rgba(0,0,0,.65);
  color:#fff;
  animation:customerDetailIn .22s ease;
}

@keyframes customerDetailIn{
  from{opacity:0;transform:translateY(15px) scale(.98)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

.customer-detail-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:26px 30px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.customer-profile{
  display:flex;
  align-items:center;
  gap:16px;
}

.customer-avatar{
  width:58px;
  height:58px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:19px;
  font-weight:800;
  background:linear-gradient(135deg,#f5c542,#a87800);
  color:#111;
  box-shadow:0 8px 25px rgba(245,197,66,.18);
}

.customer-profile h2{
  margin:0 0 5px;
  font-size:23px;
  font-weight:800;
}

.customer-profile p{
  margin:0 0 9px;
  color:#92929a;
  font-size:13px;
}

.customer-detail-close{
  width:40px;
  height:40px;
  border:0;
  border-radius:12px;
  cursor:pointer;
  background:rgba(255,255,255,.07);
  color:#aaa;
  font-size:18px;
}

.customer-detail-close:hover{
  background:rgba(255,255,255,.14);
  color:#fff;
}

.customer-balance-card{
  margin:24px 30px 0;
  padding:22px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-radius:17px;
  background:linear-gradient(
    135deg,
    rgba(245,197,66,.13),
    rgba(245,197,66,.035)
  );
  border:1px solid rgba(245,197,66,.18);
}

.customer-balance-card span{
  display:block;
  color:#92929a;
  font-size:13px;
  margin-bottom:7px;
}

.customer-balance-card strong{
  font-size:30px;
  font-weight:850;
  color:#f5c542;
}

.customer-credit-actions{
  display:flex;
  gap:10px;
}

.customer-detail-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  padding:24px 30px 30px;
}

.detail-card{
  padding:20px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.07);
  background:rgba(255,255,255,.025);
}

.detail-card-title{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:18px;
}

.detail-card-title h3{
  margin:0;
  font-size:16px;
}

.detail-fields{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;
}

.detail-fields small{
  display:block;
  color:#777;
  font-size:11px;
  margin-bottom:5px;
}

.detail-fields strong{
  display:block;
  color:#eee;
  font-size:13px;
  word-break:break-word;
}

.user-main-clickable{
  cursor:pointer;
}

.user-main-clickable:hover strong{
  color:#f5c542;
}

.customer-detail-loading{
  min-height:300px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:16px;
}

.detail-spinner{
  width:36px;
  height:36px;
  border:3px solid rgba(255,255,255,.12);
  border-top-color:#f5c542;
  border-radius:50%;
  animation:detailSpin .7s linear infinite;
}

@keyframes detailSpin{
  to{transform:rotate(360deg)}
}

@media(max-width:800px){
  .customer-detail-backdrop{
    padding:10px;
  }

  .customer-detail-modal{
    width:100%;
    max-height:95vh;
    border-radius:16px;
  }

  .customer-detail-grid{
    grid-template-columns:1fr;
    padding:20px;
  }

  .customer-detail-header{
    padding:20px;
  }

  .customer-balance-card{
    margin:16px 20px 0;
    flex-direction:column;
    align-items:flex-start;
  }

  .detail-fields{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   TRANSACTION HISTORY
========================================================= */

.transaction-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
}

.transaction-title-main{
  display:flex;
  align-items:center;
  gap:10px;
}

.transaction-title-main h3{
  margin:0;
}

.transaction-title-main small{
  display:block;
  margin-top:4px;
  color:#777;
  font-size:11px;
}

.transaction-page-info{
  padding:7px 12px;
  border-radius:9px;
  background:rgba(255,255,255,.05);
  color:#aaa;
  font-size:12px;
}

.detail-transaction{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:18px;
  padding:16px 18px!important;
}

.tx-main{
  min-width:0;
}

.tx-type-line{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:6px;
}

.tx-type-badge{
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  border-radius:7px;
  font-size:11px;
  font-weight:800;
}

.tx-type-deposit{
  background:rgba(34,197,94,.12);
  color:#4ade80;
}

.tx-type-withdraw{
  background:rgba(239,68,68,.12);
  color:#f87171;
}

.tx-type-bet{
  background:rgba(168,85,247,.12);
  color:#c084fc;
}

.tx-type-win{
  background:rgba(245,197,66,.13);
  color:#f5c542;
}

.tx-type-adjustment{
  background:rgba(59,130,246,.12);
  color:#60a5fa;
}

.tx-type-default{
  background:rgba(255,255,255,.08);
  color:#aaa;
}

.tx-id{
  color:#555;
  font-size:10px;
}

.tx-reference,
.tx-date,
.tx-game{
  display:block;
  margin-top:4px;
  color:#777;
  font-size:11px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.tx-date{
  color:#aaa;
}

.tx-game{
  color:#666;
}

.tx-status{
  white-space:nowrap;
}

.tx-status-badge{
  display:inline-flex;
  padding:5px 8px;
  border-radius:7px;
  background:rgba(255,255,255,.05);
  color:#999;
  font-size:10px;
  text-transform:uppercase;
}

.tx-status-completed,
.tx-status-approved{
  color:#4ade80;
  background:rgba(34,197,94,.10);
}

.tx-status-pending{
  color:#facc15;
  background:rgba(250,204,21,.10);
}

.tx-status-rejected{
  color:#f87171;
  background:rgba(239,68,68,.10);
}

.tx-amount{
  min-width:125px;
  text-align:right;
  font-size:15px;
  white-space:nowrap;
}

.transaction-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.06);
}

.transaction-page-numbers{
  display:flex;
  align-items:center;
  gap:5px;
}

.transaction-page-btn{
  min-width:34px;
  height:34px;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:9px;
  background:rgba(255,255,255,.035);
  color:#999;
  cursor:pointer;
  font-size:11px;
  transition:.18s ease;
}

.transaction-page-btn:hover:not(:disabled){
  border-color:rgba(245,197,66,.35);
  color:#f5c542;
  background:rgba(245,197,66,.06);
}

.transaction-page-btn.active{
  border-color:#f5c542;
  background:#f5c542;
  color:#111;
  font-weight:800;
}

.transaction-page-btn:disabled{
  opacity:.35;
  cursor:not-allowed;
}

.transaction-page-btn.dots{
  border-color:transparent;
  background:transparent;
}

.transaction-prev,
.transaction-next{
  min-width:82px;
}

@media(max-width:700px){

  .detail-transaction{
    grid-template-columns:1fr auto!important;
    gap:10px;
  }

  .tx-status{
    grid-column:2;
    grid-row:1;
  }

  .tx-amount{
    grid-column:2;
    grid-row:2;
    min-width:auto;
  }

  .transaction-pagination{
    flex-wrap:wrap;
  }

  .transaction-page-numbers{
    order:3;
    width:100%;
    justify-content:center;
  }

}


/* =========================================================
   1-STAKE PREMIUM ADMIN UI
   Promotions / Deposits / Withdrawals
========================================================= */

:root {
  --panel-bg: rgba(18, 18, 21, 0.94);
  --panel-bg-2: rgba(24, 24, 28, 0.96);
  --border-soft: rgba(255,255,255,.08);
  --border-hover: rgba(255,255,255,.16);
  --text-main: #f5f5f7;
  --text-muted: #92929d;
  --green: #27d68b;
  --green-dark: #0e9f68;
  --red: #ff5570;
  --gold: #ffc857;
}

/* ---------- TOP HEADER ---------- */

.topbar {
  margin-bottom: 24px !important;
}

.topbar h1 {
  font-size: 30px !important;
  font-weight: 800 !important;
  letter-spacing: -.6px;
  margin-bottom: 6px !important;
}

.topbar p {
  color: #777781 !important;
  font-size: 13px !important;
}

/* ---------- MAIN PANELS ---------- */

.panel {
  background:
    linear-gradient(
      145deg,
      rgba(25,25,29,.98),
      rgba(13,13,16,.98)
    ) !important;

  border: 1px solid var(--border-soft) !important;
  border-radius: 18px !important;

  box-shadow:
    0 20px 60px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.025) !important;

  overflow: hidden;
}

.panel:hover {
  border-color: rgba(255,255,255,.11) !important;
}

.panel-title {
  padding: 20px 22px !important;
  min-height: 72px;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.025),
      transparent
    );
}

.panel-title h2 {
  font-size: 17px !important;
  font-weight: 750 !important;
  letter-spacing: -.2px;
}

.panel-title span {
  color: #777781 !important;
  font-size: 12px !important;
}

/* ---------- TABLE CONTAINER ---------- */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}

.table-wrap::-webkit-scrollbar {
  height: 7px;
}

.table-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.table-wrap::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.13);
  border-radius: 20px;
}

/* ---------- DATA TABLE ---------- */

.data-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: auto;
}

.data-table thead th {
  height: 48px;
  padding: 0 16px !important;

  background: rgba(255,255,255,.025) !important;
  color: #8d8d98 !important;

  border-bottom: 1px solid rgba(255,255,255,.07) !important;

  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .5px;
  text-transform: uppercase;

  white-space: nowrap;
  text-align: left;
}

.data-table tbody td {
  padding: 16px !important;

  color: #d9d9df !important;

  border-bottom: 1px solid rgba(255,255,255,.045) !important;

  font-size: 13px !important;
  vertical-align: middle;

  white-space: nowrap;
}

.data-table tbody tr {
  transition:
    background .18s ease,
    transform .18s ease;
}

.data-table tbody tr:hover {
  background:
    linear-gradient(
      90deg,
      rgba(39,214,139,.035),
      rgba(255,255,255,.018)
    ) !important;
}

.data-table tbody tr:last-child td {
  border-bottom: none !important;
}

/* ---------- PROMOTION COLUMN SIZING ---------- */

.data-table th:nth-child(1),
.data-table td:nth-child(1) {
  width: 60px;
  color: #777781 !important;
}

.data-table th:nth-child(2),
.data-table td:nth-child(2) {
  min-width: 145px;
}

.data-table th:nth-child(3),
.data-table td:nth-child(3) {
  min-width: 260px;
  max-width: 330px;
  white-space: normal !important;
}

.data-table th:nth-child(4),
.data-table td:nth-child(4) {
  min-width: 100px;
}

.data-table th:nth-child(5),
.data-table td:nth-child(5),
.data-table th:nth-child(6),
.data-table td:nth-child(6) {
  min-width: 125px;
}

.data-table th:nth-child(7),
.data-table td:nth-child(7) {
  min-width: 100px;
}

.data-table th:last-child,
.data-table td:last-child {
  min-width: 230px;
}

/* ---------- PROMOTION TITLE ---------- */

.data-table td strong {
  color: #f3f3f5 !important;
  font-weight: 700 !important;
}

.data-table td small {
  display: block;
  margin-top: 5px;

  color: #777781 !important;
  font-size: 11px !important;

  line-height: 1.45;
}

/* ---------- CODE ---------- */

.data-table td:nth-child(2) strong {
  display: inline-flex;
  align-items: center;

  padding: 6px 9px;

  border-radius: 7px;

  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.07);

  color: #d7d7de !important;

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;

  font-size: 11px !important;
  letter-spacing: .4px;
}

/* ---------- STATUS ---------- */

.deposit-status {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;

  min-height: 28px;
  padding: 5px 10px !important;

  border-radius: 999px !important;

  font-size: 11px !important;
  font-weight: 700 !important;

  border: 1px solid transparent;
}

.status-completed {
  color: #65e8ae !important;
  background: rgba(39,214,139,.09) !important;
  border-color: rgba(39,214,139,.18) !important;
}

.status-rejected {
  color: #ff7187 !important;
  background: rgba(255,85,112,.08) !important;
  border-color: rgba(255,85,112,.16) !important;
}

/* ---------- ACTION BUTTONS ---------- */

.user-actions {
  display: flex !important;
  align-items: center;
  gap: 7px !important;
  flex-wrap: nowrap !important;
}

.user-action-btn {
  height: 32px !important;
  min-width: 68px;

  padding: 0 11px !important;

  border-radius: 8px !important;
  border: 1px solid rgba(255,255,255,.09) !important;

  background: rgba(255,255,255,.045) !important;
  color: #d7d7dd !important;

  font-size: 11px !important;
  font-weight: 700 !important;

  cursor: pointer;

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

.user-action-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.16) !important;
}

.user-action-btn:active:not(:disabled) {
  transform: translateY(0);
}

.user-action-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.user-action-btn.credit-add {
  color: #61e5a8 !important;
  background: rgba(39,214,139,.075) !important;
  border-color: rgba(39,214,139,.18) !important;
}

.user-action-btn.credit-add:hover:not(:disabled) {
  background: rgba(39,214,139,.14) !important;
  box-shadow: 0 5px 18px rgba(39,214,139,.08);
}

.user-action-btn.delete-user {
  color: #ff7187 !important;
  background: rgba(255,85,112,.07) !important;
  border-color: rgba(255,85,112,.16) !important;
}

.user-action-btn.delete-user:hover:not(:disabled) {
  background: rgba(255,85,112,.13) !important;
  box-shadow: 0 5px 18px rgba(255,85,112,.08);
}

/* ---------- PRIMARY BUTTON ---------- */

.btn-primary {
  min-height: 38px !important;
  padding: 0 16px !important;

  border: 1px solid rgba(39,214,139,.25) !important;
  border-radius: 9px !important;

  background:
    linear-gradient(
      135deg,
      #22c982,
      #13a86a
    ) !important;

  color: #06130e !important;

  font-size: 12px !important;
  font-weight: 800 !important;

  box-shadow:
    0 7px 22px rgba(39,214,139,.12);

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

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.07);
  box-shadow:
    0 10px 28px rgba(39,214,139,.18);
}

.btn-primary:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* ---------- SECONDARY BUTTON ---------- */

.btn-secondary {
  min-height: 36px !important;
  padding: 0 14px !important;

  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 9px !important;

  background: rgba(255,255,255,.045) !important;
  color: #c8c8cf !important;

  font-size: 12px !important;
  font-weight: 700 !important;

  transition: .15s ease;
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.16) !important;
}

/* ---------- PROMOTION MODAL ---------- */

.promotion-modal {
  width: min(650px, calc(100vw - 32px)) !important;
  max-height: calc(100vh - 40px);
  overflow-y: auto;

  background:
    radial-gradient(
      circle at top right,
      rgba(39,214,139,.07),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      #1b1b20,
      #101013
    ) !important;

  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 20px !important;

  box-shadow:
    0 35px 100px rgba(0,0,0,.65),
    inset 0 1px 0 rgba(255,255,255,.035);
}

.promotion-form {
  padding: 22px;
}

.promotion-form label {
  display: block;
  margin-bottom: 16px;
}

.promotion-form label > span {
  display: block;
  margin-bottom: 7px;

  color: #a7a7b0;
  font-size: 11px;
  font-weight: 700;
}

.promotion-form input,
.promotion-form textarea,
.promotion-form select {
  width: 100% !important;
  box-sizing: border-box;

  min-height: 42px;

  padding: 10px 12px !important;

  background: rgba(0,0,0,.25) !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  border-radius: 9px !important;

  color: #f2f2f4 !important;

  font-size: 13px !important;

  outline: none;

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

.promotion-form textarea {
  min-height: 92px;
  resize: vertical;
}

.promotion-form input:focus,
.promotion-form textarea:focus,
.promotion-form select:focus {
  background: rgba(0,0,0,.34) !important;
  border-color: rgba(39,214,139,.42) !important;

  box-shadow:
    0 0 0 3px rgba(39,214,139,.07);
}

.promotion-form input::placeholder,
.promotion-form textarea::placeholder {
  color: #55555e !important;
}

.promotion-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}

/* ---------- MODAL ACTIONS ---------- */

.credit-modal-actions {
  display: flex !important;
  justify-content: flex-end;
  gap: 10px;

  padding: 16px 22px 22px !important;

  border-top: 1px solid rgba(255,255,255,.06);
}

/* ---------- EMPTY STATE ---------- */

.empty {
  min-height: 180px;

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

  color: #66666f !important;
  font-size: 13px !important;
}

/* ---------- MOBILE ---------- */

@media (max-width: 800px) {

  .topbar h1 {
    font-size: 24px !important;
  }

  .panel-title {
    padding: 16px !important;
  }

  .promotion-form-grid {
    grid-template-columns: 1fr;
  }

  .credit-modal-actions {
    flex-direction: column-reverse;
  }

  .credit-modal-actions button {
    width: 100%;
  }

}
