- 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
1259 lines
28 KiB
CSS
1259 lines
28 KiB
CSS
/* ============================================================
|
|
dashboard.css — Modern US Fintech UI (Stripe / Mercury / Ramp)
|
|
Bookkeepro Dashboard System 2026
|
|
============================================================ */
|
|
|
|
/* ── 1. Shared Foundation Classes ─────────────────────────── */
|
|
|
|
.dash-card {
|
|
background: #FFFFFF;
|
|
border: 1px solid var(--border, #E2E8F0);
|
|
border-radius: 18px;
|
|
box-shadow: 0 4px 10px -2px rgba(10, 37, 64, 0.05);
|
|
transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
|
|
box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
|
|
border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
@media (hover: hover) {
|
|
.dash-card:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 10px 24px -4px rgba(10, 37, 64, 0.10);
|
|
border-color: rgba(29, 78, 216, 0.28);
|
|
}
|
|
}
|
|
|
|
/* Icon tile: 36-40px, rounded-12 */
|
|
.dash-chip {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 12px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 20px;
|
|
flex-shrink: 0;
|
|
transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
/* Brand Logo in Dashboard Header */
|
|
.dash-brand-logo-img,
|
|
.artha-brand-logo-img {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 10px;
|
|
object-fit: cover;
|
|
flex-shrink: 0;
|
|
box-shadow: 0 2px 8px rgba(10, 37, 64, 0.22);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
.artha-brand-wrap:hover .dash-brand-logo-img,
|
|
.artha-brand-wrap:hover .artha-brand-logo-img {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.dash-chip--blue { background: #EFF6FF; color: #1D4ED8; }
|
|
.dash-chip--green { background: #ECFDF5; color: #047857; }
|
|
.dash-chip--amber { background: #FFF8E6; color: #92600A; }
|
|
.dash-chip--teal { background: rgba(20, 184, 166, 0.12); color: #0D9488; }
|
|
.dash-chip--violet { background: #F5F3FF; color: #6D28D9; }
|
|
.dash-chip--slate { background: #F1F5F9; color: #425466; }
|
|
.dash-chip--red { background: #FEF2F2; color: #B91C1C; }
|
|
|
|
/* Status pill with 6px leading dot */
|
|
.dash-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 3px 10px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
font-family: var(--font-mono, monospace);
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.dash-pill::before {
|
|
content: '';
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dash-pill--approved {
|
|
background: #ECFDF5;
|
|
color: #047857;
|
|
border: 1px solid rgba(4, 120, 87, 0.22);
|
|
}
|
|
.dash-pill--approved::before { background: #047857; }
|
|
|
|
.dash-pill--pending {
|
|
background: #FFF8E6;
|
|
color: #92600A;
|
|
border: 1px solid rgba(245, 184, 61, 0.35);
|
|
}
|
|
.dash-pill--pending::before { background: #F5B83D; }
|
|
|
|
.dash-pill--rejected {
|
|
background: #FEF2F2;
|
|
color: #B91C1C;
|
|
border: 1px solid rgba(185, 28, 28, 0.22);
|
|
}
|
|
.dash-pill--rejected::before { background: #DC2626; }
|
|
|
|
.dash-pill--info,
|
|
.dash-pill--uploaded {
|
|
background: #EFF6FF;
|
|
color: #1D4ED8;
|
|
border: 1px solid rgba(29, 78, 216, 0.20);
|
|
}
|
|
.dash-pill--info::before,
|
|
.dash-pill--uploaded::before { background: #1D4ED8; }
|
|
|
|
.dash-pill--ai {
|
|
background: #F5F3FF;
|
|
color: #6D28D9;
|
|
border: 1px solid rgba(109, 40, 217, 0.22);
|
|
}
|
|
.dash-pill--ai::before { background: #6D28D9; }
|
|
|
|
/* Entrance staggered rise animation */
|
|
@keyframes dashRise {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(16px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.dash-rise {
|
|
animation: dashRise 600ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
|
|
animation-delay: calc(min(var(--i, 0), 8) * 60ms);
|
|
}
|
|
|
|
/* Skeleton loader */
|
|
@keyframes dashSkeleton {
|
|
0% { background-position: -200% 0; }
|
|
100% { background-position: 200% 0; }
|
|
}
|
|
|
|
.dash-skeleton {
|
|
background: linear-gradient(90deg, #E2E8F0 0%, #F1F5F9 50%, #E2E8F0 100%);
|
|
background-size: 200% 100%;
|
|
animation: dashSkeleton 1.4s linear infinite;
|
|
border-radius: var(--radius-xs, 6px);
|
|
}
|
|
|
|
/* Accessible focus ring */
|
|
.dash-focusable:focus-visible {
|
|
outline: none;
|
|
box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.35);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* ── 2. Shell & Subnav ────────────────────────────────────── */
|
|
|
|
/* Top header glass blur */
|
|
.dash-header {
|
|
background: rgba(255, 255, 255, 0.90) !important;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border-bottom: 1px solid var(--border, #E2E8F0);
|
|
transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
html[data-scrolled="true"] .dash-header,
|
|
body.scrolled .dash-header {
|
|
box-shadow: 0 4px 16px -2px rgba(10, 37, 64, 0.08);
|
|
}
|
|
|
|
/* Sub-nav segmented pill group */
|
|
.dash-subnav-group {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
background: #EEF3F9;
|
|
border-radius: 999px;
|
|
padding: 4px;
|
|
gap: 2px;
|
|
}
|
|
|
|
.dash-subnav-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
padding: 6px 14px;
|
|
border-radius: 999px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: #425466;
|
|
text-decoration: none;
|
|
transition: background 0.25s cubic-bezier(0.16, 1, 0.3, 1),
|
|
color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.dash-subnav-link:hover {
|
|
background: #FFFFFF;
|
|
color: var(--ink, #0A2540);
|
|
}
|
|
|
|
.dash-subnav-link.active {
|
|
background: #0A2540;
|
|
color: #FFFFFF !important;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.dash-subnav-link.active::before {
|
|
content: '';
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: #3B82F6;
|
|
display: inline-block;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Subtle ping ring on notification badge */
|
|
@keyframes dashBadgePing {
|
|
0% { transform: scale(1); opacity: 0.7; }
|
|
100% { transform: scale(1.6); opacity: 0; }
|
|
}
|
|
|
|
.dash-alert-badge {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #DC2626;
|
|
}
|
|
|
|
.dash-alert-badge::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 50%;
|
|
background: #DC2626;
|
|
animation: dashBadgePing 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
|
|
}
|
|
|
|
/* Page wrapper wash */
|
|
.dash-page-wash {
|
|
background-color: #F6F9FC;
|
|
background-image: radial-gradient(60% 40% at 50% 0%, rgba(29, 78, 216, 0.06), transparent 70%);
|
|
background-repeat: no-repeat;
|
|
min-height: calc(100vh - 60px);
|
|
}
|
|
|
|
/* ── 3. Hero Section (.dash-hero) ─────────────────────────── */
|
|
|
|
@keyframes dashDrift {
|
|
0% { transform: translate(0, 0) scale(1); }
|
|
50% { transform: translate(-20px, 15px) scale(1.08); }
|
|
100% { transform: translate(15px, -15px) scale(0.95); }
|
|
}
|
|
|
|
.dash-hero {
|
|
position: relative;
|
|
background: #0A2540;
|
|
border-radius: 22px;
|
|
padding: clamp(22px, 3.5vw, 36px);
|
|
overflow: hidden;
|
|
isolation: isolate;
|
|
color: #FFFFFF;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 28px;
|
|
flex-wrap: wrap;
|
|
box-shadow: 0 10px 30px -6px rgba(10, 37, 64, 0.20);
|
|
}
|
|
|
|
.dash-hero::before,
|
|
.dash-hero::after {
|
|
content: '';
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
pointer-events: none;
|
|
filter: blur(55px);
|
|
z-index: -1;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.dash-hero::before {
|
|
width: 320px;
|
|
height: 320px;
|
|
top: -80px;
|
|
left: 20%;
|
|
background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(139, 92, 246, 0.28) 70%, transparent 100%);
|
|
animation: dashDrift 26s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
|
|
}
|
|
|
|
.dash-hero::after {
|
|
width: 280px;
|
|
height: 280px;
|
|
bottom: -60px;
|
|
right: 15%;
|
|
background: radial-gradient(circle, rgba(20, 184, 166, 0.22) 0%, rgba(29, 78, 216, 0.25) 70%, transparent 100%);
|
|
animation: dashDrift 28s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate-reverse;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.dash-hero::before,
|
|
.dash-hero::after {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.dash-hero-eyebrow {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
padding: 4px 12px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid rgba(255, 255, 255, 0.16);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
color: #C4B5FD;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
font-family: var(--font-mono, monospace);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.dash-hero-title {
|
|
font-family: var(--font-display, 'Playfair Display', serif);
|
|
font-size: clamp(22px, 2.8vw, 32px);
|
|
font-weight: 600;
|
|
color: #FFFFFF;
|
|
margin: 0 0 10px 0;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.dash-hero-desc,
|
|
.dash-hero-sub {
|
|
color: #C9D6E8;
|
|
font-size: 13.5px;
|
|
line-height: 1.55;
|
|
max-width: 580px;
|
|
margin: 0;
|
|
}
|
|
|
|
.dash-hero-badges {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.dash-hero-badge,
|
|
.dash-glass-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 5px 12px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
color: #E2E8F0;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
}
|
|
|
|
.dash-glass-pill .material-symbols-outlined {
|
|
font-size: 15px;
|
|
color: #38BDF8;
|
|
}
|
|
|
|
/* Progress ring on hero right */
|
|
.dash-progress-ring-wrap {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dash-progress-ring-svg {
|
|
width: 96px;
|
|
height: 96px;
|
|
transform: rotate(-90deg);
|
|
}
|
|
|
|
.dash-progress-ring-track {
|
|
stroke: rgba(255, 255, 255, 0.14);
|
|
}
|
|
|
|
.dash-progress-ring-bar {
|
|
stroke-linecap: round;
|
|
transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.dash-progress-caption {
|
|
font-size: 11.5px;
|
|
color: #C9D6E8;
|
|
margin-top: 8px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* ── 4. KPI Strip (.dash-kpis) ────────────────────────────── */
|
|
|
|
.dash-kpis {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 16px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.dash-kpis {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.dash-kpis {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.dash-kpi-card {
|
|
padding: 18px 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
position: relative;
|
|
}
|
|
|
|
@keyframes dashScaleX {
|
|
from { transform: scaleX(0); }
|
|
to { transform: scaleX(1); }
|
|
}
|
|
|
|
.dash-kpi-bar {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 3px;
|
|
transform-origin: left;
|
|
animation: dashScaleX 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
}
|
|
|
|
.dash-kpi-bar--blue { background: #1D4ED8; }
|
|
.dash-kpi-bar--amber { background: #F5B83D; }
|
|
.dash-kpi-bar--green { background: #047857; }
|
|
.dash-kpi-bar--teal { background: #14B8A6; }
|
|
.dash-kpi-bar--slate { background: #425466; }
|
|
.dash-kpi-bar--red { background: #DC2626; }
|
|
.dash-kpi-bar--violet { background: #6D28D9; }
|
|
|
|
.dash-kpi-top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.dash-kpi-label {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
color: #425466;
|
|
}
|
|
|
|
.dash-kpi-value {
|
|
font-family: var(--font-mono, monospace);
|
|
font-size: 30px;
|
|
font-weight: 600;
|
|
color: var(--ink, #0A2540);
|
|
line-height: 1;
|
|
font-variant-numeric: tabular-nums;
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* Pulsing dot for pending items */
|
|
@keyframes dashPulse {
|
|
0%, 100% { transform: scale(1); opacity: 1; }
|
|
50% { transform: scale(1.35); opacity: 0.6; }
|
|
}
|
|
|
|
.dash-pulse-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #F5B83D;
|
|
display: inline-block;
|
|
animation: dashPulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
|
|
}
|
|
|
|
.dash-pulse-dot--amber { background: #F5B83D; }
|
|
.dash-pulse-dot--teal { background: #14B8A6; }
|
|
|
|
@media (hover: hover) {
|
|
.dash-kpi-card--blue:hover { box-shadow: 0 12px 28px -10px rgba(29, 78, 216, 0.35); }
|
|
.dash-kpi-card--amber:hover { box-shadow: 0 12px 28px -10px rgba(245, 184, 61, 0.35); }
|
|
.dash-kpi-card--teal:hover { box-shadow: 0 12px 28px -10px rgba(20, 184, 166, 0.35); }
|
|
.dash-kpi-card--slate:hover { box-shadow: 0 12px 28px -10px rgba(66, 84, 102, 0.35); }
|
|
}
|
|
|
|
.dash-kpi-card--active {
|
|
border-color: rgba(29, 78, 216, 0.45);
|
|
box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.18), 0 6px 16px -2px rgba(10, 37, 64, 0.08);
|
|
}
|
|
|
|
.dash-hero-ai-btn {
|
|
background: var(--gradient-ai);
|
|
color: #FFFFFF;
|
|
border: 1px solid rgba(255, 255, 255, 0.22);
|
|
border-radius: 9999px;
|
|
padding: 8px 18px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
position: relative;
|
|
overflow: hidden;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
|
|
box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.dash-hero-ai-btn::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 50%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
|
|
transform: skewX(-20deg);
|
|
transition: none;
|
|
}
|
|
|
|
@media (hover: hover) {
|
|
.dash-hero-ai-btn:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 8px 20px -4px rgba(109, 40, 217, 0.5);
|
|
}
|
|
.dash-hero-ai-btn:hover::after {
|
|
left: 200%;
|
|
transition: left 0.75s ease;
|
|
}
|
|
}
|
|
|
|
.dash-row-card {
|
|
background: #FFFFFF;
|
|
border: 1px solid var(--border, #E2E8F0);
|
|
border-radius: 14px;
|
|
padding: 16px 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
|
|
box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
|
|
border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
@media (hover: hover) {
|
|
.dash-row-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 20px -4px rgba(10, 37, 64, 0.08);
|
|
border-color: rgba(29, 78, 216, 0.28);
|
|
}
|
|
}
|
|
|
|
|
|
/* ── 5. Deadlines & Alert Banner (.dash-alert) ────────────── */
|
|
|
|
.dash-alert {
|
|
background: #FFFFFF;
|
|
border: 1px solid var(--border, #E2E8F0);
|
|
border-left: 4px solid #F5B83D;
|
|
border-radius: 14px;
|
|
padding: 16px 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
box-shadow: 0 2px 8px -1px rgba(10, 37, 64, 0.04);
|
|
}
|
|
|
|
.dash-alert--overdue {
|
|
border-left-color: #DC2626;
|
|
}
|
|
|
|
.dash-alert-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
|
|
/* ── 6. Practice Vault Cards ──────────────────────────────── */
|
|
|
|
.dash-vault-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 20px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.dash-vault-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.dash-vault-card {
|
|
padding: 26px 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
position: relative;
|
|
}
|
|
|
|
.dash-vault-card::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 3px;
|
|
background: var(--gradient-brand);
|
|
transform: scaleX(0);
|
|
transform-origin: left;
|
|
transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.dash-vault-card--business::after {
|
|
background: var(--gradient-success);
|
|
}
|
|
|
|
@media (hover: hover) {
|
|
.dash-vault-card:hover::after {
|
|
transform: scaleX(1);
|
|
}
|
|
.dash-vault-card:hover .dash-vault-tile {
|
|
transform: translateY(-2px);
|
|
}
|
|
}
|
|
|
|
.dash-vault-tile {
|
|
width: 52px;
|
|
height: 52px;
|
|
border-radius: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #FFFFFF;
|
|
box-shadow: 0 8px 18px -4px rgba(29, 78, 216, 0.30);
|
|
transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.dash-vault-tile--brand {
|
|
background: var(--gradient-brand);
|
|
}
|
|
|
|
.dash-vault-tile--success {
|
|
background: var(--gradient-success);
|
|
box-shadow: 0 8px 18px -4px rgba(4, 120, 87, 0.30);
|
|
}
|
|
|
|
.dash-vault-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 14px 0 0 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.dash-vault-list li {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
color: #425466;
|
|
}
|
|
|
|
.dash-vault-list .check-icon {
|
|
color: #047857;
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* ── 7. AI Assistant Card (.dash-ai) ──────────────────────── */
|
|
|
|
.dash-ai {
|
|
background: linear-gradient(135deg, #F5F3FF 0%, #FFFFFF 100%);
|
|
border: 1px solid rgba(109, 40, 217, 0.16);
|
|
border-radius: 18px;
|
|
padding: 22px 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
margin-top: 24px;
|
|
box-shadow: 0 6px 20px -4px rgba(109, 40, 217, 0.08);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.dash-ai-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.dash-ai-btn {
|
|
background: var(--gradient-ai);
|
|
color: #FFFFFF;
|
|
border: none;
|
|
border-radius: var(--radius-sm, 10px);
|
|
padding: 10px 20px;
|
|
font-size: 13.5px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
box-shadow: 0 6px 16px -2px rgba(109, 40, 217, 0.35);
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
|
|
box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.dash-ai-btn::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 50%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
|
|
transform: skewX(-20deg);
|
|
transition: none;
|
|
}
|
|
|
|
@media (hover: hover) {
|
|
.dash-ai-btn:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 10px 22px -4px rgba(109, 40, 217, 0.45);
|
|
}
|
|
.dash-ai-btn:hover::after {
|
|
left: 200%;
|
|
transition: left 0.75s ease;
|
|
}
|
|
}
|
|
|
|
/* ── 8. Table Styling ─────────────────────────────────────── */
|
|
|
|
.dash-table-wrap {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
border-radius: 14px;
|
|
border: 1px solid var(--border, #E2E8F0);
|
|
background: #FFFFFF;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.dash-table {
|
|
width: 100%;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.dash-table th {
|
|
position: sticky;
|
|
top: 0;
|
|
background: #F6F9FC;
|
|
padding: 12px 16px;
|
|
font-size: 11.5px;
|
|
font-weight: 700;
|
|
color: #425466;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
border-bottom: 1px solid var(--border, #E2E8F0);
|
|
font-family: var(--font-mono, monospace);
|
|
z-index: 1;
|
|
}
|
|
|
|
.dash-table td {
|
|
padding: 14px 16px;
|
|
font-size: 13px;
|
|
color: var(--ink, #0A2540);
|
|
border-bottom: 1px solid rgba(10, 37, 64, 0.05);
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.dash-table tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.dash-table tbody tr {
|
|
position: relative;
|
|
transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
@media (hover: hover) {
|
|
.dash-table tbody tr:hover td {
|
|
background: #F6F9FC;
|
|
}
|
|
}
|
|
|
|
.dash-table-action-btn {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 8px;
|
|
border: 1px solid transparent;
|
|
background: transparent;
|
|
color: #425466;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
|
|
}
|
|
|
|
.dash-table-action-btn:hover {
|
|
background: #EEF3F9;
|
|
color: var(--ink, #0A2540);
|
|
border-color: var(--border, #E2E8F0);
|
|
}
|
|
|
|
.dash-table-action-btn:focus-visible {
|
|
outline: none;
|
|
box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.35);
|
|
}
|
|
|
|
/* Empty state float animation */
|
|
@keyframes dashFloat {
|
|
0%, 100% { transform: translateY(0); }
|
|
50% { transform: translateY(-4px); }
|
|
}
|
|
|
|
.dash-empty-state {
|
|
padding: 44px 20px;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.dash-empty-icon {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 50%;
|
|
background: rgba(29, 78, 216, 0.10);
|
|
color: #1D4ED8;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
animation: dashFloat 5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
|
|
}
|
|
|
|
/* ── 9. Segmented Control Tabs (.dash-tabs) ───────────────── */
|
|
|
|
.dash-tabs {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
background: #EEF3F9;
|
|
border-radius: 14px;
|
|
padding: 4px;
|
|
gap: 4px;
|
|
width: fit-content;
|
|
}
|
|
|
|
.dash-tab-btn {
|
|
border: none;
|
|
background: transparent;
|
|
color: #425466;
|
|
padding: 8px 16px;
|
|
border-radius: 10px;
|
|
font-size: 13.5px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background 0.25s cubic-bezier(0.16, 1, 0.3, 1),
|
|
color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
|
|
box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
}
|
|
|
|
.dash-tab-btn:hover {
|
|
color: var(--ink, #0A2540);
|
|
}
|
|
|
|
.dash-tab-btn.active {
|
|
background: #FFFFFF;
|
|
color: var(--ink, #0A2540);
|
|
font-weight: 600;
|
|
box-shadow: 0 2px 6px -1px rgba(10, 37, 64, 0.08);
|
|
}
|
|
|
|
/* Tab Panel Switch Animation */
|
|
@keyframes dashPanelIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(8px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.dash-tab-panel {
|
|
animation: dashPanelIn 250ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
}
|
|
|
|
/* ── 10. Toolbar & Filters (.dash-toolbar) ────────────────── */
|
|
|
|
.dash-toolbar {
|
|
background: #FFFFFF;
|
|
border: 1px solid var(--border, #E2E8F0);
|
|
border-radius: 14px;
|
|
padding: 12px 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
box-shadow: 0 2px 6px -1px rgba(10, 37, 64, 0.03);
|
|
}
|
|
|
|
.dash-input-wrap {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 1 1 240px;
|
|
}
|
|
|
|
.dash-input-wrap .search-icon {
|
|
position: absolute;
|
|
left: 12px;
|
|
color: #64748B;
|
|
font-size: 18px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.dash-input {
|
|
width: 100%;
|
|
height: 44px;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--border, #E2E8F0);
|
|
background: #FFFFFF;
|
|
padding: 0 14px 0 38px;
|
|
font-size: 13.5px;
|
|
color: var(--ink, #0A2540);
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.dash-input:focus {
|
|
outline: none;
|
|
border-color: #1D4ED8;
|
|
box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.18);
|
|
}
|
|
|
|
.dash-select {
|
|
height: 44px;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--border, #E2E8F0);
|
|
background: #FFFFFF;
|
|
padding: 0 14px;
|
|
font-size: 13.5px;
|
|
color: var(--ink, #0A2540);
|
|
cursor: pointer;
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.dash-select:focus {
|
|
outline: none;
|
|
border-color: #1D4ED8;
|
|
box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.18);
|
|
}
|
|
|
|
/* Glass select on hero */
|
|
.dash-glass-select {
|
|
height: 38px;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
border: 1px solid rgba(255, 255, 255, 0.22);
|
|
color: #FFFFFF;
|
|
padding: 0 12px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dash-glass-select option {
|
|
background: #0A2540;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/* ── 11. Client Cards Grid ────────────────────────────────── */
|
|
|
|
.dash-clients-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 16px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.dash-client-card {
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
position: relative;
|
|
}
|
|
|
|
.dash-client-card::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
background: var(--gradient-brand);
|
|
transform: scaleX(0);
|
|
transform-origin: left;
|
|
transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
@media (hover: hover) {
|
|
.dash-client-card:hover::after {
|
|
transform: scaleX(1);
|
|
}
|
|
.dash-client-card:hover .dash-arrow-link {
|
|
transform: translateX(4px);
|
|
}
|
|
}
|
|
|
|
.dash-avatar {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 700;
|
|
font-size: 16px;
|
|
font-family: var(--font-display, 'Playfair Display', serif);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dash-avatar--brand { background: var(--gradient-brand); color: #FFFFFF; }
|
|
.dash-avatar--success { background: var(--gradient-success); color: #FFFFFF; }
|
|
.dash-avatar--ai { background: var(--gradient-ai); color: #FFFFFF; }
|
|
.dash-avatar--warm { background: var(--gradient-warm); color: #0A2540; }
|
|
|
|
.dash-client-footer {
|
|
border-top: 1px solid #E2E8F0;
|
|
padding-top: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin-top: auto;
|
|
}
|
|
|
|
.dash-cpa-assign {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.dash-cpa-badge {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.dash-cpa-icon {
|
|
font-size: 16px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dash-cpa-label {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--ink, #0A2540);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.dash-cpa-select {
|
|
height: 30px;
|
|
padding: 0 24px 0 8px;
|
|
font-size: 11.5px;
|
|
font-weight: 500;
|
|
color: var(--ink, #0A2540);
|
|
background: #F6F9FC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23425466' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 6px center;
|
|
border: 1px solid #E2E8F0;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
max-width: 175px;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.dash-cpa-select:hover {
|
|
border-color: #CBD5E1;
|
|
background-color: #FFFFFF;
|
|
}
|
|
|
|
.dash-cpa-select:focus {
|
|
outline: none;
|
|
border-color: #1D4ED8;
|
|
box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.15);
|
|
}
|
|
|
|
.dash-open-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 5px 12px;
|
|
border-radius: 8px;
|
|
background: #EFF6FF;
|
|
border: 1px solid rgba(29, 78, 216, 0.16);
|
|
color: #1D4ED8;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
transition: background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
|
|
color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
|
|
border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
|
|
box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
|
|
transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.dash-open-btn .dash-open-arrow {
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.dash-client-card:hover .dash-open-btn,
|
|
.dash-row-card:hover .dash-open-btn {
|
|
background: #1D4ED8;
|
|
color: #FFFFFF;
|
|
border-color: #1D4ED8;
|
|
box-shadow: 0 2px 6px -1px rgba(29, 78, 216, 0.35);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.dash-client-card:hover .dash-open-btn .dash-open-arrow,
|
|
.dash-row-card:hover .dash-open-btn .dash-open-arrow {
|
|
transform: translateX(3px);
|
|
}
|
|
|
|
.dash-arrow-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 12.5px;
|
|
font-weight: 600;
|
|
color: #1D4ED8;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
text-decoration: none;
|
|
transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
/* ── 12. AI Daily Digest Drawer ───────────────────────────── */
|
|
|
|
.dash-digest-drawer {
|
|
border-left: 4px solid #6D28D9;
|
|
background: #FFFFFF;
|
|
margin-top: 18px;
|
|
display: grid;
|
|
grid-template-rows: 1fr;
|
|
transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.dash-digest-header {
|
|
background: #F5F3FF;
|
|
padding: 14px 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-bottom: 1px solid rgba(109, 40, 217, 0.12);
|
|
}
|
|
|
|
/* ── 13. Reduced Motion & Device Accommodations ────────────── */
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
scroll-behavior: auto !important;
|
|
}
|
|
.dash-rise {
|
|
animation: none !important;
|
|
opacity: 1 !important;
|
|
transform: none !important;
|
|
}
|
|
.dash-skeleton,
|
|
.dash-pulse-dot,
|
|
.dash-empty-icon,
|
|
.dash-hero::before,
|
|
.dash-hero::after,
|
|
.dash-alert-badge::after {
|
|
animation: none !important;
|
|
}
|
|
.dash-card,
|
|
.dash-chip,
|
|
.dash-vault-tile,
|
|
.dash-subnav-link,
|
|
.dash-ai-btn,
|
|
.dash-hero-ai-btn,
|
|
.dash-arrow-link,
|
|
.dash-tab-btn {
|
|
transition: none !important;
|
|
transform: none !important;
|
|
}
|
|
}
|
|
|