/* Global Styles */ @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap'); html, body, [class*="css"] { font-family: 'Outfit', sans-serif; color: #e0e0e0; } /* Glassmorphism Background with subtle animation */ .stApp { background: radial-gradient(circle at 10% 20%, rgb(18, 22, 28) 0%, rgb(10, 10, 14) 90.2%); background-attachment: fixed; } /* Custom Card - Enhanced */ .custom-card { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 16px; padding: 24px; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); margin-bottom: 24px; height: 100%; position: relative; overflow: hidden; } .custom-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%); opacity: 0; transition: opacity 0.3s ease; } .custom-card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4); border-color: rgba(255, 255, 255, 0.15); } .custom-card:hover::before { opacity: 1; } .card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.5px; background: linear-gradient(90deg, #fff, #bbb); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .card-text { color: #b0b0b0; font-size: 0.95rem; line-height: 1.6; } /* Gradient text utility */ .gradient-text { background: linear-gradient(90deg, #4CC9F0 0%, #4361EE 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; } /* Buttons - Modern Gradient */ div.stButton > button { background: linear-gradient(135deg, #4361EE 0%, #3F37C9 100%); color: white; border: none; border-radius: 10px; padding: 0.6rem 1.2rem; font-weight: 600; letter-spacing: 0.5px; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3); } div.stButton > button[kind="secondary"] { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); box-shadow: none; } div.stButton > button:hover { background: linear-gradient(135deg, #4895EF 0%, #4361EE 100%); box-shadow: 0 6px 20px rgba(67, 97, 238, 0.5); transform: translateY(-2px); color: white; } div.stButton > button:active { transform: scale(0.98); } /* Inputs - Sleek Dark */ .stTextInput > div > div > input { background-color: rgba(0, 0, 0, 0.2); color: #e0e0e0; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 10px 12px; } .stTextInput > div > div > input:focus { border-color: #4361EE; box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2); } /* Chat Messages */ .stChatMessage { background-color: transparent; } .stChatMessage[data-testid="stChatMessageAvatarUser"] { background-color: #2b2d42; /* Dark user avatar bg */ border: 1px solid rgba(255,255,255,0.1); } .stChatMessage[data-testid="stChatMessageAvatarAssistant"] { background: linear-gradient(135deg, #4361EE, #F72585); /* Vibrant gradient */ } div[data-testid="stChatMessageContent"] { background: rgba(255, 255, 255, 0.04); border-radius: 16px; padding: 20px; border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 2px 10px rgba(0,0,0,0.1); } /* Headings */ h1, h2, h3 { color: #ffffff !important; font-weight: 700 !important; letter-spacing: -0.5px; } /* Sidebar */ section[data-testid="stSidebar"] { background: rgba(18, 22, 28, 0.95); border-right: 1px solid rgba(255, 255, 255, 0.1); } section[data-testid="stSidebar"] [data-testid="stVerticalBlock"] { gap: 0.5rem; } .st-emotion-cache-16txtl3 { /* Sidebar nav links container - this class might change, targeting via attribute if possible */ padding-top: 2rem; } /* Sidebar Nav Links */ .stPageLink a { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px; margin-bottom: 5px; transition: all 0.2s ease; } .stPageLink a:hover { background: rgba(67, 97, 238, 0.2); border-color: rgba(67, 97, 238, 0.5); transform: translateX(5px); } .stPageLink p { font-weight: 600; } /* Divider with Gradient */ hr { border: 0; height: 1px; background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)); margin: 30px 0; } /* Status Badges - Pill shape */ .status-badge { padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; display: inline-block; } .status-ingested { background: rgba(4, 212, 137, 0.15); /* Vivid green tint */ color: #2ecc71; border: 1px solid rgba(4, 212, 137, 0.3); } .status-pending { background: rgba(255, 179, 11, 0.15); /* Amber tint */ color: #f1c40f; border: 1px solid rgba(255, 179, 11, 0.3); } /* Scrollbar */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: #121212; } ::-webkit-scrollbar-thumb { background: #444; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #666; }