/* Clipboard Inspector — Slate Blue */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #3B82F6;
  --primary-dim: rgba(59,130,246,0.12);
  --accent: #10B981;
  --accent-dim: rgba(16,185,129,0.12);
  --bg: #0F172A;
  --bg-card: #1E293B;
  --border: rgba(59,130,246,0.10);
  --text: #E2E8F0;
  --text-dim: #94A3B8;
  --text-muted: #475569;
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --transition: 0.2s ease;
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--text); min-height: 100vh; line-height: 1.6; }

.header { border-bottom: 1px solid var(--border); background: rgba(30,41,59,0.95); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 10; }
.header-inner { max-width: 700px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; }
.header-left { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 1.2rem; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--primary-dim); border-radius: var(--radius-sm); }
.header h1 { font-size: 1.05rem; font-weight: 700; }
.subtitle { font-size: 0.72rem; color: var(--text-dim); }

.main { max-width: 700px; margin: 0 auto; padding: 20px; }

.action-bar { text-align: center; margin-bottom: 12px; }
.btn { padding: 10px 20px; font-family: var(--font); font-size: 0.82rem; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; transition: all var(--transition); }
.btn-lg { padding: 12px 28px; font-size: 0.9rem; }
.btn-primary { background: linear-gradient(135deg, var(--primary), #2563EB); color: #fff; }
.btn-primary:hover { box-shadow: 0 4px 16px rgba(59,130,246,0.3); }
.hint { display: block; margin-top: 6px; font-size: 0.72rem; color: var(--text-muted); }
kbd { padding: 2px 6px; font-family: var(--mono); font-size: 0.68rem; background: rgba(59,130,246,0.08); border: 1px solid var(--border); border-radius: 4px; }

.drop-zone { padding: 20px; text-align: center; border: 2px dashed rgba(59,130,246,0.15); border-radius: var(--radius); margin-bottom: 16px; cursor: pointer; transition: all var(--transition); }
.drop-zone:hover, .drop-zone.drag-over { border-color: var(--primary); background: rgba(59,130,246,0.04); }
.drop-zone p { font-size: 0.78rem; color: var(--text-muted); }

.results { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.panel-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; border-bottom: 1px solid var(--border); }
.panel-label { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.mime-count { font-size: 0.68rem; font-weight: 600; color: var(--primary); background: var(--primary-dim); padding: 2px 8px; border-radius: 10px; }

.entries { padding: 0; }
.entry { border-bottom: 1px solid rgba(59,130,246,0.06); }
.entry:last-child { border-bottom: none; }
.entry-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; cursor: pointer; }
.entry-header:hover { background: rgba(59,130,246,0.04); }
.mime-type { font-family: var(--mono); font-size: 0.75rem; color: var(--accent); }
.entry-size { font-size: 0.62rem; color: var(--text-muted); }
.entry-body { padding: 0 14px 10px; }
.entry-content { font-family: var(--mono); font-size: 0.72rem; color: var(--text-dim); white-space: pre-wrap; word-break: break-all; max-height: 200px; overflow: auto; padding: 8px; background: rgba(0,0,0,0.2); border-radius: 6px; }
.entry-image { max-width: 100%; border-radius: 6px; background: repeating-conic-gradient(#2a2a2a 0% 25%, #1a1a1a 0% 50%) 50% / 12px 12px; }

.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 200; display: flex; flex-direction: column-reverse; gap: 8px; }
.toast { padding: 10px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: 0 4px 24px rgba(0,0,0,0.5); font-size: 0.82rem; animation: toastIn 0.3s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
