/* Reseller panel: XTREAM-style top header + horizontal menu (scoped to reseller pages) */
.reseller-app{
  background: var(--bg);
}
.reseller-main{
  min-width: 0;
}

.reseller-app .xt-head{
  position: sticky;
  top: 0;
  z-index: 50;
}

.reseller-app .xt-head-top{
  height: 64px;
  background: #0b1020;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.reseller-app .xt-head-top::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("login-bg.jpg") center/cover no-repeat;
  filter: blur(14px);
  transform: scale(1.12);
  opacity: .65;
}
.reseller-app .xt-head-top::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(11,16,32,.92), rgba(11,16,32,.60), rgba(11,16,32,.92));
}
.reseller-app .xt-head-top-inner{
  position: relative;
  z-index: 1;
  height: 64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  gap: 16px;
}

.reseller-app .xt-logo{
  display:flex;
  align-items:baseline;
  gap: 2px;
  color: #fff;
  font-weight: 900;
  letter-spacing: .02em;
  white-space: nowrap;
}
.reseller-app .xt-x{
  font-size: 24px;
  color: #ff2e2e;
  margin-right: 2px;
  text-shadow: 0 8px 20px rgba(255,46,46,.18);
}
.reseller-app .xt-word{ font-size: 20px; }
.reseller-app .xt-ui{
  font-size: 13px;
  opacity: .92;
  margin-left: 2px;
  font-weight: 800;
}
.reseller-app .xt-sub{
  margin-left: 10px;
  font-size: 12px;
  letter-spacing: .18em;
  opacity: .86;
  font-weight: 900;
}

.reseller-app .xt-head-actions{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}

.reseller-app .xt-pill.credits{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15,23,42,.70);
  border: 1px solid rgba(255,255,255,.10);
  color: #e2e8f0;
  text-decoration:none;
  font-weight: 800;
  font-size: 13px;
}
.reseller-app .xt-pill.credits:hover{ filter: brightness(1.05); }

.reseller-app .xt-userlabel{
  color: #e2e8f0;
  font-weight: 800;
  font-size: 13px;
  opacity: .95;
  max-width: 180px;
  overflow:hidden;
  text-overflow: ellipsis;
}

.reseller-app .xt-iconbtn{
  display:inline-grid;
  place-items:center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(15,23,42,.70);
  border: 1px solid rgba(255,255,255,.10);
  color: #e2e8f0;
  text-decoration:none;
  cursor:pointer;
  user-select:none;
  font-size: 16px;
}
.reseller-app .xt-iconbtn:hover{ filter: brightness(1.06); }
.reseller-app .xt-iconbtn:focus{ outline: 2px solid rgba(59,130,246,.55); outline-offset: 2px; }

.reseller-app .xt-dropdown{
  position:absolute;
  right: 18px;
  top: 64px;
  width: 270px;
  background: #fff;
  color: #0f172a;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  padding: 12px;
  display:none;
  z-index: 55;
}
.reseller-app .xt-dropdown.open{ display:block; }

.reseller-app .xt-dd-title{
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #475569;
  margin-bottom: 10px;
}
.reseller-app .xt-dd-label{
  display:block;
  font-size: 12px;
  color: #334155;
  margin: 8px 0 4px;
}
.reseller-app .xt-dd-input{
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.reseller-app .xt-dd-input:focus{ outline: 2px solid rgba(59,130,246,.35); outline-offset: 1px; }
.reseller-app .xt-dd-btn{
  margin-top: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.2);
  background: #0f172a;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}
.reseller-app .xt-dd-btn:hover{ filter: brightness(1.05); }

/* Nav bar (mockup position) */
.reseller-app .xt-nav{
  height: 52px;
  background: #3f4a58;
  border-bottom: 1px solid rgba(0,0,0,.25);
}
.reseller-app .xt-nav-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  height: 52px;
  display:flex;
  align-items:center;
  gap: 12px;
}

.reseller-app .xt-nav-link{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  color: #eef2ff;
  text-decoration:none;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .01em;
}
.reseller-app .xt-nav-link:hover{ background: rgba(255,255,255,.10); }
.reseller-app .xt-nav-link.active{ background: rgba(255,255,255,.18); color: #fff; }

.reseller-app .xt-nav-btn{
  background: transparent;
  border: 0;
  cursor: pointer;
}
.reseller-app .xt-caret{ opacity: .9; font-size: 12px; }

.reseller-app .xt-nav-dd{ position: relative; }
.reseller-app .xt-nav-dd.open .xt-nav-menu{ display:block; }

.reseller-app .xt-nav-menu{
  position:absolute;
  left: 0;
  top: 52px;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  padding: 8px;
  display:none;
  z-index: 60;
}
.reseller-app .xt-nav-menu a{
  display:block;
  padding: 9px 10px;
  border-radius: 10px;
  color: #0f172a;
  text-decoration:none;
  font-weight: 800;
  font-size: 13px;
}
.reseller-app .xt-nav-menu a:hover{ background: #f1f5f9; }

.reseller-app .xt-nav-spacer{ flex: 1; }

/* Center content like the mockup */
.reseller-app .reseller-container{
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

/* Keep notice from looking like an error */
.reseller-app .reseller-notice{
  margin-top: 14px;
}
