/* ==========================================================================
   AUTOMATECH HUB — DESIGN SYSTEM & STYLES (PRO THEME)
   ========================================================================== */

:root {
  --bg-main: #070a12;
  --bg-card: #0d121f;
  --bg-card-sub: #131b2e;
  --bg-card-hover: #19233c;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-glow: rgba(16, 185, 129, 0.3);
  
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-glow: rgba(16, 185, 129, 0.25);
  
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #64748b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.15);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* App Layout */
.app-layout {
  max-width: 1380px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

/* Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(13, 18, 31, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  padding: 18px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 24px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.brand-info h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.3px;
}

.badge-pro {
  font-size: 11px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
}

.brand-info p {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #34d399;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn-top-link {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-top-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Nav Tabs */
.nav-tabs-container {
  margin-bottom: 28px;
}

.nav-tabs {
  display: flex;
  gap: 10px;
  background: rgba(13, 18, 31, 0.5);
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  width: fit-content;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.nav-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.nav-tab.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tab-counter {
  background: rgba(16, 185, 129, 0.25);
  color: #a7f3d0;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
}

/* Tab Views */
.tab-view {
  display: none;
}

.tab-view.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Wizard Container */
.wizard-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stepper-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card-sub);
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}

.step-item.active .step-circle {
  background: #10b981;
  border-color: #34d399;
  color: #042f1a;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
}

.step-item.completed .step-circle {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #34d399;
}

.step-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  transition: var(--transition);
}

.step-item.active .step-label {
  color: var(--text-main);
  font-weight: 600;
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border-color);
  margin: 0 16px 20px;
  transition: var(--transition);
}

.step-line.active {
  background: #10b981;
}

/* Wizard Card */
.wizard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.wizard-step-content {
  display: none;
}

.wizard-step-content.active {
  display: block;
}

.step-header {
  margin-bottom: 30px;
}

.step-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
}

.step-header p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

/* Form Controls */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.req {
  color: var(--accent-rose);
}

.form-control {
  background: var(--bg-card-sub);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.input-hint {
  font-size: 11px;
  color: var(--text-sub);
}

/* Niche Selector Cards */
.niche-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.niche-card {
  background: var(--bg-card-sub);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
  position: relative;
}

.niche-card input[type="radio"] {
  position: absolute;
  top: 14px;
  right: 14px;
  accent-color: #10b981;
}

.niche-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(16, 185, 129, 0.3);
}

.niche-card.active {
  background: rgba(16, 185, 129, 0.08);
  border-color: #10b981;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.15);
}

.niche-icon {
  font-size: 26px;
}

.niche-title {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.niche-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.btn-secondary {
  background: var(--bg-card-sub);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--bg-card-hover);
  color: var(--text-main);
}

.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.btn-outline:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
}

.btn-ai-sparkle {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
  padding: 14px 20px;
}

.btn-ai-sparkle:hover {
  background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.btn-launch-giant {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  padding: 18px 30px;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.45);
}

.btn-launch-giant:hover {
  background: linear-gradient(135deg, #34d399 0%, #0ea5e9 100%);
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.6);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
}

.full-width {
  width: 100%;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

/* Prompt Builder Grid */
.prompt-builder-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
}

.prompt-inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prompt-preview-container {
  display: flex;
  flex-direction: column;
  background: var(--bg-card-sub);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.btn-copy-mini {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-main);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
}

.btn-copy-mini:hover {
  background: rgba(255, 255, 255, 0.15);
}

.prompt-editor {
  flex: 1;
  min-height: 380px;
  background: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 14px;
  color: #e2e8f0;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 12px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
}

.prompt-editor:focus {
  border-color: #8b5cf6;
}

.prompt-footer-hint {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 10px;
}

/* Step 3 Grid */
.step3-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
}

.qr-connection-box {
  background: var(--bg-card-sub);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.qr-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qr-box-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.qr-box-header h3 {
  font-size: 16px;
  font-weight: 700;
}

.qr-box-header p {
  font-size: 12px;
  color: var(--text-sub);
}

.input-with-button {
  display: flex;
  gap: 10px;
}

.qr-display-frame {
  background: #090e1a;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
}

.qr-placeholder {
  color: var(--text-sub);
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-icon-large {
  font-size: 42px;
  opacity: 0.5;
}

.qr-image {
  max-width: 240px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  background: #ffffff;
  padding: 10px;
}

.qr-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(16, 185, 129, 0.2);
  border-top-color: #10b981;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.connection-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.connection-status-pill.open {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.conn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-sub);
}

.connection-status-pill.open .conn-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* Summary Box */
.summary-and-launch-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card-sub);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.summary-and-launch-box h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 8px;
}

.summary-label {
  color: var(--text-muted);
}

.summary-val {
  color: var(--text-main);
}

.badge-tag {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.launch-card-cta {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 20px;
}

.launch-card-cta p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.launch-check-list {
  list-style: none;
  font-size: 12px;
  color: #cbd5e1;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Tab 2: Clients Grid */
.view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.view-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.view-header p {
  color: var(--text-muted);
  font-size: 13px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 20px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-subtle);
}

.client-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: var(--shadow-glow);
}

.client-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.client-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.client-card-niche {
  font-size: 12px;
  color: var(--text-sub);
}

.client-card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-card-sub);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.client-card-meta-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.client-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.client-card-actions .btn {
  flex: 1;
  font-size: 12px;
  padding: 10px 14px;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-success {
  text-align: center;
}

.modal-success-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.modal-success h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-success p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.success-details-card {
  background: var(--bg-card-sub);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.success-item label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}

.copy-field {
  display: flex;
  gap: 8px;
}

.copy-field input {
  flex: 1;
  background: #090e1a;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 8px 12px;
  color: #34d399;
  font-family: monospace;
  font-size: 12px;
}

.copy-field button,
.copy-field a {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.copy-field button:hover,
.copy-field a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.success-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid #10b981;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 14px 20px;
  border-radius: 10px;
  color: var(--text-main);
  font-size: 13px;
  min-width: 300px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 992px) {
  .prompt-builder-grid,
  .step3-grid {
    grid-template-columns: 1fr;
  }
  .niche-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .app-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .niche-cards-grid {
    grid-template-columns: 1fr;
  }
  .wizard-card {
    padding: 24px 18px;
  }
}

/* ==========================================================
   CYBER BRANDING & LOGIN OVERLAY (AUTOMATECH PRO)
   ========================================================== */
.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.5));
}

.user-badge-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-main);
  font-weight: 600;
}
.user-dot {
  width: 8px;
  height: 8px;
  background: #00d2ff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00d2ff;
}
.btn-logout-header {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s;
  margin-left: 4px;
}
.btn-logout-header:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

/* Central Login Overlay */
.central-login-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(10, 25, 47, 0.96) 0%, rgba(4, 7, 13, 0.99) 100%);
  backdrop-filter: blur(18px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.central-login-box {
  background: rgba(13, 20, 36, 0.94);
  border: 1px solid rgba(0, 210, 255, 0.35);
  box-shadow: 0 0 60px rgba(0, 210, 255, 0.2), 0 25px 60px rgba(0, 0, 0, 0.85);
  border-radius: 24px;
  padding: 42px;
  width: 440px;
  max-width: 100%;
  text-align: center;
  animation: cyberModalZoom 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cyberModalZoom {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.login-cyber-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.7));
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.central-login-box h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.cyber-badge {
  display: inline-block;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.4);
  color: #00d2ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  margin: 10px 0 14px;
}

.central-login-box p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.btn-cyber-submit {
  background: linear-gradient(135deg, #00d2ff 0%, #0070f3 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.4);
  margin-top: 14px;
}

.btn-cyber-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 210, 255, 0.7);
}

.login-foot-meta {
  margin-top: 22px;
  font-size: 12px;
  color: var(--text-sub);
}
