BanglaSumQA / frontend /src /index.css
Nanny7's picture
Initial commit: BanglaSumQA - Bangla AI Summarizer & QA System
d6722a2
Raw
History Blame Contribute Delete
25.3 kB
/* ============================================================
BanglaSumQA β€” Complete Design System
Light Orange ChatGPT-inspired theme with Bangla typography
============================================================ */
/* Google Fonts already loaded via index.html */
/* ── CSS Custom Properties ────────────────────────────────── */
:root {
/* Orange Palette */
--orange-50: #FFF7ED;
--orange-100: #FFEDD5;
--orange-200: #FED7AA;
--orange-300: #FDBA74;
--orange-400: #FB923C;
--orange-500: #F97316;
--orange-600: #EA580C;
--orange-700: #C2410C;
/* Stone / Neutral */
--stone-50: #FAFAF9;
--stone-100: #F5F5F4;
--stone-200: #E7E5E4;
--stone-300: #D6D3D1;
--stone-400: #A8A29E;
--stone-500: #78716C;
--stone-600: #57534E;
--stone-700: #44403C;
--stone-800: #292524;
--stone-900: #1C1917;
/* Semantic Tokens */
--bg-app: #FFFBF7;
--bg-sidebar: #FFF4E8;
--bg-sidebar-hover: #FFE8CC;
--bg-chat: #FFFBF7;
--bg-input-bar: #FFFFFF;
--bg-input-field: #FFF8F2;
--bg-user-msg: var(--orange-500);
--bg-bot-msg: #FFFFFF;
--bg-welcome-card: #FFFFFF;
--text-primary: #1C1917;
--text-secondary: #57534E;
--text-muted: #A8A29E;
--text-on-orange: #FFFFFF;
--text-accent: var(--orange-600);
--border-light: #FED7AA;
--border-medium: #FDBA74;
--border-input: #FED7AA;
--border-focus: var(--orange-500);
--shadow-xs: 0 1px 3px rgba(249,115,22,0.08);
--shadow-sm: 0 2px 8px rgba(249,115,22,0.10);
--shadow-md: 0 4px 20px rgba(249,115,22,0.13);
--shadow-lg: 0 8px 40px rgba(249,115,22,0.16);
--shadow-xl: 0 16px 60px rgba(249,115,22,0.20);
--radius-xs: 4px;
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--radius-xl: 20px;
--radius-2xl: 24px;
--radius-full: 9999px;
/* Layout */
--sidebar-width: 260px;
--summary-width: 340px;
--input-bar-height: 90px;
--header-height: 60px;
/* Typography */
--font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
--font-bangla: 'Noto Sans Bengali', 'Inter', sans-serif;
/* Transitions */
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
--ease-in: cubic-bezier(0.4, 0, 1, 1);
--ease-inout: cubic-bezier(0.4, 0, 0.2, 1);
--dur-fast: 150ms;
--dur-med: 250ms;
--dur-slow: 400ms;
}
/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body, #root {
height: 100%;
overflow: hidden;
}
body {
font-family: var(--font-ui);
background: var(--bg-app);
color: var(--text-primary);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Bangla text rendering */
.bangla {
font-family: var(--font-bangla);
line-height: 1.8;
}
/* Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
background: var(--orange-200);
border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--orange-300); }
/* ── App Layout ───────────────────────────────────────────── */
.app-container {
display: flex;
height: 100vh;
overflow: hidden;
background: var(--bg-app);
}
/* ── Sidebar ──────────────────────────────────────────────── */
.sidebar {
width: var(--sidebar-width);
min-width: var(--sidebar-width);
height: 100vh;
background: var(--bg-sidebar);
border-right: 1px solid var(--border-light);
display: flex;
flex-direction: column;
overflow: hidden;
transition: width var(--dur-med) var(--ease-out);
z-index: 100;
}
.sidebar-logo {
display: flex;
align-items: center;
gap: 10px;
padding: 20px 16px 16px;
border-bottom: 1px solid var(--border-light);
}
.sidebar-logo-icon {
width: 36px;
height: 36px;
border-radius: var(--radius-md);
background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
color: white;
font-weight: 700;
font-family: var(--font-bangla);
flex-shrink: 0;
box-shadow: var(--shadow-sm);
}
.sidebar-logo-text {
display: flex;
flex-direction: column;
}
.sidebar-logo-name {
font-size: 14px;
font-weight: 700;
color: var(--text-primary);
letter-spacing: -0.3px;
}
.sidebar-logo-tagline {
font-size: 10px;
color: var(--text-muted);
font-weight: 400;
font-family: var(--font-bangla);
}
.sidebar-section {
padding: 12px 10px 6px;
}
.sidebar-section-label {
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.8px;
color: var(--text-muted);
padding: 0 6px 6px;
}
.sidebar-btn {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
padding: 10px 12px;
border-radius: var(--radius-md);
border: none;
background: transparent;
color: var(--text-secondary);
font-size: 13.5px;
font-weight: 500;
font-family: var(--font-ui);
cursor: pointer;
transition: background var(--dur-fast) var(--ease-out),
color var(--dur-fast) var(--ease-out);
text-align: left;
}
.sidebar-btn:hover {
background: var(--bg-sidebar-hover);
color: var(--text-primary);
}
.sidebar-btn.active {
background: var(--orange-100);
color: var(--orange-700);
}
.sidebar-btn-icon {
width: 18px;
height: 18px;
flex-shrink: 0;
opacity: 0.7;
}
.sidebar-btn:hover .sidebar-btn-icon,
.sidebar-btn.active .sidebar-btn-icon {
opacity: 1;
}
.new-chat-btn {
margin: 10px;
padding: 10px 14px;
background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
color: white;
border: none;
border-radius: var(--radius-md);
font-size: 13.5px;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
transition: all var(--dur-fast) var(--ease-out);
box-shadow: var(--shadow-sm);
font-family: var(--font-ui);
}
.new-chat-btn:hover {
transform: translateY(-1px);
box-shadow: var(--shadow-md);
background: linear-gradient(135deg, var(--orange-600), var(--orange-700));
}
.new-chat-btn:active {
transform: translateY(0);
}
.sidebar-history {
flex: 1;
overflow-y: auto;
padding: 0 10px;
}
.history-item {
display: flex;
align-items: center;
gap: 8px;
padding: 9px 12px;
border-radius: var(--radius-md);
cursor: pointer;
transition: background var(--dur-fast);
font-size: 12.5px;
color: var(--text-secondary);
font-family: var(--font-bangla);
}
.history-item:hover {
background: var(--bg-sidebar-hover);
color: var(--text-primary);
}
.history-item-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--orange-300);
flex-shrink: 0;
}
.history-item-text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.sidebar-footer {
padding: 12px 10px;
border-top: 1px solid var(--border-light);
}
.sidebar-footer-info {
font-size: 10.5px;
color: var(--text-muted);
padding: 4px 12px;
font-family: var(--font-bangla);
line-height: 1.6;
}
/* ── Main Area ────────────────────────────────────────────── */
.main-area {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
min-width: 0;
}
/* ── Chat Header ──────────────────────────────────────────── */
.chat-header {
height: var(--header-height);
border-bottom: 1px solid var(--border-light);
background: rgba(255,251,247,0.9);
backdrop-filter: blur(12px);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
flex-shrink: 0;
z-index: 10;
}
.chat-header-title {
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
display: flex;
align-items: center;
gap: 8px;
font-family: var(--font-bangla);
}
.chat-header-badge {
font-size: 10px;
padding: 2px 8px;
background: var(--orange-100);
color: var(--orange-700);
border-radius: var(--radius-full);
font-weight: 600;
font-family: var(--font-ui);
}
.chat-header-actions {
display: flex;
gap: 6px;
}
.header-icon-btn {
width: 34px;
height: 34px;
display: flex;
align-items: center;
justify-content: center;
border-radius: var(--radius-sm);
border: none;
background: transparent;
color: var(--text-muted);
cursor: pointer;
transition: all var(--dur-fast);
}
.header-icon-btn:hover {
background: var(--orange-100);
color: var(--orange-600);
}
/* ── Chat Window ──────────────────────────────────────────── */
.chat-window {
flex: 1;
overflow-y: auto;
padding: 24px 0;
display: flex;
flex-direction: column;
scroll-behavior: smooth;
}
/* ── Welcome Screen ───────────────────────────────────────── */
.welcome-screen {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 40px 20px;
text-align: center;
animation: fadeInUp 0.5s var(--ease-out);
}
.welcome-logo {
width: 72px;
height: 72px;
border-radius: 20px;
background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
display: flex;
align-items: center;
justify-content: center;
font-size: 36px;
color: white;
font-family: var(--font-bangla);
font-weight: 700;
margin-bottom: 20px;
box-shadow: var(--shadow-lg);
animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
0%, 100% { box-shadow: var(--shadow-lg); }
50% { box-shadow: 0 8px 40px rgba(249,115,22,0.35); }
}
.welcome-title {
font-size: 28px;
font-weight: 700;
color: var(--text-primary);
letter-spacing: -0.5px;
margin-bottom: 6px;
}
.welcome-title span {
background: linear-gradient(135deg, var(--orange-500), var(--orange-700));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.welcome-subtitle {
font-size: 14px;
color: var(--text-secondary);
margin-bottom: 4px;
font-family: var(--font-bangla);
line-height: 1.7;
}
.welcome-subtitle-en {
font-size: 12px;
color: var(--text-muted);
margin-bottom: 36px;
}
.welcome-cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 14px;
max-width: 680px;
width: 100%;
margin-bottom: 32px;
}
.welcome-card {
background: var(--bg-welcome-card);
border: 1px solid var(--border-light);
border-radius: var(--radius-xl);
padding: 20px 16px;
text-align: left;
cursor: pointer;
transition: all var(--dur-med) var(--ease-out);
box-shadow: var(--shadow-xs);
}
.welcome-card:hover {
border-color: var(--orange-300);
box-shadow: var(--shadow-md);
transform: translateY(-2px);
}
.welcome-card-icon {
font-size: 26px;
margin-bottom: 10px;
display: block;
}
.welcome-card-title {
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 5px;
font-family: var(--font-bangla);
}
.welcome-card-desc {
font-size: 11.5px;
color: var(--text-muted);
line-height: 1.6;
font-family: var(--font-bangla);
}
.welcome-tips {
display: flex;
gap: 8px;
flex-wrap: wrap;
justify-content: center;
max-width: 600px;
}
.welcome-tip {
font-size: 11.5px;
color: var(--text-muted);
background: var(--orange-50);
border: 1px solid var(--border-light);
border-radius: var(--radius-full);
padding: 4px 12px;
font-family: var(--font-bangla);
}
/* ── Messages ─────────────────────────────────────────────── */
.messages-container {
display: flex;
flex-direction: column;
gap: 4px;
padding: 0 16px;
max-width: 860px;
margin: 0 auto;
width: 100%;
}
.message-row {
display: flex;
align-items: flex-end;
gap: 10px;
animation: messageIn 0.3s var(--ease-out);
}
@keyframes messageIn {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
.message-row.user {
flex-direction: row-reverse;
}
.message-avatar {
width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
flex-shrink: 0;
margin-bottom: 2px;
font-family: var(--font-bangla);
}
.message-avatar.bot {
background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
color: white;
font-weight: 700;
box-shadow: var(--shadow-xs);
}
.message-avatar.user {
background: var(--stone-200);
color: var(--stone-600);
}
.message-bubble-wrapper {
display: flex;
flex-direction: column;
max-width: 78%;
gap: 4px;
}
.message-row.user .message-bubble-wrapper {
align-items: flex-end;
}
.message-bubble {
padding: 12px 16px;
border-radius: var(--radius-xl);
font-size: 14px;
line-height: 1.75;
position: relative;
font-family: var(--font-bangla);
}
.message-bubble.user {
background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
color: white;
border-bottom-right-radius: var(--radius-xs);
box-shadow: var(--shadow-sm);
}
.message-bubble.bot {
background: var(--bg-bot-msg);
color: var(--text-primary);
border: 1px solid var(--border-light);
border-bottom-left-radius: var(--radius-xs);
box-shadow: var(--shadow-xs);
}
/* Markdown inside bot bubbles */
.message-bubble.bot p { margin-bottom: 8px; }
.message-bubble.bot p:last-child { margin-bottom: 0; }
.message-bubble.bot ul, .message-bubble.bot ol {
padding-left: 18px;
margin-bottom: 8px;
}
.message-bubble.bot li { margin-bottom: 4px; }
.message-bubble.bot strong { color: var(--orange-700); }
.message-bubble.bot code {
background: var(--orange-50);
color: var(--orange-700);
padding: 1px 5px;
border-radius: 4px;
font-size: 12px;
font-family: monospace;
}
.message-meta {
display: flex;
align-items: center;
gap: 8px;
padding: 0 4px;
}
.message-time {
font-size: 10px;
color: var(--text-muted);
font-family: var(--font-ui);
}
.copy-btn {
background: none;
border: none;
cursor: pointer;
padding: 2px 4px;
border-radius: var(--radius-xs);
color: var(--text-muted);
font-size: 10px;
display: flex;
align-items: center;
gap: 3px;
transition: all var(--dur-fast);
font-family: var(--font-ui);
}
.copy-btn:hover {
color: var(--orange-600);
background: var(--orange-50);
}
/* ── Loading Bubble ───────────────────────────────────────── */
.loading-bubble {
display: flex;
align-items: center;
gap: 5px;
padding: 14px 18px;
background: var(--bg-bot-msg);
border: 1px solid var(--border-light);
border-radius: var(--radius-xl);
border-bottom-left-radius: var(--radius-xs);
box-shadow: var(--shadow-xs);
width: fit-content;
}
.loading-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--orange-400);
animation: loadingBounce 1.2s ease-in-out infinite;
}
.loading-dot:nth-child(2) { animation-delay: 0.15s; }
.loading-dot:nth-child(3) { animation-delay: 0.30s; }
@keyframes loadingBounce {
0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
40% { transform: scale(1.0); opacity: 1.0; }
}
.loading-label {
font-size: 11px;
color: var(--text-muted);
font-family: var(--font-bangla);
margin-left: 4px;
}
/* ── Input Bar ────────────────────────────────────────────── */
.input-bar-wrapper {
border-top: 1px solid var(--border-light);
background: var(--bg-input-bar);
padding: 12px 16px 16px;
flex-shrink: 0;
}
.input-bar-inner {
max-width: 860px;
margin: 0 auto;
}
.attachment-chip {
display: inline-flex;
align-items: center;
gap: 6px;
background: var(--orange-100);
border: 1px solid var(--border-medium);
border-radius: var(--radius-full);
padding: 4px 10px 4px 8px;
font-size: 12px;
color: var(--orange-700);
margin-bottom: 8px;
font-family: var(--font-ui);
font-weight: 500;
}
.attachment-chip-icon { font-size: 14px; }
.attachment-chip-remove {
background: none;
border: none;
cursor: pointer;
color: var(--orange-500);
font-size: 14px;
line-height: 1;
padding: 0;
display: flex;
align-items: center;
transition: color var(--dur-fast);
}
.attachment-chip-remove:hover { color: var(--orange-700); }
.input-box {
display: flex;
align-items: flex-end;
gap: 8px;
background: var(--bg-input-field);
border: 1.5px solid var(--border-input);
border-radius: var(--radius-2xl);
padding: 8px 8px 8px 14px;
transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.input-box:focus-within {
border-color: var(--border-focus);
box-shadow: 0 0 0 3px rgba(249,115,22,0.10);
}
.input-textarea {
flex: 1;
border: none;
outline: none;
background: transparent;
font-size: 14px;
font-family: var(--font-bangla);
color: var(--text-primary);
resize: none;
line-height: 1.7;
max-height: 180px;
overflow-y: auto;
padding: 4px 0;
}
.input-textarea::placeholder {
color: var(--text-muted);
font-family: var(--font-bangla);
}
.input-actions {
display: flex;
align-items: flex-end;
gap: 4px;
flex-shrink: 0;
}
.input-action-btn {
width: 36px;
height: 36px;
border-radius: var(--radius-md);
border: none;
background: transparent;
color: var(--text-muted);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all var(--dur-fast);
font-size: 16px;
}
.input-action-btn:hover {
background: var(--orange-100);
color: var(--orange-600);
}
.input-action-btn.recording {
background: #FEE2E2;
color: #DC2626;
animation: recordingPulse 1.2s ease-in-out infinite;
}
@keyframes recordingPulse {
0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0.3); }
50% { box-shadow: 0 0 0 6px rgba(220,38,38,0.0); }
}
.send-btn {
width: 36px;
height: 36px;
border-radius: var(--radius-md);
border: none;
background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
color: white;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all var(--dur-fast) var(--ease-out);
box-shadow: var(--shadow-sm);
}
.send-btn:hover:not(:disabled) {
transform: scale(1.05);
box-shadow: var(--shadow-md);
background: linear-gradient(135deg, var(--orange-600), var(--orange-700));
}
.send-btn:disabled {
opacity: 0.45;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.input-hint {
font-size: 10.5px;
color: var(--text-muted);
text-align: center;
margin-top: 8px;
font-family: var(--font-bangla);
}
.input-hint a { color: var(--orange-500); text-decoration: none; }
/* ── Summary Panel ────────────────────────────────────────── */
.summary-panel {
width: var(--summary-width);
min-width: var(--summary-width);
height: 100vh;
background: #FFFFFF;
border-left: 1px solid var(--border-light);
display: flex;
flex-direction: column;
overflow: hidden;
animation: slideInRight 0.35s var(--ease-out);
z-index: 50;
}
@keyframes slideInRight {
from { transform: translateX(100%); opacity: 0; }
to { transform: translateX(0); opacity: 1; }
}
.summary-panel-header {
background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
padding: 16px;
flex-shrink: 0;
}
.summary-panel-header-top {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
}
.summary-panel-title {
font-size: 13px;
font-weight: 700;
color: white;
letter-spacing: 0.2px;
display: flex;
align-items: center;
gap: 6px;
}
.summary-panel-close {
width: 28px;
height: 28px;
border-radius: var(--radius-sm);
border: 1px solid rgba(255,255,255,0.3);
background: rgba(255,255,255,0.15);
color: white;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
transition: background var(--dur-fast);
}
.summary-panel-close:hover { background: rgba(255,255,255,0.25); }
.summary-file-chip {
display: flex;
align-items: center;
gap: 6px;
background: rgba(255,255,255,0.2);
border: 1px solid rgba(255,255,255,0.3);
border-radius: var(--radius-sm);
padding: 5px 10px;
font-size: 11px;
color: white;
font-family: var(--font-ui);
font-weight: 500;
width: fit-content;
}
.summary-stats {
display: flex;
gap: 12px;
margin-top: 8px;
}
.summary-stat {
display: flex;
align-items: center;
gap: 4px;
font-size: 10.5px;
color: rgba(255,255,255,0.85);
font-family: var(--font-ui);
}
.summary-panel-body {
flex: 1;
overflow-y: auto;
padding: 16px;
}
.summary-section-label {
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.8px;
color: var(--text-muted);
margin-bottom: 10px;
display: flex;
align-items: center;
gap: 6px;
}
.summary-text {
font-size: 13.5px;
line-height: 1.85;
color: var(--text-primary);
font-family: var(--font-bangla);
background: var(--orange-50);
border: 1px solid var(--border-light);
border-radius: var(--radius-lg);
padding: 14px;
white-space: pre-wrap;
}
.summary-panel-footer {
padding: 12px 16px;
border-top: 1px solid var(--border-light);
display: flex;
gap: 8px;
flex-shrink: 0;
}
.summary-action-btn {
flex: 1;
padding: 9px 12px;
border-radius: var(--radius-md);
border: 1.5px solid var(--border-medium);
background: white;
font-size: 12px;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
font-family: var(--font-ui);
color: var(--text-secondary);
transition: all var(--dur-fast);
}
.summary-action-btn:hover {
border-color: var(--orange-400);
color: var(--orange-600);
background: var(--orange-50);
}
.summary-action-btn.primary {
background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
color: white;
border-color: transparent;
box-shadow: var(--shadow-sm);
}
.summary-action-btn.primary:hover {
background: linear-gradient(135deg, var(--orange-600), var(--orange-700));
box-shadow: var(--shadow-md);
}
/* ── Processing Overlay ───────────────────────────────────── */
.processing-overlay {
background: var(--bg-bot-msg);
border: 1px solid var(--border-light);
border-radius: var(--radius-xl);
padding: 16px 20px;
display: flex;
align-items: center;
gap: 12px;
max-width: 78%;
box-shadow: var(--shadow-xs);
animation: messageIn 0.3s var(--ease-out);
font-family: var(--font-bangla);
}
.processing-spinner {
width: 20px;
height: 20px;
border: 2.5px solid var(--orange-200);
border-top-color: var(--orange-500);
border-radius: 50%;
animation: spin 0.8s linear infinite;
flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.processing-text {
font-size: 13px;
color: var(--text-secondary);
}
.processing-step {
font-size: 11px;
color: var(--orange-500);
font-weight: 600;
margin-top: 2px;
}
/* ── Error Toast ──────────────────────────────────────────── */
.error-bubble {
background: #FEF2F2;
border: 1px solid #FECACA;
color: #DC2626;
font-size: 13px;
border-radius: var(--radius-lg);
padding: 10px 14px;
font-family: var(--font-bangla);
max-width: 78%;
}
/* ── API Key Banner ───────────────────────────────────────── */
.api-key-banner {
background: linear-gradient(135deg, #FFF7ED, #FFEDD5);
border: 1px solid var(--orange-200);
border-radius: var(--radius-md);
padding: 10px 16px;
font-size: 12px;
color: var(--orange-700);
margin: 12px 16px 0;
display: flex;
align-items: center;
gap: 8px;
font-family: var(--font-bangla);
max-width: 860px;
margin-left: auto;
margin-right: auto;
}
/* ── Utility Animations ───────────────────────────────────── */
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* ── Responsive: Collapse sidebar on small screens ─────────── */
@media (max-width: 768px) {
.sidebar { display: none; }
.summary-panel { display: none; }
.welcome-cards { grid-template-columns: 1fr; max-width: 320px; }
}