SudhanvaD's picture
Upload 31 files
5400cf3 verified
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');
:root {
--color-bg: #0a192f;
--color-panel: rgba(0, 0, 0, 0.6);
--color-accent: #38d9a9;
--color-text: #ffffff;
--color-muted: #9ca3af;
--color-error: #ef4444;
font-family: 'Poppins', 'Segoe UI', sans-serif;
}
/* Reset */
body {
margin: 0;
padding: 0;
background-color: var(--color-bg);
color: var(--color-text);
font-size: 16px;
line-height: 1.5;
font-family: 'Poppins', 'Segoe UI', sans-serif;
overflow: hidden;
}
/* 🎥 Background video */
.background-video {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
object-fit: cover;
z-index: 0;
opacity: 0.15;
filter: blur(5px) brightness(0.9);
pointer-events: none;
}
/* Layout */
.app-container {
display: flex;
height: 100vh;
position: relative;
z-index: 1;
background-color: transparent;
color: var(--color-text);
}
/* Sidebar */
.sidebar {
width: 280px;
height: 100vh;
padding: 2rem 1.5rem;
background-color: rgba(0, 0, 0, 0.45);
backdrop-filter: blur(16px);
box-shadow: 2px 0 12px rgba(0, 0, 0, 0.3);
z-index: 2;
display: flex;
flex-direction: column;
justify-content: flex-start;
position: relative;
}
.sidebar-header {
display: flex;
justify-content: space-between;
align-items: center;
height: 40px;
margin-bottom: 2.5rem;
position: relative;
}
.sidebar-icon {
width: 28px;
height: 28px;
cursor: pointer;
opacity: 0.9;
transition: transform 0.2s ease;
}
.sidebar-icon:hover {
transform: scale(1.1);
opacity: 1;
}
.site-title {
position: absolute;
left: 50%;
transform: translateX(-50%);
font-size: 1.75rem;
font-weight: 800;
background: linear-gradient(to right, #38d9a9, #66ffe3);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin: 0;
}
.open-sidebar-button {
position: absolute;
top: 1.5rem;
left: 1.5rem;
width: 28px;
height: 28px;
cursor: pointer;
z-index: 3;
transition: transform 0.2s ease;
}
.open-sidebar-button:hover {
transform: scale(1.1);
}
/* 🧠 Session History */
.history-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.history-item {
padding: 0.6rem 1rem;
border-radius: 999px; /* bubble style */
background-color: rgba(51, 65, 85, 0.8);
cursor: pointer;
font-size: 0.95rem;
transition: background-color 0.2s ease, color 0.2s ease;
text-align: center;
}
.history-item:hover {
background-color: #38d9a9;
color: #0f172a;
}
.history-item.active {
background-color: #38d9a9;
color: #0f172a;
font-weight: 600;
}
/* 🔼 Top navbar */
.top-ui-wrapper {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 2rem;
padding: 0 2rem;
}
.top-navbar {
display: flex;
align-items: center;
gap: 2rem;
background-color: rgba(0, 0, 0, 0.4);
padding: 0.75rem 1.5rem;
border-radius: 50px;
margin: 0 auto;
}
.nav-logo {
width: 32px;
height: 32px;
cursor: pointer;
}
.nav-link {
font-size: 1rem;
font-weight: 500;
cursor: pointer;
}
/* 🔐 Auth buttons */
.auth-buttons {
display: flex;
gap: 2rem;
background-color: rgba(0, 0, 0, 0.4);
padding: 0.75rem 1.5rem;
border-radius: 50px;
}
.auth-link {
font-size: 1rem;
font-weight: 500;
cursor: pointer;
}
/* 👨‍💻 Main */
.main-panel {
flex: 1;
display: flex;
flex-direction: column;
padding: 1rem 2rem 8rem;
overflow-y: auto;
background-color: transparent;
position: relative;
z-index: 2;
}
/* 💬 Prompt */
.prompt-banner {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
min-height: 300px;
}
.prompt-text {
font-size: 3rem;
font-weight: 900;
background: linear-gradient(to right, #38d9a9, #66ffe3);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-align: center;
}
.suggestion-text {
font-size: 0.9rem;
color: var(--color-muted);
margin-top: 1rem;
}
/* 💬 Chat area */
.chat-area {
flex: 1;
display: flex;
flex-direction: column;
justify-content: flex-end;
padding-bottom: 2rem;
}
/* 📝 Chat box */
.chat-box-wrapper {
display: flex;
justify-content: center;
padding: 1.5rem;
position: fixed;
bottom: 0;
left: 280px; /* width of your sidebar */
right: 0;
z-index: 3;
background: linear-gradient(to top, rgba(10, 25, 47, 0.95), transparent); /* optional: smooth fade */
}
.chat-box-wrapper > .chat-input-wrapper {
width: 100%;
max-width: 900px;
padding: 1rem 1.25rem;
border-radius: 16px;
background-color: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(10px);
display: flex;
gap: 1rem;
align-items: center;
border: 1px solid rgba(255, 255, 255, 0.05);
}
/* 🌐 Utility */
button {
cursor: pointer;
transition: all 0.2s ease-in-out;
}
a {
color: var(--color-accent);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.about-page {
padding: 2rem;
background-color: var(--color-bg);
min-height: 100vh;
color: var(--color-text);
position: relative;
z-index: 1;
overflow-y: auto;
}
.about-content {
max-width: 900px;
margin: 0 auto;
padding-top: 3rem;
}