%PDF- %PDF-
| Direktori : /home2/rezakur1/ai.rezakurnia.com/zh-router-frontend/src/ |
| Current File : /home2/rezakur1/ai.rezakurnia.com/zh-router-frontend/src/index.css |
@tailwind base;
@tailwind components;
@tailwind utilities;
html {
scroll-behavior: smooth;
}
@layer base {
html {
color-scheme: dark;
}
body {
@apply bg-ink text-slate-300 antialiased;
font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}
::selection {
@apply bg-brand-500/30 text-white;
}
/* Scrollbar gelap */
*::-webkit-scrollbar {
width: 8px;
height: 8px;
}
*::-webkit-scrollbar-track {
background: transparent;
}
*::-webkit-scrollbar-thumb {
@apply rounded-full bg-ink-600;
}
*::-webkit-scrollbar-thumb:hover {
@apply bg-ink-700;
}
}
@layer components {
/* Panel standar — hitam solid, tenang */
.panel {
@apply rounded-2xl border border-white/[0.06] bg-ink-900/80 shadow-soft;
}
.panel-strong {
@apply rounded-2xl border border-white/[0.08] bg-ink-900 shadow-modal;
}
/* Chip kecil netral */
.chip {
@apply inline-flex items-center gap-1.5 rounded-full border border-white/[0.08] bg-white/[0.04] px-2.5 py-0.5 text-[11px] font-medium text-slate-400;
}
/* Input solid hitam */
.input-solid {
@apply w-full rounded-xl border border-white/[0.08] bg-ink-950/80 px-3.5 py-2.5 text-sm text-slate-100 placeholder:text-slate-600 outline-none transition focus:border-brand-400/50 focus:bg-black focus:ring-2 focus:ring-brand-500/15;
}
.label {
@apply mb-1.5 block text-xs font-medium text-slate-400;
}
/* Teks aksen biru (hemat) */
.accent-text {
@apply text-brand-300;
}
/* Latar auth: hitam + glow biru sangat halus */
.auth-backdrop {
background-image:
radial-gradient(ellipse 70% 45% at 50% -15%, rgba(59, 130, 246, 0.1), transparent),
radial-gradient(ellipse at 50% 115%, rgba(59, 130, 246, 0.04), transparent);
}
/* Pattern utama: diagonal halus (woven) — dinamis, tidak kaku */
.bg-pattern {
background-image:
linear-gradient(45deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
linear-gradient(-45deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
background-size: 36px 36px;
mask-image: radial-gradient(
ellipse 100% 90% at 50% 0%,
black 40%,
transparent 96%
);
}
/* Grain/noise — dikurangi agar pola tetap jelas */
.bg-grain {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 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)' opacity='0.4'/%3E%3C/svg%3E");
background-size: 120px 120px;
}
}
@layer utilities {
.tabular-nums {
font-variant-numeric: tabular-nums;
}
}