/* --------------------------------------------------
   JEWELLCORE CLIENT HUB — NOVA INTERFACE
   App aesthetic: soft glass, subtle neon, premium depth
-------------------------------------------------- */


/* GLOBAL — Background + Layout */
body.single-jc_client,
body.page-template-page-client-content-edit {
  background: radial-gradient(at 20% 0%, #101622 0%, #0b0f1a 45%, #080b12 100%);
  color: #e2e8f0;
}

.site-main {
  padding: 40px 0 50px;
}

.hub-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px;
}


/* --------------------------------------------------
   GLASS CARD BASE
-------------------------------------------------- */
.hub-card,
.hub-progress-item,
.hub-list-table,
.hub-updates-list {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  padding: 16px 18px;
}

.hub-card-title {
  color: #9fc1ff;
  text-shadow: 0 0 8px rgba(79, 170, 255, 0.6);
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  margin-bottom: 8px;
  text-transform: uppercase;
}


/* --------------------------------------------------
   HEADER
-------------------------------------------------- */

.hub-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.hub-client-name {
  font-size: 1.9rem;
  font-weight: 700;
  color: #eaf1ff;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  text-shadow: 0 0 12px rgba(126, 187, 255, 0.6);
}

.hub-business-name {
  font-size: 0.9rem;
  color: #7fa0cc;
}

.hub-status-pill {
  background: rgba(79, 170, 255, 0.18);
  border: 1px solid rgba(79, 170, 255, 0.28);
  color: #cfe4ff;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(79,170,255,0.65);
}


/* --------------------------------------------------
   PROGRESS BAR
-------------------------------------------------- */

.hub-progress-bar {
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.hub-progress-fill {
  background: linear-gradient(90deg, #4faaff, #7c5cff);
  box-shadow: 0 0 14px #4faaff;
  height: 100%;
  border-radius: inherit;
  transition: width .25s ease-out;
}

.hub-progress-item {
  box-shadow: 0 4px 22px rgba(0,0,0,0.3), 0 0 16px rgba(79, 170, 255, 0.2);
}


/* --------------------------------------------------
   QUICK ACTION BUTTONS
-------------------------------------------------- */

.hub-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.hub-action-btn {
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.83rem;
  color: #d8e7ff;
  border: 1px solid rgba(79,170,255,0.28);
  background: rgba(79,170,255,0.12);
  box-shadow: 0 4px 16px rgba(79,170,255,0.18);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.hub-action-btn:hover {
  background: rgba(79,170,255,0.22);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79,170,255,0.28);
}

.hub-action-secondary {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.hub-action-secondary:hover {
  background: rgba(255,255,255,0.16);
}


/* --------------------------------------------------
   CONTENT VAULT
-------------------------------------------------- */

.hub-photo-thumbs div {
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
}

.hub-photo-thumbs img {
  opacity: 0.9;
}

.hub-services-list ul li strong {
  color: #a8caff;
  text-shadow: 0 0 8px rgba(79,170,255,0.5);
}


/* --------------------------------------------------
   LIST SECTIONS (Invoices, Tasks, Updates)
-------------------------------------------------- */

.hub-list-title {
  color: #a1c2ff;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 0.78rem;
  margin-bottom: 6px;
}

.hub-list-table {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}

.hub-list-row {
  color: #eaf1ff;
}

.hub-list-header {
  background: rgba(255,255,255,0.08);
  color: #9cb6e0;
  font-size: 0.72rem;
}


/* List Pills */

.hub-pill {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: capitalize;
  backdrop-filter: blur(4px);
}

.hub-pill-paid { background: rgba(34,197,94,0.20); color:#bbf7d0; }
.hub-pill-sent { background: rgba(79,170,255,0.20); color:#dbeafe; }
.hub-pill-overdue { background: rgba(244,63,94,0.22); color:#fecdd3; }
.hub-pill-draft { background: rgba(255,255,255,0.18); color:#e2e8f0; }

/* Task priorities */
.hub-pill-priority-low { background: rgba(45,212,191,0.2); color:#ccfbf1; }
.hub-pill-priority-normal { background: rgba(99,102,241,0.22); color:#e0e7ff; }
.hub-pill-priority-high { background: rgba(249,115,22,0.25); color:#ffedd5; }
.hub-pill-priority-urgent { background: rgba(239,68,68,0.28); color:#fee2e2; }


/* --------------------------------------------------
   ACF FORM (CONTENT EDITOR PAGE)
-------------------------------------------------- */

.hub-content-editor-shell .hub-card {
  max-width: 900px;
  margin: 0 auto;
}

.hub-content-editor-shell .acf-field {
  border: 1px solid rgba(255,255,255,0.12) !important;
  background: rgba(255,255,255,0.06) !important;
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 12px !important;
  color: #e8efff;
}

.hub-content-editor-shell input,
.hub-content-editor-shell textarea,
.hub-content-editor-shell select {
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 10px !important;
  color: #e2e8f0 !important;
}

.hub-content-editor-shell input:focus,
.hub-content-editor-shell textarea:focus,
.hub-content-editor-shell select:focus {
  box-shadow: 0 0 0 2px rgba(79,170,255,0.45) !important;
  border-color: rgba(79,170,255,0.45) !important;
}

.hub-content-editor-shell .acf-form-submit input[type="submit"] {
  background: linear-gradient(90deg,#4faaff,#7c5cff);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  box-shadow: 0 12px 28px rgba(79,170,255,0.3);
}

.hub-content-editor-shell .acf-form-submit input:hover {
  filter: brightness(1.1);
}
/* --------------------------------------------------
   NOVA COMMAND CENTER
-------------------------------------------------- */

.hub-command-center {
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(79,170,255,0.18);
  box-shadow:
    0 0 35px rgba(79,170,255,0.12),
    inset 0 0 24px rgba(79,170,255,0.08);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  position: relative;
}

/* GLOW TOP TITLE BAR */
.hub-command-header {
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(79,170,255,0.18);
}

.hub-command-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #b9d8ff;
  text-shadow: 0 0 10px rgba(79,170,255,0.6);
}

/* GRID: 3 cards + the summary block full width */
.hub-command-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hub-command-summary {
  grid-column: span 3;
}

/* COMMAND CARDS */
.hub-command-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow:
    0 4px 18px rgba(0,0,0,0.35),
    0 0 20px rgba(79,170,255,0.15);
  backdrop-filter: blur(14px);
  transition: transform .2s ease, box-shadow .2s ease;
}

.hub-command-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 6px 24px rgba(0,0,0,0.45),
    0 0 26px rgba(79,170,255,0.25);
}

/* Summary text */
.hub-command-summary-text {
  margin-top: 6px;
  font-size: 0.92rem;
  color: #eaf3ff;
  line-height: 1.45;
}

/* Center responsive */
@media (max-width: 900px) {
  .hub-command-grid {
    grid-template-columns: 1fr;
  }
  .hub-command-summary {
    grid-column: span 1;
  }
}
/* --------------------------------------------------
   NOVA COMMAND CENTER
-------------------------------------------------- */

.hub-command-center {
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(79,170,255,0.18);
  box-shadow:
    0 0 35px rgba(79,170,255,0.12),
    inset 0 0 24px rgba(79,170,255,0.08);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  position: relative;
}

.hub-command-header {
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(79,170,255,0.18);
}

.hub-command-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #b9d8ff;
  text-shadow: 0 0 10px rgba(79,170,255,0.6);
}

.hub-command-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hub-command-summary {
  grid-column: span 3;
}

.hub-command-card {
  transition: transform .2s ease, box-shadow .2s ease;
}

.hub-command-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 6px 24px rgba(0,0,0,0.45),
    0 0 26px rgba(79,170,255,0.25);
}

.hub-command-summary-text {
  margin-top: 6px;
  font-size: 0.92rem;
  color: #eaf3ff;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .hub-command-grid {
    grid-template-columns: 1fr;
  }
  .hub-command-summary {
    grid-column: span 1;
  }
}
/* --------------------------------------------------
   FINAL NOVA COMMAND CENTER OVERLAY FIX
-------------------------------------------------- */

/* Outer container */
.hub-command-center {
  margin-bottom: 35px;
  padding: 26px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(79,170,255,0.25);
  box-shadow:
    0 0 40px rgba(79,170,255,0.20),
    inset 0 0 32px rgba(79,170,255,0.12),
    0 15px 40px rgba(0,0,0,0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* Title */
.hub-command-header {
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(79,170,255,0.25);
}

.hub-command-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #bcd9ff;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(79,170,255,0.75);
}

/* GRID LAYOUT */
.hub-command-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.hub-command-summary {
  grid-column: span 3;
}

/* Command center internal cards OVERRIDE */
.hub-command-center .hub-command-card {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 16px !important;
  padding: 18px !important;
  box-shadow:
    0 4px 14px rgba(0,0,0,0.35),
    inset 0 0 14px rgba(79,170,255,0.10);
  transform: none;
}

/* Hover effect */
.hub-command-center .hub-command-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 6px 20px rgba(0,0,0,0.5),
    inset 0 0 18px rgba(79,170,255,0.18),
    0 0 20px rgba(79,170,255,0.25);
}

/* Status Summary text */
.hub-command-summary-text {
  margin-top: 8px;
  font-size: 1rem;
  color: #eaf3ff;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .hub-command-grid {
    grid-template-columns: 1fr;
  }

  .hub-command-summary {
    grid-column: span 1;
  }
}
