/* ======================================================
   CLICKANERD – UNIVERSAL FRAMEWORK (DARK SHELL)
   ====================================================== */

/* ---------- GLOBAL ---------- */
* {
  box-sizing:border-box;
  margin:0;
  padding:0;
}

body {
  background:#111;
  color:#fff;
  font-family:Arial, Helvetica, sans-serif;
  line-height:1.6;
  min-height:100vh;
}

#page-wrapper {
  min-height:100vh;
}

/* ---------- HEADER ---------- */
#header {
  position:sticky;
  top:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 18px;
  background:rgba(20,20,20,0.85);
  border-bottom:1px solid #333;
  backdrop-filter:blur(8px);
  box-shadow:0 4px 20px rgba(0,0,0,0.8);
}

#header .logo-bar img {
  height:58px;
  filter:drop-shadow(0 0 6px rgba(0,212,255,0.6));
}

/* ---------- MENU TOGGLE ---------- */
.menuToggle {
  cursor:pointer;
  color:#fff;
  font-weight:bold;
  letter-spacing:1px;
  display:flex;
  align-items:center;
  gap:6px;
  user-select:none;
}

.menuToggle .icon {
  font-size:22px;
}

.menuToggle .label {
  font-size:12px;
  opacity:0.85;
}

/* ---------- SLIDE MENU ---------- */
#menu {
  position:fixed;
  top:0;
  right:-320px;
  width:300px;
  height:100vh;
  background:#111;
  border-left:1px solid #333;
  box-shadow:-8px 0 25px rgba(0,0,0,0.9);
  padding:90px 18px 20px;
  transition:right .35s ease;
  z-index:2000;
}

#menu.active {
  right:0;
}

#menu ul {
  list-style:none;
}

#menu a {
  display:block;
  padding:10px 6px;
  color:#4db8ff;
  text-decoration:none;
  font-size:15px;
  border-bottom:1px solid rgba(255,255,255,0.06);
}

#menu a:hover {
  background:rgba(77,184,255,0.08);
}

.menu-label {
  font-size:11px;
  letter-spacing:1px;
  color:#888;
  text-transform:uppercase;
}

.menu-divider {
  height:1px;
  background:#333;
  margin:12px 0;
}

/* ---------- OVERLAY ---------- */
body.menu-open::before {
  content:"";
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.55);
  z-index:1500;
}

/* ======================================================
   NERDTOOLS – LIGHT WORKSPACE CARD
   ====================================================== */

.page-content {
  max-width:960px;
  margin:40px auto;
  padding:28px;
  background:#f4f6f8;
  color:#111;
  border-radius:14px;
  box-shadow:0 14px 40px rgba(0,0,0,0.45);
}

/* Headings */
.page-content h1 {
  color:#111;
  font-size:22px;
  margin-bottom:18px;
}

.page-content h2 {
  color:#222;
  font-size:18px;
  margin:20px 0 10px;
}

/* ======================================================
   NERDTOOLS – CONTROL PANEL
   ====================================================== */

.nt-controls {
  background:#ffffff;
  border:1px solid #dcdfe3;
  border-radius:12px;
  padding:18px 20px;
  margin-bottom:22px;
}

/* Search */
.nt-search input[type="text"] {
  width:100%;
  max-width:360px;
  padding:10px 14px;
  border-radius:8px;
  border:1px solid #cfd4da;
  background:#fff;
  color:#111;
  font-size:14px;
}

.nt-search input[type="text"]::placeholder {
  color:#777;
}

.nt-search input[type="text"]:focus {
  outline:none;
  border-color:#0066cc;
  box-shadow:0 0 0 2px rgba(0,102,204,0.15);
}

/* Breadcrumbs */
.breadcrumbs {
  margin-top:12px;
  font-size:14px;
  color:#555;
}

.breadcrumbs a {
  color:#0066cc;
  text-decoration:none;
}

.breadcrumbs a:hover {
  text-decoration:underline;
}

.back {
  display:inline-block;
  margin-top:6px;
  color:#0066cc;
  font-size:14px;
}

/* ======================================================
   NERDTOOLS – TOOL LIST (STERILE)
   ====================================================== */

.nt-listing {
  background:#ffffff;
  border:1px solid #e1e4e8;
  border-radius:12px;
  padding:16px;
}

/* Folders */
.folder {
  margin:14px 0 6px;
}

.folder a {
  color:#111;
  font-weight:bold;
  text-decoration:none;
}

.folder a:hover {
  text-decoration:underline;
}

/* Files */
.file {
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 4px;
  border-bottom:1px solid #eee;
}

.file:last-child {
  border-bottom:none;
}

.file a {
  color:#111;
  text-decoration:none;
}

.file a:hover {
  text-decoration:underline;
}

/* Metadata */
.details {
  margin-left:auto;
  font-size:12px;
  color:#666;
  white-space:nowrap;
}

/* Search results */
.searchResult {
  padding:8px 6px;
  border-bottom:1px solid #eee;
}

/* Highlight */
.highlight {
  background:#ffeb3b;
  padding:0 3px;
  border-radius:3px;
}

/* Copy icon */
.copyIcon {
  cursor:pointer;
  font-size:14px;
  color:#888;
}

.copyIcon:hover {
  color:#000;
}
