/* Cosmic Theme Variables */ :root { --cosmic-dark: #0f0c29; --cosmic-darker: #080518; --cosmic-purple: #5e35b1; --cosmic-blue: #2196f3; --cosmic-pink: #e91e63; --cosmic-cyan: #00bcd4; --cosmic-gradient: linear-gradient(135deg, var(--cosmic-dark), var(--cosmic-purple), #24243e); --text-light: #ffffff; --text-lighter: #e0e0ff; --text-muted: #a0a0cc; --success: #00e676; --error: #ff5252; --card-bg: rgba(30, 30, 46, 0.7); --card-border: rgba(149, 117, 205, 0.3); --input-bg: rgba(25, 25, 40, 0.8); --input-focus: rgba(94, 53, 177, 0.5); --button-bg: linear-gradient(135deg, var(--cosmic-purple), var(--cosmic-pink)); } /* Global Styles */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { color: var(--text-light); height: 100vh; overflow: hidden; position: relative; } /* Cosmic Background */ .cosmic-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--cosmic-gradient); z-index: -2; } .cosmic-bg::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 20% 30%, rgba(224, 64, 251, 0.2) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(33, 150, 243, 0.2) 0%, transparent 40%), radial-gradient(circle at 50% 20%, rgba(233, 30, 99, 0.15) 0%, transparent 40%); z-index: -1; } /* Common Elements */ .logo { display: flex; align-items: center; gap: 10px; } .logo i { font-size: 2rem; color: var(--cosmic-cyan); } .logo h1 { font-size: 1.8rem; background: linear-gradient(to right, var(--cosmic-cyan), var(--cosmic-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } footer { text-align: center; padding: 15px; font-size: 0.85rem; color: var(--text-muted); background: rgba(15, 12, 41, 0.5); border-top: 1px solid var(--card-border); backdrop-filter: blur(5px); } footer a { color: var(--cosmic-cyan); text-decoration: none; } footer a:hover { text-decoration: underline; } /* Chat Page Styles */ .chat-container { display: flex; flex-direction: column; height: 100vh; max-width: 1200px; margin: 0 auto; background: rgba(15, 15, 25, 0.5); backdrop-filter: blur(10px); box-shadow: 0 0 30px rgba(94, 53, 177, 0.2); } header { display: flex; justify-content: space-between; align-items: center; padding: 15px 25px; background: var(--card-bg); border-bottom: 1px solid var(--card-border); backdrop-filter: blur(5px); } .user-info { display: flex; align-items: center; gap: 15px; } #user-email { color: var(--text-lighter); font-size: 0.95rem; } #logout-btn { background: var(--button-bg); color: white; border: none; padding: 8px 15px; border-radius: 20px; cursor: pointer; font-weight: 500; transition: all 0.3s; display: flex; align-items: center; gap: 5px; } #logout-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4); } .chat-messages { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 25px; background: rgba(10, 8, 23, 0.6); } .message { display: flex; max-width: 85%; animation: fadeIn 0.4s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .user-message { align-self: flex-end; flex-direction: row-reverse; } .ai-message { align-self: flex-start; } .avatar { width: 40px; height: 40px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; margin: 0 15px; background: rgba(94, 53, 177, 0.3); } .user-message .avatar { background: rgba(233, 30, 99, 0.3); } .user-message .avatar i { color: var(--cosmic-pink); } .ai-message .avatar i { color: var(--cosmic-cyan); } .content { padding: 15px 20px; border-radius: 8px; background: var(--card-bg); border: 1px solid var(--card-border); backdrop-filter: blur(5px); line-height: 1.6; max-width: 90%; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .user-message .content { background: rgba(94, 53, 177, 0.25); border-bottom-right-radius: 4px; } .ai-message .content { background: rgba(30, 30, 46, 0.7); border-bottom-left-radius: 4px; } .text { color: var(--text-lighter); line-height: 1.6; font-size: 1rem; } .chat-input-container { padding: 20px; background: var(--card-bg); border-top: 1px solid var(--card-border); backdrop-filter: blur(5px); } .input-wrapper { position: relative; max-width: 900px; margin: 0 auto; } #message-input { width: 100%; padding: 15px 60px 15px 20px; border-radius: 8px; resize: none; outline: none; font-size: 1rem; min-height: 60px; max-height: 150px; background: var(--input-bg); border: 1px solid var(--card-border); color: var(--text-light); transition: all 0.3s; } #message-input:focus { border-color: var(--cosmic-purple); box-shadow: 0 0 15px rgba(94, 53, 177, 0.5); } #send-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: var(--button-bg); color: white; border: none; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; transition: all 0.3s; } #send-btn:hover { transform: translateY(-50%) scale(1.1); box-shadow: 0 0 15px rgba(233, 30, 99, 0.5); } .disclaimer { text-align: center; margin-top: 15px; font-size: 0.85rem; color: var(--text-muted); }