Spaces:
Sleeping
Sleeping
| :root { | |
| --bg-dark: #131314; | |
| --bg-sidebar: #1e1f20; | |
| --bg-card: #1e1f20; | |
| --text-main: #e3e3e3; | |
| --text-sub: #e3e3e380; | |
| --gemini-blue: #4285f4; | |
| --gemini-purple: #9b51e0; | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| font-family: 'Google Sans', sans-serif; | |
| } | |
| body { | |
| background-color: var(--bg-dark); | |
| color: var(--text-main); | |
| overflow: hidden; | |
| } | |
| .gemini-app { | |
| display: flex; | |
| height: 100vh; | |
| width: 100vw; | |
| } | |
| /* সাইডবার স্টাইল */ | |
| .sidebar { | |
| width: 250px; | |
| background-color: var(--bg-sidebar); | |
| padding: 20px 12px; | |
| display: flex; | |
| flex-direction: column; | |
| transition: all 0.3s ease; | |
| z-index: 100; | |
| } | |
| .sidebar.closed { | |
| width: 0; | |
| padding: 20px 0; | |
| overflow: hidden; | |
| } | |
| .new-chat-btn { | |
| background: #1a1a1c; | |
| border: none; | |
| color: var(--text-main); | |
| padding: 12px 16px; | |
| border-radius: 50px; | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| font-weight: 500; | |
| margin-top: 20px; | |
| width: fit-content; | |
| } | |
| .recent-section { | |
| margin-top: 30px; | |
| flex: 1; | |
| overflow-y: auto; | |
| } | |
| .recent-title { | |
| font-size: 14px; | |
| color: var(--text-sub); | |
| padding-left: 14px; | |
| margin-bottom: 10px; | |
| } | |
| .history-item { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 10px 14px; | |
| border-radius: 20px; | |
| cursor: pointer; | |
| font-size: 14px; | |
| color: var(--text-main); | |
| } | |
| .history-item:hover { background-color: #282a2c; } | |
| .delete-chat-btn { | |
| background: none; | |
| border: none; | |
| color: var(--text-sub); | |
| cursor: pointer; | |
| display: none; | |
| } | |
| .history-item:hover .delete-chat-btn { display: block; } | |
| /* মেইন কন্টেন্ট */ | |
| .main-content { | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| position: relative; | |
| background-color: var(--bg-dark); | |
| } | |
| .top-bar { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 16px 24px; | |
| } | |
| .menu-toggle, .menu-toggle-inner { | |
| background: none; | |
| border: none; | |
| color: var(--text-main); | |
| font-size: 20px; | |
| cursor: pointer; | |
| } | |
| .app-brand { | |
| font-size: 22px; | |
| font-weight: 500; | |
| background: linear-gradient(45deg, #4285f4, #9b51e0, #ea4335); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .user-avatar { | |
| font-size: 20px; | |
| cursor: pointer; | |
| } | |
| /* চ্যাট কন্টেইনার ও ওয়েলকাম স্ক্রিন */ | |
| .chat-container { | |
| flex: 1; | |
| overflow-y: auto; | |
| padding: 20px 10%; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .welcome-screen { | |
| margin-top: 8vh; | |
| } | |
| .gemini-greeting { | |
| font-size: 56px; | |
| font-weight: 500; | |
| background: linear-gradient(90deg, #4285f4, #9b51e0); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .gemini-sub-greeting { | |
| font-size: 56px; | |
| color: #333537; | |
| margin-bottom: 40px; | |
| } | |
| .suggestion-cards { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); | |
| gap: 16px; | |
| } | |
| .card { | |
| background-color: var(--bg-card); | |
| padding: 20px; | |
| border-radius: 12px; | |
| cursor: pointer; | |
| min-height: 120px; | |
| display: flex; | |
| align-items: flex-end; | |
| transition: background 0.2s; | |
| } | |
| .card:hover { background-color: #282a2c; } | |
| .card p { font-size: 14px; color: var(--text-main); } | |
| /* চ্যাট মেসেজ বাবল */ | |
| .chat-messages { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 30px; | |
| padding-bottom: 100px; | |
| } | |
| .chat-bubble { | |
| display: flex; | |
| gap: 20px; | |
| animation: fadeIn 0.4s ease; | |
| } | |
| .chat-bubble.user { justify-content: flex-end; flex-direction: row-reverse;} | |
| .bubble-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #282a2c; } | |
| .chat-bubble.user .bubble-avatar { background: var(--gemini-blue); } | |
| .bubble-text { | |
| max-width: 80%; | |
| font-size: 16px; | |
| line-height: 1.6; | |
| color: var(--text-main); | |
| word-break: break-word; | |
| } | |
| .chat-bubble.user .bubble-text { | |
| background-color: #282a2c; | |
| padding: 12px 20px; | |
| border-radius: 22px; | |
| } | |
| /* বটম ইনপুট এরিয়া */ | |
| .input-area-container { | |
| position: absolute; | |
| bottom: 0; | |
| left: 0; | |
| width: 100%; | |
| padding: 20px 10%; | |
| background: linear-gradient(transparent, var(--bg-dark) 30%); | |
| } | |
| .input-box-wrapper { | |
| display: flex; | |
| background-color: var(--bg-card); | |
| border-radius: 30px; | |
| padding: 8px 24px; | |
| align-items: center; | |
| } | |
| #userInput { | |
| flex: 1; | |
| background: none; | |
| border: none; | |
| color: var(--text-main); | |
| font-size: 16px; | |
| outline: none; | |
| padding: 12px 0; | |
| } | |
| #sendBtn { | |
| background: none; | |
| border: none; | |
| cursor: pointer; | |
| } | |
| .send-icon { | |
| width: 24px; | |
| height: 24px; | |
| fill: var(--text-main); | |
| transition: fill 0.2s; | |
| } | |
| #userInput:placeholder-shown + #sendBtn .send-icon { fill: var(--text-sub); } | |
| .disclaimer { | |
| font-size: 12px; | |
| color: var(--text-sub); | |
| text-align: center; | |
| margin-top: 10px; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| /* মোবাইল রেসপন্সিভনেস */ | |
| @media (max-width: 768px) { | |
| .sidebar { position: absolute; height: 100%; left: 0; top: 0; } | |
| .sidebar.closed { width: 0; transform: translateX(-100%); } | |
| .chat-container { padding: 20px 5%; } | |
| .input-area-container { padding: 20px 5%; } | |
| .gemini-greeting, .gemini-sub-greeting { font-size: 36px; } | |
| } | |