|
|
@@ -1,16 +1,16 @@
|
|
|
.dashboard-wrapper {
|
|
|
display: flex;
|
|
|
min-height: 100vh;
|
|
|
- background-color: #0c0c14;
|
|
|
- color: #fff;
|
|
|
+ background-color: var(--bg-primary);
|
|
|
+ color: var(--text-primary);
|
|
|
font-family: 'Inter', sans-serif;
|
|
|
}
|
|
|
|
|
|
/* Sidebar */
|
|
|
.sidebar {
|
|
|
width: 260px;
|
|
|
- background-color: #12121e;
|
|
|
- border-right: 1px solid rgba(255, 255, 255, 0.05);
|
|
|
+ background-color: var(--bg-card);
|
|
|
+ border-right: 1px solid var(--border-color);
|
|
|
padding: 2rem 1.5rem;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
@@ -26,7 +26,7 @@
|
|
|
}
|
|
|
|
|
|
.logo-icon {
|
|
|
- background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
|
|
|
+ background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
|
|
|
color: #fff;
|
|
|
width: 40px;
|
|
|
height: 40px;
|
|
|
@@ -42,7 +42,7 @@
|
|
|
align-items: center;
|
|
|
gap: 12px;
|
|
|
padding: 0.75rem 1rem;
|
|
|
- color: #a0a0c0;
|
|
|
+ color: var(--text-secondary);
|
|
|
text-decoration: none;
|
|
|
border-radius: 8px;
|
|
|
margin-bottom: 0.5rem;
|
|
|
@@ -50,14 +50,15 @@
|
|
|
}
|
|
|
|
|
|
.nav-item:hover, .nav-item.active {
|
|
|
- background: rgba(79, 172, 254, 0.1);
|
|
|
- color: #4facfe;
|
|
|
+ background: rgba(59, 130, 246, 0.1);
|
|
|
+ color: var(--accent-primary);
|
|
|
}
|
|
|
|
|
|
.user-profile {
|
|
|
margin-top: auto;
|
|
|
padding: 1rem;
|
|
|
- background: rgba(255, 255, 255, 0.03);
|
|
|
+ background: var(--bg-primary);
|
|
|
+ border: 1px solid var(--border-color);
|
|
|
border-radius: 12px;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
@@ -67,7 +68,8 @@
|
|
|
.avatar {
|
|
|
width: 36px;
|
|
|
height: 36px;
|
|
|
- background: #4facfe;
|
|
|
+ background: var(--accent-primary);
|
|
|
+ color: #fff;
|
|
|
border-radius: 50%;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
@@ -81,13 +83,13 @@
|
|
|
flex: 1;
|
|
|
}
|
|
|
|
|
|
-.name { font-size: 0.85rem; font-weight: 600; }
|
|
|
-.dept { font-size: 0.7rem; color: #a0a0c0; }
|
|
|
+.name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
|
|
|
+.dept { font-size: 0.7rem; color: var(--text-secondary); }
|
|
|
|
|
|
.logout-btn {
|
|
|
background: transparent;
|
|
|
border: none;
|
|
|
- color: #ff4d4f;
|
|
|
+ color: #ef4444;
|
|
|
cursor: pointer;
|
|
|
padding: 4px;
|
|
|
}
|
|
|
@@ -106,11 +108,11 @@
|
|
|
margin-bottom: 2.5rem;
|
|
|
}
|
|
|
|
|
|
-h1 { font-size: 2rem; margin: 0; }
|
|
|
-.content-header p { color: #a0a0c0; margin: 5px 0 0; }
|
|
|
+h1 { font-size: 2rem; margin: 0; color: var(--text-primary); }
|
|
|
+.content-header p { color: var(--text-secondary); margin: 5px 0 0; }
|
|
|
|
|
|
.action-btn {
|
|
|
- background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
|
|
|
+ background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
|
|
|
color: #fff;
|
|
|
border: none;
|
|
|
padding: 0.75rem 1.5rem;
|
|
|
@@ -125,6 +127,31 @@ h1 { font-size: 2rem; margin: 0; }
|
|
|
|
|
|
.action-btn:hover { transform: translateY(-2px); }
|
|
|
|
|
|
+.quick-actions {
|
|
|
+ display: flex;
|
|
|
+ gap: 12px;
|
|
|
+}
|
|
|
+
|
|
|
+.secondary-btn {
|
|
|
+ background: var(--bg-primary);
|
|
|
+ color: var(--text-secondary);
|
|
|
+ border: 1px solid var(--border-color);
|
|
|
+ padding: 0.75rem 1.5rem;
|
|
|
+ border-radius: 8px;
|
|
|
+ font-weight: 600;
|
|
|
+ cursor: pointer;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ gap: 8px;
|
|
|
+ transition: all 0.2s;
|
|
|
+}
|
|
|
+
|
|
|
+.secondary-btn:hover {
|
|
|
+ background: var(--bg-card);
|
|
|
+ border-color: var(--accent-primary);
|
|
|
+ color: var(--accent-primary);
|
|
|
+}
|
|
|
+
|
|
|
.stats-overview {
|
|
|
display: grid;
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
@@ -133,21 +160,23 @@ h1 { font-size: 2rem; margin: 0; }
|
|
|
}
|
|
|
|
|
|
.stat-card {
|
|
|
- background: rgba(255, 255, 255, 0.05);
|
|
|
+ background: var(--bg-card);
|
|
|
padding: 1.5rem;
|
|
|
border-radius: 16px;
|
|
|
- border: 1px solid rgba(255, 255, 255, 0.05);
|
|
|
+ border: 1px solid var(--border-color);
|
|
|
+ box-shadow: var(--shadow-sm);
|
|
|
}
|
|
|
|
|
|
-.stat-card .label { color: #a0a0c0; font-size: 0.85rem; }
|
|
|
-.stat-card .value { display: block; font-size: 1.75rem; font-weight: 700; margin-top: 8px; }
|
|
|
+.stat-card .label { color: var(--text-secondary); font-size: 0.85rem; }
|
|
|
+.stat-card .value { display: block; font-size: 1.75rem; font-weight: 700; margin-top: 8px; color: var(--text-primary); }
|
|
|
|
|
|
/* Table */
|
|
|
.claims-table-container {
|
|
|
- background: rgba(255, 255, 255, 0.03);
|
|
|
+ background: var(--bg-card);
|
|
|
border-radius: 16px;
|
|
|
- border: 1px solid rgba(255, 255, 255, 0.05);
|
|
|
+ border: 1px solid var(--border-color);
|
|
|
overflow: hidden;
|
|
|
+ box-shadow: var(--shadow-sm);
|
|
|
}
|
|
|
|
|
|
.claims-table {
|
|
|
@@ -158,25 +187,27 @@ h1 { font-size: 2rem; margin: 0; }
|
|
|
|
|
|
.claims-table th {
|
|
|
padding: 1.25rem 1rem;
|
|
|
- color: #a0a0c0;
|
|
|
- font-weight: 500;
|
|
|
+ color: var(--text-secondary);
|
|
|
+ font-weight: 600;
|
|
|
font-size: 0.85rem;
|
|
|
- background: rgba(255, 255, 255, 0.02);
|
|
|
+ background: var(--bg-primary);
|
|
|
+ border-bottom: 2px solid var(--border-color);
|
|
|
}
|
|
|
|
|
|
.claims-table td {
|
|
|
padding: 1.25rem 1rem;
|
|
|
- border-bottom: 1px solid rgba(255, 255, 255, 0.03);
|
|
|
+ border-bottom: 1px solid var(--border-color);
|
|
|
+ color: var(--text-primary);
|
|
|
}
|
|
|
|
|
|
.clickable-row { cursor: pointer; transition: background 0.2s; }
|
|
|
-.clickable-row:hover { background: rgba(255, 255, 255, 0.02); }
|
|
|
+.clickable-row:hover { background: var(--bg-primary); }
|
|
|
|
|
|
.user-cell { display: flex; flex-direction: column; }
|
|
|
-.user-name { font-weight: 600; font-size: 0.9rem; }
|
|
|
-.user-dept { font-size: 0.75rem; color: #a0a0c0; }
|
|
|
+.user-name { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); }
|
|
|
+.user-dept { font-size: 0.75rem; color: var(--text-secondary); }
|
|
|
|
|
|
-.capped-text { color: #ff4d4f; font-weight: 600; }
|
|
|
+.capped-text { color: #ef4444; font-weight: 600; }
|
|
|
|
|
|
.status-pill {
|
|
|
padding: 4px 10px;
|
|
|
@@ -185,8 +216,8 @@ h1 { font-size: 2rem; margin: 0; }
|
|
|
font-weight: 600;
|
|
|
}
|
|
|
|
|
|
-.status-pill.verified { background: rgba(0, 230, 118, 0.1); color: #00e676; }
|
|
|
-.status-pill.review { background: rgba(255, 165, 0, 0.1); color: #ffa500; }
|
|
|
+.status-pill.verified { background: rgba(34, 197, 94, 0.1); color: #166534; }
|
|
|
+.status-pill.review { background: rgba(245, 158, 11, 0.1); color: #92400e; }
|
|
|
|
|
|
/* Modal */
|
|
|
.modal-overlay {
|
|
|
@@ -195,8 +226,8 @@ h1 { font-size: 2rem; margin: 0; }
|
|
|
left: 0;
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- background: rgba(0, 0, 0, 0.8);
|
|
|
- backdrop-filter: blur(8px);
|
|
|
+ background: rgba(15, 23, 42, 0.4);
|
|
|
+ backdrop-filter: blur(4px);
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
@@ -204,23 +235,32 @@ h1 { font-size: 2rem; margin: 0; }
|
|
|
}
|
|
|
|
|
|
.modal-content {
|
|
|
- background: #12121e;
|
|
|
+ background: var(--bg-card);
|
|
|
width: 90%;
|
|
|
- max-width: 800px;
|
|
|
+ max-width: 900px;
|
|
|
+ max-height: 90vh;
|
|
|
+ overflow-y: auto;
|
|
|
border-radius: 24px;
|
|
|
padding: 2.5rem;
|
|
|
position: relative;
|
|
|
- border: 1px solid rgba(255, 255, 255, 0.1);
|
|
|
+ border: 1px solid var(--border-color);
|
|
|
+ box-shadow: var(--shadow-md);
|
|
|
}
|
|
|
|
|
|
.close-btn {
|
|
|
position: absolute;
|
|
|
top: 1.5rem;
|
|
|
right: 1.5rem;
|
|
|
- background: transparent;
|
|
|
- border: none;
|
|
|
- color: #a0a0c0;
|
|
|
+ background: var(--bg-primary);
|
|
|
+ border: 1px solid var(--border-color);
|
|
|
+ color: var(--text-secondary);
|
|
|
+ width: 32px;
|
|
|
+ height: 32px;
|
|
|
+ border-radius: 50%;
|
|
|
cursor: pointer;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
}
|
|
|
|
|
|
.audit-grid {
|
|
|
@@ -231,28 +271,35 @@ h1 { font-size: 2rem; margin: 0; }
|
|
|
}
|
|
|
|
|
|
.receipt-audit {
|
|
|
- background: rgba(0, 0, 0, 0.3);
|
|
|
+ background: var(--bg-primary);
|
|
|
padding: 1.5rem;
|
|
|
border-radius: 12px;
|
|
|
+ border: 1px solid var(--border-color);
|
|
|
}
|
|
|
|
|
|
.financial-audit {
|
|
|
- background: rgba(255, 255, 255, 0.05);
|
|
|
+ background: var(--bg-card);
|
|
|
padding: 1.5rem;
|
|
|
border-radius: 12px;
|
|
|
+ border: 1px solid var(--border-color);
|
|
|
}
|
|
|
|
|
|
.audit-item {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
margin-bottom: 1rem;
|
|
|
+ color: var(--text-primary);
|
|
|
}
|
|
|
|
|
|
+.audit-item .label { color: var(--text-secondary); }
|
|
|
+
|
|
|
.audit-item.total {
|
|
|
margin-top: 1.5rem;
|
|
|
+ padding-top: 1.5rem;
|
|
|
+ border-top: 2px solid var(--border-color);
|
|
|
font-size: 1.25rem;
|
|
|
font-weight: bold;
|
|
|
- color: #00e676;
|
|
|
+ color: var(--accent-primary);
|
|
|
}
|
|
|
|
|
|
.ai-confidence-box {
|
|
|
@@ -260,17 +307,44 @@ h1 { font-size: 2rem; margin: 0; }
|
|
|
}
|
|
|
|
|
|
.conf-bar {
|
|
|
- height: 6px;
|
|
|
- background: rgba(255, 255, 255, 0.1);
|
|
|
- border-radius: 3px;
|
|
|
- margin: 10px 0;
|
|
|
+ height: 8px;
|
|
|
+ background: var(--bg-primary);
|
|
|
+ border-radius: 4px;
|
|
|
+ margin: 12px 0;
|
|
|
}
|
|
|
|
|
|
.conf-fill {
|
|
|
height: 100%;
|
|
|
- background: #4facfe;
|
|
|
- border-radius: 3px;
|
|
|
+ background: var(--accent-primary);
|
|
|
+ border-radius: 4px;
|
|
|
}
|
|
|
|
|
|
.icon-tiny { width: 14px; height: 14px; }
|
|
|
.icon-small { width: 20px; height: 20px; }
|
|
|
+.icon-medium { width: 24px; height: 24px; }
|
|
|
+
|
|
|
+.mock-receipt-view {
|
|
|
+ min-height: 400px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ text-align: center;
|
|
|
+ color: var(--text-secondary);
|
|
|
+}
|
|
|
+
|
|
|
+.extraction-summary {
|
|
|
+ width: 100%;
|
|
|
+ text-align: left;
|
|
|
+ margin-top: 2rem;
|
|
|
+}
|
|
|
+
|
|
|
+.extraction-summary ul {
|
|
|
+ padding-left: 1.5rem;
|
|
|
+}
|
|
|
+
|
|
|
+.extraction-summary li {
|
|
|
+ margin-bottom: 0.5rem;
|
|
|
+ font-size: 0.9rem;
|
|
|
+ color: var(--text-primary);
|
|
|
+}
|