/* FILE PATH: nstudios-account-panel/assets/panel.css */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg:         #0d0d0f;
  --surface:    #141418;
  --surface2:   #1c1c22;
  --border:     #26262e;
  --border2:    #31313c;
  --blue:       #0078f2;
  --blue-dim:   rgba(0,120,242,0.12);
  --gold:       #f5c842;
  --gold-dim:   rgba(245,200,66,0.12);
  --red:        #f23a3a;
  --red-dim:    rgba(242,58,58,0.10);
  --green:      #22c55e;
  --text:       #e8e8f0;
  --text-muted: #5a5a72;
  --text-sub:   #8f8fa8;
  --radius:     14px;
  --radius-sm:  9px;
}

.nsa-wrap {
  font-family: 'Inter', sans-serif;
  max-width: 440px;
  margin: 0 auto;
  padding: 0 0 60px;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

/* HEADER */
.nsa-header { position: relative; text-align: center; padding: 48px 20px 32px; overflow: hidden; }
.nsa-header-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,120,242,0.18) 0%, transparent 70%); pointer-events: none; }

.nsa-avatar-ring { display: inline-block; position: relative; padding: 4px; border-radius: 50%; border: 2px solid var(--border2); background: var(--surface); margin-bottom: 14px; }
.nsa-avatar-ring.premium { border-color: var(--gold); box-shadow: 0 0 24px rgba(245,200,66,0.25), 0 0 60px rgba(245,200,66,0.08); }
.nsa-avatar { width: 88px; height: 88px; border-radius: 50%; display: block; }
.nsa-admin-crown { position: absolute; top: -8px; right: -6px; font-size: 18px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.7)); }

.nsa-display-name { font-family: 'Rajdhani', sans-serif; font-size: 26px; font-weight: 700; letter-spacing: 0.5px; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--text); }
.nsa-display-name.premium-name { color: var(--gold); }
.nsa-badge-admin { font-size: 16px; color: var(--blue); }
.nsa-username-tag { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-top: 4px; letter-spacing: 0.5px; }

/* STATS */
.nsa-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px; margin-bottom: 24px; }
.nsa-stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 10px; text-align: center; transition: border-color 0.2s; }
.nsa-stat-card:hover { border-color: var(--border2); }
.nsa-stat-icon { font-size: 20px; margin-bottom: 6px; }
.nsa-stat-value { font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.nsa-stat-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; font-weight: 600; }
.nsa-stat-card.active-pass { border-color: rgba(245,200,66,0.35); background: var(--gold-dim); }
.nsa-stat-card.active-pass .nsa-stat-value { color: var(--gold); }
.nsa-stat-card.inactive-pass { border-color: rgba(242,58,58,0.25); }
.nsa-stat-card.inactive-pass .nsa-stat-value { color: var(--red); }
.coin-val { color: var(--blue) !important; }

/* SECTIONS */
.nsa-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin: 0 16px 14px; padding: 18px; }
.nsa-section-title { font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-sub); margin-bottom: 14px; display: flex; align-items: center; gap: 7px; }
.nsa-section-icon { font-size: 16px; }

/* INFO GRID */
.nsa-info-grid { display: flex; flex-direction: column; }
.nsa-info-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); gap: 12px; }
.nsa-info-row:last-child { border: none; padding-bottom: 0; }
.nsa-info-label { font-size: 11px; text-transform: uppercase; color: var(--text-muted); font-weight: 600; letter-spacing: 0.6px; white-space: nowrap; }
.nsa-info-val { font-size: 13px; font-weight: 600; color: var(--text); text-align: right; word-break: break-all; }

.nsa-hint { font-size: 13px; color: var(--text-sub); margin-bottom: 14px; line-height: 1.5; }

/* INPUTS */
.nsa-input { display: block; width: 100%; background: var(--surface2); border: 1px solid var(--border2); border-radius: var(--radius-sm); color: var(--text); font-size: 14px; padding: 12px 14px; margin-bottom: 10px; outline: none; transition: border-color 0.2s; font-family: 'Inter', sans-serif; box-sizing: border-box; }
.nsa-input:focus { border-color: var(--blue); }
.nsa-input::placeholder { color: var(--text-muted); }

/* BUTTONS */
.nsa-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 13px 18px; border-radius: var(--radius-sm); font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; cursor: pointer; border: none; text-decoration: none; transition: opacity 0.18s, transform 0.1s; margin-bottom: 8px; box-sizing: border-box; }
.nsa-btn:last-child { margin-bottom: 0; }
.nsa-btn:active { transform: scale(0.98); opacity: 0.85; }
.nsa-btn-primary { background: var(--blue); color: #fff; }
.nsa-btn-ghost { background: var(--surface2); border: 1px solid var(--border2); color: var(--text-sub); }
.nsa-btn-danger { background: var(--red-dim); border: 1px solid rgba(242,58,58,0.3); color: var(--red); }
.nsa-btn-logout { background: rgba(242,58,58,0.06); border: 1px solid rgba(242,58,58,0.18); color: var(--red); }
.nsa-btn-google { background: var(--surface2); border: 1px solid var(--border2); color: var(--text); }
.nsa-btn-sm { width: auto; padding: 8px 14px; font-size: 12px; margin: 0; }
.nsa-btn.loading { opacity: 0.6; pointer-events: none; }

/* GOOGLE LINKED */
.nsa-google-linked { display: flex; align-items: center; gap: 12px; background: var(--surface2); border: 1px solid var(--border2); border-radius: var(--radius-sm); padding: 12px 14px; }
.nsa-google-icon { flex-shrink: 0; display: flex; align-items: center; }
.nsa-google-info { flex: 1; min-width: 0; }
.nsa-google-email { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nsa-google-status { font-size: 11px; color: var(--green); font-weight: 600; margin-top: 2px; }

/* MESSAGES */
.nsa-msg { padding: 11px 14px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; margin-top: 10px; line-height: 1.4; }
.nsa-msg-ok   { background: rgba(34,197,94,0.1);  border: 1px solid rgba(34,197,94,0.3);  color: var(--green); }
.nsa-msg-err  { background: rgba(242,58,58,0.1);  border: 1px solid rgba(242,58,58,0.3);  color: var(--red);   }
.nsa-msg-warn { background: rgba(245,200,66,0.1); border: 1px solid rgba(245,200,66,0.3); color: var(--gold);  }

/* LOGIN BOX */
.nsa-login-box { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin: 60px 16px; padding: 40px 24px; }
.nsa-login-icon { font-size: 48px; margin-bottom: 16px; }
.nsa-login-box h3 { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.nsa-login-box p { font-size: 14px; color: var(--text-sub); margin-bottom: 22px; }

/* BAN BOX */
.nsa-ban-box { text-align: center; background: #160e0e; border: 1px solid #3a1a1a; border-radius: var(--radius); margin: 60px 16px; padding: 40px 24px; }
.nsa-ban-icon { font-size: 48px; margin-bottom: 16px; }
.nsa-ban-box h3 { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; color: var(--red); margin-bottom: 8px; }
.nsa-ban-box p { font-size: 14px; color: var(--text-sub); margin-bottom: 20px; }
.nsa-ban-details { background: #1a0d0d; border: 1px solid #2e1414; border-radius: var(--radius-sm); padding: 14px; text-align: left; }
.nsa-ban-row { margin-bottom: 10px; }
.nsa-ban-row:last-child { margin-bottom: 0; }
.nsa-ban-label { font-size: 10px; text-transform: uppercase; color: var(--text-muted); font-weight: 700; letter-spacing: 0.6px; }
.nsa-ban-val { font-size: 14px; color: #ffaaaa; font-weight: 600; margin-top: 3px; }

@media (max-width: 480px) {
  .nsa-stats { gap: 8px; }
  .nsa-stat-card { padding: 12px 6px; }
}


/* N PASS CARD */
.nsa-npass-card {
border: 1px solid var(--border2);
background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)), var(--surface);
box-shadow: 0 12px 34px rgba(0,0,0,0.24);
}
.nsa-npass-card.is-active {
border-color: rgba(245,200,66,0.35);
box-shadow: 0 0 0 1px rgba(245,200,66,0.08), 0 16px 40px rgba(245,200,66,0.08);
}
.nsa-npass-card.is-inactive {
border-color: rgba(242,58,58,0.18);
}
.nsa-npass-head {
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
margin-bottom:16px;
}
.nsa-npass-status-wrap { display:flex; flex-direction:column; gap:8px; }
.nsa-npass-status {
font-family:'Rajdhani', sans-serif;
font-size:28px;
font-weight:700;
color:var(--text);
line-height:1;
}
.nsa-npass-badge {
display:inline-flex;
align-items:center;
justify-content:center;
padding:6px 10px;
border-radius:999px;
font-size:11px;
font-weight:800;
letter-spacing:0.8px;
width:max-content;
}
.nsa-npass-badge.active {
background:rgba(245,200,66,0.13);
border:1px solid rgba(245,200,66,0.28);
color:var(--gold);
}
.nsa-npass-badge.expired {
background:rgba(242,58,58,0.10);
border:1px solid rgba(242,58,58,0.28);
color:var(--red);
}
.nsa-npass-icon {
font-size:28px;
width:52px;
height:52px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
background:var(--surface2);
border:1px solid var(--border2);
}
.nsa-npass-meta {
display:flex;
flex-direction:column;
gap:10px;
}
.nsa-npass-meta-row {
display:flex;
justify-content:space-between;
align-items:center;
gap:12px;
padding:12px 0;
border-bottom:1px solid var(--border);
font-size:13px;
}
.nsa-npass-meta-row:last-child { border-bottom:none; padding-bottom:0; }
.nsa-npass-meta-row span { color:var(--text-muted); font-weight:600; }
.nsa-npass-meta-row strong { color:var(--text); font-size:14px; }
