feat: modernize UI/UX to 2026 US fintech standard, add violet AI accents, and strengthen security controls
- Modern 2026 US fintech visual redesign across User & Admin Dashboards, Marketing pages, Auth screens, and Layouts - Introduced violet accent (#6D28D9 / #8B5CF6) strictly dedicated to AI capabilities (AI Daily Briefing, AI Assistant, Chatbot FAB & Chat UI) - Motion system respecting prefers-reduced-motion and (hover: none) with GPU-accelerated transforms & opacities - High-resolution dark glass monogram logo mark with upward growth motif - Backend security enhancements: strict MIME-type sniffing validation, admin assignment scoping assertions, safe document deletion handling - Nginx strict Content-Security-Policy (CSP) headers and favicon routing
@@ -10,8 +10,8 @@
|
||||
.btn:active { transform: translateY(1px) scale(0.97); }
|
||||
|
||||
@keyframes pulse-brass {
|
||||
0%, 100% { box-shadow: 0 0 0 0 rgba(176,128,61,0.35); }
|
||||
50% { box-shadow: 0 0 0 5px rgba(176,128,61,0); }
|
||||
0%, 100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.35); }
|
||||
50% { box-shadow: 0 0 0 5px rgba(29, 78, 216, 0); }
|
||||
}
|
||||
.pulse { animation: pulse-brass 2s infinite; }
|
||||
|
||||
@@ -25,14 +25,14 @@
|
||||
.stagger > *:nth-child(5) { animation-delay: 0.24s; }
|
||||
.stagger > *:nth-child(6) { animation-delay: 0.30s; }
|
||||
|
||||
input[type=checkbox] { accent-color: var(--emerald); width: 16px; height: 16px; cursor: pointer; }
|
||||
input[type=checkbox] { accent-color: var(--brass); width: 16px; height: 16px; cursor: pointer; }
|
||||
|
||||
/* Ledger-rule underline — the signature link treatment: a brass
|
||||
rule draws itself in, like a line struck under a checked entry */
|
||||
.fancy-link {
|
||||
position: relative;
|
||||
text-decoration: none;
|
||||
color: var(--emerald);
|
||||
color: var(--brass);
|
||||
}
|
||||
.fancy-link::after {
|
||||
content: '';
|
||||
|
||||
@@ -0,0 +1,329 @@
|
||||
/* ============================================================
|
||||
artha-motion.css · motion layer for the ABC CPA "Ledger" UI
|
||||
Load AFTER dynamic.css in index.html:
|
||||
<link rel="stylesheet" href="/css/artha-motion.css" />
|
||||
|
||||
Motion language: calm, precise, "a ledger line being drawn".
|
||||
- one easing curve (expo-out), 200-700ms, no bounce
|
||||
- gold rule draws under / over things that matter
|
||||
- only transform + opacity are animated
|
||||
Palette (matches base.css):
|
||||
ink #0A2540 · blue #1D4ED8 · emerald #047857 · page #F6F9FC
|
||||
============================================================ */
|
||||
|
||||
/* ---------- 1. Fix colour drift (dynamic.css still uses the OLD palette) ---------- */
|
||||
:root {
|
||||
--ink-rgb: 10, 37, 64;
|
||||
--green-rgb: 29, 78, 216;
|
||||
--gold-rgb: 245, 184, 61;
|
||||
--brass-rgb: 245, 184, 61;
|
||||
/* brass token override */
|
||||
--emerald-rgb: 4, 120, 87;
|
||||
/* emerald token override */
|
||||
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
|
||||
|
||||
/* shadows tinted with ink */
|
||||
--shadow-xs: 0 1px 2px 0 rgba(var(--ink-rgb), 0.06);
|
||||
--shadow-sm: 0 4px 10px -2px rgba(var(--ink-rgb), 0.10);
|
||||
--shadow-md: 0 12px 28px -8px rgba(var(--ink-rgb), 0.16);
|
||||
--shadow-lg: 0 24px 56px -12px rgba(var(--ink-rgb), 0.22);
|
||||
--shadow-glow: 0 0 0 6px rgba(29, 78, 216, 0.16);
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: rgba(29, 78, 216, 0.20);
|
||||
color: #0A2540;
|
||||
}
|
||||
|
||||
.scroll-progress {
|
||||
background: linear-gradient(90deg, #1D4ED8, #14B8A6);
|
||||
}
|
||||
|
||||
/* ---------- 2. Shared keyframes ---------- */
|
||||
@keyframes arthaRise {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(18px);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes arthaPop {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: scale(0.85);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes arthaRule {
|
||||
to {
|
||||
background-size: 100% 2px;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes arthaDrift {
|
||||
from {
|
||||
transform: translate3d(-3%, -2%, 0) scale(1);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translate3d(3%, 2%, 0) scale(1.1);
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------- 3. Navbar: shadow + gold hairline on scroll, gold underline on links ---------- */
|
||||
.artha-navbar {
|
||||
transition: box-shadow 0.3s, border-color 0.3s, background-color 0.3s;
|
||||
}
|
||||
|
||||
html[data-scrolled] .artha-navbar {
|
||||
box-shadow: 0 10px 30px -18px rgba(var(--ink-rgb), 0.45);
|
||||
border-bottom-color: rgba(29, 78, 216, 0.35);
|
||||
}
|
||||
|
||||
.artha-nav-links>a {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.artha-nav-links>a::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: -6px;
|
||||
height: 1.5px;
|
||||
background: #1D4ED8;
|
||||
transform: scaleX(0);
|
||||
transform-origin: left;
|
||||
transition: transform 0.35s var(--ease-out);
|
||||
}
|
||||
|
||||
.artha-nav-links>a:hover::after {
|
||||
transform: scaleX(1);
|
||||
}
|
||||
|
||||
/* ---------- 4. Hero: staged entrance, gold rule under the italic word, ambient light ---------- */
|
||||
.artha-hero {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.artha-hero::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
background:
|
||||
radial-gradient(50% 55% at 12% 25%, rgba(20, 184, 166, 0.14), transparent 70%),
|
||||
radial-gradient(45% 60% at 90% 85%, rgba(29, 78, 216, 0.16), transparent 70%);
|
||||
animation: arthaDrift 22s ease-in-out infinite alternate;
|
||||
}
|
||||
|
||||
.artha-hero-left>* {
|
||||
animation: arthaRise 0.9s var(--ease-out) backwards;
|
||||
}
|
||||
|
||||
.artha-hero-left> :nth-child(1) {
|
||||
animation-delay: 0.05s;
|
||||
}
|
||||
|
||||
.artha-hero-left> :nth-child(2) {
|
||||
animation-delay: 0.15s;
|
||||
}
|
||||
|
||||
.artha-hero-left> :nth-child(3) {
|
||||
animation-delay: 0.28s;
|
||||
}
|
||||
|
||||
.artha-hero-left> :nth-child(4) {
|
||||
animation-delay: 0.40s;
|
||||
}
|
||||
|
||||
.artha-hero-left> :nth-child(n+5) {
|
||||
animation-delay: 0.52s;
|
||||
}
|
||||
|
||||
.artha-hero-right {
|
||||
animation: arthaRise 1.1s 0.3s var(--ease-out) backwards;
|
||||
}
|
||||
|
||||
.artha-hero-title em {
|
||||
font-style: italic;
|
||||
background: var(--gradient-brand);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* ---------- 5. Cards: lift + gold top-edge rule that draws on hover ---------- */
|
||||
:is(.artha-portal-card, .artha-vault-card, .artha-ticker-card, .artha-trust-item, .artha-firm-stat-pill) {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
:is(.artha-portal-card, .artha-vault-card, .artha-ticker-card)::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 18px;
|
||||
right: 18px;
|
||||
top: -1px;
|
||||
height: 2px;
|
||||
border-radius: 2px;
|
||||
background: linear-gradient(90deg, #1D4ED8, #14B8A6);
|
||||
transform: scaleX(0);
|
||||
transform-origin: left;
|
||||
pointer-events: none;
|
||||
transition: transform 0.5s var(--ease-out);
|
||||
}
|
||||
|
||||
:is(.artha-portal-card, .artha-vault-card, .artha-ticker-card):hover::after {
|
||||
transform: scaleX(1);
|
||||
}
|
||||
|
||||
:is(.artha-vault-card, .artha-ticker-card) {
|
||||
transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
|
||||
}
|
||||
|
||||
:is(.artha-vault-card, .artha-ticker-card):hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
|
||||
.artha-portal-card:hover {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/* pointer spotlight (needs the one-line SPOT change in motion.js) */
|
||||
:is(.artha-portal-card, .artha-vault-card, .artha-ticker-card):hover {
|
||||
background-image: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(29, 78, 216, 0.08), transparent 62%);
|
||||
}
|
||||
|
||||
/* ---------- 6. Buttons: gold sheen on primary, soft press ---------- */
|
||||
.artha-pill-btn {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition: transform 0.2s var(--ease-out), box-shadow 0.25s, background-color 0.25s, color 0.25s, border-color 0.25s;
|
||||
}
|
||||
|
||||
.artha-pill-btn:not(:disabled):hover {
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.artha-pill-btn:not(:disabled):active {
|
||||
transform: translateY(1px) scale(0.97);
|
||||
}
|
||||
|
||||
.artha-pill-primary::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
|
||||
transform: translateX(-130%);
|
||||
transition: transform 0.8s var(--ease-out);
|
||||
}
|
||||
|
||||
.artha-pill-primary:not(:disabled):hover::before {
|
||||
transform: translateX(130%);
|
||||
}
|
||||
|
||||
/* ---------- 7. Status pills pop in (once) ---------- */
|
||||
.artha-status-pill {
|
||||
animation: arthaPop 0.45s var(--ease-out) backwards;
|
||||
}
|
||||
|
||||
/* ---------- 8. Grids: children rise in as they scroll into view ---------- */
|
||||
:is(.artha-vault-grid, .artha-ticker-cards, .artha-trust-inner, .artha-firm-stats-row, .artha-calc-option-grid)>* {
|
||||
animation: arthaRise 0.7s var(--ease-out) backwards;
|
||||
}
|
||||
|
||||
:is(.artha-vault-grid, .artha-ticker-cards, .artha-trust-inner, .artha-firm-stats-row, .artha-calc-option-grid)> :nth-child(2) {
|
||||
animation-delay: 0.08s;
|
||||
}
|
||||
|
||||
:is(.artha-vault-grid, .artha-ticker-cards, .artha-trust-inner, .artha-firm-stats-row, .artha-calc-option-grid)> :nth-child(3) {
|
||||
animation-delay: 0.16s;
|
||||
}
|
||||
|
||||
:is(.artha-vault-grid, .artha-ticker-cards, .artha-trust-inner, .artha-firm-stats-row, .artha-calc-option-grid)> :nth-child(4) {
|
||||
animation-delay: 0.24s;
|
||||
}
|
||||
|
||||
:is(.artha-vault-grid, .artha-ticker-cards, .artha-trust-inner, .artha-firm-stats-row, .artha-calc-option-grid)> :nth-child(n+5) {
|
||||
animation-delay: 0.30s;
|
||||
}
|
||||
|
||||
/* Where supported, tie the rise to scroll position instead of page load, so
|
||||
below-the-fold grids animate when the visitor actually reaches them.
|
||||
fill-mode stays `backwards` so hover transforms still work afterwards. */
|
||||
@supports (animation-timeline: view()) {
|
||||
:is(.artha-vault-grid, .artha-ticker-cards, .artha-trust-inner, .artha-firm-stats-row, .artha-calc-option-grid)>* {
|
||||
animation-timing-function: linear;
|
||||
animation-delay: 0s;
|
||||
animation-timeline: view();
|
||||
animation-range: entry 0% entry 55%;
|
||||
}
|
||||
}
|
||||
|
||||
/* principle rows: number tints gold, row nudges right */
|
||||
.artha-principle-row {
|
||||
transition: padding-left 0.35s var(--ease-out);
|
||||
}
|
||||
|
||||
.artha-principle-row:hover {
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
.artha-principle-row:hover .artha-principle-num {
|
||||
color: #1D4ED8;
|
||||
}
|
||||
|
||||
.artha-principle-num {
|
||||
transition: color 0.3s;
|
||||
}
|
||||
|
||||
/* ---------- 9. Upload dropzone (add class `is-dragover` from JS on dragenter / dragover) ---------- */
|
||||
.artha-dropzone {
|
||||
transition: border-color 0.25s, background-color 0.25s, transform 0.3s var(--ease-out), box-shadow 0.3s;
|
||||
}
|
||||
|
||||
.artha-dropzone:hover .material-symbols-outlined {
|
||||
transform: translateY(-3px);
|
||||
}
|
||||
|
||||
.artha-dropzone .material-symbols-outlined {
|
||||
transition: transform 0.3s var(--ease-out);
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.artha-dropzone.is-dragover {
|
||||
border-style: solid;
|
||||
border-color: #1D4ED8;
|
||||
background-color: rgba(29, 78, 216, 0.08);
|
||||
transform: scale(1.012);
|
||||
box-shadow: var(--shadow-glow);
|
||||
}
|
||||
|
||||
/* ---------- 10. Reduced motion ---------- */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.artha-hero::before {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
:is(.artha-vault-grid, .artha-ticker-cards, .artha-trust-inner, .artha-firm-stats-row, .artha-calc-option-grid)>* {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.artha-hero::before {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (hover: none) {
|
||||
:is(.artha-portal-card, .artha-vault-card, .artha-ticker-card):hover {
|
||||
background-image: none;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,3 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,1,0');
|
||||
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');
|
||||
|
||||
/* ============================================================
|
||||
base.css — BookKeepPro Design System · "Ledger"
|
||||
Ink, brass and parchment — a bookkeeping identity built on
|
||||
@@ -11,42 +8,55 @@
|
||||
/* ── Brand Tokens ─────────────────────────────────────────── */
|
||||
:root {
|
||||
/* core palette */
|
||||
--ink: #17211D;
|
||||
--ink-soft: #2A362F;
|
||||
--brass: #8F6528;
|
||||
--brass-dark: #8F6528;
|
||||
--brass-light: rgba(176, 128, 61, 0.12);
|
||||
--emerald: #1F5D46;
|
||||
--emerald-dark: #163F30;
|
||||
--emerald-light:rgba(31, 93, 70, 0.10);
|
||||
--paper: #F5F2E9;
|
||||
--ink: #0A2540;
|
||||
--ink-soft: #14365F;
|
||||
--brass: #1D4ED8;
|
||||
--brass-dark: #1E40AF;
|
||||
--brass-light: rgba(29, 78, 216, 0.08);
|
||||
--emerald: #047857;
|
||||
--emerald-dark: #065F46;
|
||||
--emerald-light:rgba(4, 120, 87, 0.08);
|
||||
--paper: #F6F9FC;
|
||||
--paper-raised: #FFFFFF;
|
||||
|
||||
/* legacy variable names kept so every existing component re-skins automatically */
|
||||
--blue: var(--emerald);
|
||||
--blue-dark: var(--emerald-dark);
|
||||
--blue-light: var(--emerald-light);
|
||||
--orange: var(--brass);
|
||||
--orange-dark: var(--brass-dark);
|
||||
--orange-light: var(--brass-light);
|
||||
--header-bg: #EFEADA;
|
||||
--footer-bot: #EFEADA;
|
||||
--navy: var(--ink);
|
||||
--accent: #2C7A5B;
|
||||
--blue: var(--brass);
|
||||
--blue-dark: var(--brass-dark);
|
||||
--blue-light: var(--brass-light);
|
||||
--blue-bright: #3B82F6;
|
||||
--sky: #0EA5E9;
|
||||
--teal: #14B8A6;
|
||||
--amber-text: #92600A;
|
||||
--orange: #F5B83D;
|
||||
--orange-dark: #D99A1E;
|
||||
--orange-light: rgba(245, 184, 61, 0.12);
|
||||
--header-bg: #EEF3F9;
|
||||
--footer-bot: #EEF3F9;
|
||||
--navy: #0A2540;
|
||||
--accent: #1D4ED8;
|
||||
--bg: var(--paper);
|
||||
--card: var(--paper-raised);
|
||||
--muted: #6B7268;
|
||||
--border: #E3DDC9;
|
||||
--success: #1F5D46;
|
||||
--success-bg: rgba(31, 93, 70, 0.10);
|
||||
--error: #A63A3A;
|
||||
--error-bg: rgba(166, 58, 58, 0.10);
|
||||
--warn: #8F6528;
|
||||
--warn-bg: rgba(176, 128, 61, 0.12);
|
||||
--muted: #425466;
|
||||
--border: #E2E8F0;
|
||||
--success: #047857;
|
||||
--success-bg: #ECFDF5;
|
||||
--error: #DC2626;
|
||||
--error-bg: #FEF2F2;
|
||||
--warn: #F5B83D;
|
||||
--warn-bg: #FFF8E6;
|
||||
--violet: #6D28D9;
|
||||
--violet-bright:#8B5CF6;
|
||||
--violet-light: #F5F3FF;
|
||||
--violet-soft: #C4B5FD;
|
||||
|
||||
--font-display: 'Fraunces', 'Georgia', serif;
|
||||
--font-body: 'IBM Plex Sans', system-ui, sans-serif;
|
||||
--font-mono: 'IBM Plex Mono', ui-monospace, monospace;
|
||||
--gradient-brand: linear-gradient(135deg, #1D4ED8 0%, #0EA5E9 60%, #14B8A6 100%);
|
||||
--gradient-ai: linear-gradient(135deg, #6D28D9 0%, #1D4ED8 100%);
|
||||
--gradient-success: linear-gradient(135deg, #047857 0%, #14B8A6 100%);
|
||||
--gradient-warm: linear-gradient(135deg, #F5B83D 0%, #D99A1E 100%);
|
||||
|
||||
--font-display: 'Playfair Display', Georgia, serif;
|
||||
--font-body: 'Inter', system-ui, -apple-system, sans-serif;
|
||||
--font-mono: 'JetBrains Mono', ui-monospace, monospace;
|
||||
|
||||
--radius-xs: 6px;
|
||||
--radius-sm: 10px;
|
||||
@@ -54,11 +64,11 @@
|
||||
--radius-lg: 22px;
|
||||
--radius-pill: 999px;
|
||||
|
||||
--shadow-xs: 0 1px 2px 0 rgba(23, 33, 29, 0.06);
|
||||
--shadow-sm: 0 4px 10px -2px rgba(23, 33, 29, 0.10);
|
||||
--shadow-md: 0 12px 28px -8px rgba(23, 33, 29, 0.16);
|
||||
--shadow-lg: 0 24px 56px -12px rgba(23, 33, 29, 0.22);
|
||||
--shadow-glow: 0 0 0 6px rgba(176, 128, 61, 0.14);
|
||||
--shadow-xs: 0 1px 2px 0 rgba(10, 37, 64, 0.06);
|
||||
--shadow-sm: 0 4px 10px -2px rgba(10, 37, 64, 0.10);
|
||||
--shadow-md: 0 12px 28px -8px rgba(10, 37, 64, 0.16);
|
||||
--shadow-lg: 0 24px 56px -12px rgba(10, 37, 64, 0.22);
|
||||
--shadow-glow: 0 0 0 6px rgba(29, 78, 216, 0.14);
|
||||
|
||||
--transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
--glass-blur: blur(14px);
|
||||
@@ -67,14 +77,14 @@
|
||||
to bottom,
|
||||
transparent 0,
|
||||
transparent 27px,
|
||||
rgba(23, 33, 29, 0.05) 27px,
|
||||
rgba(23, 33, 29, 0.05) 28px
|
||||
rgba(10, 37, 64, 0.05) 27px,
|
||||
rgba(10, 37, 64, 0.05) 28px
|
||||
);
|
||||
}
|
||||
|
||||
/* ── Reset ───────────────────────────────────────────────── */
|
||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
html { font-size: 16px; scroll-behavior: smooth; }
|
||||
html { font-size: 14px; scroll-behavior: smooth; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
html { scroll-behavior: auto; }
|
||||
*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
|
||||
@@ -87,18 +97,18 @@ body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
img { max-width: 100%; display: block; }
|
||||
a { color: var(--emerald); text-decoration: none; }
|
||||
a:hover { color: var(--emerald-dark); }
|
||||
a { color: var(--brass); text-decoration: none; }
|
||||
a:hover { color: var(--brass-dark); }
|
||||
.material-symbols-outlined { font-size: inherit; vertical-align: middle; line-height: 1; font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
|
||||
.tnum { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
|
||||
|
||||
/* ── Typography ──────────────────────────────────────────── */
|
||||
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); }
|
||||
h1 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
|
||||
h2 { font-size: clamp(19px, 2.6vw, 26px); font-weight: 600; line-height: 1.25; }
|
||||
h3 { font-size: clamp(16px, 2vw, 19px); font-weight: 600; }
|
||||
p { line-height: 1.7; color: #3E463F; }
|
||||
small, .text-sm { font-size: 13px; color: var(--muted); }
|
||||
h1 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; }
|
||||
h2 { font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; line-height: 1.25; }
|
||||
h3 { font-size: clamp(15px, 1.3vw, 18px); font-weight: 600; }
|
||||
p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
|
||||
small, .text-sm { font-size: 12px; color: var(--muted); }
|
||||
.text-muted { color: var(--muted); }
|
||||
.eyebrow {
|
||||
font-family: var(--font-mono);
|
||||
@@ -145,10 +155,10 @@ small, .text-sm { font-size: 13px; color: var(--muted); }
|
||||
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
|
||||
|
||||
.btn-primary { background: var(--brass); color: #fff; }
|
||||
.btn-primary:hover:not(:disabled) { background: var(--brass-dark); box-shadow: 0 6px 18px rgba(176,128,61,0.32); }
|
||||
.btn-primary:hover:not(:disabled) { background: var(--brass-dark); box-shadow: 0 6px 18px rgba(29, 78, 216, 0.28); }
|
||||
|
||||
.btn-secondary { background: var(--emerald); color: #fff; }
|
||||
.btn-secondary:hover:not(:disabled) { background: var(--emerald-dark); box-shadow: 0 6px 18px rgba(31,93,70,0.28); }
|
||||
.btn-secondary { background: var(--header-bg); color: var(--ink); border: 1px solid var(--border); }
|
||||
.btn-secondary:hover:not(:disabled) { background: var(--border); box-shadow: 0 4px 12px rgba(10, 37, 64, 0.08); }
|
||||
|
||||
.btn-outline {
|
||||
background: transparent;
|
||||
@@ -158,10 +168,10 @@ small, .text-sm { font-size: 13px; color: var(--muted); }
|
||||
.btn-outline:hover:not(:disabled) { background: var(--ink); color: #fff; }
|
||||
|
||||
.btn-ghost { background: transparent; color: var(--muted); border: 1.5px solid var(--border); }
|
||||
.btn-ghost:hover:not(:disabled) { background: var(--paper); color: var(--ink); border-color: #cfc7ad; }
|
||||
.btn-ghost:hover:not(:disabled) { background: var(--paper); color: var(--ink); border-color: var(--border); }
|
||||
|
||||
.btn-danger { background: var(--error); color: #fff; }
|
||||
.btn-danger:hover:not(:disabled) { background: #8a2f2f; box-shadow: 0 6px 18px rgba(166,58,58,0.3); }
|
||||
.btn-danger:hover:not(:disabled) { background: #b91c1c; box-shadow: 0 6px 18px rgba(220, 38, 38, 0.3); }
|
||||
|
||||
.btn-sm { padding: 7px 16px; font-size: 13px; }
|
||||
.btn-xs { padding: 5px 12px; font-size: 12px; }
|
||||
@@ -181,10 +191,10 @@ small, .text-sm { font-size: 13px; color: var(--muted); }
|
||||
}
|
||||
.input:focus, .select-input:focus {
|
||||
outline: none;
|
||||
border-color: var(--emerald);
|
||||
box-shadow: 0 0 0 3px rgba(31,93,70,0.12);
|
||||
border-color: var(--brass);
|
||||
box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
|
||||
}
|
||||
.input::placeholder { color: #A8A190; }
|
||||
.input::placeholder { color: var(--muted); }
|
||||
.input[readonly] { background: var(--paper); color: var(--muted); cursor: default; }
|
||||
label.form-label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-soft); margin-bottom: 6px; }
|
||||
.form-group { margin-bottom: 18px; }
|
||||
@@ -192,7 +202,7 @@ label.form-label { display: block; font-size: 12.5px; font-weight: 600; letter-s
|
||||
.password-wrap .input { padding-right: 56px; }
|
||||
.password-toggle {
|
||||
position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
|
||||
background: none; border: none; color: var(--emerald); font-weight: 600; font-size: 13px; cursor: pointer;
|
||||
background: none; border: none; color: var(--brass); font-weight: 600; font-size: 13px; cursor: pointer;
|
||||
}
|
||||
|
||||
/* ── Badges ──────────────────────────────────────────────── */
|
||||
@@ -203,17 +213,17 @@ label.form-label { display: block; font-size: 12.5px; font-weight: 600; letter-s
|
||||
white-space: nowrap;
|
||||
font-family: var(--font-mono);
|
||||
}
|
||||
.badge-blue { background: var(--emerald-light); color: var(--emerald); }
|
||||
.badge-orange { background: var(--brass-light); color: var(--brass-dark); border: 1px solid rgba(176,128,61,0.35); }
|
||||
.badge-blue { background: #EFF6FF; color: #1D4ED8; }
|
||||
.badge-orange { background: #FFF8E6; color: #92600A; border: 1px solid rgba(245, 184, 61, 0.35); }
|
||||
.badge-red { background: var(--error-bg); color: var(--error); }
|
||||
.badge-green { background: var(--success-bg); color: var(--success); }
|
||||
.badge-yellow { background: var(--warn-bg); color: var(--warn); border: 1px solid rgba(176,128,61,0.3); }
|
||||
.badge-yellow { background: #FFF8E6; color: #92600A; border: 1px solid rgba(245, 184, 61, 0.3); }
|
||||
.badge-muted { background: var(--paper); color: var(--muted); }
|
||||
|
||||
/* ── Status Pills (doc review) ───────────────────────────── */
|
||||
.pill-approved { background:var(--success-bg); color:var(--success); border:1px solid rgba(31,93,70,0.3); padding:2px 10px; border-radius:var(--radius-xs); font-size:11px; font-weight:700; font-family: var(--font-mono); }
|
||||
.pill-rejected { background:var(--error-bg); color:var(--error); border:1px solid rgba(166,58,58,0.3); padding:2px 10px; border-radius:var(--radius-xs); font-size:11px; font-weight:700; font-family: var(--font-mono); }
|
||||
.pill-pending { background:var(--warn-bg); color:var(--brass-dark); border:1px solid rgba(176,128,61,0.3); padding:2px 10px; border-radius:var(--radius-xs); font-size:11px; font-weight:700; font-family: var(--font-mono); }
|
||||
.pill-approved { background:var(--success-bg); color:var(--success); border:1px solid rgba(4, 120, 87, 0.25); padding:2px 10px; border-radius:var(--radius-xs); font-size:11px; font-weight:700; font-family: var(--font-mono); }
|
||||
.pill-rejected { background:var(--error-bg); color:var(--error); border:1px solid rgba(220, 38, 38, 0.25); padding:2px 10px; border-radius:var(--radius-xs); font-size:11px; font-weight:700; font-family: var(--font-mono); }
|
||||
.pill-pending { background:var(--warn-bg); color:var(--amber-text); border:1px solid rgba(245, 184, 61, 0.3); padding:2px 10px; border-radius:var(--radius-xs); font-size:11px; font-weight:700; font-family: var(--font-mono); }
|
||||
|
||||
/* ── Divider ─────────────────────────────────────────────── */
|
||||
.divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
|
||||
@@ -249,7 +259,7 @@ label.form-label { display: block; font-size: 12.5px; font-weight: 600; letter-s
|
||||
to { background-position: 600px 0; }
|
||||
}
|
||||
.skeleton {
|
||||
background: linear-gradient(90deg, #EDE8D9 25%, #F5F2E9 50%, #EDE8D9 75%);
|
||||
background: linear-gradient(90deg, #E2E8F0 25%, #EDF2F7 50%, #E2E8F0 75%);
|
||||
background-size: 600px 100%;
|
||||
animation: shimmer 1.4s infinite linear;
|
||||
border-radius: var(--radius-sm);
|
||||
@@ -277,7 +287,7 @@ label.form-label { display: block; font-size: 12.5px; font-weight: 600; letter-s
|
||||
|
||||
/* Focus visibility */
|
||||
:focus-visible {
|
||||
outline: 2px solid var(--emerald);
|
||||
outline: 2px solid var(--brass);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
@@ -289,8 +299,8 @@ input[type="email"]:focus,
|
||||
input[type="password"]:focus,
|
||||
textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--emerald) !important;
|
||||
box-shadow: 0 0 0 3px rgba(31,93,70,0.14) !important;
|
||||
border-color: var(--brass) !important;
|
||||
box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.14) !important;
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
|
||||
@@ -9,19 +9,22 @@
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
border-radius: 50%;
|
||||
background: var(--ink);
|
||||
color: #fff;
|
||||
border: 1px solid rgba(255, 255, 255, 0.14);
|
||||
background: var(--gradient-ai);
|
||||
color: #FFFFFF;
|
||||
border: 1px solid rgba(255, 255, 255, 0.25);
|
||||
cursor: pointer;
|
||||
box-shadow: var(--shadow-lg);
|
||||
box-shadow: 0 10px 28px -8px rgba(109, 40, 217, 0.55);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 26px;
|
||||
z-index: 9998;
|
||||
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, background 0.3s ease;
|
||||
transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
|
||||
}
|
||||
.chatbot-fab:hover {
|
||||
transform: scale(1.07);
|
||||
box-shadow: 0 12px 32px -6px rgba(109, 40, 217, 0.65);
|
||||
}
|
||||
.chatbot-fab:hover { transform: scale(1.07); background: var(--emerald-dark); }
|
||||
.chatbot-fab:active { transform: scale(0.96); }
|
||||
.chatbot-fab .fab-icon { transition: transform 0.3s ease; }
|
||||
.chatbot-fab.open .fab-icon { transform: rotate(90deg); }
|
||||
@@ -31,29 +34,38 @@
|
||||
position: absolute;
|
||||
inset: -4px;
|
||||
border-radius: 50%;
|
||||
border: 1.5px solid var(--brass);
|
||||
border: 1.5px solid var(--violet-bright, #8B5CF6);
|
||||
opacity: 0;
|
||||
animation: chatPulse 2.5s ease-out infinite;
|
||||
animation: chatPulse 6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
|
||||
}
|
||||
.chatbot-fab.open::before { animation: none; opacity: 0; }
|
||||
|
||||
@keyframes chatPulse {
|
||||
0% { transform: scale(1); opacity: 0.45; }
|
||||
100% { transform: scale(1.4); opacity: 0; }
|
||||
0% { transform: scale(1); opacity: 0.5; }
|
||||
20% { transform: scale(1.35); opacity: 0; }
|
||||
100% { transform: scale(1.35); opacity: 0; }
|
||||
}
|
||||
|
||||
.chatbot-fab .notif-dot {
|
||||
position: absolute;
|
||||
top: 2px; right: 2px;
|
||||
width: 13px; height: 13px;
|
||||
width: 12px; height: 12px;
|
||||
border-radius: 50%;
|
||||
background: var(--brass);
|
||||
border: 2px solid var(--ink);
|
||||
animation: dotBounce 1.5s ease infinite;
|
||||
background: #F5B83D;
|
||||
border: 2px solid #0A2540;
|
||||
}
|
||||
.chatbot-fab.open .notif-dot { display: none; }
|
||||
|
||||
@keyframes dotBounce { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
|
||||
@keyframes chatbotWindowOpen {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: scale(0.96);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
.chatbot-window {
|
||||
position: fixed;
|
||||
@@ -61,25 +73,39 @@
|
||||
right: 24px;
|
||||
width: 380px;
|
||||
max-height: 520px;
|
||||
border-radius: var(--radius-lg);
|
||||
border-radius: var(--radius-lg, 16px);
|
||||
background: #FFFFFF;
|
||||
border: 1px solid var(--border);
|
||||
box-shadow: var(--shadow-lg);
|
||||
border: 1px solid var(--border, #E2E8F0);
|
||||
box-shadow: 0 12px 36px -8px rgba(10, 37, 64, 0.16);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
z-index: 9999;
|
||||
overflow: hidden;
|
||||
opacity: 0;
|
||||
transform: translateY(16px) scale(0.97);
|
||||
transform: scale(0.96);
|
||||
transform-origin: bottom right;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
.chatbot-window.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
|
||||
.chatbot-window.visible {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
transform-origin: bottom right;
|
||||
pointer-events: auto;
|
||||
animation: chatbotWindowOpen 250ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.chatbot-window.visible {
|
||||
animation: none !important;
|
||||
}
|
||||
.chatbot-fab::before {
|
||||
animation: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.chatbot-header {
|
||||
background: var(--ink);
|
||||
background-image: var(--ruled);
|
||||
color: #fff;
|
||||
background: var(--ink, #0A2540);
|
||||
color: #FFFFFF;
|
||||
padding: 16px 18px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -88,14 +114,14 @@
|
||||
}
|
||||
.chatbot-header .bot-avatar {
|
||||
width: 36px; height: 36px; border-radius: 50%;
|
||||
background: var(--brass);
|
||||
background: var(--gradient-ai);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
font-size: 18px; flex-shrink: 0; color: #fff;
|
||||
font-size: 18px; flex-shrink: 0; color: #FFFFFF;
|
||||
}
|
||||
.chatbot-header .bot-info h4 { font-size: 14px; font-weight: 600; margin: 0; color: #fff; font-family: var(--font-body); }
|
||||
.chatbot-header .bot-info span { font-size: 11px; opacity: 0.75; }
|
||||
.chatbot-header .bot-info h4 { font-size: 14px; font-weight: 600; margin: 0; color: #FFFFFF; font-family: var(--font-body); }
|
||||
.chatbot-header .bot-info span { font-size: 11px; opacity: 0.8; color: #C4B5FD; }
|
||||
.chatbot-header .close-chat {
|
||||
margin-left: auto; background: rgba(255,255,255,0.12); border: none; color: #fff;
|
||||
margin-left: auto; background: rgba(255,255,255,0.12); border: none; color: #FFFFFF;
|
||||
width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 15px;
|
||||
display: flex; align-items: center; justify-content: center; transition: background 0.2s;
|
||||
}
|
||||
@@ -104,78 +130,80 @@
|
||||
.chatbot-messages {
|
||||
flex: 1; overflow-y: auto; padding: 22px 18px;
|
||||
display: flex; flex-direction: column; gap: 12px;
|
||||
background: var(--paper);
|
||||
background: #F6F9FC;
|
||||
min-height: 200px; max-height: 380px; scroll-behavior: smooth;
|
||||
}
|
||||
.chatbot-welcome-text {
|
||||
display: flex; align-items: center; justify-content: center; gap: 8px;
|
||||
margin-bottom: 8px; padding: 10px;
|
||||
background: var(--emerald-light);
|
||||
border-radius: var(--radius-sm);
|
||||
border: 1px solid rgba(31,93,70,0.15);
|
||||
background: #F5F3FF;
|
||||
border-radius: var(--radius-sm, 10px);
|
||||
border: 1px solid rgba(109, 40, 217, 0.16);
|
||||
}
|
||||
.chatbot-welcome-text p { font-size: 13px; font-weight: 500; color: var(--ink); margin: 0; }
|
||||
.chatbot-welcome-text .sparkle { font-size: 17px; color: var(--brass); }
|
||||
.chatbot-welcome-text p { font-size: 13px; font-weight: 500; color: var(--ink, #0A2540); margin: 0; }
|
||||
.chatbot-welcome-text .sparkle { font-size: 17px; color: var(--violet, #6D28D9); }
|
||||
.chatbot-messages::-webkit-scrollbar { width: 5px; }
|
||||
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
|
||||
.chatbot-messages::-webkit-scrollbar-thumb { background: #d8d0b6; border-radius: 10px; }
|
||||
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--border, #E2E8F0); border-radius: 10px; }
|
||||
|
||||
.chat-msg {
|
||||
max-width: 85%; padding: 10px 14px; border-radius: 13px;
|
||||
font-size: 13px; line-height: 1.5; animation: msgSlideIn 0.3s ease; word-wrap: break-word;
|
||||
font-size: 13px; line-height: 1.5; animation: msgSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1); word-wrap: break-word;
|
||||
}
|
||||
@keyframes msgSlideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
|
||||
@keyframes msgSlideIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
|
||||
|
||||
.chat-msg.bot {
|
||||
background: #fff; color: var(--ink); border: 1px solid var(--border);
|
||||
background: #FFFFFF; color: var(--ink, #0A2540); border: 1px solid var(--border, #E2E8F0);
|
||||
border-left: 2px solid var(--violet, #6D28D9);
|
||||
border-bottom-left-radius: 4px; align-self: flex-start; box-shadow: var(--shadow-xs);
|
||||
}
|
||||
.chat-msg.user {
|
||||
background: var(--emerald); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end;
|
||||
background: #1D4ED8; color: #FFFFFF; border-bottom-right-radius: 4px; align-self: flex-end;
|
||||
}
|
||||
|
||||
.typing-indicator { display: flex; gap: 4px; padding: 12px 16px; align-self: flex-start; }
|
||||
.typing-indicator span { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); opacity: 0.4; animation: typingDot 1.2s ease-in-out infinite; }
|
||||
.typing-indicator span { width: 7px; height: 7px; border-radius: 50%; background: var(--violet, #6D28D9); opacity: 0.4; animation: typingDot 1.2s ease-in-out infinite; }
|
||||
.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
|
||||
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }
|
||||
@keyframes typingDot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-6px); opacity: 1; } }
|
||||
|
||||
.quick-replies { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
|
||||
|
||||
.quick-reply-btn {
|
||||
background: #fff; border: 1.5px solid var(--border); color: var(--ink);
|
||||
padding: 11px 15px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 500;
|
||||
cursor: pointer; text-align: left; transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
|
||||
background: #fff; border: 1.5px solid var(--border, #E2E8F0); color: var(--ink, #0A2540);
|
||||
padding: 11px 15px; border-radius: var(--radius-sm, 10px); font-size: 13.5px; font-weight: 500;
|
||||
cursor: pointer; text-align: left; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
font-family: inherit; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-xs);
|
||||
}
|
||||
.quick-reply-btn:hover { background: var(--emerald-light); border-color: var(--emerald); color: var(--emerald-dark); transform: translateY(-1px); }
|
||||
.quick-reply-btn:hover { background: #F5F3FF; border-color: rgba(109, 40, 217, 0.4); color: var(--violet, #6D28D9); transform: translateY(-1px); }
|
||||
.quick-reply-btn .qr-icon { font-size: 16px; flex-shrink: 0; }
|
||||
|
||||
.doc-status-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xs); padding: 10px 12px; margin-top: 6px; font-size: 12px; }
|
||||
.doc-status-card .doc-name { font-weight: 600; color: var(--ink); margin-bottom: 4px; font-size: 13px; }
|
||||
.doc-status-card .doc-year { color: var(--muted); font-size: 11px; }
|
||||
.doc-status-card .doc-badge { display: inline-block; padding: 2px 8px; border-radius: var(--radius-xs); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; font-family: var(--font-mono); }
|
||||
.doc-badge.pending { background: var(--warn-bg); color: var(--brass-dark); }
|
||||
.doc-badge.approved { background: var(--success-bg); color: var(--success); }
|
||||
.doc-badge.rejected { background: var(--error-bg); color: var(--error); }
|
||||
.doc-status-card .doc-note { margin-top: 4px; color: var(--muted); font-style: italic; font-size: 11px; }
|
||||
.doc-status-card { background: #fff; border: 1px solid var(--border, #E2E8F0); border-radius: var(--radius-xs, 6px); padding: 10px 12px; margin-top: 6px; font-size: 12px; }
|
||||
.doc-status-card .doc-name { font-weight: 600; color: var(--ink, #0A2540); margin-bottom: 4px; font-size: 13px; }
|
||||
.doc-status-card .doc-year { color: var(--muted, #425466); font-size: 11px; }
|
||||
.doc-status-card .doc-badge { display: inline-block; padding: 2px 8px; border-radius: var(--radius-xs, 6px); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; font-family: var(--font-mono); }
|
||||
.doc-badge.pending { background: #FFF8E6; color: #92600A; }
|
||||
.doc-badge.approved { background: #ECFDF5; color: #047857; }
|
||||
.doc-badge.rejected { background: #FEF2F2; color: #DC2626; }
|
||||
.doc-status-card .doc-note { margin-top: 4px; color: var(--muted, #425466); font-style: italic; font-size: 11px; }
|
||||
|
||||
.status-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
|
||||
.summary-item { text-align: center; padding: 8px 4px; border-radius: var(--radius-xs); background: var(--paper); }
|
||||
.summary-item { text-align: center; padding: 8px 4px; border-radius: var(--radius-xs, 6px); background: #F6F9FC; }
|
||||
.summary-item .count { font-family: var(--font-mono); font-size: 19px; font-weight: 600; display: block; }
|
||||
.summary-item .label { font-size: 10px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.5px; }
|
||||
.summary-item.pending .count { color: var(--brass-dark); }
|
||||
.summary-item.approved .count { color: var(--success); }
|
||||
.summary-item.rejected .count { color: var(--error); }
|
||||
.summary-item .label { font-size: 10px; text-transform: uppercase; color: var(--muted, #425466); letter-spacing: 0.5px; }
|
||||
.summary-item.pending .count { color: #92600A; }
|
||||
.summary-item.approved .count { color: #047857; }
|
||||
.summary-item.rejected .count { color: #DC2626; }
|
||||
|
||||
.faq-question {
|
||||
background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xs);
|
||||
background: #fff; border: 1px solid var(--border, #E2E8F0); border-radius: var(--radius-xs, 6px);
|
||||
padding: 9px 12px; font-size: 12.5px; cursor: pointer; transition: all 0.2s ease;
|
||||
text-align: left; color: var(--ink); width: 100%; font-family: inherit; display: block; margin-top: 4px;
|
||||
text-align: left; color: var(--ink, #0A2540); width: 100%; font-family: inherit; display: block; margin-top: 4px;
|
||||
}
|
||||
.faq-question:hover { border-color: var(--emerald); color: var(--emerald); background: var(--emerald-light); }
|
||||
.faq-question:hover { border-color: #1D4ED8; color: #1D4ED8; background: #EFF6FF; }
|
||||
|
||||
.back-btn {
|
||||
background: none; border: none; color: var(--emerald); cursor: pointer; font-size: 12px;
|
||||
background: none; border: none; color: #1D4ED8; cursor: pointer; font-size: 12px;
|
||||
padding: 4px 0; font-family: inherit; font-weight: 500; margin-top: 6px;
|
||||
display: inline-flex; align-items: center; gap: 4px;
|
||||
}
|
||||
|
||||
@@ -38,32 +38,52 @@
|
||||
.app-footer img { height: 28px; }
|
||||
.app-footer small { color: var(--muted); font-size: 12px; }
|
||||
|
||||
/* ── Auth Layout — Split Card ────────────────────────────── */
|
||||
/* ── Auth Layout — Artha Split Editorial ────────────────────────────── */
|
||||
.auth-shell {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
background: #fff;
|
||||
background: var(--paper);
|
||||
}
|
||||
.auth-brand {
|
||||
width: 42%;
|
||||
min-width: 280px;
|
||||
min-width: 320px;
|
||||
position: relative;
|
||||
background: #17211D;
|
||||
background-image: var(--ruled), linear-gradient(155deg, #17211D 0%, var(--emerald-dark) 130%);
|
||||
background: var(--ink);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 48px 40px;
|
||||
color: #fff;
|
||||
gap: 22px;
|
||||
gap: 24px;
|
||||
overflow: hidden;
|
||||
border-right: 1px solid rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
.auth-brand::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -80px;
|
||||
left: -80px;
|
||||
width: 240px;
|
||||
height: 240px;
|
||||
background: radial-gradient(circle, rgba(29, 78, 216, 0.45) 0%, transparent 70%);
|
||||
border-radius: 50%;
|
||||
pointer-events: none;
|
||||
}
|
||||
.auth-brand .brand-logo { height: 48px; opacity: 0.95; }
|
||||
.auth-brand h2 { font-family: var(--font-display); color: #fff; font-size: clamp(20px,2.5vw,27px); text-align: center; margin: 0; font-weight: 500; }
|
||||
.auth-brand p { color: rgba(255,255,255,0.68); font-size: 14px; text-align: center; line-height: 1.8; margin: 0; max-width: 320px; }
|
||||
.auth-brand .brand-divider { width: 40px; height: 2px; background: var(--brass); border-radius: 2px; }
|
||||
.auth-brand .auth-brand-logo-img {
|
||||
width: 58px;
|
||||
height: 58px;
|
||||
border-radius: 12px;
|
||||
object-fit: cover;
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
display: block;
|
||||
}
|
||||
.auth-brand h2 { font-family: var(--font-display, 'Playfair Display', serif); color: #fff; font-size: clamp(22px,2.6vw,30px); text-align: center; margin: 0; font-weight: 600; }
|
||||
.auth-brand p { color: rgba(255,255,255,0.72); font-size: 14.5px; text-align: center; line-height: 1.7; margin: 0; max-width: 340px; }
|
||||
.auth-brand .brand-divider { width: 44px; height: 3px; background: var(--brass); border-radius: 2px; }
|
||||
|
||||
.auth-form-side {
|
||||
flex: 1;
|
||||
@@ -71,13 +91,27 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: clamp(32px, 5vw, 64px) clamp(24px, 6vw, 80px);
|
||||
background: #fff;
|
||||
background: var(--paper);
|
||||
overflow-y: auto;
|
||||
}
|
||||
.auth-box { width: 100%; max-width: 420px; }
|
||||
.auth-box h1 { font-size: clamp(21px,2.5vw,27px); margin-bottom: 6px; }
|
||||
.auth-box .auth-subtitle { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
|
||||
.auth-links { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; line-height: 2; }
|
||||
.auth-box {
|
||||
width: 100%;
|
||||
max-width: 440px;
|
||||
background: #FFFFFF;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 24px;
|
||||
padding: clamp(32px, 4vw, 44px);
|
||||
box-shadow: 0 10px 32px -4px rgba(10, 37, 64, 0.05);
|
||||
}
|
||||
.auth-box h1 {
|
||||
font-family: var(--font-display, 'Playfair Display', serif);
|
||||
font-size: clamp(24px,2.6vw,30px);
|
||||
color: var(--ink);
|
||||
font-weight: 600;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.auth-box .auth-subtitle { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
|
||||
.auth-links { margin-top: 24px; font-size: 13.5px; color: var(--muted); text-align: center; line-height: 2; }
|
||||
|
||||
|
||||
|
||||
@@ -94,6 +128,7 @@
|
||||
}
|
||||
.auth-brand p, .auth-brand .brand-divider { display: none; }
|
||||
.auth-brand .brand-logo { height: 30px; }
|
||||
.auth-brand .auth-brand-logo-img { width: 36px; height: 36px; border-radius: 8px; }
|
||||
.auth-brand h2 { font-size: 15px; margin: 0; }
|
||||
.auth-form-side { padding: 28px 20px; }
|
||||
}
|
||||
@@ -184,7 +219,7 @@
|
||||
transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
|
||||
position: relative;
|
||||
}
|
||||
.user-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfc7ad; }
|
||||
.user-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(29, 78, 216, 0.3); }
|
||||
.click-layer { position: absolute; inset: 0; z-index: 0; }
|
||||
.user-top { display: flex; align-items: center; gap: 14px; min-width: 0; }
|
||||
.user-avatar {
|
||||
@@ -225,7 +260,7 @@
|
||||
transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.doc-row:hover { border-color: #cfc7ad; background: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(23,33,29,0.06); }
|
||||
.doc-row:hover { border-color: var(--brass); background: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(10,37,64,0.06); }
|
||||
.doc-row-left { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
|
||||
.doc-row-name { font-weight: 600; font-size: 13px; color: var(--ink); word-break: break-word; }
|
||||
.doc-row-type { font-size: 12px; color: var(--muted); }
|
||||
@@ -233,7 +268,7 @@
|
||||
|
||||
/* ── Drop Zone ───────────────────────────────────────────── */
|
||||
.drop-zone {
|
||||
border: 2px dashed #cfc7ad;
|
||||
border: 2px dashed var(--border);
|
||||
border-radius: var(--radius-md);
|
||||
padding: 36px 24px;
|
||||
text-align: center;
|
||||
@@ -242,9 +277,9 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
.drop-zone:hover, .drop-zone.drag-over {
|
||||
border-color: var(--emerald);
|
||||
background: var(--emerald-light);
|
||||
color: var(--emerald);
|
||||
border-color: var(--brass);
|
||||
background: var(--brass-light);
|
||||
color: var(--brass);
|
||||
}
|
||||
.drop-zone .drop-icon { font-size: 34px; margin-bottom: 10px; }
|
||||
.drop-zone .drop-title { font-weight: 600; font-size: 15px; color: var(--ink); }
|
||||
@@ -262,7 +297,7 @@
|
||||
transition: border-color var(--transition), box-shadow var(--transition);
|
||||
max-width: 360px;
|
||||
}
|
||||
.search-bar:focus-within { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(31,93,70,0.10); }
|
||||
.search-bar:focus-within { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(29,78,216,0.10); }
|
||||
.search-bar input { border: none; outline: none; font-family: inherit; font-size: 14px; width: 100%; background: transparent; }
|
||||
.search-bar .search-icon { color: var(--muted); font-size: 16px; flex-shrink: 0; }
|
||||
|
||||
@@ -320,15 +355,15 @@
|
||||
gap: 16px;
|
||||
padding: 16px 20px;
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--emerald-light);
|
||||
border: 1px solid rgba(31,93,70,0.2);
|
||||
background: var(--brass-light);
|
||||
border: 1px solid rgba(29, 78, 216, 0.2);
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
.engagement-banner .banner-icon { font-size: 26px; flex-shrink: 0; color: var(--emerald); }
|
||||
.engagement-banner .banner-icon { font-size: 26px; flex-shrink: 0; color: var(--brass); }
|
||||
.engagement-banner .banner-text { flex: 1; }
|
||||
.engagement-banner .banner-text strong { display: block; font-size: 14px; color: var(--ink); }
|
||||
.engagement-banner .banner-text span { font-size: 13px; color: var(--muted); }
|
||||
.engagement-banner.acknowledged { background: var(--success-bg); border-color: rgba(31,93,70,0.25); }
|
||||
.engagement-banner.acknowledged { background: var(--success-bg); border-color: rgba(4, 120, 87, 0.25); }
|
||||
|
||||
/* ── Empty State ─────────────────────────────────────────── */
|
||||
.empty-state {
|
||||
@@ -365,15 +400,15 @@
|
||||
|
||||
/* ── JS-extracted components (upload/review) ─────────────── */
|
||||
.doc-row-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
|
||||
.btn-approve { background: var(--success-bg); color: var(--success); border: 1px solid rgba(31,93,70,0.3); border-radius: var(--radius-sm); }
|
||||
.btn-reject { background: var(--error-bg); color: var(--error); border: 1px solid rgba(166,58,58,0.3); border-radius: var(--radius-sm); }
|
||||
.btn-approve { background: var(--success-bg); color: var(--success); border: 1px solid rgba(4, 120, 87, 0.3); border-radius: var(--radius-sm); }
|
||||
.btn-reject { background: var(--error-bg); color: var(--error); border: 1px solid rgba(220, 38, 38, 0.3); border-radius: var(--radius-sm); }
|
||||
.reject-box { display: none; margin-top: 10px; }
|
||||
.reject-textarea { width: 100%; padding: 10px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); font-family: inherit; font-size: 13px; resize: vertical; }
|
||||
.admin-doc-actions { display: flex; gap: 8px; flex-shrink: 0; }
|
||||
.admin-docs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
|
||||
.admin-docs-td { padding: 10px 12px; color: #3E463F; }
|
||||
.admin-docs-td { padding: 10px 12px; color: var(--muted); }
|
||||
.admin-docs-th { padding: 10px 12px; color: var(--muted); font-weight: 600; text-align: left; border-bottom: 2px solid var(--border); }
|
||||
.btn-download-pill { background: var(--emerald); color: #fff; border: none; border-radius: var(--radius-sm); font-weight: 500; }
|
||||
.btn-download-pill { background: var(--brass); color: #fff; border: none; border-radius: var(--radius-sm); font-weight: 500; }
|
||||
.btn-download-pill:hover { opacity: 0.9; }
|
||||
.btn-upload-pill { background: var(--brass); color: #fff; border: none; border-radius: var(--radius-sm); font-weight: 500; cursor: pointer; padding: 8px 16px; display: inline-flex; align-items: center; gap: 8px; }
|
||||
.btn-upload-pill:hover { opacity: 0.9; }
|
||||
@@ -745,8 +780,49 @@
|
||||
min-width: 0; /* prevents flex child from overflowing */
|
||||
}
|
||||
.doc-review-sidebar {
|
||||
flex: 0 0 240px; /* fixed 240px sidebar, doesn't shrink */
|
||||
width: 240px;
|
||||
flex: 0 0 290px;
|
||||
width: 290px;
|
||||
min-width: 260px;
|
||||
}
|
||||
.doc-review-sidebar .timeline-sidebar-card {
|
||||
background: #FFFFFF;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 16px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 4px 16px rgba(10, 37, 64, 0.04);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 14px;
|
||||
}
|
||||
.doc-review-sidebar .timeline-control {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
padding: 8px 14px;
|
||||
background: var(--paper);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 12px;
|
||||
}
|
||||
.doc-review-sidebar .timeline-control .tl-btn {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--border);
|
||||
background: #FFFFFF;
|
||||
color: var(--ink);
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
transition: all 0.18s ease;
|
||||
}
|
||||
.doc-review-sidebar .timeline-control .tl-btn:hover {
|
||||
background: var(--brass);
|
||||
color: #FFFFFF;
|
||||
border-color: var(--brass);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
@@ -759,9 +835,7 @@
|
||||
order: -1; /* show Filing Timeline ABOVE the doc list on mobile */
|
||||
}
|
||||
.doc-review-sidebar .card-flat {
|
||||
flex-direction: row !important;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
.doc-review-sidebar h3 {
|
||||
@@ -769,11 +843,11 @@
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
.doc-review-sidebar .timeline-control {
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
}
|
||||
.doc-review-sidebar .btn {
|
||||
flex: 1;
|
||||
min-width: 180px;
|
||||
.doc-review-sidebar .btn,
|
||||
.doc-review-sidebar .artha-pill-btn {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -845,17 +919,50 @@
|
||||
.doc-count-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
gap: 6px;
|
||||
font-size: 12px;
|
||||
font-family: var(--font-mono);
|
||||
background: var(--paper);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-xs);
|
||||
padding: 3px 8px;
|
||||
border-radius: 9999px;
|
||||
padding: 4px 10px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
/* ── Admin User Detail Bar ────────────────────────────── */
|
||||
.aud-user-bar {
|
||||
background: #FFFFFF !important;
|
||||
border: 1px solid var(--border) !important;
|
||||
border-radius: 20px !important;
|
||||
padding: clamp(20px, 3vw, 28px) !important;
|
||||
box-shadow: 0 4px 20px -2px rgba(10, 37, 64, 0.04) !important;
|
||||
}
|
||||
.aud-bar-inner {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.aud-bar-left {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 16px;
|
||||
min-width: 280px;
|
||||
flex: 1;
|
||||
}
|
||||
.aud-bar-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.aud-year-picker {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
/* StatusChip */
|
||||
.status-chip-container {
|
||||
@@ -869,3 +976,4 @@
|
||||
color: var(--error);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* ============================================================
|
||||
/* ============================================================
|
||||
dynamic.css — Ledger motion layer
|
||||
Uses ONLY existing tokens (colours, Fraunces / IBM Plex fonts).
|
||||
Uses ONLY existing tokens (colours, fonts).
|
||||
Concept: a brass rule is "struck under" a checked entry; numbers
|
||||
tick like a ledger counter. Load AFTER animations.css.
|
||||
Rules: animate transform/opacity only; entrance animations use
|
||||
@@ -10,31 +10,24 @@
|
||||
:root {
|
||||
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
|
||||
--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
|
||||
--brass-rgb: 176, 128, 61; /* = original brass, for rgba() */
|
||||
--emerald-rgb: 31, 93, 70;
|
||||
--brass-rgb: 29, 78, 216;
|
||||
--emerald-rgb: 4, 120, 87;
|
||||
}
|
||||
|
||||
/* ---------- Global polish ---------- */
|
||||
::selection { background: rgba(var(--brass-rgb), 0.28); color: var(--ink); }
|
||||
h1, h2, h3 { text-wrap: balance; }
|
||||
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
||||
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; }
|
||||
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
|
||||
.btn:focus-visible, .tab-btn:focus-visible { outline-offset: 2px; }
|
||||
|
||||
/* ---------- Scroll progress rule (width driven by --scroll, set in motion.js) ---------- */
|
||||
.scroll-progress {
|
||||
position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 10000;
|
||||
background: linear-gradient(90deg, var(--emerald), rgb(var(--brass-rgb)));
|
||||
background: linear-gradient(90deg, #1D4ED8, #14B8A6);
|
||||
transform: scaleX(var(--scroll, 0)); transform-origin: 0 50%; pointer-events: none;
|
||||
}
|
||||
|
||||
/* ---------- Header / navbar respond to scroll ---------- */
|
||||
.navbar:not(.navbar-solid) { position: fixed; transition: background 0.35s, box-shadow 0.35s, border-color 0.35s; }
|
||||
html[data-scrolled] .navbar:not(.navbar-solid) {
|
||||
background: rgba(23, 33, 29, 0.92);
|
||||
box-shadow: 0 10px 28px -14px rgba(23, 33, 29, 0.6);
|
||||
border-bottom-color: rgba(var(--brass-rgb), 0.35);
|
||||
}
|
||||
.app-header { transition: box-shadow 0.3s, background 0.3s; }
|
||||
html[data-scrolled] .app-header { box-shadow: var(--shadow-sm); }
|
||||
|
||||
@@ -43,47 +36,22 @@ html[data-scrolled] .app-header { box-shadow: var(--shadow-sm); }
|
||||
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } }
|
||||
.page-enter { animation: pageIn 0.5s var(--ease-out) backwards; }
|
||||
|
||||
:is(.admin-stats, .users-grid, .services-grid, .return-cards, .stat-row) > * {
|
||||
animation: rise 0.65s var(--ease-out) backwards;
|
||||
animation-delay: var(--d, 0ms);
|
||||
}
|
||||
/* beat the older `fade-up` (fill-mode both) which froze the hover-lift transform */
|
||||
.fade-up, .service-card.fade-up, .user-card.fade-up { animation-name: rise; animation-duration: 0.65s; animation-timing-function: var(--ease-out); animation-fill-mode: backwards; }
|
||||
:is(.admin-stats, .users-grid, .services-grid, .return-cards, .stat-row) > :nth-child(1) { --d: 40ms; }
|
||||
:is(.admin-stats, .users-grid, .services-grid, .return-cards, .stat-row) > :nth-child(2) { --d: 110ms; }
|
||||
:is(.admin-stats, .users-grid, .services-grid, .return-cards, .stat-row) > :nth-child(3) { --d: 180ms; }
|
||||
:is(.admin-stats, .users-grid, .services-grid, .return-cards, .stat-row) > :nth-child(4) { --d: 250ms; }
|
||||
:is(.admin-stats, .users-grid, .services-grid, .return-cards, .stat-row) > :nth-child(5) { --d: 320ms; }
|
||||
:is(.admin-stats, .users-grid, .services-grid, .return-cards, .stat-row) > :nth-child(6) { --d: 380ms; }
|
||||
:is(.admin-stats, .users-grid, .services-grid, .return-cards, .stat-row) > :nth-child(7) { --d: 430ms; }
|
||||
:is(.admin-stats, .users-grid, .services-grid, .return-cards, .stat-row) > :nth-child(8) { --d: 480ms; }
|
||||
:is(.admin-stats, .users-grid, .services-grid, .return-cards, .stat-row) > :nth-child(n+9) { --d: 520ms; }
|
||||
|
||||
/* ---------- Cards: lift + pointer spotlight (vars set in motion.js) ---------- */
|
||||
:is(.stat-card, .user-card, .service-card, .card) { position: relative; }
|
||||
:is(.stat-card, .user-card, .service-card, .card):hover {
|
||||
.card { position: relative; }
|
||||
.card:hover {
|
||||
background-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--brass-rgb), 0.10), transparent 62%);
|
||||
}
|
||||
.stat-icon { display: inline-flex; transition: transform 0.5s var(--ease-spring); }
|
||||
.stat-card:hover .stat-icon { transform: translateY(-3px) rotate(-6deg) scale(1.08); }
|
||||
.stat-card.active-filter { animation: rise 0.65s var(--ease-out) backwards, ringPulse 2.6s 1s ease-out infinite; animation-delay: var(--d, 0ms), 1s; }
|
||||
@keyframes ringPulse { 0% { box-shadow: 0 0 0 0 rgba(var(--emerald-rgb), 0.28); } 70%, 100% { box-shadow: 0 0 0 10px rgba(var(--emerald-rgb), 0); } }
|
||||
.user-avatar { transition: transform 0.4s var(--ease-spring), box-shadow 0.3s; }
|
||||
.user-card:hover .user-avatar { transform: scale(1.1); box-shadow: 0 0 0 4px rgba(var(--brass-rgb), 0.22); }
|
||||
.service-card img { transition: transform 0.9s var(--ease-out); }
|
||||
.service-card:hover img { transform: scale(1.06); }
|
||||
|
||||
/* ---------- Buttons: lift, brass sheen, press ---------- */
|
||||
.btn { position: relative; overflow: hidden; transition: transform 0.18s var(--ease-out), box-shadow 0.25s, background-color 0.25s, color 0.25s, border-color 0.25s; }
|
||||
.btn:not(:disabled):hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
|
||||
.btn:not(:disabled):active { transform: translateY(1px) scale(0.97); box-shadow: none; }
|
||||
.btn-primary::before, .login-btn::before {
|
||||
.btn-primary::before {
|
||||
content: ''; position: absolute; inset: 0; pointer-events: none;
|
||||
background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.26) 50%, transparent 70%);
|
||||
background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
|
||||
transform: translateX(-130%); transition: transform 0.8s var(--ease-out);
|
||||
}
|
||||
.btn-primary:not(:disabled):hover::before, .login-btn:hover::before { transform: translateX(130%); }
|
||||
.login-btn { position: relative; overflow: hidden; }
|
||||
.btn-primary:not(:disabled):hover::before { transform: translateX(130%); }
|
||||
|
||||
/* ---------- Status chips: attention dot / stamp ---------- */
|
||||
@keyframes pop { 0% { opacity: 0; transform: scale(0.6); } 100% { opacity: 1; transform: scale(1); } }
|
||||
@@ -97,7 +65,7 @@ html[data-scrolled] .app-header { box-shadow: var(--shadow-sm); }
|
||||
.status-chip-container .badge-green::before { content: '✓' / ''; font-weight: 700; display: inline-block; animation: stamp 0.55s 0.15s var(--ease-spring) backwards; }
|
||||
.status-chip-container .badge-red::before { content: '!' / ''; font-weight: 700; display: inline-block; animation: stamp 0.55s 0.15s var(--ease-spring) backwards; }
|
||||
|
||||
/* ---------- Tabs, inputs, toasts, skeletons ---------- */
|
||||
/* ---------- Tabs, inputs, toasts ---------- */
|
||||
.tab-btn { border-radius: var(--radius-xs) var(--radius-xs) 0 0; }
|
||||
.tab-btn:hover { background: rgba(var(--brass-rgb), 0.08); color: var(--ink); }
|
||||
.tab-btn.active { background: linear-gradient(180deg, transparent, rgba(var(--brass-rgb), 0.07)); }
|
||||
@@ -106,58 +74,19 @@ input, select, textarea { transition: border-color 0.2s, box-shadow 0.25s; }
|
||||
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; border-color: rgb(var(--brass-rgb)); box-shadow: var(--shadow-glow); }
|
||||
@keyframes toastIn { from { opacity: 0; transform: translateX(28px) scale(0.96); } }
|
||||
.toast { animation: toastIn 0.5s var(--ease-spring) backwards; }
|
||||
@keyframes shimmer { to { transform: translateX(100%); } }
|
||||
.skeleton { position: relative; overflow: hidden; background: var(--border); border-radius: var(--radius-md); }
|
||||
.skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent); animation: shimmer 1.4s infinite; }
|
||||
.skeleton-card { height: 128px; }
|
||||
|
||||
/* ---------- Upload drop zone ---------- */
|
||||
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
|
||||
.drop-zone { transition: border-color 0.25s, background 0.25s, transform 0.3s var(--ease-spring), box-shadow 0.3s; }
|
||||
.drop-zone:hover .material-symbols-outlined { animation: bob 1.3s ease-in-out infinite; }
|
||||
.drop-zone.drag-over { border-style: solid; border-color: rgb(var(--brass-rgb)); background: rgba(var(--brass-rgb), 0.10); transform: scale(1.015); box-shadow: var(--shadow-glow); }
|
||||
.drop-zone.drag-over .material-symbols-outlined { animation: bob 0.7s ease-in-out infinite; }
|
||||
|
||||
/* ---------- Chatbot + banners ---------- */
|
||||
/* ---------- Chatbot ---------- */
|
||||
@keyframes ring { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
|
||||
.chatbot-fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(var(--brass-rgb), 0.6); animation: ring 2.8s ease-out infinite; pointer-events: none; }
|
||||
.chatbot-fab.open::before { animation: none; opacity: 0; }
|
||||
.chatbot-fab:not(.open):hover { transform: scale(1.08) rotate(-4deg); }
|
||||
.chatbot-window { transform-origin: bottom right; transition: opacity 0.3s, transform 0.4s var(--ease-spring); }
|
||||
@keyframes glowNudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--brass-rgb), 0); } 50% { box-shadow: 0 0 0 6px rgba(var(--brass-rgb), 0.18); } }
|
||||
.engagement-banner:not(.acknowledged) { animation: glowNudge 3.2s 1s ease-in-out 3; }
|
||||
|
||||
/* ---------- Marketing: hero + reveals ---------- */
|
||||
/* Ambient light: soft brass + emerald glows drift over the (static) photo. Gradients only — no image scaling, so it stays cheap. */
|
||||
.hero { isolation: isolate; }
|
||||
.hero::after {
|
||||
content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
|
||||
background:
|
||||
radial-gradient(55% 50% at 18% 28%, rgba(var(--brass-rgb), 0.20), transparent 70%),
|
||||
radial-gradient(50% 60% at 86% 82%, rgba(var(--emerald-rgb), 0.30), transparent 70%);
|
||||
animation: drift 20s ease-in-out infinite alternate;
|
||||
}
|
||||
@keyframes drift { from { transform: translate3d(-4%, -3%, 0) scale(1); } to { transform: translate3d(4%, 3%, 0) scale(1.12); } }
|
||||
@media (max-width: 768px) { .hero::after { animation: none; } }
|
||||
.hero-eyebrow, .hero h1, .hero-sub, .hero-actions { animation: rise 1s var(--ease-out) backwards; }
|
||||
.hero-eyebrow { animation-delay: 0.1s; } .hero h1 { animation-delay: 0.22s; } .hero-sub { animation-delay: 0.4s; } .hero-actions { animation-delay: 0.55s; }
|
||||
.hero h1 em { background: linear-gradient(rgb(var(--brass-rgb)), rgb(var(--brass-rgb))) no-repeat 0 100% / 0 2px; padding-bottom: 0.08em; animation: drawRule 1.2s 1.1s var(--ease-out) forwards; }
|
||||
@keyframes drawRule { to { background-size: 100% 2px; } }
|
||||
.hero-stats { animation: rise 1.1s 0.7s var(--ease-out) backwards; }
|
||||
.stat-block { transition: background 0.3s; }
|
||||
.stat-block:hover { background: rgba(var(--brass-rgb), 0.08); }
|
||||
.stat-figure { transition: color 0.3s, transform 0.4s var(--ease-spring); }
|
||||
.stat-block:hover .stat-figure { color: var(--emerald); transform: scale(1.06); }
|
||||
|
||||
/* Reveal: hidden ONLY when JS has opted in (html.motion) — never blank without JS / reduced motion */
|
||||
.reveal { opacity: 1; transform: none; }
|
||||
html.motion .reveal:not(.in-view) { opacity: 0; transform: translateY(26px); }
|
||||
html.motion .reveal .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform 0.9s 0.25s var(--ease-out); }
|
||||
html.motion .reveal.in-view .eyebrow::before { transform: scaleX(1); }
|
||||
@supports (animation-timeline: view()) {
|
||||
@keyframes parallaxY { from { transform: translateY(-18px) scale(1.04); } to { transform: translateY(18px) scale(1.04); } }
|
||||
.about-media img { animation: parallaxY linear both; animation-timeline: view(); animation-range: cover 0% 100%; }
|
||||
}
|
||||
|
||||
/* Layout safety: long text inside a .badge (About page <p class="badge">) must wrap instead of forcing horizontal scroll */
|
||||
.badge { max-width: 100%; }
|
||||
@@ -168,4 +97,4 @@ p.badge { white-space: normal; text-align: left; }
|
||||
*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
|
||||
.scroll-progress { display: none; }
|
||||
}
|
||||
@media (hover: none) { :is(.stat-card, .user-card, .service-card, .card):hover { background-image: none; } }
|
||||
@media (hover: none) { .card:hover { background-image: none; } }
|
||||
|
||||
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 226 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 226 KiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 109 KiB |
|
After Width: | Height: | Size: 334 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 226 KiB |
|
After Width: | Height: | Size: 226 KiB |