* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --neon-cyan: #00f0ff;
  --neon-magenta: #ff00e5;
  --neon-green: #39ff14;
  --neon-purple: #b026ff;
  --dark-bg: #0a0a0f;
  --dark-card: #12121a;
  --dark-border: #1e1e2e;
  --dark-input: #16161f;
  --text-primary: #f0f0f5;
  --text-muted: #8888a0;
  --danger: #ff4757;
  --success: #39ff14;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

.bg-grid {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(0,240,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.content { position: relative; z-index: 1; }

/* ─── BUTTONS ─────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  color: #000;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid rgba(0,240,255,0.3);
}
.btn-secondary:hover { background: rgba(0,240,255,0.1); }

.btn-danger {
  background: rgba(255,71,87,0.2);
  color: var(--danger);
  border: 1px solid rgba(255,71,87,0.3);
}
.btn-danger:hover { background: rgba(255,71,87,0.3); }

.btn-success {
  background: rgba(57,255,20,0.15);
  color: var(--neon-green);
  border: 1px solid rgba(57,255,20,0.3);
}
.btn-success:hover { background: rgba(57,255,20,0.25); }

.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-full { width: 100%; }

/* ─── FORMS ───────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark-input);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus { border-color: var(--neon-cyan); }
.form-input::placeholder { color: var(--text-muted); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238888a0'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}
.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--neon-cyan);
}
.checkbox-row label {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}
.checkbox-row a { color: var(--neon-cyan); }

/* ─── CARDS ───────────────────────────── */
.card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 24px;
}

/* ─── PAGE LAYOUTS ────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  width: 100%;
  max-width: 480px;
}

.auth-card .logo {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 8px;
}

.auth-card h2 {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 32px;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}
.auth-footer a { color: var(--neon-cyan); text-decoration: none; }

.error-msg {
  background: rgba(255,71,87,0.1);
  border: 1px solid rgba(255,71,87,0.3);
  color: var(--danger);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}
.error-msg.show { display: block; }

.success-msg {
  background: rgba(57,255,20,0.1);
  border: 1px solid rgba(57,255,20,0.3);
  color: var(--neon-green);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}
.success-msg.show { display: block; }

/* ─── APP LAYOUT ──────────────────────── */
.app-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  background: var(--dark-card);
  border-right: 1px solid var(--dark-border);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 10;
}

.sidebar-logo {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 24px;
  margin-bottom: 32px;
}

.sidebar-nav { flex: 1; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.nav-item:hover { color: var(--text-primary); background: rgba(0,240,255,0.05); }
.nav-item.active { color: var(--neon-cyan); background: rgba(0,240,255,0.08); border-right: 2px solid var(--neon-cyan); }
.nav-item .icon { font-size: 20px; width: 24px; text-align: center; }

.sidebar-user {
  padding: 16px 24px;
  border-top: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-user .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #000;
}
.sidebar-user .user-info { flex: 1; }
.sidebar-user .user-name { font-size: 14px; font-weight: 600; }
.sidebar-user .user-handle { font-size: 12px; color: var(--text-muted); }

.main-content {
  flex: 1;
  margin-left: 240px;
  padding: 32px;
  max-width: 800px;
}

.page-title {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* ─── FEED ────────────────────────────── */
.post-composer {
  margin-bottom: 24px;
}
.post-composer textarea {
  width: 100%;
  min-height: 80px;
  padding: 16px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  resize: vertical;
  outline: none;
}
.post-composer textarea:focus { border-color: var(--neon-cyan); }
.post-composer .post-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.post-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}
.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #000;
}
.post-user-info .post-name { font-weight: 600; font-size: 15px; }
.post-user-info .post-time { font-size: 12px; color: var(--text-muted); }
.post-content { font-size: 15px; line-height: 1.6; margin-bottom: 12px; }
.post-media { max-width: 100%; border-radius: 12px; margin-bottom: 12px; }
.post-media img { width: 100%; border-radius: 12px; }
.post-media video { width: 100%; border-radius: 12px; }

/* ─── MESSAGES ────────────────────────── */
.convo-list { display: flex; flex-direction: column; gap: 8px; }
.convo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.convo-item:hover { border-color: rgba(0,240,255,0.3); }
.convo-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
}
.convo-info { flex: 1; }
.convo-name { font-weight: 600; font-size: 15px; }
.convo-preview { font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; }

.chat-container { display: flex; flex-direction: column; height: calc(100vh - 100px); }
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 16px;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
}
.message-bubble {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.message-bubble.sent {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(0,240,255,0.2), rgba(255,0,229,0.2));
  border: 1px solid rgba(0,240,255,0.2);
}
.message-bubble.received {
  align-self: flex-start;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
}
.message-time { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.chat-input {
  display: flex;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--dark-border);
}
.chat-input input {
  flex: 1;
  padding: 12px 16px;
  background: var(--dark-input);
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  outline: none;
}
.chat-input input:focus { border-color: var(--neon-cyan); }

/* ─── WALLET ──────────────────────────── */
.wallet-balance-card {
  background: linear-gradient(135deg, rgba(0,240,255,0.08), rgba(255,0,229,0.08));
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  margin-bottom: 24px;
}
.wallet-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}
.wallet-amount {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--neon-cyan);
  margin: 12px 0;
}
.wallet-actions { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }

.txn-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--dark-border);
}
.txn-info { display: flex; align-items: center; gap: 12px; }
.txn-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.txn-icon.sent { background: rgba(255,71,87,0.15); }
.txn-icon.received { background: rgba(57,255,20,0.15); }
.txn-name { font-weight: 600; font-size: 14px; }
.txn-note { font-size: 12px; color: var(--text-muted); }
.txn-amount { font-weight: 700; font-size: 16px; }
.txn-amount.negative { color: var(--danger); }
.txn-amount.positive { color: var(--neon-green); }
.txn-date { font-size: 11px; color: var(--text-muted); text-align: right; }

/* ─── PAYMENT METHODS ─────────────────── */
.pm-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  margin-bottom: 12px;
}
.pm-info { display: flex; align-items: center; gap: 12px; }
.pm-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.pm-icon.card-icon { background: rgba(176,38,255,0.15); }
.pm-icon.bank-icon { background: rgba(0,240,255,0.15); }
.pm-type { font-weight: 600; font-size: 14px; }
.pm-detail { font-size: 12px; color: var(--text-muted); }

/* ─── SEARCH ──────────────────────────── */
.search-bar {
  position: relative;
  margin-bottom: 24px;
}
.search-bar input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  outline: none;
}
.search-bar input:focus { border-color: var(--neon-cyan); }
.search-bar .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--text-muted);
}

.user-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.user-result:hover { border-color: rgba(0,240,255,0.3); }
.user-result-info { display: flex; align-items: center; gap: 12px; }
.user-result-name { font-weight: 600; font-size: 14px; }
.user-result-handle { font-size: 12px; color: var(--text-muted); }

/* ─── MODAL ───────────────────────────── */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  display: none;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 440px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
}
.modal h3 {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  margin-bottom: 20px;
}

/* ─── ADMIN ───────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}
.stat-card .stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 700;
}
.stat-card .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--dark-border);
}
.admin-table td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--dark-border);
}
.admin-table tr:hover td {
  background: rgba(0,240,255,0.03);
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.badge-active { background: rgba(57,255,20,0.15); color: var(--neon-green); }
.badge-frozen { background: rgba(255,71,87,0.15); color: var(--danger); }
.badge-admin { background: rgba(176,38,255,0.15); color: var(--neon-purple); }

.tab-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--dark-card);
  border-radius: 12px;
  padding: 4px;
  border: 1px solid var(--dark-border);
}
.tab {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: none;
  color: var(--text-muted);
  font-family: inherit;
}
.tab.active { background: rgba(0,240,255,0.1); color: var(--neon-cyan); }
.tab:hover { color: var(--text-primary); }

/* ─── MOBILE ──────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-card);
  border-top: 1px solid var(--dark-border);
  padding: 8px 0;
  z-index: 20;
}
.mobile-nav-items {
  display: flex;
  justify-content: space-around;
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 10px;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
.mobile-nav-item.active { color: var(--neon-cyan); }
.mobile-nav-item .icon { font-size: 22px; }

@media (max-width: 768px) {
  .sidebar { display: none; }
  .mobile-nav { display: block; }
  .main-content { margin-left: 0; padding: 20px 16px 80px; }
  .form-row { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .wallet-amount { font-size: 36px; }
}

/* ─── AVATARS ─────────────────────────── */
.avatar-gradient-1 { background: linear-gradient(135deg, #ff6b6b, #ffa500); }
.avatar-gradient-2 { background: linear-gradient(135deg, #39ff14, #00f0ff); }
.avatar-gradient-3 { background: linear-gradient(135deg, #b026ff, #ff00e5); }
.avatar-gradient-4 { background: linear-gradient(135deg, #00f0ff, #b026ff); }
.avatar-gradient-5 { background: linear-gradient(135deg, #ff00e5, #39ff14); }
.avatar-gradient-6 { background: linear-gradient(135deg, #ffa500, #b026ff); }

/* ─── ANIMATIONS ──────────────────────── */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.3s ease; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.loading { animation: pulse 1.5s infinite; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state .icon { font-size: 48px; margin-bottom: 16px; }
.empty-state p { font-size: 15px; }

/* ─── NEON GLOW ENHANCEMENTS ──────────────── */

/* Glowing text effect */
.glow-text-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0,240,255,0.8), 0 0 20px rgba(0,240,255,0.4), 0 0 40px rgba(0,240,255,0.2);
}
.glow-text-pink {
  color: var(--neon-magenta);
  text-shadow: 0 0 8px rgba(255,0,229,0.8), 0 0 20px rgba(255,0,229,0.4), 0 0 40px rgba(255,0,229,0.2);
}
.glow-text-green {
  color: var(--neon-green);
  text-shadow: 0 0 8px rgba(57,255,20,0.8), 0 0 20px rgba(57,255,20,0.4), 0 0 40px rgba(57,255,20,0.2);
}

/* Bubble-style elements with glow */
.bubble {
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bubble-cyan {
  background: rgba(0,240,255,0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0,240,255,0.3);
  box-shadow: 0 0 12px rgba(0,240,255,0.2), inset 0 0 8px rgba(0,240,255,0.05);
}
.bubble-pink {
  background: rgba(255,0,229,0.12);
  color: var(--neon-magenta);
  border: 1px solid rgba(255,0,229,0.3);
  box-shadow: 0 0 12px rgba(255,0,229,0.2), inset 0 0 8px rgba(255,0,229,0.05);
}
.bubble-green {
  background: rgba(57,255,20,0.12);
  color: var(--neon-green);
  border: 1px solid rgba(57,255,20,0.3);
  box-shadow: 0 0 12px rgba(57,255,20,0.2), inset 0 0 8px rgba(57,255,20,0.05);
}
.bubble-purple {
  background: rgba(176,38,255,0.12);
  color: var(--neon-purple);
  border: 1px solid rgba(176,38,255,0.3);
  box-shadow: 0 0 12px rgba(176,38,255,0.2), inset 0 0 8px rgba(176,38,255,0.05);
}

/* Glow card */
.glow-card {
  background: var(--dark-card);
  border: 1px solid rgba(0,240,255,0.15);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 0 30px rgba(0,240,255,0.05), 0 4px 24px rgba(0,0,0,0.4);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.glow-card:hover {
  border-color: rgba(0,240,255,0.3);
  box-shadow: 0 0 40px rgba(0,240,255,0.1), 0 4px 32px rgba(0,0,0,0.5);
}

/* Neon logo with animated glow */
.neon-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(0,240,255,0.4));
  animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(0,240,255,0.4)); }
  50% { filter: drop-shadow(0 0 16px rgba(255,0,229,0.5)); }
}

/* Glow divider */
.glow-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  margin: 24px 0;
  opacity: 0.4;
}

/* Glow button */
.btn-glow {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0,240,255,0.4);
  transition: all 0.2s;
}
.btn-glow:hover {
  box-shadow: 0 0 32px rgba(0,240,255,0.6), 0 0 16px rgba(255,0,229,0.4);
  transform: translateY(-2px);
}

/* Floating neon orbs background effect for hero areas */
.neon-hero {
  position: relative;
  overflow: hidden;
}
.neon-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0,240,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.neon-hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,0,229,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Clock status badges */
.clock-in-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(57,255,20,0.12);
  color: var(--neon-green);
  border: 1px solid rgba(57,255,20,0.25);
  box-shadow: 0 0 8px rgba(57,255,20,0.15);
}
.clock-out-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,71,87,0.12);
  color: var(--danger);
  border: 1px solid rgba(255,71,87,0.25);
}

/* Permission toggles */
.permission-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--dark-border);
}
.permission-row:last-child { border-bottom: none; }
.permission-info { flex: 1; }
.permission-label { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.permission-desc { font-size: 12px; color: var(--text-muted); }
.permission-select {
  padding: 6px 12px;
  background: var(--dark-input);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 12px;
  font-family: inherit;
  outline: none;
  min-width: 140px;
}
.permission-select:focus { border-color: var(--neon-cyan); }

/* Voice message bubble */
.voice-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
}
.voice-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  border: none;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0,240,255,0.3);
}
.voice-waveform {
  flex: 1;
  height: 24px;
  background: repeating-linear-gradient(90deg, rgba(0,240,255,0.3) 0px, rgba(0,240,255,0.3) 2px, transparent 2px, transparent 6px);
  border-radius: 4px;
}
.voice-duration {
  font-size: 12px;
  color: var(--text-muted);
}

/* Location message */
.location-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
}
.location-icon {
  font-size: 24px;
}
.location-info .location-title { font-weight: 600; font-size: 13px; }
.location-info .location-coords { font-size: 11px; color: var(--text-muted); }

/* Language selector */
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--dark-border);
  background: var(--dark-card);
  cursor: pointer;
  transition: border-color 0.2s;
  margin-bottom: 8px;
}
.lang-option:hover { border-color: rgba(0,240,255,0.3); }
.lang-option.selected { border-color: var(--neon-cyan); background: rgba(0,240,255,0.06); }
.lang-flag { font-size: 22px; }
.lang-name { font-size: 14px; font-weight: 600; }

/* Neon input with glow focus */
.form-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0,240,255,0.15);
}

/* ─── RECORDING INDICATOR ─────────────── */
@keyframes recordPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}
.recording-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
}
.recording-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
  animation: recordPulse 1s ease infinite;
  box-shadow: 0 0 10px rgba(255,71,87,0.6);
}

/* ─── INSTALL PROMPT ──────────────────── */
.install-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark-card);
  border: 1px solid rgba(0,240,255,0.3);
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 200;
  box-shadow: 0 0 30px rgba(0,240,255,0.15), 0 8px 32px rgba(0,0,0,0.5);
  max-width: 380px;
  width: calc(100% - 40px);
  animation: slideUp 0.4s ease;
}
@keyframes slideUp {
  from { transform: translateX(-50%) translateY(100px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}
.install-banner-icon { font-size: 32px; }
.install-banner-text .install-title { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.install-banner-text .install-subtitle { font-size: 12px; color: var(--text-muted); }
.install-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ─── CEO PAGE ────────────────────────── */
.ceo-hero {
  text-align: center;
  padding: 80px 24px 60px;
}
.ceo-avatar-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta), var(--neon-green));
  padding: 3px;
  box-shadow: 0 0 40px rgba(0,240,255,0.3), 0 0 80px rgba(255,0,229,0.15);
  animation: avatarGlow 3s ease-in-out infinite;
}
@keyframes avatarGlow {
  0%, 100% { box-shadow: 0 0 40px rgba(0,240,255,0.3), 0 0 80px rgba(255,0,229,0.15); }
  50% { box-shadow: 0 0 60px rgba(0,240,255,0.5), 0 0 100px rgba(255,0,229,0.3); }
}
.ceo-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  font-weight: 800;
  color: var(--neon-cyan);
  font-family: 'Syne', sans-serif;
}
.ceo-name {
  font-family: 'Syne', sans-serif;
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 16px rgba(0,240,255,0.3));
}
.ceo-tagline {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.ceo-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.ceo-stat {
  text-align: center;
}
.ceo-stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 12px rgba(0,240,255,0.5);
}
.ceo-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ceo-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}
.ceo-section-title {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-bottom: 16px;
  text-shadow: 0 0 8px rgba(0,240,255,0.3);
}
.ceo-section p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 24px;
}
.ceo-quote {
  background: rgba(0,240,255,0.05);
  border-left: 3px solid var(--neon-cyan);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  font-style: italic;
  font-size: 17px;
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(0,240,255,0.05);
}

/* ─── SETTINGS PAGE ───────────────────── */
.settings-section {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}
.settings-section-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}

/* ─── NEON SCROLLBAR ──────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: rgba(0,240,255,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,240,255,0.4); }

/* ─── NEON SELECTION ──────────────────── */
::selection { background: rgba(0,240,255,0.2); color: var(--text-primary); }

/* ─── STAFF DASHBOARD ENHANCEMENTS ──── */
.staff-member-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.staff-member-card:hover {
  border-color: rgba(0,240,255,0.25);
  box-shadow: 0 0 20px rgba(0,240,255,0.05);
}
.staff-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.staff-avatar-lg {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(0,240,255,0.25);
}
.staff-info-main { flex: 1; }
.staff-name-lg { font-size: 16px; font-weight: 700; }
.staff-role { font-size: 12px; color: var(--neon-cyan); margin-top: 2px; }
.staff-id-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(176,38,255,0.15);
  color: var(--neon-purple);
  border: 1px solid rgba(176,38,255,0.3);
  font-family: monospace;
}
.staff-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}
.staff-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.staff-actions-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--dark-border);
}

/* ─── MAP POPUP ───────────────────────── */
.map-popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.map-popup-inner {
  background: var(--dark-card);
  border: 1px solid rgba(0,240,255,0.3);
  border-radius: 20px;
  padding: 0;
  width: 100%;
  max-width: 600px;
  overflow: hidden;
}
.map-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--dark-border);
}
.map-frame {
  width: 100%;
  height: 350px;
  border: none;
}

