:root {
  --bg-color: #030712;
  --bg-glass: rgba(17, 24, 39, 0.65);
  --border-glass: rgba(255, 255, 255, 0.06);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  
  /* Brand gradients */
  --primary: #6366f1; /* Indigo */
  --primary-hover: #4f46e5;
  --accent: #a855f7;  /* Purple */
  --accent-cyan: #06b6d4; /* Cyan */
  --success: #10b981; /* Emerald */
  --error: #ef4444;   /* Red */
  --warn: #f59e0b;    /* Amber */

  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Background Glowing Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
  animation: orbFloat 25s infinite alternate ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  left: 20%;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  bottom: -150px;
  right: 15%;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-cyan);
  top: 40%;
  left: 5%;
  animation-delay: -12s;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(80px, 50px) scale(1.1);
  }
  100% {
    transform: translate(-40px, -80px) scale(0.9);
  }
}

/* App Container Layout */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar navigation */
.sidebar {
  width: 260px;
  background: rgba(10, 11, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-glass);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  padding-left: 10px;
}

.brand-logo {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.brand-name {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, #ffffff, #d8b4fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  padding-left: 20px;
}

.nav-item.active {
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.nav-icon {
  opacity: 0.8;
}

.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-indicator.online {
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

/* Main Content Area */
.main-content {
  flex-grow: 1;
  margin-left: 260px;
  padding: 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-header {
  margin-bottom: 35px;
}

h1 {
  font-family: var(--font-title);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.subtitle {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
}

/* Tab panels management */
.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.tab-panel.active {
  display: block;
}

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

/* Grid Layouts */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* Glassmorphic Card Styles */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), inset 0 1px 0px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0px 0 rgba(255, 255, 255, 0.02);
  margin-bottom: 24px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35), inset 0 1px 0px 0 rgba(255, 255, 255, 0.18);
}

h2 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Forms & Inputs */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

input[type="url"],
input[type="text"],
input[type="password"],
input[type="number"],
input[type="datetime-local"],
textarea {
  background: rgba(10, 11, 18, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255,255,255,0.02);
  color: white;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus, textarea:focus {
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(17, 24, 39, 0.8);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15), inset 0 2px 5px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

/* Modern iOS-style Toggle Switch */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  position: relative;
  cursor: pointer;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
  transition: background 0.3s, border-color 0.3s;
  flex-shrink: 0;
}

.checkbox-container input[type="checkbox"]::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.checkbox-container input[type="checkbox"]:checked {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-color: transparent;
}

.checkbox-container input[type="checkbox"]:checked::after {
  transform: translateX(20px);
}

.checkbox-container label {
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
  font-weight: 500;
  font-size: 15px;
}

/* Prefix Alias Input */
.alias-input-wrapper {
  display: flex;
  align-items: stretch;
}

.alias-input-wrapper .prefix {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-right: none;
  padding: 0 16px;
  border-radius: 12px 0 0 12px;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
}

.alias-input-wrapper input {
  flex-grow: 1;
  border-radius: 0 12px 12px 0;
}

.input-hint {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

/* Accordion Details */
.adv-options {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 10px 16px;
  transition: var(--transition);
}

.adv-options[open] {
  padding-bottom: 16px;
  border-color: rgba(255, 255, 255, 0.08);
}

.adv-options summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #a5b4fc;
  outline: none;
  user-select: none;
}

.adv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 15px;
}

@media (max-width: 600px) {
  .adv-grid { grid-template-columns: 1fr; }
}

/* Buttons */
.btn {
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-title);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.btn:hover::after {
  left: 150%;
  transition: left 0.6s ease;
}

.btn:active {
  transform: scale(0.95) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(139, 92, 246, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-cyan) 100%);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(168, 85, 247, 0.39), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px 0 rgba(168, 85, 247, 0.5), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-scan {
  background: linear-gradient(135deg, var(--success) 0%, var(--accent-cyan) 100%);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-scan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px 0 rgba(16, 185, 129, 0.5), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.btn-danger:hover {
  background: var(--error);
  color: white;
}

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

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Helpers */
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-column { flex-direction: column; }
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
}
.badge-success { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.badge-info { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; }

/* Empty States */
.empty-state {
  text-align: center;
  color: var(--text-muted);
  max-width: 280px;
}

.empty-state svg {
  margin-bottom: 16px;
  stroke: var(--text-muted);
  opacity: 0.5;
}

.empty-state h3 {
  color: var(--text-main);
  font-size: 16px;
  margin-bottom: 6px;
}

.empty-state p {
  font-size: 13px;
  line-height: 1.4;
}

/* Result panel styling */
.result-details {
  width: 100%;
  text-align: center;
  animation: fadeIn 0.4s ease-out;
}

.success-title {
  color: #34d399;
  font-size: 20px;
  margin-bottom: 15px;
}

.short-url-card {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 25px;
}

.short-url-card input {
  flex-grow: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: white;
  font-size: 14px;
}

.short-url-card .btn {
  border-radius: 0;
  flex-shrink: 0;
}

.qrcode-wrapper {
  background: white;
  padding: 20px;
  border-radius: 16px;
  display: inline-block;
  margin-bottom: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.qrcode-wrapper canvas {
  display: block;
  width: 160px;
  height: 160px;
  margin-bottom: 15px;
}

.nfc-preview-box {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 12px;
  padding: 16px;
  text-align: left;
}

.nfc-title {
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 8px;
}

/* File Manager & Drop Area */
.file-drop-area {
  border: 2px dashed rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.01);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.file-drop-area.dragover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.05);
}

.file-drop-area svg {
  color: var(--text-muted);
}

.highlight-text {
  color: #818cf8;
  font-weight: 500;
}

.file-limit {
  font-size: 12px;
  color: var(--text-muted);
}

.upload-config {
  width: 100%;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  animation: fadeIn 0.2s;
}

.inline-inputs {
  display: flex;
  gap: 12px;
}

.inline-inputs input {
  flex: 1;
}

/* Tables styling */
.table-wrapper {
  overflow-x: auto;
  margin-top: 10px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.data-table th, .data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table th {
  color: var(--text-muted);
  font-weight: 500;
}

.data-table td {
  color: var(--text-main);
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-table tr:hover {
  background: rgba(255, 255, 255, 0.01);
}

.actions-cell {
  display: flex;
  gap: 8px;
}

/* Targeting CSS panel rules */
.targeting-tabs {
  margin-top: 15px;
}

.tab-headers {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 20px;
  margin-bottom: 15px;
}

.t-tab {
  padding-bottom: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.t-tab.active {
  color: var(--text-main);
  font-weight: 500;
}

.t-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.targeting-panel {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.targeting-panel.active {
  display: flex;
}

.panel-info {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 6px;
}

.targeting-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.targeting-row input {
  flex-grow: 1;
}

.targeting-row select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  padding: 12px;
  border-radius: 12px;
  outline: none;
}

/* Pixel configurations grid */
.pixel-rules-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

/* Analytics Tab styling */
.stats-summary-row {
  margin-bottom: 24px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.stat-value {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.chart-container {
  position: relative;
  height: 300px;
  width: 100%;
}

.chart-container-sm {
  position: relative;
  height: 200px;
  width: 100%;
}

/* NFC settings styling */
.nfc-buttons-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}

.nfc-empty-state {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}

.nfc-compiled-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.select-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #e5e7eb;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.2s;
}

.select-input:focus {
  outline: none;
  border-color: var(--primary);
}

.select-input option {
  background: #1f2937;
  color: #e5e7eb;
}

.nfc-write-fields {
  animation: nfcFieldsIn 0.3s ease;
}

@keyframes nfcFieldsIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.nfc-ndef-preview {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 10px;
  padding: 12px;
  margin-top: 8px;
}

.nfc-stat-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
  font-size: 14px;
}

.hex-textarea {
  font-family: monospace;
  font-size: 12px;
  height: 100px;
  resize: none;
  background: rgba(0, 0, 0, 0.3) !important;
  color: #34d399 !important;
  border-color: rgba(52, 211, 153, 0.15) !important;
}

.webnfc-status {
  margin-top: 15px;
  font-size: 12px;
  color: var(--text-muted);
  border-left: 2px solid var(--primary);
  padding-left: 10px;
}

/* NFC Tag Full Result Card (like NFC Tools) */
.nfc-tag-result {
  margin-top: 16px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 14px;
  padding: 20px;
  animation: nfcSlideIn 0.4s ease;
}

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

.nfc-info-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nfc-info-row {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 12px;
}

.nfc-info-row:last-child {
  border-bottom: none;
}

.nfc-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.nfc-info-icon.blue { background: rgba(59, 130, 246, 0.15); }
.nfc-info-icon.green { background: rgba(16, 185, 129, 0.15); }
.nfc-info-icon.orange { background: rgba(245, 158, 11, 0.15); }
.nfc-info-icon.red { background: rgba(239, 68, 68, 0.15); }
.nfc-info-icon.purple { background: rgba(139, 92, 246, 0.15); }
.nfc-info-icon.cyan { background: rgba(6, 182, 212, 0.15); }

.nfc-info-text {
  flex: 1;
  min-width: 0;
}

.nfc-info-label {
  font-size: 13px;
  font-weight: 600;
  color: #e5e7eb;
  display: block;
}

.nfc-info-value {
  font-size: 12px;
  color: #9ca3af;
  display: block;
  margin-top: 2px;
  word-break: break-all;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
}

.nfc-record-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px;
  margin-top: 8px;
}

.nfc-record-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.nfc-record-badge {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.nfc-record-type {
  font-size: 12px;
  color: #9ca3af;
}

.nfc-record-url {
  font-size: 13px;
  color: #60a5fa;
  word-break: break-all;
  text-decoration: none;
  display: block;
  margin-top: 4px;
}

.nfc-record-url:hover {
  text-decoration: underline;
}

.nfc-hex-row {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 11px;
  color: #34d399;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px;
  border-radius: 6px;
  margin-top: 8px;
  word-break: break-all;
  line-height: 1.6;
}

/* Redirect inspector visual tree styling */
.scanner-meta-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 20px;
  margin-bottom: 20px;
  font-size: 14px;
}

.scanner-meta-row span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.redirect-flow-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 30px 0;
  position: relative;
}

.flow-node {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 20px;
  border-radius: 12px;
  max-width: 90%;
  width: 320px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.flow-node .status {
  position: absolute;
  top: -8px;
  right: 15px;
  font-size: 10px;
  font-weight: bold;
}

.flow-node .url {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.flow-node.start {
  border-color: rgba(99,102,241,0.3);
  background: rgba(99,102,241,0.05);
}

.flow-node.final {
  border-color: rgba(16,185,129,0.3);
  background: rgba(16,185,129,0.05);
}

.flow-node.error {
  border-color: rgba(239,68,68,0.3);
  background: rgba(239,68,68,0.05);
}

.flow-arrow {
  width: 2px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
}

.flow-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -3px;
  border-width: 4px 4px 0;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.15) transparent transparent;
}

/* Telegram bot layout styling */
.bot-status-container {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 25px;
}

.bot-status-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-indicator-large {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-indicator-large.online {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 2px solid var(--success);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.status-indicator-large.offline {
  background: rgba(239, 68, 68, 0.15);
  color: var(--error);
  border: 2px solid var(--error);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

.bot-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
}

.bot-steps code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

.bot-command-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.command-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 12px;
}

.command-item code {
  color: #818cf8;
  font-weight: bold;
  font-size: 15px;
  font-family: monospace;
}

.command-item p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Printable Layout Settings */
.printable-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  background: #ffffff;
  color: #000000;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  max-width: 320px;
  margin: 20px auto 0 auto;
}

.print-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.print-branding {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

#print-qr-code canvas {
  width: 180px !important;
  height: 180px !important;
  margin-bottom: 15px;
}

.print-url {
  font-family: monospace;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

.print-instruction {
  font-size: 11px;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d1d5db;
  padding: 6px 12px;
  border-radius: 20px;
}

/* Print CSS override */
@media print {
  body * {
    visibility: hidden;
  }
  #print-area, #print-area * {
    visibility: visible;
  }
  #print-area {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: none;
    padding: 0;
  }
}

/* URL Realtime Cleaner Preview */
.url-preview-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: fadeIn 0.2s ease-out;
}

.url-preview-box.warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.url-preview-box.hidden {
  display: none !important;
}

.preview-icon {
  font-size: 16px;
  line-height: 1;
}

#url-cleanup-text {
  line-height: 1.4;
  word-break: break-all;
}

#url-cleanup-text strong {
  color: white;
}

/* Mobile bottom navigation bar hidden by default */
.mobile-nav {
  display: none;
}

/* Responsive design adjustments for mobile screens */
@media (max-width: 768px) {
  .app-container {
    flex-direction: column;
  }

  .sidebar {
    display: none !important; /* Hide desktop sidebar */
  }

  .main-content {
    margin-left: 0 !important; /* Remove sidebar spacing */
    padding: 24px 16px 85px 16px !important; /* Bottom spacing for mobile nav */
  }

  .dashboard-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px !important;
  }
  
  .dashboard-stats .stat-badge {
    padding: 12px 10px;
    min-width: 0;
  }
  
  .dashboard-stats .stat-badge:nth-child(3) {
    grid-column: 1 / -1;
  }

  .content-header {
    display: none;
  }

  /* Sticky floating bottom navigation bar */
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    right: 12px;
    background: rgba(10, 11, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    height: 65px;
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  }


  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 10px;
    font-family: var(--font-body);
    transition: var(--transition);
    flex: 1;
    height: 100%;
  }

  .mobile-nav-item svg {
    stroke: var(--text-muted);
    transition: var(--transition);
  }

  .mobile-nav-item:hover, .mobile-nav-item.active {
    color: #818cf8;
  }

  .mobile-nav-item.active svg {
    stroke: #818cf8;
    transform: translateY(-2px);
  }

  /* Grid layout overrides for mobile */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
  }

  /* Make accordion full-width and inline inputs stack on mobile */
  .inline-inputs {
    flex-direction: column;
    gap: 12px;
  }

  .nfc-buttons-row {
    grid-template-columns: 1fr !important;
  }

  .nfc-buttons-row button {
    grid-column: span 1 !important;
  }

  /* Table Card layout for mobile screens */
  .table-wrapper table, 
  .table-wrapper thead, 
  .table-wrapper tbody, 
  .table-wrapper th, 
  .table-wrapper td, 
  .table-wrapper tr {
    display: block;
  }
  
  .table-wrapper thead {
    display: none !important; /* Hide headers */
  }
  
  .table-wrapper tr {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .close-modal-btn {
    position: absolute;
    right: 12px;
    top: 12px;
    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;
    color: var(--text-main) !important;
    font-size: 24px !important;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10;
  }
  .close-modal-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
  }
  .close-modal-btn:active {
    transform: scale(0.95);
  }
  
  .table-wrapper td {
    border: none !important;
    padding: 8px 0;
    position: relative;
    padding-left: 40% !important;
    text-align: right;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
  }
  
  .table-wrapper td:last-child {
    border-bottom: none !important;
    padding-top: 12px;
  }
  
  .table-wrapper td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 35%;
    text-align: left;
    font-weight: 600;
    color: var(--text-muted);
  }
  
  .table-wrapper td.actions-cell {
    padding-left: 0 !important;
    text-align: center;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
  }
  .table-wrapper td.actions-cell::before {
    display: none;
  }

  /* Mobile Touch Targets */
  .btn, .mobile-nav-item, .actions-cell button, .actions-cell a {
    min-height: 44px;
  }

  /* Bottom Sheets for Modals on Mobile */
  .modal-overlay {
    align-items: flex-end !important; /* Align bottom sheet */
  }
  
  .modal-content {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    border-radius: 24px 24px 0 0 !important;
    margin: 0 !important;
    padding: 24px 20px 40px 20px !important;
    transform: translateY(0);
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  
  @keyframes slideUp {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }
}

/* Modal Overlay styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: var(--transition);
}

.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-content {
  animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* --- UX Improvements --- */

/* 1. Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast {
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease forwards;
}

.toast-success {
  background: var(--success);
}

.toast-error {
  background: var(--error);
}

.toast-info {
  background: var(--primary);
}

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

/* 2. Better Focus States */
input:focus-visible, 
button:focus-visible, 
a:focus-visible, 
textarea:focus-visible, 
select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* 3. Smooth Page Transitions */
.tab-panel.active {
  animation: tabFadeIn 200ms ease forwards;
}

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

/* 4. Loading Button State */
.btn-loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}

.btn-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  margin-left: -8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* 5. Empty State Polish */
.empty-state svg {
  animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes pulseIcon {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(1); opacity: 0.5; }
}

/* 6. Copy Button Feedback */
.btn-copied {
  background: var(--success) !important;
  color: white !important;
  border-color: var(--success) !important;
}
.btn-copied::before {
  content: "✓ ";
}

/* 7. Scroll Behavior and Table Scrollbars */
html {
  scroll-behavior: smooth;
}

.table-wrapper::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

.table-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* 8. Better Hover on Table Rows */
.data-table tr {
  transition: background 0.2s ease;
}
.data-table tr:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

/* 9. Input placeholder animation (subtle glow on focus) */
input:focus, textarea:focus {
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* --- UX Improvements --- */

/* 1. Skeleton loading animation */
.skeleton {
  background: rgba(255, 255, 255, 0.06);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  background-repeat: no-repeat;
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* 2. Skeleton variants */
.skeleton-text {
  height: 14px;
  border-radius: 4px;
  width: 80%;
  margin-bottom: 10px;
}

.skeleton-text.short {
  width: 40%;
}

.skeleton-text.medium {
  width: 60%;
}

.skeleton-title {
  height: 20px;
  width: 50%;
  margin-bottom: 16px;
}

.skeleton-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.skeleton-badge {
  width: 60px;
  height: 24px;
  border-radius: 12px;
  display: inline-block;
}

.skeleton-row {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* 3. Spring button animation */
.btn {
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1), transform 0.1s ease;
}

.btn:active {
  transform: scale(0.95);
}

/* 4. Pulse dot animation */
.status-pulse {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success);
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

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

/* 5. Quick stats bar styling */
.quick-stats-bar {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.quick-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 80px;
}

.quick-stat-value {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
}

.quick-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 6. Counter animation */
.stat-value[data-animate] {
  transition: opacity 0.5s ease;
}

/* 7. Improved nav-item active state */
.nav-item.active {
  position: relative;
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 2px;
}

/* Custom Scrollbar (Hallmark Anti-slop) */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Text Selection */
::selection {
  background: rgba(99, 102, 241, 0.3);
  color: white;
}

 
 / *   - - -   " &/  3 :   H a l l m a r k   U I / U X   ( F l o a t i n g   L a b e l s   &   G l a s s   C h a r t s )   - - -   * / 
 
 / *   1 .   G l a s s m o r p h i c   C h a r t s   C o n t a i n e r   * / 
 . c h a r t - c o n t a i n e r - g l a s s   { 
     b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 2 ) ; 
     b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 5 ) ; 
     b o r d e r - r a d i u s :   1 6 p x ; 
     p a d d i n g :   2 0 p x ; 
     b o x - s h a d o w :   i n s e t   0   1 p x   0   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 8 ) ,   0   4 p x   2 0 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 2 ) ; 
     t r a n s i t i o n :   t r a n s f o r m   0 . 3 s   e a s e ,   b o x - s h a d o w   0 . 3 s   e a s e ; 
 } 
 
 . c h a r t - c o n t a i n e r - g l a s s : h o v e r   { 
     t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ; 
     b o x - s h a d o w :   i n s e t   0   1 p x   0   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 2 ) ,   0   8 p x   3 0 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 3 ) ; 
 } 
 
 / *   2 .   F l o a t i n g   L a b e l s   f o r   m a i n   i n p u t s   * / 
 . f l o a t i n g - i n p u t - g r o u p   { 
     p o s i t i o n :   r e l a t i v e ; 
     m a r g i n - b o t t o m :   2 0 p x ; 
 } 
 
 . f l o a t i n g - i n p u t - g r o u p   i n p u t   { 
     p a d d i n g :   2 4 p x   1 6 p x   8 p x   1 6 p x ;   / *   E x t r a   p a d d i n g   t o p   f o r   l a b e l   * / 
     h e i g h t :   6 0 p x ; 
 } 
 
 . f l o a t i n g - i n p u t - g r o u p   l a b e l   { 
     p o s i t i o n :   a b s o l u t e ; 
     t o p :   5 0 % ; 
     l e f t :   1 6 p x ; 
     t r a n s f o r m :   t r a n s l a t e Y ( - 5 0 % ) ; 
     c o l o r :   v a r ( - - t e x t - m u t e d ) ; 
     f o n t - s i z e :   1 4 p x ; 
     p o i n t e r - e v e n t s :   n o n e ; 
     t r a n s i t i o n :   a l l   0 . 2 s   c u b i c - b e z i e r ( 0 . 4 ,   0 ,   0 . 2 ,   1 ) ; 
     f o n t - w e i g h t :   5 0 0 ; 
 } 
 
 . f l o a t i n g - i n p u t - g r o u p   i n p u t : f o c u s   ~   l a b e l , 
 . f l o a t i n g - i n p u t - g r o u p   i n p u t : n o t ( : p l a c e h o l d e r - s h o w n )   ~   l a b e l   { 
     t o p :   1 6 p x ; 
     f o n t - s i z e :   1 1 p x ; 
     c o l o r :   v a r ( - - p r i m a r y ) ; 
     t e x t - t r a n s f o r m :   u p p e r c a s e ; 
     l e t t e r - s p a c i n g :   0 . 0 5 e m ; 
     f o n t - w e i g h t :   7 0 0 ; 
 } 
 
 . f l o a t i n g - i n p u t - g r o u p   i n p u t : f o c u s   { 
     b o r d e r - c o l o r :   v a r ( - - p r i m a r y ) ; 
     b o x - s h a d o w :   0   0   0   3 p x   r g b a ( 1 3 9 ,   9 2 ,   2 4 6 ,   0 . 2 ) ,   i n s e t   0   0   1 0 p x   r g b a ( 1 3 9 ,   9 2 ,   2 4 6 ,   0 . 1 ) ; 
 } 
 
 / *   3 .   G r a d i e n t   T e x t   f o r   L o g o   /   H i g h l i g h t s   * / 
 . g r a d i e n t - t e x t   { 
     b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 9 0 d e g ,   # a 8 5 5 f 7 ,   # e c 4 8 9 9 ,   # 8 b 5 c f 6 ,   # a 8 5 5 f 7 ) ; 
     b a c k g r o u n d - s i z e :   2 0 0 %   a u t o ; 
     c o l o r :   t r a n s p a r e n t ; 
     - w e b k i t - b a c k g r o u n d - c l i p :   t e x t ; 
     b a c k g r o u n d - c l i p :   t e x t ; 
     a n i m a t i o n :   s h i n e   4 s   l i n e a r   i n f i n i t e ; 
     d i s p l a y :   i n l i n e - b l o c k ; 
 } 
 
 @ k e y f r a m e s   s h i n e   { 
     t o   {   b a c k g r o u n d - p o s i t i o n :   2 0 0 %   c e n t e r ;   } 
 } 
 
 / *   4 .   E n h a n c e d   A c c o r d i o n   ( A d v a n c e d   S e t t i n g s )   * / 
 . c o l l a p s i b l e - h e a d e r   { 
     d i s p l a y :   f l e x ; 
     j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ; 
     a l i g n - i t e m s :   c e n t e r ; 
     p a d d i n g :   1 5 p x   2 0 p x ; 
     b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 3 ) ; 
     b o r d e r - r a d i u s :   1 2 p x ; 
     c u r s o r :   p o i n t e r ; 
     t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
     b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 5 ) ; 
     u s e r - s e l e c t :   n o n e ; 
 } 
 
 . c o l l a p s i b l e - h e a d e r : h o v e r   { 
     b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 6 ) ; 
     b o r d e r - c o l o r :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ; 
 } 
 
 . c o l l a p s i b l e - h e a d e r   . c h e v r o n   { 
     t r a n s i t i o n :   t r a n s f o r m   0 . 3 s   e a s e ; 
 } 
 
 . c o l l a p s i b l e - h e a d e r . a c t i v e   . c h e v r o n   { 
     t r a n s f o r m :   r o t a t e ( 1 8 0 d e g ) ; 
 } 
 
 . c o l l a p s i b l e - c o n t e n t   { 
     m a x - h e i g h t :   0 ; 
     o v e r f l o w :   h i d d e n ; 
     t r a n s i t i o n :   m a x - h e i g h t   0 . 4 s   c u b i c - b e z i e r ( 0 ,   1 ,   0 ,   1 ) ,   o p a c i t y   0 . 3 s   e a s e ; 
     o p a c i t y :   0 ; 
 } 
 
 . c o l l a p s i b l e - c o n t e n t . e x p a n d e d   { 
     m a x - h e i g h t :   2 0 0 0 p x ; 
     o p a c i t y :   1 ; 
     t r a n s i t i o n :   m a x - h e i g h t   0 . 6 s   e a s e - i n - o u t ,   o p a c i t y   0 . 4 s   e a s e   0 . 1 s ; 
 } 
 
 / *   5 .   S t i c k y   B l u r r y   T a b l e   H e a d e r s   * / 
 . t a b l e - c o n t a i n e r   t h   { 
     p o s i t i o n :   s t i c k y ; 
     t o p :   0 ; 
     b a c k g r o u n d :   r g b a ( 2 5 ,   2 5 ,   2 5 ,   0 . 7 5 )   ! i m p o r t a n t ; 
     b a c k d r o p - f i l t e r :   b l u r ( 1 2 p x ) ; 
     - w e b k i t - b a c k d r o p - f i l t e r :   b l u r ( 1 2 p x ) ; 
     z - i n d e x :   1 0 ; 
     b o r d e r - b o t t o m :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ; 
     b o x - s h a d o w :   0   4 p x   1 0 p x   r g b a ( 0 , 0 , 0 , 0 . 1 ) ; 
 } 
  
 