37709-vm/assets/css/custom.css
Flatlogic Bot fda5370844 V1
2026-01-22 15:00:20 +00:00

229 lines
4.2 KiB
CSS

:root {
--primary-green: #059669;
--primary-blue: #1E3A8A;
--accent-gold: #D4AF37;
--bg-light: #F9FAFB;
--text-dark: #111827;
--text-muted: #6B7280;
--card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
body {
background-color: var(--bg-light);
font-family: 'Inter', system-ui, -apple-system, sans-serif;
color: var(--text-dark);
padding-bottom: 2rem;
}
.navbar {
background: white;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
padding: 0.75rem 1rem;
}
.navbar-brand {
font-weight: 700;
color: var(--primary-blue);
display: flex;
align-items: center;
gap: 0.5rem;
}
.navbar-brand span {
color: var(--primary-green);
}
.currency-badge {
background: #E5E7EB;
border-radius: 9999px;
padding: 0.25rem 0.75rem;
font-size: 0.875rem;
font-weight: 600;
cursor: pointer;
transition: background 0.2s;
}
.currency-badge:hover {
background: #D1D5DB;
}
/* Wallet Cards Slider */
.wallet-slider {
display: flex;
overflow-x: auto;
gap: 1rem;
padding: 1rem 0;
scrollbar-width: none; /* Firefox */
}
.wallet-slider::-webkit-scrollbar {
display: none; /* Safari and Chrome */
}
.wallet-card {
min-width: 280px;
background: white;
border-radius: 12px;
padding: 1.25rem;
box-shadow: var(--card-shadow);
border-left: 4px solid var(--primary-blue);
transition: transform 0.2s;
}
.wallet-card:active {
transform: scale(0.98);
}
.wallet-card.tontine { border-left-color: var(--accent-gold); }
.wallet-card.savings { border-left-color: var(--primary-green); }
.wallet-type {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
margin-bottom: 0.5rem;
font-weight: 600;
}
.wallet-balance {
font-size: 1.5rem;
font-weight: 700;
color: var(--text-dark);
}
.wallet-currency {
font-size: 0.875rem;
color: var(--text-muted);
margin-left: 0.25rem;
}
/* Quick Actions */
.action-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0.75rem;
margin-top: 1.5rem;
}
.action-btn {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
background: white;
border: none;
border-radius: 12px;
padding: 1rem 0.5rem;
box-shadow: var(--card-shadow);
transition: background 0.2s;
}
.action-btn:active {
background: #F3F4F6;
}
.action-icon {
width: 40px;
height: 40px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
background: #EFF6FF;
color: var(--primary-blue);
}
.action-btn.tontine .action-icon {
background: #FEF3C7;
color: #B45309;
}
.action-label {
font-size: 0.7rem;
font-weight: 600;
color: var(--text-dark);
text-align: center;
}
/* Activity List */
.activity-section {
margin-top: 2rem;
}
.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.section-title {
font-size: 1.125rem;
font-weight: 700;
}
.activity-item {
background: white;
border-radius: 12px;
padding: 1rem;
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 0.75rem;
box-shadow: var(--card-shadow);
}
.activity-icon {
width: 40px;
height: 40px;
border-radius: 50%;
background: #F3F4F6;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.activity-details {
flex-grow: 1;
}
.activity-name {
font-weight: 600;
font-size: 0.9rem;
}
.activity-meta {
font-size: 0.75rem;
color: var(--text-muted);
}
.activity-amount {
font-weight: 700;
text-align: right;
}
.amount-positive { color: var(--primary-green); }
.amount-negative { color: #DC2626; }
.status-badge {
font-size: 0.65rem;
padding: 0.1rem 0.4rem;
border-radius: 4px;
text-transform: uppercase;
font-weight: 700;
}
.status-pending { background: #FEF3C7; color: #92400E; }
.status-success { background: #D1FAE5; color: #065F46; }
/* Modal Styles */
.modal-content {
border-radius: 16px;
border: none;
}
.modal-header {
border-bottom: 1px solid #F3F4F6;
}