
/*
Theme Name: TNZ Manager
Theme URI: https://thenextzeros.co.in/
Author: The Next Zeros
Description: Private internal control-center theme for a MainWP dashboard installation.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: tnz-manager
*/

:root{
  --tnz-bg:#0a0b0d;
  --tnz-panel:#111317;
  --tnz-panel-2:#15181d;
  --tnz-border:#262a31;
  --tnz-text:#f4f7fb;
  --tnz-muted:#9aa3af;
  --tnz-soft:#cbd2dc;
  --tnz-accent:#ffffff;
  --tnz-success:#6ee7a3;
  --tnz-warning:#f3c969;
  --tnz-danger:#ff7a7a;
  --tnz-radius:18px;
  --tnz-shadow:0 18px 60px rgba(0,0,0,.28);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(circle at 15% 0%, rgba(255,255,255,.055), transparent 28%),
    radial-gradient(circle at 90% 5%, rgba(255,255,255,.035), transparent 22%),
    var(--tnz-bg);
  color:var(--tnz-text);
  font-family:Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
.tnz-shell{width:min(1420px, calc(100% - 42px));margin:0 auto;padding:22px 0 44px}
.tnz-topbar{
  position:sticky; top:0; z-index:20;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:16px 0 18px;
  background:linear-gradient(to bottom, rgba(10,11,13,.96), rgba(10,11,13,.82), transparent);
  backdrop-filter:blur(10px);
}
.tnz-brand{display:flex;align-items:center;gap:14px}
.tnz-mark{
  width:42px;height:42px;border:1px solid var(--tnz-border);border-radius:13px;
  display:grid;place-items:center;background:var(--tnz-panel);font-weight:800;letter-spacing:-1px
}
.tnz-brand-title{font-size:15px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.tnz-brand-sub{font-size:12px;color:var(--tnz-muted);margin-top:2px}
.tnz-top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tnz-status-pill,.tnz-mini-pill{
  display:inline-flex;align-items:center;gap:8px;border:1px solid var(--tnz-border);
  border-radius:999px;background:rgba(255,255,255,.025);padding:9px 12px;
  color:var(--tnz-soft);font-size:12px;font-weight:650
}
.tnz-dot{width:7px;height:7px;border-radius:50%;background:var(--tnz-success);box-shadow:0 0 16px rgba(110,231,163,.6)}
.tnz-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:1px solid var(--tnz-border);background:var(--tnz-panel);color:var(--tnz-text);
  min-height:42px;padding:0 15px;border-radius:12px;font-size:13px;font-weight:750;
  transition:.2s ease
}
.tnz-btn:hover{transform:translateY(-1px);border-color:#404650;background:#171a1f}
.tnz-btn-primary{background:#f5f5f5;color:#0b0c0e;border-color:#f5f5f5}
.tnz-btn-primary:hover{background:white;border-color:white}
.tnz-hero{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);
  gap:22px;align-items:stretch;margin-top:16px
}
.tnz-card{
  border:1px solid var(--tnz-border);border-radius:var(--tnz-radius);
  background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.012)),var(--tnz-panel);
  box-shadow:var(--tnz-shadow)
}
.tnz-hero-main{padding:52px}
.tnz-eyebrow{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--tnz-muted);font-weight:800}
.tnz-hero h1{
  margin:14px 0 16px;max-width:820px;font-size:clamp(38px,5.4vw,72px);
  letter-spacing:-.055em;line-height:.98
}
.tnz-hero p{max-width:760px;margin:0;color:var(--tnz-muted);font-size:16px}
.tnz-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}
.tnz-secure-note{margin-top:20px;color:#7f8895;font-size:12px}
.tnz-overview{padding:28px;display:flex;flex-direction:column;justify-content:space-between}
.tnz-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.tnz-card-heading h3{margin:0;font-size:15px}
.tnz-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tnz-kpi-mini{border:1px solid var(--tnz-border);border-radius:14px;padding:18px;background:#0e1013}
.tnz-kpi-mini span{display:block;color:var(--tnz-muted);font-size:11px;margin-bottom:8px}
.tnz-kpi-mini strong{font-size:25px;letter-spacing:-.04em}
.tnz-section{margin-top:28px}
.tnz-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:14px}
.tnz-section-head h2{margin:0;font-size:22px;letter-spacing:-.035em}
.tnz-section-head p{margin:4px 0 0;color:var(--tnz-muted);font-size:13px}
.tnz-stats{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.tnz-stat{padding:20px;min-height:145px;display:flex;flex-direction:column;justify-content:space-between}
.tnz-stat-label{font-size:12px;color:var(--tnz-muted)}
.tnz-stat-value{font-size:34px;font-weight:850;letter-spacing:-.05em}
.tnz-stat-note{font-size:11px;color:#78818d}
.tnz-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.tnz-action{padding:24px;min-height:208px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.tnz-action:after{content:"";position:absolute;right:-60px;bottom:-70px;width:170px;height:170px;border:1px solid rgba(255,255,255,.07);border-radius:50%}
.tnz-action h3{margin:0 0 8px;font-size:17px}
.tnz-action p{margin:0;color:var(--tnz-muted);font-size:13px;max-width:320px}
.tnz-action-bottom{margin-top:24px}
.tnz-table-wrap{overflow:auto}
.tnz-table{width:100%;border-collapse:collapse;min-width:860px}
.tnz-table th,.tnz-table td{padding:16px 18px;border-bottom:1px solid var(--tnz-border);text-align:left;font-size:13px}
.tnz-table th{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#7d8692;font-weight:800}
.tnz-table tr:last-child td{border-bottom:0}
.tnz-site-title{font-weight:760}
.tnz-site-domain{font-size:11px;color:var(--tnz-muted);margin-top:3px}
.tnz-badge{
  display:inline-flex;align-items:center;gap:7px;border:1px solid var(--tnz-border);
  padding:6px 9px;border-radius:999px;font-size:11px;font-weight:700;background:#0d0f12
}
.tnz-badge.success{color:#baf5d1}.tnz-badge.warn{color:#f7dda0}.tnz-badge.danger{color:#ffabab}
.tnz-split{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.tnz-info-card{padding:26px}
.tnz-info-list{display:grid;gap:0}
.tnz-info-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid var(--tnz-border);font-size:13px}
.tnz-info-row:last-child{border-bottom:0}
.tnz-info-row span:first-child{color:var(--tnz-muted)}
.tnz-activity{padding:24px}
.tnz-activity-item{display:grid;grid-template-columns:16px 1fr auto;gap:14px;align-items:start;padding:16px 0;border-bottom:1px solid var(--tnz-border)}
.tnz-activity-item:last-child{border-bottom:0}
.tnz-activity-node{width:9px;height:9px;border-radius:50%;background:#6f7783;margin-top:6px}
.tnz-activity-copy strong{display:block;font-size:13px}
.tnz-activity-copy span{display:block;color:var(--tnz-muted);font-size:12px;margin-top:3px}
.tnz-time{font-size:11px;color:#707986;white-space:nowrap}
.tnz-notice{padding:24px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.tnz-notice h3{margin:0 0 5px;font-size:15px}
.tnz-notice p{margin:0;color:var(--tnz-muted);font-size:12px;max-width:840px}
.tnz-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;color:#69717c;font-size:11px;padding:28px 4px 0}
@media(max-width:1180px){
  .tnz-stats{grid-template-columns:repeat(3,1fr)}
  .tnz-actions{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
  .tnz-hero,.tnz-split{grid-template-columns:1fr}
  .tnz-hero-main{padding:38px 30px}
  .tnz-topbar{position:relative}
}
@media(max-width:680px){
  .tnz-shell{width:min(100% - 24px,1420px)}
  .tnz-topbar{align-items:flex-start;flex-direction:column}
  .tnz-stats,.tnz-actions,.tnz-grid-2{grid-template-columns:1fr}
  .tnz-section-head,.tnz-notice,.tnz-footer{align-items:flex-start;flex-direction:column}
  .tnz-hero-main{padding:30px 22px}
  .tnz-hero h1{font-size:42px}
}


/* Branded front-end login */
.tnz-login-page{
  min-height:100vh;display:grid;place-items:center;padding:24px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,.055), transparent 26%),
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.035), transparent 22%),
    #0a0b0d;
}
.tnz-login-wrap{width:min(100%,460px)}
.tnz-login-brand{text-align:center;margin-bottom:22px}
.tnz-login-logo{
  width:54px;height:54px;border-radius:16px;border:1px solid var(--tnz-border);
  background:var(--tnz-panel);display:grid;place-items:center;margin:0 auto 14px;
  font-weight:850;font-size:18px
}
.tnz-login-brand h1{margin:0;font-size:25px;letter-spacing:-.04em}
.tnz-login-brand p{margin:6px 0 0;color:var(--tnz-muted);font-size:13px}
.tnz-login-card{padding:28px}
.tnz-field{margin-bottom:16px}
.tnz-field label{display:block;font-size:12px;color:var(--tnz-soft);font-weight:700;margin:0 0 7px}
.tnz-field input{
  width:100%;height:48px;border-radius:12px;border:1px solid var(--tnz-border);
  background:#0d0f12;color:var(--tnz-text);padding:0 14px;outline:none
}
.tnz-field input:focus{border-color:#4c5562;box-shadow:0 0 0 3px rgba(255,255,255,.035)}
.tnz-login-submit{
  width:100%;height:48px;border:0;border-radius:12px;background:#f5f5f5;color:#0b0c0e;
  font-weight:850;cursor:pointer
}
.tnz-login-submit:hover{background:#fff}
.tnz-login-error{
  border:1px solid rgba(255,122,122,.25);background:rgba(255,122,122,.08);
  color:#ffc0c0;border-radius:12px;padding:11px 13px;margin-bottom:16px;font-size:12px
}
.tnz-login-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:14px;color:#77818d;font-size:11px}
.tnz-remember{display:flex;align-items:center;gap:8px}
.tnz-remember input{accent-color:#fff}
