/* ========================================================================== Alembic — holographic/chrome design system Late-2000s iridescent-digital mood: dark glass, oil-slick gradients, soft bloom, sparkle accents. Built to stay legible for a real utility app (tables, forms, statuses) — the shimmer is trim, not wallpaper. ========================================================================== */ :root { color-scheme: dark; --bg: #08090d; --bg-soft: #0c0e14; --panel: rgba(255, 255, 255, 0.035); --panel-strong: rgba(255, 255, 255, 0.06); --border: rgba(255, 255, 255, 0.09); --border-strong: rgba(255, 255, 255, 0.16); --fg: #eef0f7; --muted: #9799ac; --muted-2: #6d6f83; --iris-blue: #7dd3fc; --iris-violet: #a78bfa; --iris-pink: #f9a8d4; --iris-cyan: #67e8f9; --gradient-holo: linear-gradient(115deg, var(--iris-blue) 0%, var(--iris-violet) 32%, var(--iris-pink) 58%, var(--iris-cyan) 82%, var(--iris-blue) 100%); --gradient-holo-soft: linear-gradient(115deg, rgba(125,211,252,0.5), rgba(167,139,250,0.5), rgba(249,168,212,0.5)); --status-success: #4ade80; --status-warning: #fb923c; --status-info: #38bdf8; --status-danger: #fb7185; --status-muted: #8285a0; --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif; --font-body: "Manrope", "Segoe UI", system-ui, sans-serif; --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace; --radius: 14px; --radius-sm: 9px; --shadow-panel: 0 1px 0 rgba(255,255,255,0.05) inset, 0 24px 60px -28px rgba(0,0,0,0.75); } * { box-sizing: border-box; } [x-cloak] { display: none !important; } html { color-scheme: dark; } body { margin: 0; min-height: 100vh; font-family: var(--font-body); background: var(--bg); color: var(--fg); line-height: 1.55; position: relative; overflow-x: hidden; } /* ---- ambient bloom + grain ---- */ .ambient-blob { position: fixed; border-radius: 50%; filter: blur(110px); opacity: 0.28; pointer-events: none; z-index: 0; mix-blend-mode: screen; animation: drift 26s ease-in-out infinite alternate; } .ambient-blob.one { width: 42vw; height: 42vw; top: -14vw; left: -10vw; background: radial-gradient(circle, var(--iris-violet), transparent 70%); animation-delay: 0s; } .ambient-blob.two { width: 38vw; height: 38vw; bottom: -16vw; right: -8vw; background: radial-gradient(circle, var(--iris-cyan), transparent 70%); animation-delay: -8s; } .ambient-blob.three { width: 30vw; height: 30vw; top: 30vh; right: 20vw; background: radial-gradient(circle, var(--iris-pink), transparent 70%); opacity: 0.16; animation-delay: -16s; } @keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(3vw, 4vw) scale(1.08); } } body::before { content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: 0.035; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); } /* ---- sparkles ---- */ .sparkle { position: absolute; width: 14px; height: 14px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c9c4fa' d='M12 0c.6 5.7 1.8 8.6 4.2 10.6 2.4 2 5.3 2.6 7.8 3.4-2.5.8-5.4 1.4-7.8 3.4-2.4 2-3.6 4.9-4.2 10.6-.6-5.7-1.8-8.6-4.2-10.6C5.4 15.4 2.5 14.8 0 14c2.5-.8 5.4-1.4 7.8-3.4C10.2 8.6 11.4 5.7 12 0Z'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; opacity: 0.5; pointer-events: none; animation: twinkle 3.2s ease-in-out infinite; } @keyframes twinkle { 0%, 100% { opacity: 0.15; transform: scale(0.8) rotate(0deg); } 50% { opacity: 0.7; transform: scale(1.05) rotate(8deg); } } /* ---- chrome / holo text ---- */ .chrome-text { background: var(--gradient-holo); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 9s ease-in-out infinite alternate; } @keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } } h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; margin: 0 0 0.4rem; color: var(--fg); } h1 { font-size: clamp(1.7rem, 2.4vw, 2.15rem); } h2 { font-size: 1.15rem; margin-top: 2.25rem; color: #d7d8e6; } h2:first-of-type { margin-top: 0; } p { margin: 0 0 1rem; } a { color: var(--iris-cyan); text-decoration: none; } a:hover { color: var(--iris-pink); text-decoration: underline; } .muted { color: var(--muted); } .mono { font-family: var(--font-mono); font-size: 0.85em; } .truncate { max-width: 42ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; } /* ---- topbar ---- */ .topbar { position: sticky; top: 0; z-index: 50; background: rgba(8, 9, 13, 0.72); backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--border); } .topbar-inner { max-width: 1180px; margin: 0 auto; padding: 0.85rem 1.5rem; display: flex; align-items: center; gap: 1.75rem; } .brand { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--fg) !important; text-decoration: none !important; position: relative; flex-shrink: 0; } .brand:hover .chrome-text { animation-duration: 2.5s; } .brand svg { flex-shrink: 0; filter: drop-shadow(0 0 10px rgba(167,139,250,0.45)); } .nav-pills { display: flex; align-items: center; gap: 0.15rem; flex: 1; overflow-x: auto; scrollbar-width: none; } .nav-pills::-webkit-scrollbar { display: none; } .nav-pills a { color: var(--muted); font-size: 0.88rem; font-weight: 600; padding: 0.45rem 0.85rem; border-radius: 999px; white-space: nowrap; text-decoration: none !important; transition: color 0.15s ease, background 0.15s ease; } .nav-pills a:hover { color: var(--fg); background: var(--panel); } .nav-pills a.active { color: #08090d; background: var(--gradient-holo); background-size: 200% auto; } .user-chip { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); flex-shrink: 0; } .user-chip .user-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--status-success); box-shadow: 0 0 8px var(--status-success); } .user-chip a.logout, .user-chip button.logout { color: var(--muted-2); font-size: 0.95rem; } .user-chip button.logout { background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; line-height: 1; } .user-chip a.logout:hover, .user-chip button.logout:hover { color: var(--status-danger); text-decoration: none; } /* ---- layout ---- */ main { max-width: 1180px; margin: 0 auto; padding: 2.5rem 1.5rem 5rem; position: relative; z-index: 1; } .page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; } .page-header .subtitle { margin-top: 0.35rem; } .page-header .actions { display: flex; gap: 0.6rem; flex-wrap: wrap; } .back-link { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; margin-bottom: 1rem; color: var(--muted); } .back-link:hover { color: var(--iris-cyan); } /* ---- panels / cards ---- */ .panel { background: linear-gradient(180deg, var(--panel-strong), var(--panel)); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-panel); padding: 1.5rem 1.75rem; margin-bottom: 1.5rem; } .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 2rem; } .stat-card { background: linear-gradient(180deg, var(--panel-strong), var(--panel)); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-panel); padding: 1.35rem 1.5rem; position: relative; overflow: hidden; } .stat-card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--gradient-holo-soft); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.5; pointer-events: none; } .stat-value { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; line-height: 1; margin-bottom: 0.5rem; } .stat-label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; } /* ---- buttons ---- */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; font: inherit; font-weight: 700; font-size: 0.86rem; padding: 0.6rem 1.15rem; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--panel); color: var(--fg); cursor: pointer; text-decoration: none !important; transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; white-space: nowrap; } .btn:hover { background: var(--panel-strong); border-color: var(--border-strong); transform: translateY(-1px); } .btn:active { transform: translateY(0); } .btn:focus-visible { outline: 2px solid var(--iris-cyan); outline-offset: 2px; } .btn-primary { border: none; color: #08090d; background: var(--gradient-holo); background-size: 220% auto; box-shadow: 0 10px 30px -12px rgba(167, 139, 250, 0.6); } /* Re-declare the full `background` shorthand here, not just background-position: .btn:hover above sets `background` (shorthand) to a flat color at equal specificity, and since it comes first in source order .btn-primary:hover must repeat the shorthand to still win -- otherwise it silently wipes out the gradient image/size, leaving the near-black .btn-primary text on a near-black background ("the glow makes the button black"). */ .btn-primary:hover { background: var(--gradient-holo); background-size: 220% auto; background-position: 100% 50%; box-shadow: 0 10px 34px -8px rgba(167, 139, 250, 0.75); } .btn-danger { background: rgba(251, 113, 133, 0.1); border-color: rgba(251, 113, 133, 0.35); color: #fda4af; } .btn-danger:hover { background: rgba(251, 113, 133, 0.18); } .btn-sm { padding: 0.4rem 0.85rem; font-size: 0.78rem; } /* A fully transparent border left the pill outline invisible, so a ghost button sitting next to a filled one (Keep both / Delete, Edit / Delete) read as unaligned text rather than a matching pair of buttons. A visible-but-quiet border keeps the lower-emphasis look while still giving it the same pill shape as everything else. */ .btn-ghost { background: transparent; border-color: var(--border); color: var(--muted); } .btn-ghost:hover { background: var(--panel); color: var(--fg); border-color: var(--border-strong); } form.inline { display: inline-block; } .btn-row { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; } /* ---- forms ---- */ .field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; max-width: 480px; } .field.wide { max-width: none; } .field label { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); } .field .hint { font-size: 0.78rem; color: var(--muted-2); margin-top: -0.15rem; } /* A row of .field's next to a bare button, aligned to the bottom (e.g. the library page's search/filter bar). .field's margin-bottom is meant for fields stacked vertically -- with align-items: flex-end it pushes the field's box lower than the button next to it (which has no such margin), making the button look higher/misaligned. Zero it out in this context. */ .filter-bar { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: flex-end; max-width: none; } .filter-bar .field { margin-bottom: 0; } input[type="text"], input[type="password"], input[type="file"], input[type="search"], textarea, select { font: inherit; color: var(--fg); background: rgba(255, 255, 255, 0.035); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.65rem 0.85rem; width: 100%; } textarea { resize: vertical; font-family: var(--font-mono); font-size: 0.85rem; } input::placeholder, textarea::placeholder { color: var(--muted-2); } input:focus, textarea:focus, select:focus { outline: none; border-color: var(--iris-violet); box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.18); } /* No intrinsic width/height on the inline SVG means browsers fall back to an oversized default replaced-element size for the background-image (no background-size was set here) -- that's what was rendering the arrow huge enough to sit on top of the "(any)" text. Pin it to a small fixed size explicitly. */ select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5 10 12.5 15 7.5' stroke='%239799ac' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 0.85rem 0.85rem; padding-right: 2.25rem; } /* The closed