Files
Dragonbank/DragonBank/frontend/static/style.css
T

845 lines
23 KiB
CSS
Raw Normal View History

2026-03-27 17:52:41 +01:00
/* ============================================================
DragonBank — Design System
Inspired by Revolut: clean, minimal, premium fintech UI
Font: DM Sans (display) + DM Mono (numbers)
============================================================ */
2026-03-18 16:20:09 +01:00
2026-03-27 17:52:41 +01:00
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=DM+Mono:wght@300;400;500&display=swap');
/* ============================================================
DESIGN TOKENS
============================================================ */
:root {
--c-bg: #f7f7f8;
--c-surface: #ffffff;
--c-surface-2: #f2f2f4;
--c-surface-3: #eaeaee;
--c-border: #e4e4e8;
--c-border-soft: #ededf0;
--c-text-primary: #0d0d0d;
--c-text-secondary: #6b6b7a;
--c-text-tertiary: #9999a8;
--c-text-inverse: #ffffff;
--c-brand: #191c3a;
--c-brand-mid: #2c3070;
--c-brand-light: #7b7ff5;
--c-accent: #6c63ff;
--c-accent-soft: rgba(108, 99, 255, 0.08);
--c-accent-hover: #5850e8;
--c-green: #00c896;
--c-green-soft: rgba(0, 200, 150, 0.08);
--c-red: #ff4d6d;
--c-red-soft: rgba(255, 77, 109, 0.08);
--c-amber: #f59e0b;
--c-amber-soft: rgba(245, 158, 11, 0.08);
--c-blue: #3b82f6;
--c-blue-soft: rgba(59, 130, 246, 0.08);
--c-courant: #3b82f6;
--c-livret: #00c896;
--c-assurance: #f59e0b;
--shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
--shadow-sm: 0 1px 4px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
--shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
--shadow-lg: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
--shadow-xl: 0 20px 60px rgba(0,0,0,0.14), 0 4px 16px rgba(0,0,0,0.08);
--r-sm: 8px;
--r-md: 12px;
--r-lg: 16px;
--r-xl: 20px;
--r-2xl: 24px;
--r-full: 9999px;
--font-body: 'DM Sans', system-ui, sans-serif;
--font-mono: 'DM Mono', 'Courier New', monospace;
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
--dur-fast: 120ms;
--dur-base: 200ms;
--dur-slow: 350ms;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
/* ============================================================
RESET & BASE
============================================================ */
*, *::before, *::after {
box-sizing: border-box;
2026-03-18 16:20:09 +01:00
margin: 0;
padding: 0;
2026-03-27 17:52:41 +01:00
}
html {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
2026-03-18 16:20:09 +01:00
}
body {
2026-03-27 17:52:41 +01:00
font-family: var(--font-body);
font-size: 0.9375rem;
line-height: 1.6;
color: var(--c-text-primary);
background-color: var(--c-bg);
2026-03-18 16:20:09 +01:00
min-height: 100vh;
}
2026-03-27 17:52:41 +01:00
a {
color: var(--c-accent);
text-decoration: none;
transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--c-accent-hover); }
/* ============================================================
NAVIGATION
============================================================ */
2026-03-18 16:20:09 +01:00
.navbar {
2026-03-27 17:52:41 +01:00
background: var(--c-surface) !important;
border-bottom: 1px solid var(--c-border) !important;
padding: 0 24px !important;
height: 60px;
box-shadow: var(--shadow-xs) !important;
position: sticky;
top: 0;
z-index: 1000;
2026-03-18 16:20:09 +01:00
}
.navbar-brand {
2026-03-27 17:52:41 +01:00
font-size: 1.0625rem !important;
font-weight: 700 !important;
color: var(--c-text-primary) !important;
letter-spacing: -0.3px;
display: flex;
align-items: center;
gap: 8px;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.navbar-brand .dragon-icon { font-size: 1.2rem; margin-right: 0; }
.navbar-nav .nav-link {
color: var(--c-text-secondary) !important;
font-size: 0.875rem !important;
font-weight: 500 !important;
padding: 6px 12px !important;
border-radius: var(--r-sm) !important;
transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out) !important;
margin: 0 2px !important;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.navbar-nav .nav-link:hover {
color: var(--c-text-primary) !important;
background: var(--c-surface-2) !important;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.navbar-nav .nav-link.active {
color: var(--c-accent) !important;
background: var(--c-accent-soft) !important;
font-weight: 600 !important;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.navbar-nav .nav-link i { margin-right: 4px; font-size: 0.875rem; }
.dropdown-menu {
border: 1px solid var(--c-border) !important;
border-radius: var(--r-md) !important;
box-shadow: var(--shadow-md) !important;
padding: 6px !important;
font-size: 0.875rem !important;
margin-top: 8px !important;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.dropdown-item {
border-radius: var(--r-sm) !important;
padding: 7px 12px !important;
color: var(--c-text-secondary) !important;
font-weight: 500 !important;
transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out) !important;
}
.dropdown-item:hover {
background: var(--c-surface-2) !important;
color: var(--c-text-primary) !important;
}
.dropdown-item i { margin-right: 8px; opacity: 0.6; width: 14px; text-align: center; }
2026-03-18 16:20:09 +01:00
.user-badge {
2026-03-27 17:52:41 +01:00
display: inline-flex;
align-items: center;
gap: 7px;
background: var(--c-surface-2);
border: 1px solid var(--c-border);
color: var(--c-text-primary);
padding: 5px 14px;
border-radius: var(--r-full);
2026-03-18 16:20:09 +01:00
font-weight: 600;
2026-03-27 17:52:41 +01:00
font-size: 0.8125rem;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
/* ============================================================
LOGIN / REGISTER
============================================================ */
2026-03-18 16:20:09 +01:00
.login-page {
min-height: 100vh;
2026-03-27 17:52:41 +01:00
background: var(--c-bg);
2026-03-18 16:20:09 +01:00
display: flex;
align-items: center;
justify-content: center;
2026-03-27 17:52:41 +01:00
padding: 24px;
position: relative;
overflow: hidden;
}
.login-page::before {
content: '';
position: absolute;
top: -200px; right: -200px;
width: 600px; height: 600px;
background: radial-gradient(circle, rgba(108,99,255,0.06) 0%, transparent 70%);
pointer-events: none;
}
.login-page::after {
content: '';
position: absolute;
bottom: -150px; left: -150px;
width: 500px; height: 500px;
background: radial-gradient(circle, rgba(0,200,150,0.04) 0%, transparent 70%);
pointer-events: none;
2026-03-18 16:20:09 +01:00
}
.login-container {
width: 100%;
2026-03-27 17:52:41 +01:00
max-width: 420px;
position: relative;
z-index: 1;
2026-03-18 16:20:09 +01:00
}
.login-header {
text-align: center;
2026-03-27 17:52:41 +01:00
margin-bottom: 32px;
2026-03-18 16:20:09 +01:00
}
.login-header .dragon-logo {
2026-03-27 17:52:41 +01:00
font-size: 2.5rem;
2026-03-18 16:20:09 +01:00
display: block;
2026-03-27 17:52:41 +01:00
margin-bottom: 16px;
}
.login-header h1 {
font-size: 1.75rem;
font-weight: 800;
color: var(--c-text-primary);
letter-spacing: -0.5px;
margin-bottom: 4px;
2026-03-18 16:20:09 +01:00
}
.login-header p {
2026-03-27 17:52:41 +01:00
color: var(--c-text-secondary);
font-size: 0.9375rem;
2026-03-18 16:20:09 +01:00
}
.login-card {
2026-03-27 17:52:41 +01:00
background: var(--c-surface);
border-radius: var(--r-2xl);
padding: 32px;
box-shadow: var(--shadow-lg);
border: 1px solid var(--c-border-soft);
2026-03-18 16:20:09 +01:00
}
.login-card h2 {
2026-03-27 17:52:41 +01:00
font-size: 1.1875rem;
2026-03-18 16:20:09 +01:00
font-weight: 700;
2026-03-27 17:52:41 +01:00
color: var(--c-text-primary);
margin-bottom: 24px;
letter-spacing: -0.3px;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
/* ============================================================
2026-03-18 16:20:09 +01:00
FORMS
2026-03-27 17:52:41 +01:00
============================================================ */
.form-group { margin-bottom: 20px; }
2026-03-18 16:20:09 +01:00
.form-label {
2026-03-27 17:52:41 +01:00
display: block;
font-size: 0.8125rem;
2026-03-18 16:20:09 +01:00
font-weight: 600;
2026-03-27 17:52:41 +01:00
color: var(--c-text-secondary);
margin-bottom: 7px;
letter-spacing: 0.2px;
text-transform: uppercase;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.form-control,
.form-select {
width: 100%;
padding: 11px 16px;
font-size: 0.9375rem;
font-family: var(--font-body);
font-weight: 400;
color: var(--c-text-primary);
background: var(--c-surface);
border: 1.5px solid var(--c-border);
border-radius: var(--r-md);
line-height: 1.5;
transition: border-color var(--dur-fast) var(--ease-out),
box-shadow var(--dur-fast) var(--ease-out);
-webkit-appearance: none;
appearance: none;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.form-control::placeholder { color: var(--c-text-tertiary); }
.form-control:hover,
.form-select:hover { border-color: #c8c8d0; }
.form-control:focus,
.form-select:focus {
outline: none;
border-color: var(--c-accent);
box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.10);
2026-03-18 16:20:09 +01:00
}
.form-select {
2026-03-27 17:52:41 +01:00
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236b6b7a' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 14px center;
background-size: 9px;
padding-right: 36px;
cursor: pointer;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.form-text,
small.text-muted {
font-size: 0.8125rem;
color: var(--c-text-tertiary);
margin-top: 5px;
display: block;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
/* ============================================================
2026-03-18 16:20:09 +01:00
BUTTONS
2026-03-27 17:52:41 +01:00
============================================================ */
2026-03-18 16:20:09 +01:00
.btn-dragon {
2026-03-27 17:52:41 +01:00
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
padding: 11px 24px;
font-family: var(--font-body);
font-size: 0.9375rem;
font-weight: 600;
color: #ffffff;
background: var(--c-brand);
2026-03-18 16:20:09 +01:00
border: none;
2026-03-27 17:52:41 +01:00
border-radius: var(--r-md);
cursor: pointer;
white-space: nowrap;
transition: background var(--dur-fast) var(--ease-out),
transform var(--dur-fast) var(--ease-out),
box-shadow var(--dur-fast) var(--ease-out);
letter-spacing: -0.1px;
text-decoration: none;
2026-03-18 16:20:09 +01:00
}
.btn-dragon:hover {
2026-03-27 17:52:41 +01:00
background: var(--c-brand-mid);
color: #ffffff;
transform: translateY(-1px);
box-shadow: 0 4px 16px rgba(25, 28, 58, 0.25);
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.btn-dragon:active { transform: translateY(0); box-shadow: none; }
.btn-dragon.w-100 { width: 100%; }
2026-03-18 16:20:09 +01:00
.btn-dragon-outline {
2026-03-27 17:52:41 +01:00
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
padding: 10px 24px;
font-family: var(--font-body);
font-size: 0.9375rem;
2026-03-18 16:20:09 +01:00
font-weight: 600;
2026-03-27 17:52:41 +01:00
color: var(--c-text-secondary);
background: transparent;
border: 1.5px solid var(--c-border);
border-radius: var(--r-md);
cursor: pointer;
white-space: nowrap;
transition: border-color var(--dur-fast) var(--ease-out),
color var(--dur-fast) var(--ease-out),
background var(--dur-fast) var(--ease-out);
text-decoration: none;
2026-03-18 16:20:09 +01:00
}
.btn-dragon-outline:hover {
2026-03-27 17:52:41 +01:00
border-color: var(--c-text-primary);
color: var(--c-text-primary);
background: var(--c-surface-2);
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.btn-dragon-outline.w-100 { width: 100%; }
2026-03-18 16:20:09 +01:00
.btn-gold {
2026-03-27 17:52:41 +01:00
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
padding: 11px 24px;
font-family: var(--font-body);
font-size: 0.9375rem;
font-weight: 600;
color: var(--c-text-primary);
background: var(--c-amber);
2026-03-18 16:20:09 +01:00
border: none;
2026-03-27 17:52:41 +01:00
border-radius: var(--r-md);
cursor: pointer;
transition: filter var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
text-decoration: none;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.btn-gold:hover { filter: brightness(0.92); transform: translateY(-1px); color: var(--c-text-primary); }
2026-03-18 16:20:09 +01:00
.btn-success-custom {
2026-03-27 17:52:41 +01:00
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
padding: 11px 24px;
font-family: var(--font-body);
font-size: 0.9375rem;
font-weight: 600;
color: #ffffff;
background: var(--c-green);
2026-03-18 16:20:09 +01:00
border: none;
2026-03-27 17:52:41 +01:00
border-radius: var(--r-md);
cursor: pointer;
transition: filter var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
text-decoration: none;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.btn-success-custom:hover { filter: brightness(0.9); transform: translateY(-1px); color: #ffffff; }
.btn-sm {
padding: 6px 14px !important;
font-size: 0.8125rem !important;
border-radius: var(--r-sm) !important;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.btn-danger {
background: var(--c-red) !important;
border: none !important;
border-radius: var(--r-sm) !important;
font-weight: 600 !important;
font-size: 0.8125rem !important;
transition: filter var(--dur-fast) var(--ease-out) !important;
}
.btn-danger:hover { filter: brightness(0.88) !important; }
/* ============================================================
LAYOUT
============================================================ */
2026-03-18 16:20:09 +01:00
.main-content {
2026-03-27 17:52:41 +01:00
padding: 32px;
max-width: 1280px;
2026-03-18 16:20:09 +01:00
margin: 0 auto;
}
.page-header {
2026-03-27 17:52:41 +01:00
margin-bottom: 32px;
padding-bottom: 24px;
border-bottom: 1px solid var(--c-border);
2026-03-18 16:20:09 +01:00
}
.page-header h1 {
2026-03-27 17:52:41 +01:00
font-size: 1.625rem;
2026-03-18 16:20:09 +01:00
font-weight: 800;
2026-03-27 17:52:41 +01:00
color: var(--c-text-primary);
letter-spacing: -0.5px;
line-height: 1.2;
}
.page-header h1 i {
color: var(--c-accent);
margin-right: 10px;
font-size: 1.375rem;
2026-03-18 16:20:09 +01:00
}
.page-header p {
2026-03-27 17:52:41 +01:00
color: var(--c-text-secondary);
font-size: 0.9375rem;
margin-top: 4px;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
/* ============================================================
SECTION CARD
============================================================ */
.section-card {
background: var(--c-surface);
border-radius: var(--r-xl);
padding: 24px;
border: 1px solid var(--c-border);
box-shadow: var(--shadow-sm);
margin-bottom: 20px;
transition: box-shadow var(--dur-base) var(--ease-out);
}
.section-card:hover { box-shadow: var(--shadow-md); }
.section-card .section-title {
font-size: 1rem;
font-weight: 700;
color: var(--c-text-primary);
margin-bottom: 20px;
padding-bottom: 16px;
border-bottom: 1px solid var(--c-border);
letter-spacing: -0.2px;
}
/* ============================================================
2026-03-18 16:20:09 +01:00
STAT CARDS
2026-03-27 17:52:41 +01:00
============================================================ */
2026-03-18 16:20:09 +01:00
.stat-card {
2026-03-27 17:52:41 +01:00
background: var(--c-surface);
border-radius: var(--r-xl);
padding: 24px;
border: 1px solid var(--c-border);
box-shadow: var(--shadow-sm);
transition: box-shadow var(--dur-base) var(--ease-out),
transform var(--dur-base) var(--ease-out);
2026-03-18 16:20:09 +01:00
position: relative;
overflow: hidden;
}
2026-03-27 17:52:41 +01:00
.stat-card:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
2026-03-18 16:20:09 +01:00
.stat-card::before {
content: '';
position: absolute;
2026-03-27 17:52:41 +01:00
top: 0; left: 0; right: 0;
height: 3px;
border-radius: var(--r-xl) var(--r-xl) 0 0;
opacity: 0;
transition: opacity var(--dur-base) var(--ease-out);
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.stat-card:hover::before { opacity: 1; }
.stat-card.primary::before { background: var(--c-accent); }
.stat-card.success::before { background: var(--c-green); }
.stat-card.info::before { background: var(--c-blue); }
.stat-card.warning::before { background: var(--c-amber); }
2026-03-18 16:20:09 +01:00
.stat-card .stat-icon {
2026-03-27 17:52:41 +01:00
width: 44px;
height: 44px;
border-radius: var(--r-md);
2026-03-18 16:20:09 +01:00
display: flex;
align-items: center;
justify-content: center;
2026-03-27 17:52:41 +01:00
font-size: 1.125rem;
margin-bottom: 16px;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.stat-card.primary .stat-icon { background: var(--c-accent-soft); color: var(--c-accent); }
.stat-card.success .stat-icon { background: var(--c-green-soft); color: var(--c-green); }
.stat-card.info .stat-icon { background: var(--c-blue-soft); color: var(--c-blue); }
.stat-card.warning .stat-icon { background: var(--c-amber-soft); color: var(--c-amber); }
2026-03-18 16:20:09 +01:00
.stat-card .stat-value {
2026-03-27 17:52:41 +01:00
font-family: var(--font-mono);
font-size: 1.75rem;
font-weight: 500;
color: var(--c-text-primary);
2026-03-18 16:20:09 +01:00
line-height: 1;
2026-03-27 17:52:41 +01:00
letter-spacing: -1px;
2026-03-18 16:20:09 +01:00
}
.stat-card .stat-label {
2026-03-27 17:52:41 +01:00
font-size: 0.8125rem;
color: var(--c-text-secondary);
margin-top: 8px;
2026-03-18 16:20:09 +01:00
font-weight: 500;
}
2026-03-27 17:52:41 +01:00
/* ============================================================
2026-03-18 16:20:09 +01:00
ACCOUNT CARDS
2026-03-27 17:52:41 +01:00
============================================================ */
2026-03-18 16:20:09 +01:00
.account-card {
2026-03-27 17:52:41 +01:00
background: var(--c-surface);
border-radius: var(--r-xl);
padding: 24px;
border: 1px solid var(--c-border);
box-shadow: var(--shadow-sm);
transition: box-shadow var(--dur-base) var(--ease-out),
transform var(--dur-base) var(--ease-out);
margin-bottom: 16px;
position: relative;
overflow: hidden;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.account-card::after {
content: '';
position: absolute;
top: 0; left: 0;
width: 4px;
height: 100%;
border-radius: var(--r-xl) 0 0 var(--r-xl);
}
.account-card.courant::after { background: var(--c-courant); }
.account-card.livret_a::after { background: var(--c-livret); }
.account-card.assurance_vie::after { background: var(--c-assurance); }
2026-03-18 16:20:09 +01:00
.account-card:hover {
2026-03-27 17:52:41 +01:00
transform: translateY(-2px);
box-shadow: var(--shadow-md);
2026-03-18 16:20:09 +01:00
}
.account-type-badge {
2026-03-27 17:52:41 +01:00
display: inline-flex;
align-items: center;
padding: 3px 10px;
border-radius: var(--r-full);
2026-03-18 16:20:09 +01:00
font-size: 0.75rem;
2026-03-27 17:52:41 +01:00
font-weight: 600;
letter-spacing: 0.3px;
2026-03-18 16:20:09 +01:00
text-transform: uppercase;
}
2026-03-27 17:52:41 +01:00
.account-type-badge.courant { background: rgba(59,130,246,0.08); color: var(--c-courant); }
.account-type-badge.livret_a { background: rgba(0,200,150,0.08); color: var(--c-livret); }
.account-type-badge.assurance_vie { background: rgba(245,158,11,0.08); color: var(--c-assurance); }
2026-03-18 16:20:09 +01:00
.account-balance {
2026-03-27 17:52:41 +01:00
font-family: var(--font-mono);
2026-03-18 16:20:09 +01:00
font-size: 2rem;
2026-03-27 17:52:41 +01:00
font-weight: 500;
color: var(--c-text-primary);
letter-spacing: -1.5px;
line-height: 1.1;
2026-03-18 16:20:09 +01:00
}
.account-number {
2026-03-27 17:52:41 +01:00
font-family: var(--font-mono);
font-size: 0.8125rem;
color: var(--c-text-tertiary);
letter-spacing: 1.5px;
font-weight: 300;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
/* ============================================================
2026-03-18 16:20:09 +01:00
TABLES
2026-03-27 17:52:41 +01:00
============================================================ */
2026-03-18 16:20:09 +01:00
.custom-table {
2026-03-27 17:52:41 +01:00
background: var(--c-surface);
border-radius: var(--r-xl);
2026-03-18 16:20:09 +01:00
overflow: hidden;
2026-03-27 17:52:41 +01:00
border: 1px solid var(--c-border);
box-shadow: var(--shadow-sm);
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.custom-table .table { margin-bottom: 0; font-size: 0.875rem; }
.custom-table .table thead,
.table thead { background: var(--c-surface-2); }
.custom-table .table thead th,
.table thead th {
font-size: 0.75rem !important;
font-weight: 700 !important;
color: var(--c-text-tertiary) !important;
text-transform: uppercase !important;
letter-spacing: 0.6px !important;
padding: 14px 20px !important;
border: none !important;
border-bottom: 1px solid var(--c-border) !important;
background: var(--c-surface-2) !important;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.custom-table .table tbody td,
.table tbody td {
padding: 14px 20px !important;
vertical-align: middle !important;
border-bottom: 1px solid var(--c-border-soft) !important;
font-size: 0.875rem;
color: var(--c-text-primary);
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.custom-table .table tbody tr:last-child td,
.table tbody tr:last-child td { border-bottom: none !important; }
2026-03-18 16:20:09 +01:00
2026-03-27 17:52:41 +01:00
.table-hover tbody tr,
.custom-table .table tbody tr {
transition: background var(--dur-fast) var(--ease-out);
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.table-hover tbody tr:hover,
2026-03-18 16:20:09 +01:00
.custom-table .table tbody tr:hover {
2026-03-27 17:52:41 +01:00
background-color: var(--c-surface-2) !important;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.transaction-amount.credit { color: var(--c-green); font-weight: 600; }
.transaction-amount.debit { color: var(--c-red); font-weight: 600; }
/* ============================================================
BADGES & STATUS
============================================================ */
.badge {
font-size: 0.71875rem !important;
font-weight: 600 !important;
padding: 3px 9px !important;
border-radius: var(--r-full) !important;
letter-spacing: 0.2px !important;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.bg-primary { background: var(--c-blue) !important; }
.bg-success { background: var(--c-green) !important; }
.bg-danger { background: var(--c-red) !important; }
.bg-warning { background: var(--c-amber) !important; }
.bg-info { background: var(--c-brand-light) !important; }
.bg-secondary { background: var(--c-text-tertiary) !important; }
2026-03-18 16:20:09 +01:00
.status-badge {
2026-03-27 17:52:41 +01:00
display: inline-flex;
align-items: center;
gap: 4px;
padding: 3px 10px;
border-radius: var(--r-full);
2026-03-18 16:20:09 +01:00
font-size: 0.75rem;
2026-03-27 17:52:41 +01:00
font-weight: 600;
white-space: nowrap;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.status-badge.completed { background: var(--c-green-soft); color: var(--c-green); }
.status-badge.pending { background: var(--c-amber-soft); color: var(--c-amber); }
.status-badge.failed { background: var(--c-red-soft); color: var(--c-red); }
.status-badge i { font-size: 0.6875rem; }
2026-03-18 16:20:09 +01:00
2026-03-27 17:52:41 +01:00
/* ============================================================
2026-03-18 16:20:09 +01:00
ALERTS
2026-03-27 17:52:41 +01:00
============================================================ */
2026-03-18 16:20:09 +01:00
.alert {
2026-03-27 17:52:41 +01:00
border: none !important;
border-radius: var(--r-md) !important;
padding: 14px 18px !important;
font-size: 0.9375rem !important;
font-weight: 500 !important;
display: flex !important;
align-items: center !important;
gap: 10px !important;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.alert i { flex-shrink: 0; }
2026-03-18 16:20:09 +01:00
.alert-success {
2026-03-27 17:52:41 +01:00
background: var(--c-green-soft) !important;
color: #00a37c !important;
border-left: 3px solid var(--c-green) !important;
2026-03-18 16:20:09 +01:00
}
.alert-danger {
2026-03-27 17:52:41 +01:00
background: var(--c-red-soft) !important;
color: #d93654 !important;
border-left: 3px solid var(--c-red) !important;
2026-03-18 16:20:09 +01:00
}
.alert-warning {
2026-03-27 17:52:41 +01:00
background: var(--c-amber-soft) !important;
color: #c47d00 !important;
border-left: 3px solid var(--c-amber) !important;
2026-03-18 16:20:09 +01:00
}
.alert-info {
2026-03-27 17:52:41 +01:00
background: var(--c-blue-soft) !important;
color: #2266cc !important;
border-left: 3px solid var(--c-blue) !important;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.alert-link { font-weight: 700 !important; text-decoration: underline !important; }
.btn-close { margin-left: auto !important; flex-shrink: 0 !important; opacity: 0.4 !important; }
.btn-close:hover { opacity: 0.7 !important; }
2026-03-18 16:20:09 +01:00
2026-03-27 17:52:41 +01:00
/* ============================================================
2026-03-18 16:20:09 +01:00
FOOTER
2026-03-27 17:52:41 +01:00
============================================================ */
2026-03-18 16:20:09 +01:00
.footer {
2026-03-27 17:52:41 +01:00
background: var(--c-surface);
border-top: 1px solid var(--c-border);
color: var(--c-text-tertiary);
2026-03-18 16:20:09 +01:00
text-align: center;
2026-03-27 17:52:41 +01:00
padding: 24px 32px;
margin-top: 48px;
font-size: 0.8125rem;
2026-03-18 16:20:09 +01:00
}
2026-03-27 17:52:41 +01:00
.footer a { color: var(--c-text-secondary); font-weight: 500; }
.footer a:hover { color: var(--c-text-primary); }
/* ============================================================
ANIMATIONS
============================================================ */
@keyframes fadeUp {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeUp var(--dur-slow) var(--ease-out) both; }
.delay-1 { animation-delay: 60ms; }
.delay-2 { animation-delay: 120ms; }
.delay-3 { animation-delay: 180ms; }
.delay-4 { animation-delay: 240ms; }
/* ============================================================
UTILITIES
============================================================ */
code {
font-family: var(--font-mono);
font-size: 0.875em;
background: var(--c-surface-2);
border: 1px solid var(--c-border);
padding: 1px 6px;
border-radius: var(--r-sm);
color: var(--c-text-primary);
}
.text-muted { color: var(--c-text-secondary) !important; }
.text-success { color: var(--c-green) !important; }
.text-danger { color: var(--c-red) !important; }
.text-warning { color: var(--c-amber) !important; }
.text-info { color: var(--c-blue) !important; }
/* ============================================================
RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
.main-content { padding: 24px; }
}
@media (max-width: 768px) {
.navbar { padding: 0 16px !important; }
.main-content { padding: 20px 16px; }
.page-header h1 { font-size: 1.375rem; }
.stat-card .stat-value { font-size: 1.375rem; }
.account-balance { font-size: 1.625rem; }
.login-card { padding: 24px; }
.section-card { padding: 20px; border-radius: var(--r-lg); }
}
@media (max-width: 480px) {
.main-content { padding: 16px 12px; }
.btn-dragon,
.btn-dragon-outline,
.btn-gold,
.btn-success-custom { padding: 10px 18px; font-size: 0.875rem; }
}