@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; background: #0a0a0a; color: #f0f0f0; min-height: 100vh; }
a { color: #f57c20; text-decoration: none; }
a:hover { color: #e06910; }

.layout { display: flex; min-height: 100vh; }
.sidebar { width: 220px; background: #111111; border-right: 1px solid #1e1e1e; display: flex; flex-direction: column; position: fixed; height: 100vh; }
.sidebar-logo { padding: 20px 16px; font-family: 'JetBrains Mono', monospace; font-size: 15px; font-weight: 700; color: #f0f0f0; }
.sidebar-logo .dot { color: #f57c20; }
.sidebar-nav { flex: 1; padding: 8px 0; }
.sidebar-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: #888888; font-size: 14px; font-weight: 500; transition: all 0.15s; }
.sidebar-nav a:hover, .sidebar-nav a.active { color: #f0f0f0; background: #1a1a1a; }
.sidebar-nav a.active { border-left: 2px solid #f57c20; }
.sidebar-footer { padding: 16px; border-top: 1px solid #1e1e1e; }
.sidebar-footer .email { font-size: 12px; color: #888888; overflow: hidden; text-overflow: ellipsis; }
.sidebar-footer .plan-badge { display: inline-block; padding: 2px 6px; border-radius: 2px; font-size: 10px; font-weight: 700; margin-top: 4px; }
.sidebar-footer .plan-badge.ACTIVE { background: #0d3320; color: #22c55e; }
.sidebar-footer .plan-badge.PAST_DUE { background: #3d1111; color: #ef4444; }
.sidebar-footer .plan-badge.CANCELED { background: #3d2200; color: #f57c20; }
.sidebar-footer .plan-badge.NONE { background: #1e1e1e; color: #888888; }
.sidebar-footer .logout { margin-top: 8px; cursor: pointer; color: #888888; font-size: 12px; background: none; border: none; }
.sidebar-footer .logout:hover { color: #f0f0f0; }

.main { margin-left: 220px; flex: 1; padding: 24px 32px; min-height: 100vh; }
.page-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.stat-card { background: #111111; border: 1px solid #1e1e1e; border-radius: 4px; padding: 16px; }
.stat-card .label { font-size: 11px; color: #888888; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.stat-card .value { font-size: 28px; font-weight: 700; margin-top: 4px; font-family: 'JetBrains Mono', monospace; }

.card { background: #111111; border: 1px solid #1e1e1e; border-radius: 4px; margin-bottom: 16px; }
.card-header { padding: 12px 16px; border-bottom: 1px solid #1e1e1e; display: flex; justify-content: space-between; align-items: center; }
.card-header h2 { font-size: 14px; font-weight: 600; }
.card-body { padding: 16px; }

table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 8px 12px; font-size: 11px; color: #888888; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; border-bottom: 1px solid #1e1e1e; }
td { padding: 8px 12px; border-bottom: 1px solid #0f0f0f; font-size: 13px; }
tr:hover { background: #151515; }

.badge { display: inline-block; padding: 2px 8px; border-radius: 2px; font-size: 11px; font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.badge.active { background: #0d3320; color: #22c55e; }
.badge.paused { background: #3d2200; color: #f57c20; }
.badge.LINKEDIN { background: #0c2d6b; color: #58a6ff; }
.badge.TWITTER { background: #0c2d3d; color: #1da1f2; }
.badge.GOOGLEMAPS { background: #1b3a2d; color: #34a853; }
.badge.GITHUB { background: #1e1e1e; color: #f0f0f0; }
.badge.YOUTUBE { background: #3d1111; color: #ff0000; }

.btn { padding: 6px 14px; border: 1px solid #1e1e1e; border-radius: 4px; background: #1a1a1a; color: #f0f0f0; cursor: pointer; font-size: 13px; font-family: 'DM Sans', sans-serif; font-weight: 500; transition: all 0.15s; }
.btn:hover { background: #252525; }
.btn.primary { background: #f57c20; border-color: #f57c20; color: #0a0a0a; font-weight: 600; }
.btn.primary:hover { background: #e06910; }
.btn.danger { background: #3d1111; border-color: #ef4444; color: #ef4444; }
.btn.danger:hover { background: #ef4444; color: #fff; }
.btn.sm { padding: 3px 8px; font-size: 11px; }

input, select, textarea { background: #0a0a0a; border: 1px solid #1e1e1e; border-radius: 4px; padding: 8px 12px; color: #f0f0f0; font-size: 14px; font-family: 'DM Sans', sans-serif; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #f57c20; box-shadow: 0 0 0 2px rgba(245,124,32,0.15); }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; color: #888888; margin-bottom: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 100; align-items: center; justify-content: center; }
.modal-overlay.show { display: flex; }
.modal { background: #111111; border: 1px solid #1e1e1e; border-radius: 4px; width: 500px; max-width: 90vw; max-height: 90vh; overflow-y: auto; }
.modal-header { padding: 16px; border-bottom: 1px solid #1e1e1e; display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { font-size: 16px; }
.modal-header .close { background: none; border: none; color: #888888; cursor: pointer; font-size: 20px; }
.modal-body { padding: 16px; }
.modal-footer { padding: 12px 16px; border-top: 1px solid #1e1e1e; display: flex; justify-content: flex-end; gap: 8px; }

.empty { padding: 40px; text-align: center; color: #888888; font-size: 13px; }
.log-entry { padding: 6px 12px; border-bottom: 1px solid #0f0f0f; font-family: 'JetBrains Mono', monospace; font-size: 11px; line-height: 1.6; }
.log-entry .time { color: #888888; }
.log-entry .ok { color: #22c55e; }
.log-entry .err { color: #ef4444; }
.toast { position: fixed; top: 20px; right: 20px; padding: 12px 20px; border-radius: 4px; font-size: 13px; z-index: 200; animation: fadeIn 0.2s; }
.toast.success { background: #0d3320; color: #22c55e; border: 1px solid #22c55e; }
.toast.error { background: #3d1111; color: #ef4444; border: 1px solid #ef4444; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.filter-bar { display: flex; gap: 8px; margin-bottom: 16px; align-items: center; flex-wrap: wrap; }
.filter-bar select, .filter-bar input { width: auto; min-width: 140px; }

.platform-tabs { display: flex; gap: 0; margin-bottom: 16px; border: 1px solid #1e1e1e; border-radius: 4px; overflow: hidden; }
.platform-tabs button { background: #111111; border: none; color: #888888; padding: 8px 16px; font-size: 13px; cursor: pointer; font-family: 'DM Sans', sans-serif; border-right: 1px solid #1e1e1e; }
.platform-tabs button:last-child { border-right: none; }
.platform-tabs button:hover { color: #f0f0f0; }
.platform-tabs button.active { background: #1a1a1a; color: #f57c20; }

.billing-banner { background: #3d1111; border: 1px solid #ef4444; border-radius: 4px; padding: 12px 16px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.billing-banner .text { color: #ef4444; font-size: 13px; }

.seat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.seat-card { background: #111111; border: 1px solid #1e1e1e; border-radius: 4px; padding: 16px; }
.seat-card .platform-icon { font-size: 20px; margin-bottom: 8px; }
.seat-card .identifier { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.seat-card .meta { font-size: 12px; color: #888888; margin-bottom: 12px; }
.seat-card .actions { display: flex; gap: 6px; }

.copy-box { background: #0a0a0a; border: 1px solid #f57c20; border-radius: 4px; padding: 12px; font-family: 'JetBrains Mono', monospace; font-size: 12px; word-break: break-all; position: relative; cursor: pointer; }
.copy-box:hover { background: #111111; }

.chart-bar { display: flex; align-items: flex-end; gap: 4px; height: 120px; padding: 0 8px; }
.chart-bar .bar { flex: 1; background: #f57c20; border-radius: 2px 2px 0 0; min-height: 2px; transition: height 0.3s; }
.chart-labels { display: flex; gap: 4px; padding: 4px 8px; }
.chart-labels span { flex: 1; text-align: center; font-size: 10px; color: #888888; }
