﻿:root {
  --bg: #050608;
  --bg2: #090b10;
  --panel: rgba(14,17,24,.78);
  --panel2: rgba(18,21,29,.88);
  --line: rgba(255,255,255,.08);
  --line2: rgba(255,255,255,.14);
  --text: #f5f7fb;
  --muted: #89909d;
  --muted2: #5d6470;
  --blue: #4f8cff;
  --blue2: #78a7ff;
  --red: #ff5b68;
  --green: #55d991;
  --radius: 20px;
  --shadow: 0 24px 80px rgba(0,0,0,.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.ambient {
  position: fixed;
  width: 700px;
  height: 700px;
  filter: blur(120px);
  opacity: .1;
  pointer-events: none;
  border-radius: 50%;
}

.ambient-a {
  background: var(--blue);
  top: -350px;
  right: -260px;
}

.ambient-b {
  background: #234d99;
  bottom: -500px;
  left: -300px;
}

.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image:
    linear-gradient(to bottom, black, transparent 90%);
}

.boot-screen,
.center-state {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
}

.boot-screen {
  align-content: center;
  gap: 18px;
}

.boot-mark {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -.08em;
}

.boot-copy {
  text-align: center;
  display: grid;
  gap: 4px;
}

.boot-copy strong {
  letter-spacing: .2em;
  font-size: 12px;
}

.boot-copy span {
  color: var(--muted);
  font-size: 12px;
}

.boot-loader {
  width: 160px;
  height: 1px;
  margin-top: 12px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.boot-loader::after {
  content: "";
  display: block;
  width: 50%;
  height: 100%;
  background: var(--blue);
  animation: loading 1.2s ease-in-out infinite;
}

@keyframes loading {
  from { transform: translateX(-100%); }
  to { transform: translateX(220%); }
}

.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 42px;
  position: relative;
  z-index: 3;
}

.auth-shell {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  background: rgba(7,9,13,.8);
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.auth-brand {
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 650px;
  border-right: 1px solid var(--line);
}

.brand-kicker,
.eyebrow,
.page-kicker {
  color: var(--blue2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
}

.auth-brand h1 {
  margin: 28px 0 20px;
  max-width: 600px;
  font-size: clamp(46px, 5vw, 78px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 650;
}

.auth-brand h1 span {
  display: block;
  color: #838b99;
}

.auth-brand > p {
  max-width: 480px;
  line-height: 1.7;
  color: var(--muted);
}

.security-points {
  display: grid;
  gap: 13px;
  margin-top: 50px;
  color: #b5bac4;
  font-size: 12px;
}

.security-points > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 18px var(--blue);
}

.login-panel {
  min-height: 650px;
  padding: 70px 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-title {
  margin-bottom: 28px;
}

.login-title span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .2em;
}

.login-title h2 {
  margin: 8px 0 0;
  font-size: 32px;
  letter-spacing: -.03em;
}

.login-note {
  margin: 24px auto 0;
  color: var(--muted2);
  max-width: 330px;
  line-height: 1.6;
  font-size: 11px;
  text-align: center;
}

.state-card {
  width: min(520px, calc(100% - 40px));
  padding: 50px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.state-card h1 {
  margin: 13px 0;
  font-size: 32px;
}

.state-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  position: relative;
  z-index: 2;
}

.sidebar {
  min-height: 100vh;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--line);
  background: rgba(5,6,8,.72);
  backdrop-filter: blur(24px);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
}

.sidebar-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 4px 8px 34px;
}

.brand-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line2);
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.08em;
}

.sidebar-brand div:last-child {
  display: grid;
  gap: 3px;
}

.sidebar-brand strong {
  font-size: 11px;
  letter-spacing: .14em;
}

.sidebar-brand span {
  color: var(--muted);
  font-size: 10px;
}

.nav {
  display: grid;
  gap: 7px;
}

.nav-item {
  width: 100%;
  border: 1px solid transparent;
  color: #a4aab5;
  background: transparent;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 13px;
  padding: 13px 12px;
  border-radius: 14px;
}

.nav-item.active {
  color: white;
  border-color: var(--line);
  background: rgba(255,255,255,.04);
}

.nav-item.disabled {
  cursor: default;
  opacity: .38;
}

.nav-icon {
  color: var(--blue2);
  font-size: 9px;
  letter-spacing: .1em;
}

.nav-item > span:last-child {
  display: grid;
  gap: 2px;
}

.nav-item strong {
  font-size: 12px;
  font-weight: 550;
}

.nav-item small {
  color: var(--muted2);
  font-size: 9px;
}

.sidebar-footer {
  margin-top: auto;
  padding: 20px 8px 4px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.security-status {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #94a0ae;
  font-size: 9px;
  letter-spacing: .14em;
}

.security-status span {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.sidebar-footer small {
  color: var(--muted2);
  font-size: 9px;
}

.main {
  padding: 42px clamp(26px, 4vw, 68px) 70px;
  min-width: 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 38px;
}

.topbar h1 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -.045em;
  margin: 8px 0 7px;
  font-weight: 600;
}

.topbar p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 5px;
}

#admin-copy {
  text-align: right;
  display: grid;
  gap: 2px;
}

#admin-copy strong {
  font-size: 11px;
}

#admin-copy span {
  color: var(--muted);
  font-size: 9px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  background: rgba(255,255,255,.015);
}

.stat {
  padding: 22px 25px;
  min-height: 125px;
  display: grid;
  align-content: center;
  gap: 4px;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .15em;
}

.stat strong {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.04em;
}

.stat small {
  color: var(--muted2);
  font-size: 9px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.8fr);
  gap: 20px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}

.create-panel {
  padding: 25px;
  position: sticky;
  top: 25px;
}

.users-panel {
  min-width: 0;
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.panel-head h2 {
  margin: 5px 0 0;
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -.02em;
}

.table-head {
  padding: 25px 25px 0;
}

.status-pill,
.role-badge,
.status-badge {
  border: 1px solid var(--line2);
  border-radius: 999px;
  font-size: 8px;
  letter-spacing: .13em;
  padding: 7px 10px;
}

.status-pill {
  color: var(--blue2);
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
}

label > span {
  color: #8e95a2;
  font-size: 9px;
  letter-spacing: .08em;
}

input,
select {
  width: 100%;
  height: 43px;
  border-radius: 11px;
  padding: 0 13px;
  border: 1px solid var(--line);
  outline: none;
  background: rgba(255,255,255,.035);
  color: var(--text);
  transition: .18s ease;
}

select option {
  background: #11151d;
}

input::placeholder {
  color: #4f5663;
}

input:focus,
select:focus {
  border-color: rgba(79,140,255,.55);
  box-shadow: 0 0 0 3px rgba(79,140,255,.08);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 68px;
}

.text-button {
  border: 0;
  color: var(--blue2);
  background: transparent;
  font-size: 8px;
  letter-spacing: .12em;
  padding: 7px;
}

.password-field .text-button {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
}

.button {
  border-radius: 11px;
  min-height: 40px;
  border: 1px solid var(--line);
  padding: 0 15px;
  transition: .17s ease;
}

.button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.button-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.button-primary:hover:not(:disabled) {
  background: #669aff;
}

.button-secondary {
  background: rgba(255,255,255,.035);
  color: #c5cad3;
}

.button-secondary:hover:not(:disabled) {
  background: rgba(255,255,255,.07);
}

.full {
  width: 100%;
  margin-top: 3px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 16px 18px;
  vertical-align: middle;
  border-top: 1px solid var(--line);
  white-space: nowrap;
}

th {
  color: var(--muted2);
  font-size: 8px;
  letter-spacing: .15em;
  font-weight: 600;
}

td {
  color: #abb1bb;
  font-size: 11px;
}

.user-cell {
  min-width: 220px;
  display: grid;
  gap: 3px;
}

.user-cell strong {
  color: #edf0f5;
  font-size: 11px;
  font-weight: 550;
}

.user-cell span {
  color: var(--muted);
  font-size: 9px;
}

.role-badge.admin {
  color: var(--blue2);
  border-color: rgba(79,140,255,.24);
  background: rgba(79,140,255,.07);
}

.role-badge.user {
  color: #aeb4be;
}

.status-badge.active {
  color: var(--green);
  border-color: rgba(85,217,145,.2);
  background: rgba(85,217,145,.06);
}

.status-badge.disabled {
  color: var(--red);
  border-color: rgba(255,91,104,.2);
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.small-button {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  color: #aeb4bd;
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 8px;
}

.small-button:hover {
  background: rgba(255,255,255,.07);
}

.small-button.danger {
  color: #ff8a93;
}

.table-state {
  padding: 50px 25px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
}

.modal-card {
  z-index: 2;
  width: min(470px, 100%);
  padding: 27px;
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  background: #0c0f15;
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.modal-head h2 {
  margin: 6px 0 0;
}

.close-button {
  background: transparent;
  border: 0;
  color: #8f96a2;
  font-size: 25px;
}

.modal-copy,
.warning-copy {
  color: var(--muted);
  line-height: 1.55;
  font-size: 11px;
}

.warning-copy {
  color: #858d99;
  border-left: 2px solid var(--blue);
  padding-left: 10px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 7px;
}

.toast-stack {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 8px;
  width: min(380px, calc(100vw - 40px));
}

.toast {
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 13px 15px;
  background: rgba(16,19,26,.96);
  color: #d7dbe2;
  box-shadow: var(--shadow);
  font-size: 11px;
  line-height: 1.45;
  animation: toast-in .25s ease;
}

.toast.success {
  border-left: 2px solid var(--green);
}

.toast.error {
  border-left: 2px solid var(--red);
}

@keyframes toast-in {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
}

@media (max-width: 1100px) {

  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .create-panel {
    position: static;
  }

}

@media (max-width: 850px) {

  .auth-screen {
    padding: 18px;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-brand {
    display: none;
  }

  .login-panel {
    min-height: 620px;
  }

  .app {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    min-height: auto;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .sidebar-footer {
    display: none;
  }

  .main {
    padding-top: 28px;
  }

}

@media (max-width: 640px) {

  .topbar {
    display: grid;
  }

  .admin-profile {
    justify-content: space-between;
  }

  #admin-copy {
    text-align: left;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat + .stat {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .nav-item small {
    display: none;
  }

}

/* =========================================================
   7Z MAGIC ADMIN — BRAND POLISH
   Approved UI preserved. Visual refinement only.
   ========================================================= */

:root {
  --bg: #030303;
  --bg2: #070707;

  --panel: rgba(10,10,10,.84);
  --panel2: rgba(14,14,14,.92);

  --line: rgba(255,255,255,.08);
  --line2: rgba(255,255,255,.14);

  --text: #f4f5f7;
  --muted: #898d95;
  --muted2: #555a63;

  --blue: #4f8cff;
  --blue2: #78a7ff;

  --red: #ff5b68;
  --green: #55d991;
}


/* ---------------------------------------------------------
   Page base — remove indigo body
   --------------------------------------------------------- */

html,
body {
  background:
    #030303 !important;
}

body {
  background-image:
    radial-gradient(
      circle at 78% -15%,
      rgba(79,140,255,.055),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #030303 0%,
      #050505 48%,
      #020202 100%
    ) !important;
}


/* ---------------------------------------------------------
   Kill large blue / indigo ambient glow
   --------------------------------------------------------- */

.ambient-a {
  background:
    rgba(255,255,255,.08) !important;

  opacity:
    .035 !important;
}

.ambient-b {
  background:
    rgba(79,140,255,.25) !important;

  opacity:
    .025 !important;
}


/* ---------------------------------------------------------
   Subtle neutral grid
   --------------------------------------------------------- */

.grid-bg {
  opacity:
    .10 !important;

  background-image:
    linear-gradient(
      rgba(255,255,255,.022) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.022) 1px,
      transparent 1px
    ) !important;
}


/* ---------------------------------------------------------
   REAL 7Z LOGO — boot screen
   --------------------------------------------------------- */

.boot-mark {
  width:
    120px;

  height:
    92px;

  display:
    grid;

  place-items:
    center;

  font-size:
    0 !important;

  letter-spacing:
    0 !important;
}

.boot-mark img {
  display:
    block;

  width:
    auto;

  max-width:
    118px;

  max-height:
    88px;

  object-fit:
    contain;

  filter:
    drop-shadow(
      0 14px 30px
      rgba(0,0,0,.40)
    );
}


/* ---------------------------------------------------------
   Login container — neutral graphite
   --------------------------------------------------------- */

.auth-shell {
  background:
    rgba(5,5,5,.88) !important;

  border-color:
    rgba(255,255,255,.085) !important;
}

.auth-brand {
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.012),
      rgba(255,255,255,0)
    ) !important;
}

.login-panel {
  background:
    rgba(255,255,255,.008) !important;
}


/* ---------------------------------------------------------
   Dashboard body
   --------------------------------------------------------- */

.sidebar {
  background:
    rgba(3,3,3,.92) !important;
}

.panel {
  background:
    rgba(9,9,9,.82) !important;
}

.stats {
  background:
    rgba(255,255,255,.012) !important;
}

input,
select {
  background:
    rgba(255,255,255,.025) !important;
}


/* ---------------------------------------------------------
   Keep blue ONLY as an accent
   --------------------------------------------------------- */

.button-primary {
  background:
    #4f8cff !important;

  border-color:
    #4f8cff !important;
}

.button-primary:hover:not(:disabled) {
  background:
    #6299ff !important;
}

input:focus,
select:focus {
  border-color:
    rgba(79,140,255,.62) !important;

  box-shadow:
    0 0 0 3px
    rgba(79,140,255,.07) !important;
}


/* ---------------------------------------------------------
   Remove unnecessary blue flood from page
   --------------------------------------------------------- */

.brand-kicker,
.eyebrow,
.page-kicker,
.nav-icon {
  color:
    #78a7ff;
}


/* =========================================================
   7Z MAGIC ADMIN — GOLD ACCENT REFINEMENT
   ========================================================= */

:root {
  --z7-gold: #d6b25e;
  --z7-gold-light: #e7cb82;
  --z7-gold-soft: rgba(214,178,94,.16);
}

/* Section labels / kickers */
.brand-kicker,
.eyebrow,
.page-kicker {
  color: var(--z7-gold) !important;
}

/* Security bullets */
.security-points .dot {
  background: var(--z7-gold) !important;
  box-shadow:
    0 0 14px rgba(214,178,94,.28) !important;
}

/* Small navigation / accent numbering */
.nav-icon {
  color: var(--z7-gold) !important;
}

/* Boot loader accent */
.boot-loader::after {
  background: var(--z7-gold) !important;
}

/* Small text actions */
.text-button {
  color: var(--z7-gold-light) !important;
}

/* Admin status accent */
.status-pill {
  color: var(--z7-gold-light) !important;
  border-color: rgba(214,178,94,.22) !important;
}

/* Admin role badge */
.role-badge.admin {
  color: var(--z7-gold-light) !important;
  border-color: rgba(214,178,94,.22) !important;
  background: rgba(214,178,94,.055) !important;
}


/* =========================================================
   7Z ADMIN V3
   Real site header/footer + compact themed Clerk
   ========================================================= */

:root {
  --z7-admin-header-height: 0px;
  --z7-gold: #d6b25e;
  --z7-gold-light: #e7cb82;
}


/* Real website shell */
#site-header-slot,
#site-footer-slot {
  position: relative;
  z-index: 80;
  width: 100%;
}

#site-header-slot:empty,
#site-footer-slot:empty {
  display: none;
}


/* Reserve space only when website header is fixed */
body.z7-admin-fixed-header
#auth-screen,

body.z7-admin-fixed-header
#denied-screen,

body.z7-admin-fixed-header
#app {
  margin-top:
    var(--z7-admin-header-height);
}


/* Slightly smaller main login composition */
.auth-shell {
  width:
    min(1060px,100%) !important;

  grid-template-columns:
    minmax(0,1.28fr)
    minmax(315px,350px) !important;

  background:
    rgba(4,4,4,.94) !important;
}


/* Left side */
.auth-brand {
  min-height:
    560px !important;

  padding:
    58px 52px !important;
}


/* Right side */
.login-panel {
  min-height:
    560px !important;

  padding:
    48px 26px !important;

  background:
    rgba(255,255,255,.008) !important;
}


/* Reduce external title size too */
.login-title {
  margin-bottom:
    20px !important;
}

.login-title h2 {
  font-size:
    27px !important;
}


/* Clerk stays centered and compact */
#clerk-signin {
  width: 100%;

  display: flex;

  justify-content: center;

  align-items: flex-start;
}


/* Gold site accents */
.brand-kicker,
.eyebrow,
.page-kicker,
.nav-icon {
  color:
    var(--z7-gold) !important;
}

.security-points .dot {
  background:
    var(--z7-gold) !important;

  box-shadow:
    0 0 12px
    rgba(214,178,94,.26) !important;
}


/* Footer separation */
#site-footer-slot {
  border-top:
    1px solid rgba(255,255,255,.045);
}


/* Make page remain black */
html,
body {
  background:
    #030303 !important;
}


/* Responsive */
@media (max-width: 900px) {

  .auth-shell {
    grid-template-columns:
      1fr !important;
  }

  .auth-brand {
    min-height:
      auto !important;
  }

  .login-panel {
    min-height:
      auto !important;
  }

}


/* 7Z ADMIN — Create Account Gold Button */
#create-submit.button-primary {
  background: #d6b25e !important;
  border-color: #d6b25e !important;
  color: #080808 !important;
}

#create-submit.button-primary:hover:not(:disabled) {
  background: #e7cb82 !important;
  border-color: #e7cb82 !important;
  color: #080808 !important;
}

#create-submit.button-primary:focus-visible {
  outline: 2px solid rgba(214,178,94,.35) !important;
  outline-offset: 3px;
}


/* =========================================================
   7Z CLIENT FILE ACCESS
   ========================================================= */

.z7-client-access-panel {
  margin-top: 24px !important;
  padding: 28px !important;
  background: #070707 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
}

.z7-cap-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.z7-cap-head h2 {
  margin: 5px 0 7px;
  color: #f4f4f4;
  font-size: 24px;
}

.z7-cap-head p {
  margin: 0;
  max-width: 620px;
  color: #858585;
  font-size: 12px;
  line-height: 1.65;
}

.z7-cap-refresh,
.z7-cap-save {
  border: 1px solid rgba(214,178,94,.28);
  background: rgba(214,178,94,.08);
  color: #e7cb82;
  border-radius: 8px;
  cursor: pointer;
  transition: .2s ease;
}

.z7-cap-refresh {
  padding: 9px 14px;
}

.z7-cap-save {
  min-width: 74px;
  padding: 8px 11px;
}

.z7-cap-refresh:hover,
.z7-cap-save:hover {
  background: #d6b25e;
  color: #080808;
}

.z7-cap-client-list {
  display: grid;
  grid-template-columns:
    repeat(auto-fit,minmax(150px,1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.z7-cap-client {
  text-align: left;
  padding: 15px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.07);
  background: #0b0b0b;
  color: #eee;
  cursor: pointer;
}

.z7-cap-client strong,
.z7-cap-client span,
.z7-cap-client small {
  display: block;
}

.z7-cap-client strong {
  font-size: 12px;
  margin-bottom: 5px;
}

.z7-cap-client span {
  color: #777;
  font-size: 10px;
}

.z7-cap-client small {
  margin-top: 10px;
  color: #d6b25e;
  font-size: 8px;
  letter-spacing: .12em;
}

.z7-cap-client.is-active {
  border-color: rgba(214,178,94,.48);
  background:
    linear-gradient(
      145deg,
      rgba(214,178,94,.09),
      #0b0b0b 65%
    );
}

.z7-cap-files {
  display: grid;
  gap: 8px;
}

.z7-cap-file {
  display: grid;
  grid-template-columns:
    minmax(180px,1fr)
    auto
    auto
    auto;
  gap: 18px;
  align-items: center;

  padding: 13px 15px;

  border:
    1px solid rgba(255,255,255,.06);

  border-radius: 9px;

  background:
    rgba(255,255,255,.015);
}

.z7-cap-file-info strong,
.z7-cap-file-info span {
  display: block;
}

.z7-cap-file-info strong {
  color: #eaeaea;
  font-size: 11px;
}

.z7-cap-file-info span {
  color: #666;
  font-size: 9px;
  margin-top: 3px;
}

.z7-cap-file label {
  display: flex;
  gap: 7px;
  align-items: center;

  color: #aaa;
  font-size: 10px;
}

.z7-cap-file input {
  accent-color: #d6b25e;
}

.z7-cap-empty {
  min-height: 110px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 5px;

  border:
    1px dashed rgba(255,255,255,.08);

  border-radius: 10px;

  color: #777;
  text-align: center;
  font-size: 11px;
}

.z7-cap-empty strong {
  color: #bbb;
}

@media (max-width: 760px) {

  .z7-cap-head {
    flex-direction: column;
  }

  .z7-cap-file {
    grid-template-columns: 1fr 1fr;
  }

  .z7-cap-file-info {
    grid-column: 1 / -1;
  }

}


/* =========================================================
   7Z ADMIN — CLEAN ISOLATED FOOTER
   ========================================================= */

#site-footer-slot {
  width: 100%;
  position: relative !important;
  z-index: 20;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #030303 !important;
}

.z7-admin-footer {
  width: min(1320px, calc(100% - 40px));
  margin: 70px auto 22px;
  padding: 30px 34px;

  display: grid;
  grid-template-columns:
    minmax(220px, 1fr)
    auto
    minmax(180px, auto);

  gap: 34px;
  align-items: center;

  background: #050505;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 28px;

  min-height: 0 !important;
  height: auto !important;

  position: relative !important;
  inset: auto !important;
  transform: none !important;
}

.z7-admin-footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.z7-admin-footer-brand img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.z7-admin-footer-brand strong,
.z7-admin-footer-brand span {
  display: block;
}

.z7-admin-footer-brand strong {
  color: #d6b25e;
  font-size: 11px;
  letter-spacing: .15em;
}

.z7-admin-footer-brand span {
  margin-top: 5px;
  color: #707070;
  font-size: 9px;
}

.z7-admin-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.z7-admin-footer-nav a {
  color: #b8b8b8 !important;
  text-decoration: none !important;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: color .2s ease;
}

.z7-admin-footer-nav a:hover {
  color: #d6b25e !important;
}

.z7-admin-footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.z7-admin-footer-meta span:first-child {
  color: #d6b25e;
  font-size: 8px;
  letter-spacing: .14em;
}

.z7-admin-footer-meta span:last-child {
  color: #666;
  font-size: 9px;
}

@media (max-width: 900px) {

  .z7-admin-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .z7-admin-footer-brand {
    justify-content: center;
  }

  .z7-admin-footer-meta {
    align-items: center;
  }

}


/* =========================================================
   7Z PRIVATE FILE UPLOAD
   ========================================================= */

.z7-private-upload-panel {
  margin-top: 24px !important;
  padding: 28px !important;

  background:
    #070707 !important;

  border:
    1px solid rgba(255,255,255,.08) !important;
}

.z7-upload-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;

  margin-bottom: 22px;
}

.z7-upload-head h2 {
  margin: 5px 0 7px;

  color: #f4f4f4;

  font-size: 24px;
}

.z7-upload-head p {
  max-width: 620px;
  margin: 0;

  color: #858585;

  font-size: 12px;
  line-height: 1.65;
}

.z7-private-badge {
  padding: 8px 11px;

  border:
    1px solid rgba(214,178,94,.28);

  border-radius: 999px;

  background:
    rgba(214,178,94,.06);

  color: #d6b25e;

  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15em;
}

.z7-upload-drop {
  display: grid;

  grid-template-columns:
    auto
    minmax(160px,1fr)
    auto;

  gap: 14px;

  align-items: center;

  padding: 20px;

  border:
    1px dashed rgba(214,178,94,.20);

  border-radius: 12px;

  background:
    rgba(255,255,255,.012);
}

.z7-upload-picker,
.z7-upload-submit {
  min-height: 42px;

  padding: 0 18px;

  border-radius: 9px;

  cursor: pointer;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;

  transition: .2s ease;
}

.z7-upload-picker {
  border:
    1px solid rgba(255,255,255,.11);

  background: #0d0d0d;

  color: #c9c9c9;
}

.z7-upload-picker:hover {
  border-color:
    rgba(214,178,94,.35);

  color: #e7cb82;
}

.z7-upload-submit {
  border:
    1px solid #d6b25e;

  background: #d6b25e;

  color: #090909;
}

.z7-upload-submit:hover:not(:disabled) {
  background: #e7cb82;
}

.z7-upload-submit:disabled,
.z7-upload-picker:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.z7-upload-file {
  color: #747474;

  font-size: 10px;
}

.z7-upload-file strong,
.z7-upload-file span {
  display: block;
}

.z7-upload-file strong {
  color: #d8d8d8;

  font-size: 11px;

  overflow-wrap: anywhere;
}

.z7-upload-file span {
  margin-top: 4px;
}

.z7-upload-progress-wrap {
  margin-top: 14px;
}

.z7-upload-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 7px;

  color: #777;

  font-size: 9px;
}

.z7-upload-progress-meta strong {
  color: #d6b25e;
}

.z7-upload-progress {
  width: 100%;
  height: 4px;

  overflow: hidden;

  border-radius: 99px;

  background:
    rgba(255,255,255,.07);
}

#z7-upload-progress-bar {
  width: 0%;
  height: 100%;

  background: #d6b25e;

  transition:
    width .12s linear;
}

.z7-upload-message {
  min-height: 18px;

  margin-top: 11px;

  font-size: 10px;
}

.z7-upload-message.is-success {
  color: #63d996;
}

.z7-upload-message.is-error {
  color: #ff6a75;
}

@media (max-width: 760px) {

  .z7-upload-head {
    flex-direction: column;
  }

  .z7-upload-drop {
    grid-template-columns: 1fr;
  }

  .z7-upload-picker,
  .z7-upload-submit {
    width: 100%;
  }
}


/* =========================================================
   7Z NATIVE CLIENT ACCOUNTS
   ========================================================= */

.z7-native-clients {
  margin-top: 24px !important;
  padding: 28px !important;

  background: #070707 !important;

  border:
    1px solid rgba(255,255,255,.08) !important;
}

.z7nc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;

  margin-bottom: 22px;
}

.z7nc-head h2 {
  margin: 5px 0 7px;

  color: #f4f4f4;

  font-size: 24px;
}

.z7nc-head p {
  margin: 0;

  color: #7f7f7f;

  font-size: 11px;
}

.z7nc-badge {
  padding: 7px 11px;

  border:
    1px solid rgba(214,178,94,.25);

  border-radius: 999px;

  color: #d6b25e;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: .14em;
}

.z7nc-form {
  display: grid;

  grid-template-columns:
    1fr 1fr 1fr 1.3fr auto;

  gap: 10px;
}

.z7nc-form input {
  min-width: 0;
  min-height: 42px;

  padding: 0 12px;

  border:
    1px solid rgba(255,255,255,.10);

  border-radius: 8px;

  background: #0c0c0c !important;

  color: #eee;
}

#z7nc-create {
  min-height: 42px;

  padding: 0 18px;

  border: 1px solid #d6b25e;

  border-radius: 8px;

  background: #d6b25e;

  color: #070707;

  font-size: 9px;
  font-weight: 800;

  cursor: pointer;
}

.z7nc-message {
  min-height: 18px;

  margin-top: 10px;

  font-size: 10px;
}

.z7nc-message.is-success {
  color: #62d995;
}

.z7nc-message.is-error {
  color: #ff6975;
}

.z7nc-list {
  display: grid;
  gap: 8px;

  margin-top: 14px;
}

.z7nc-client {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 16px;

  border:
    1px solid rgba(255,255,255,.06);

  border-radius: 9px;

  background:
    rgba(255,255,255,.015);
}

.z7nc-client strong,
.z7nc-client span,
.z7nc-client small {
  display: block;
}

.z7nc-client strong {
  color: #e7e7e7;

  font-size: 11px;
}

.z7nc-client span {
  margin-top: 3px;

  color: #d6b25e;

  font-size: 10px;
}

.z7nc-client small {
  margin-top: 3px;

  color: #666;

  font-size: 9px;
}

.z7nc-status {
  font-size: 8px;
  font-weight: 700;

  text-transform: uppercase;
}

.z7nc-status.is-active {
  color: #61d794;
}

.z7nc-status.is-disabled {
  color: #ff6975;
}

.z7nc-empty {
  padding: 24px;

  border:
    1px dashed rgba(255,255,255,.07);

  border-radius: 9px;

  color: #666;

  text-align: center;

  font-size: 10px;
}

@media (max-width: 1000px) {

  .z7nc-form {
    grid-template-columns:
      1fr 1fr;
  }

}

@media (max-width: 620px) {

  .z7nc-form {
    grid-template-columns:
      1fr;
  }

}


/* Client Access — Native account badge */
.z7-cap-client small.is-native {
  color: #61d794;
}

.z7-cap-client small.is-legacy {
  color: #d6b25e;
}


/* =========================================================
   7Z ADMIN FINAL CLIENT MANAGEMENT
   ========================================================= */

/* Old Clerk-user creation form */
#create-form {
  display: none !important;
}


/* Native client actions */
.z7nc-client-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 8px;

  flex-wrap: wrap;
}


.z7nc-action {
  min-height: 34px;

  padding: 0 11px;

  border:
    1px solid rgba(255,255,255,.10);

  border-radius: 7px;

  background: #0c0c0c;

  color: #aaa;

  font-size: 7px;
  font-weight: 700;

  letter-spacing: .05em;

  cursor: pointer;

  transition: .18s ease;
}


.z7nc-action:hover {
  border-color:
    rgba(214,178,94,.38);

  color: #e7cb82;
}


.z7nc-action.is-danger {
  border-color:
    rgba(255,105,117,.20);

  color: #ff6975;
}


.z7nc-action.is-danger:hover {
  background:
    rgba(255,105,117,.08);
}


.z7nc-action.is-success {
  border-color:
    rgba(98,217,149,.22);

  color: #62d995;
}


.z7nc-action.is-success:hover {
  background:
    rgba(98,217,149,.08);
}


/* Password modal */
.z7nc-modal[hidden] {
  display: none !important;
}


.z7nc-modal {
  position: fixed;
  inset: 0;

  z-index: 9999;

  display: grid;
  place-items: center;

  padding: 24px;
}


.z7nc-modal-backdrop {
  position: absolute;
  inset: 0;

  background:
    rgba(0,0,0,.76);

  backdrop-filter:
    blur(10px);
}


.z7nc-modal-card {
  position: relative;

  z-index: 2;

  width:
    min(430px,100%);

  padding: 26px;

  border:
    1px solid rgba(255,255,255,.10);

  border-radius: 16px;

  background: #080808;

  box-shadow:
    0 30px 90px
    rgba(0,0,0,.55);
}


.z7nc-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 20px;
}


.z7nc-modal-head h3 {
  margin:
    5px 0 5px;

  color: #f1f1f1;

  font-size: 20px;
}


.z7nc-modal-head p {
  margin: 0;

  color: #777;

  font-size: 9px;
}


.z7nc-modal-close {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  border:
    1px solid rgba(255,255,255,.08);

  border-radius: 50%;

  background: #0c0c0c;

  color: #aaa;

  font-size: 20px;

  cursor: pointer;
}


.z7nc-modal-card input {
  width: 100%;

  min-height: 44px;

  margin-bottom: 10px;

  padding: 0 13px;

  border:
    1px solid rgba(255,255,255,.10);

  border-radius: 8px;

  background: #0c0c0c !important;

  color: #eee;
}


.z7nc-password-save {
  width: 100%;

  min-height: 42px;

  margin-top: 7px;

  border:
    1px solid #d6b25e;

  border-radius: 8px;

  background: #d6b25e;

  color: #070707;

  font-size: 8px;
  font-weight: 800;

  cursor: pointer;
}


.z7nc-password-save:hover {
  background: #e7cb82;
}


@media (max-width: 700px) {

  .z7nc-client {
    align-items: flex-start;
    flex-direction: column;
  }


  .z7nc-client-right {
    width: 100%;

    justify-content:
      flex-start;
  }
}


/* =========================================================
   UNIFIED CLIENT ACCOUNTS
   ========================================================= */

.z7nc-client-title {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.z7nc-type {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border: 1px solid rgba(214,178,94,.22);
  border-radius: 999px;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .10em;
}

.z7nc-type.is-native {
  color: #61d794;
  border-color: rgba(97,215,148,.24);
}

.z7nc-type.is-legacy {
  color: #d6b25e;
}

.z7nc-legacy-note {
  color: #777;
  font-size: 7px;
  letter-spacing: .10em;
}

.z7nc-create-caption {
  margin: 20px 0 9px;
  color: #9a8145;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .12em;
}


/* =========================================================
   ADMIN PRIVATE FILE LIBRARY
   ========================================================= */

.z7-admin-file-library {
  margin-top: 28px;
}

.z7af-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

.z7af-head h2 {
  margin: 5px 0 5px;
}

.z7af-head p {
  margin: 0;
  max-width: 620px;
  color: #777;
  font-size: 9px;
  line-height: 1.7;
}

.z7af-refresh {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(214,178,94,.30);
  border-radius: 8px;
  background: #0a0a0a;
  color: #d6b25e;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;
  cursor: pointer;
}

.z7af-list {
  display: grid;
  gap: 10px;
}

.z7af-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 14px 16px;

  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;

  background: rgba(8,8,8,.76);
}

.z7af-file-main {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.z7af-file-icon {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  flex: 0 0 auto;

  border: 1px solid rgba(214,178,94,.24);
  border-radius: 8px;

  color: #d6b25e;

  font-size: 6px;
  font-weight: 900;
  letter-spacing: .08em;
}

.z7af-file-copy {
  min-width: 0;
}

.z7af-file-copy strong,
.z7af-file-copy span,
.z7af-file-copy small {
  display: block;
}

.z7af-file-copy strong {
  color: #eee;
  font-size: 10px;
  overflow-wrap: anywhere;
}

.z7af-file-copy span {
  margin-top: 4px;
  color: #777;
  font-size: 7px;
}

.z7af-file-copy small {
  margin-top: 3px;
  color: #555;
  font-size: 7px;
}

.z7af-actions {
  display: flex;
  gap: 7px;
  flex: 0 0 auto;
}

.z7af-actions button {
  min-height: 34px;
  padding: 0 11px;

  border-radius: 7px;

  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;

  cursor: pointer;
}

.z7af-open {
  border: 1px solid #d6b25e;
  background: #d6b25e;
  color: #050505;
}

.z7af-download {
  border: 1px solid rgba(255,255,255,.10);
  background: #0b0b0b;
  color: #aaa;
}

.z7af-empty {
  padding: 28px;

  border: 1px dashed rgba(255,255,255,.08);
  border-radius: 10px;

  color: #666;
  text-align: center;
  font-size: 9px;
}

.z7af-message {
  margin-bottom: 8px;
  color: #777;
  font-size: 8px;
}

.z7af-message.is-error {
  color: #ff6874;
}


@media (max-width: 760px) {

  .z7af-head,
  .z7af-file {
    align-items: flex-start;
    flex-direction: column;
  }

  .z7af-actions {
    width: 100%;
  }

  .z7af-actions button {
    flex: 1;
  }
}


/* === 7Z FINAL ADMIN FILE LIBRARY === */

.z7-admin-file-library {
  margin-top: 28px;
  scroll-margin-top: 130px;
}

.z7af-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.z7af-head h2 {
  margin: 5px 0;
}

.z7af-head p {
  margin: 0;
  color: #777;
  font-size: 9px;
  line-height: 1.7;
}

.z7af-refresh {
  min-height: 38px;
  padding: 0 14px;

  border:
    1px solid rgba(214,178,94,.30);

  border-radius: 8px;

  background: #0a0a0a;
  color: #d6b25e;

  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;

  cursor: pointer;
}

.z7af-list {
  display: grid;
  gap: 10px;
}

.z7af-file {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  padding: 14px 16px;

  border:
    1px solid rgba(255,255,255,.08);

  border-radius: 10px;

  background:
    rgba(8,8,8,.78);
}

.z7af-file-info {
  min-width: 0;
}

.z7af-file-info strong,
.z7af-file-info span,
.z7af-file-info small {
  display: block;
}

.z7af-file-info strong {
  color: #eee;
  font-size: 10px;
  overflow-wrap: anywhere;
}

.z7af-file-info span {
  margin-top: 4px;
  color: #777;
  font-size: 7px;
}

.z7af-file-info small {
  margin-top: 4px;
  color: #555;
  font-size: 7px;
}

.z7af-actions {
  display: flex;
  gap: 7px;
  flex: 0 0 auto;
}

.z7af-actions button {
  min-height: 34px;
  padding: 0 12px;

  border-radius: 7px;

  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;

  cursor: pointer;
}

.z7af-open {
  border: 1px solid #d6b25e;
  background: #d6b25e;
  color: #050505;
}

.z7af-download {
  border:
    1px solid rgba(255,255,255,.10);

  background: #0a0a0a;
  color: #aaa;
}

.z7af-message {
  margin-bottom: 9px;
  color: #777;
  font-size: 8px;
}

.z7af-message.is-error {
  color: #ff6975;
}

.z7af-empty {
  padding: 28px;

  border:
    1px dashed rgba(255,255,255,.08);

  border-radius: 10px;

  color: #666;
  text-align: center;
  font-size: 9px;
}

html {
  scroll-padding-top: 130px;
}

#z7-native-clients,
#z7-private-upload-panel,
#z7-admin-file-library,
#legacy-file-access-panel {
  scroll-margin-top: 130px;
}


@media (max-width: 760px) {

  .z7af-head,
  .z7af-file {
    align-items: flex-start;
    flex-direction: column;
  }

  .z7af-actions {
    width: 100%;
  }

  .z7af-actions button {
    flex: 1;
  }
}


/* === 7Z LEGACY PROTECTED LIBRARY === */

.z7-admin-legacy-library {
  margin-top: 28px;
  scroll-margin-top: 130px;
}

.z7ll-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 22px;

  margin-bottom: 20px;
}

.z7ll-head h2 {
  margin: 5px 0;
}

.z7ll-head p {
  max-width: 680px;
  margin: 0;

  color: #777;

  font-size: 9px;
  line-height: 1.7;
}

.z7ll-hub {
  min-height: 38px;

  padding: 0 14px;

  border:
    1px solid rgba(214,178,94,.30);

  border-radius: 8px;

  background: #090909;

  color: #d6b25e;

  font-size: 7px;
  font-weight: 800;

  letter-spacing: .08em;

  cursor: pointer;
}

.z7ll-list {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(220px,1fr)
    );

  gap: 10px;
}

.z7ll-resource {
  min-height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 14px;

  padding: 14px;

  border:
    1px solid rgba(255,255,255,.08);

  border-radius: 10px;

  background:
    rgba(8,8,8,.78);
}

.z7ll-resource strong,
.z7ll-resource span {
  display: block;
}

.z7ll-resource strong {
  color: #eee;

  font-size: 10px;
}

.z7ll-resource span {
  margin-top: 5px;

  color: #6d6d6d;

  font-size: 7px;

  letter-spacing: .04em;
}

.z7ll-resource button {
  min-height: 34px;

  padding: 0 12px;

  flex: 0 0 auto;

  border: 1px solid #d6b25e;

  border-radius: 7px;

  background: #d6b25e;

  color: #050505;

  font-size: 7px;
  font-weight: 800;

  letter-spacing: .08em;

  cursor: pointer;
}

.z7ll-message {
  margin-bottom: 10px;

  color: #777;

  font-size: 8px;
}

.z7ll-message.is-error {
  color: #ff6975;
}

.z7ll-empty {
  grid-column: 1 / -1;

  padding: 28px;

  border:
    1px dashed rgba(255,255,255,.08);

  border-radius: 10px;

  color: #666;

  text-align: center;

  font-size: 9px;
}


@media (max-width: 760px) {

  .z7ll-head {
    flex-direction: column;
  }

  .z7ll-hub {
    width: 100%;
  }
}


/* === Z7 UNIFIED ACCESS FINAL === */

.z7-cap-selected-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;

  margin: 14px 0;

  padding: 13px 15px;

  border:
    1px solid rgba(255,255,255,.08);

  border-radius: 10px;

  background:
    rgba(7,7,7,.75);
}

.z7-cap-selected-tools strong,
.z7-cap-selected-tools span {
  display: block;
}

.z7-cap-selected-tools strong {
  color: #eee;
  font-size: 10px;
}

.z7-cap-selected-tools span {
  margin-top: 4px;

  color: #777;

  font-size: 7px;
}

.z7-cap-selected-tools button {
  min-height: 34px;

  padding: 0 12px;

  border:
    1px solid rgba(214,178,94,.35);

  border-radius: 7px;

  background: #0b0b0b;

  color: #d6b25e;

  font-size: 7px;
  font-weight: 800;

  letter-spacing: .08em;

  cursor: pointer;
}

.z7-cap-open {
  min-height: 32px;

  padding: 0 11px;

  border: 1px solid #d6b25e;

  border-radius: 7px;

  background: transparent;

  color: #d6b25e;

  font-size: 7px;
  font-weight: 800;

  letter-spacing: .07em;

  cursor: pointer;
}

.z7-cap-file label.is-disabled {
  opacity: .45;
}

@media (max-width: 760px) {

  .z7-cap-selected-tools {
    align-items: stretch;
    flex-direction: column;
  }
}


/* === Z7 ADMIN ACCOUNTS FINAL === */

.z7-admin-accounts {
  margin-bottom: 28px;
  scroll-margin-top: 130px;
}

.z7aa-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.z7aa-head h2 {
  margin: 5px 0;
}

.z7aa-head p {
  max-width: 620px;
  margin: 0;
  color: #777;
  font-size: 9px;
  line-height: 1.7;
}

.z7aa-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;

  border:
    1px solid rgba(214,178,94,.30);

  border-radius: 999px;

  color: #d6b25e;

  font-size: 7px;
  font-weight: 800;
  letter-spacing: .10em;
}

.z7aa-create {
  display: grid;

  grid-template-columns:
    1.1fr 1.3fr 1fr 1.4fr auto;

  gap: 9px;

  margin-bottom: 10px;
}

.z7aa-create input {
  min-height: 46px;
  width: 100%;

  padding: 0 13px;

  border:
    1px solid rgba(255,255,255,.09);

  border-radius: 9px;

  background:
    rgba(8,8,8,.78);

  color: #eee;

  outline: none;
}

.z7aa-create input:focus {
  border-color:
    rgba(214,178,94,.50);
}

.z7aa-create button,
.z7aa-primary {
  min-height: 46px;
  padding: 0 18px;

  border:
    1px solid #d6b25e;

  border-radius: 9px;

  background: #d6b25e;
  color: #050505;

  font-size: 8px;
  font-weight: 900;
  letter-spacing: .06em;

  cursor: pointer;
}

.z7aa-message {
  min-height: 18px;
  margin: 7px 0;

  color: #777;

  font-size: 8px;
}

.z7aa-message.is-success {
  color: #61d794;
}

.z7aa-message.is-error {
  color: #ff6975;
}

.z7aa-list {
  display: grid;
  gap: 9px;

  margin-top: 10px;
}

.z7aa-admin {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 14px 16px;

  border:
    1px solid rgba(255,255,255,.08);

  border-radius: 10px;

  background:
    rgba(7,7,7,.76);
}

.z7aa-info strong,
.z7aa-info span,
.z7aa-info small {
  display: block;
}

.z7aa-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.z7aa-info strong {
  color: #eee;
  font-size: 10px;
}

.z7aa-info span {
  margin-top: 4px;
  color: #777;
  font-size: 8px;
}

.z7aa-info small {
  margin-top: 3px;
  color: #555;
  font-size: 7px;
}

.z7aa-you {
  display: inline-flex !important;

  margin: 0 !important;
  padding: 3px 7px;

  border:
    1px solid rgba(214,178,94,.30);

  border-radius: 999px;

  color: #d6b25e !important;

  font-size: 6px !important;
  font-weight: 900;
}

.z7aa-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 7px;

  flex-wrap: wrap;
}

.z7aa-actions button {
  min-height: 33px;

  padding: 0 10px;

  border:
    1px solid rgba(255,255,255,.11);

  border-radius: 7px;

  background: #0a0a0a;
  color: #aaa;

  font-size: 7px;
  font-weight: 800;

  cursor: pointer;
}

.z7aa-actions button.is-danger {
  border-color:
    rgba(255,105,117,.28);

  color: #ff6975;
}

.z7aa-actions button.is-enable {
  border-color:
    rgba(97,215,148,.28);

  color: #61d794;
}

.z7aa-status {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;
}

.z7aa-status.is-active {
  color: #61d794;
}

.z7aa-status.is-disabled {
  color: #ff6975;
}

.z7aa-self-lock {
  color: #555;
  font-size: 7px;
  letter-spacing: .07em;
}

.z7aa-modal[hidden] {
  display: none !important;
}

.z7aa-modal {
  position: fixed;
  inset: 0;

  z-index: 99999;

  display: grid;
  place-items: center;

  padding: 20px;
}

.z7aa-modal-backdrop {
  position: absolute;
  inset: 0;

  background:
    rgba(0,0,0,.80);

  backdrop-filter:
    blur(8px);
}

.z7aa-modal-card {
  position: relative;

  z-index: 1;

  width:
    min(520px,100%);

  padding: 22px;

  border:
    1px solid rgba(255,255,255,.12);

  border-radius: 14px;

  background: #080808;
}

.z7aa-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 18px;

  margin-bottom: 18px;
}

.z7aa-modal-head h3 {
  margin: 4px 0;
}

.z7aa-modal-head p {
  margin: 0;
  color: #777;
  font-size: 8px;
}

#z7aa-modal-close {
  border: 0;
  background: transparent;
  color: #aaa;

  font-size: 24px;

  cursor: pointer;
}

.z7aa-modal-card input {
  display: block;

  width: 100%;

  min-height: 46px;

  margin-bottom: 9px;

  padding: 0 13px;

  border:
    1px solid rgba(255,255,255,.10);

  border-radius: 8px;

  background: #0c0c0c;
  color: #eee;

  outline: none;
}

.z7aa-empty {
  padding: 25px;

  border:
    1px dashed rgba(255,255,255,.08);

  border-radius: 10px;

  color: #666;

  text-align: center;
  font-size: 9px;
}


@media (max-width: 1050px) {

  .z7aa-create {
    grid-template-columns:
      1fr 1fr;
  }

  .z7aa-create button {
    grid-column:
      1 / -1;
  }
}


@media (max-width: 700px) {

  .z7aa-head,
  .z7aa-admin {
    align-items: flex-start;
    flex-direction: column;
  }

  .z7aa-create {
    grid-template-columns:
      1fr;
  }

  .z7aa-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

