@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #6c47ff;
  --primary-dark: #5035d4;
  --primary-light: #8b6fff;
  --accent: #ff6b6b;
  --accent2: #ffd93d;
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #1a1a24;
  --card: #16161f;
  --card2: #1e1e2a;
  --border: #2a2a3a;
  --border2: #35354a;
  --text: #f0f0f8;
  --text2: #9090aa;
  --text3: #5555aa;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(108,71,255,0.12);
  --shadow-lg: 0 8px 48px rgba(108,71,255,0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: rgba(108,71,255,0.4); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; height: 64px; background: rgba(10,10,15,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.navbar .logo { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.5px; background: linear-gradient(135deg,#fff 0%,var(--primary-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: flex; align-items: center; gap: 8px; }
.navbar .logo svg { width: 28px; height: 28px; flex-shrink: 0; }
.navbar-links { display: flex; gap: 8px; align-items: center; }
.navbar-links a { padding: 7px 16px; border-radius: 8px; font-size: 0.88rem; font-weight: 500; color: var(--text2); transition: all 0.2s; }
.navbar-links a:hover { color: var(--text); background: var(--bg3); }
.navbar-links .btn-nav { background: var(--primary); color: #fff; padding: 7px 18px; }
.navbar-links .btn-nav:hover { background: var(--primary-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 12px 24px; border-radius: 10px; font-size: 0.95rem; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; outline: none; white-space: nowrap; font-family: inherit; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 20px rgba(108,71,255,0.4); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: var(--card2); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary-light); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-success { background: var(--success); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; border-radius: 7px; }
.btn-lg { padding: 15px 32px; font-size: 1rem; border-radius: 12px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 100px 40px 60px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 80% 60% at 50% 0%,rgba(108,71,255,0.18) 0%,transparent 70%), radial-gradient(ellipse 60% 50% at 20% 80%,rgba(255,107,107,0.08) 0%,transparent 60%); }
.hero-grid { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(255,255,255,0.025) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,0.025) 1px,transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 80% at 50% 0%,black 40%,transparent 100%); }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(108,71,255,0.15); border: 1px solid rgba(108,71,255,0.3); padding: 5px 14px; border-radius: 100px; font-size: 0.8rem; font-weight: 500; color: var(--primary-light); margin-bottom: 28px; }
.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); display: block; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }
.hero h1 { font-size: clamp(2.5rem,6vw,4.5rem); font-weight: 900; line-height: 1.08; letter-spacing: -2px; margin-bottom: 24px; }
.hero h1 .grad { background: linear-gradient(135deg,var(--primary-light) 0%,#ff6b6b 50%,var(--accent2) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.15rem; color: var(--text2); max-width: 520px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.hero-stat .num { font-size: 1.6rem; font-weight: 800; }
.hero-stat .lbl { font-size: 0.8rem; color: var(--text2); margin-top: 2px; }

/* Create Section */
.create-section { padding: 80px 40px; background: var(--bg2); position: relative; }
.create-section::before { content:''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent,var(--primary),transparent); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }
.section-header p { color: var(--text2); }
.create-box { max-width: 700px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.create-box::before { content:''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,var(--primary),#ff6b6b,var(--accent2)); }

/* Form */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text2); margin-bottom: 8px; letter-spacing: 0.3px; }
.form-label span.req { color: var(--accent); }
.form-input, .form-textarea, .form-select { width: 100%; padding: 12px 16px; background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 0.95rem; font-family: inherit; transition: all 0.2s; outline: none; }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108,71,255,0.15); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text3); }
.form-textarea { resize: vertical; min-height: 90px; }
.form-select option { background: var(--bg3); }
.input-group { display: flex; }
.input-group .prefix { padding: 12px 14px; background: var(--bg3); border: 1px solid var(--border); border-right: none; border-radius: 10px 0 0 10px; color: var(--text3); font-size: 0.9rem; white-space: nowrap; display: flex; align-items: center; }
.input-group .form-input { border-radius: 0 10px 10px 0; }

/* Upload zone */
.upload-zone { border: 2px dashed var(--border2); border-radius: 14px; padding: 36px 20px; text-align: center; cursor: pointer; transition: all 0.2s; position: relative; background: var(--bg3); }
.upload-zone:hover,.upload-zone.drag-over { border-color: var(--primary); background: rgba(108,71,255,0.07); }
.upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload-icon { font-size: 2.5rem; margin-bottom: 12px; }
.upload-zone h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.upload-zone p { font-size: 0.82rem; color: var(--text2); }
.upload-preview { display: none; margin-top: 16px; position: relative; }
.upload-preview img { max-height: 200px; border-radius: 10px; margin: 0 auto; object-fit: cover; }
.remove-img { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.7); border: none; color: #fff; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.progress-bar-wrap { margin-top: 10px; display: none; }
.progress-bar { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg,var(--primary),#ff6b6b); border-radius: 2px; transition: width 0.3s; width: 0%; }

/* Result box */
.result-box { display: none; margin-top: 28px; background: rgba(108,71,255,0.1); border: 1px solid rgba(108,71,255,0.3); border-radius: 14px; padding: 24px; }
.result-box h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: var(--primary-light); }
.result-link-row { display: flex; gap: 8px; margin-bottom: 12px; }
.result-link-row input { flex: 1; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; color: var(--text); font-size: 0.9rem; outline: none; }
.result-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Features */
.features-section { padding: 80px 40px; }
.features-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 20px; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: all 0.3s; }
.feature-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(108,71,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 18px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; color: var(--text2); line-height: 1.65; }

/* Analytics */
.page-hero { padding: 100px 40px 50px; background: var(--bg2); border-bottom: 1px solid var(--border); text-align: center; }
.page-hero h1 { font-size: 2.5rem; font-weight: 900; letter-spacing: -1px; margin-bottom: 12px; }
.page-hero p { color: var(--text2); font-size: 1rem; margin-bottom: 28px; }
.search-row { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; }
.search-row .form-input { flex: 1; font-size: 1rem; padding: 14px 18px; }

.stats-container { padding: 40px; max-width: 1200px; margin: 0 auto; }
.stats-overview { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.stat-card .slbl { font-size: 0.78rem; color: var(--text2); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.stat-card .sval { font-size: 2rem; font-weight: 800; }
.stat-card.hl { border-color: rgba(108,71,255,0.4); background: rgba(108,71,255,0.08); }
.stat-card.hl .sval { color: var(--primary-light); }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.chart-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.chart-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 18px; }

/* Daily bar chart */
.daily-chart { display: flex; align-items: flex-end; gap: 4px; height: 100px; }
.day-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.day-bar { width: 100%; background: var(--primary); border-radius: 4px 4px 0 0; min-height: 3px; cursor: pointer; position: relative; transition: background 0.2s; }
.day-bar:hover { background: var(--primary-light); }
.bar-tip { display: none; position: absolute; bottom: calc(100%+6px); left: 50%; transform: translateX(-50%); background: var(--card2); border: 1px solid var(--border2); border-radius: 6px; padding: 4px 8px; font-size: 0.76rem; white-space: nowrap; z-index: 10; }
.day-bar:hover .bar-tip { display: block; }
.day-lbl { font-size: 0.6rem; color: var(--text3); }

/* Device/geo bars */
.bar-list { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: flex; align-items: center; gap: 10px; }
.bar-icon { font-size: 1rem; width: 24px; text-align: center; flex-shrink: 0; }
.bar-label { font-size: 0.82rem; color: var(--text2); min-width: 70px; }
.bar-track { flex: 1; height: 7px; background: var(--border); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg,var(--primary),var(--primary-light)); transition: width 0.5s; }
.bar-pct { font-size: 0.78rem; font-weight: 600; min-width: 36px; text-align: right; }

/* Geo table */
.geo-table { width: 100%; border-collapse: collapse; }
.geo-table th { font-size: 0.75rem; color: var(--text2); font-weight: 600; text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: 0.4px; }
.geo-table td { padding: 9px 10px; font-size: 0.86rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.geo-table tr:last-child td { border-bottom: none; }
.geo-share-bar { height: 5px; border-radius: 3px; background: var(--primary); display: inline-block; vertical-align: middle; }

/* Link preview card */
.link-preview-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; margin-bottom: 24px; }
.link-preview-card img { width: 160px; flex-shrink: 0; object-fit: cover; }
.link-preview-info { padding: 20px 24px; flex: 1; }
.link-preview-info h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.link-preview-info .desc { font-size: 0.88rem; color: var(--text2); margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 5px; background: var(--bg3); border: 1px solid var(--border); border-radius: 100px; padding: 4px 12px; font-size: 0.76rem; color: var(--text2); }
.chip.green { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.3); color: var(--success); }
.chip.yellow { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.3); color: var(--warning); }

/* Recent clicks table */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { font-size: 0.75rem; color: var(--text2); font-weight: 600; text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: 0.4px; background: var(--bg2); }
.data-table td { padding: 11px 14px; font-size: 0.86rem; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

/* Admin */
.admin-page { min-height: 100vh; }
.admin-sidebar { width: 220px; background: var(--bg2); border-right: 1px solid var(--border); position: fixed; top: 0; left: 0; bottom: 0; z-index: 50; display: flex; flex-direction: column; padding: 20px 0; }
.admin-sidebar .s-logo { padding: 0 18px; margin-bottom: 24px; font-size: 1.05rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 18px; font-size: 0.86rem; color: var(--text2); transition: all 0.15s; }
.admin-nav a:hover,.admin-nav a.active { color: var(--text); background: rgba(108,71,255,0.1); border-right: 2px solid var(--primary); }
.admin-nav a .icon { font-size: 1rem; width: 20px; text-align: center; }
.admin-nav .sep { height: 1px; background: var(--border); margin: 8px 18px; }
.admin-main { margin-left: 220px; padding: 32px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-topbar h1 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: 14px; margin-bottom: 24px; }

/* Toggle */
.toggle-wrap { display: flex; align-items: center; gap: 10px; }
.toggle { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; cursor: pointer; background: var(--border2); border-radius: 26px; transition: background 0.3s; }
.toggle-slider:before { content:''; position: absolute; width: 20px; height: 20px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: transform 0.3s; }
.toggle input:checked + .toggle-slider { background: var(--primary); }
.toggle input:checked + .toggle-slider:before { transform: translateX(20px); }

/* Badge */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 100px; font-size: 0.73rem; font-weight: 600; }
.badge-green { background: rgba(34,197,94,0.15); color: var(--success); }
.badge-yellow { background: rgba(245,158,11,0.15); color: var(--warning); }
.badge-red { background: rgba(239,68,68,0.15); color: var(--danger); }
.badge-blue { background: rgba(108,71,255,0.15); color: var(--primary-light); }

/* Links table wrap */
.table-wrap { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-bottom: 20px; }
.table-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); gap: 12px; flex-wrap: wrap; }
.table-header h3 { font-size: 1rem; font-weight: 700; }
.table-search input { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 7px 12px; color: var(--text); font-size: 0.84rem; outline: none; width: 220px; font-family: inherit; }
.thumb-sm { width: 48px; height: 36px; object-fit: cover; border-radius: 6px; }

/* Pagination */
.pagination { display: flex; gap: 5px; justify-content: center; padding: 16px; }
.page-btn { width: 32px; height: 32px; border-radius: 7px; border: 1px solid var(--border); background: var(--card2); color: var(--text2); font-size: 0.83rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; font-family: inherit; }
.page-btn:hover,.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.72); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.25s; padding: 20px; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 32px; width: 100%; max-width: 480px; transform: scale(0.95); transition: transform 0.25s; }
.modal-overlay.open .modal { transform: scale(1); }
.modal h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.modal p { font-size: 0.88rem; color: var(--text2); margin-bottom: 20px; }
.modal-footer { display: flex; gap: 8px; justify-content: flex-end; margin-top: 22px; }

/* Login */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); background-image: radial-gradient(ellipse 80% 60% at 50% 0%,rgba(108,71,255,0.15) 0%,transparent 70%); }
.login-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 40px; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); }

/* Toast */
.toast { position: fixed; top: 76px; right: 22px; z-index: 9999; background: var(--card2); border: 1px solid var(--border2); border-radius: 12px; padding: 13px 18px; font-size: 0.87rem; box-shadow: var(--shadow-lg); transform: translateX(120%); transition: transform 0.3s; display: flex; align-items: center; gap: 10px; max-width: 300px; }
.toast.show { transform: translateX(0); }
.toast.success { border-color: rgba(34,197,94,0.35); }
.toast.error { border-color: rgba(239,68,68,0.35); }

/* Copied toast */
.copied-toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(10px); background: var(--success); color: #fff; padding: 10px 24px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; z-index: 9999; opacity: 0; transition: all 0.3s; pointer-events: none; }
.copied-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Spinner */
.spinner { display: inline-block; width: 17px; height: 17px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Master link card */
.master-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 26px; margin-bottom: 22px; }
.master-card h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.master-card .sub { font-size: 0.86rem; color: var(--text2); margin-bottom: 18px; line-height: 1.6; }

/* Alert banner */
.alert { border-radius: 12px; padding: 14px 20px; display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 0.88rem; }
.alert-warning { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3); }
.alert-success { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); }
.alert-danger { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); }

/* Footer */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 36px 40px; text-align: center; color: var(--text3); font-size: 0.85rem; }
footer a { color: var(--text2); }
footer a:hover { color: var(--primary-light); }

/* Responsive */
@media(max-width:900px) {
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; padding: 20px; }
  .stats-grid { grid-template-columns: 1fr; }
  .link-preview-card { flex-direction: column; }
  .link-preview-card img { width: 100%; height: 180px; }
}
@media(max-width:640px) {
  .navbar { padding: 0 16px; }
  .hero { padding: 80px 20px 40px; }
  .create-section,.features-section { padding: 50px 20px; }
  .create-box { padding: 22px; }
  .page-hero { padding: 80px 20px 40px; }
  .stats-container { padding: 24px 16px; }
}

/* Utilities */
.flex { display: flex; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.78rem; }
.text-muted { color: var(--text2); }
.text-primary { color: var(--primary-light); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hidden { display: none !important; }
code { background: var(--bg3); padding: 2px 7px; border-radius: 5px; font-size: 0.88em; }
