html, body { height: 100%; margin: 0; font-family: 'Helvetica Neue', Arial, sans-serif; background-color: #121212; color: #e1e1e1; scroll-behavior: smooth; } * { box-sizing: border-box; transition: all 0.3s ease; } .container { display: flex; flex-direction: column; height: 100%; width: 100%; padding: 24px; } /* Messages area */ #messages { flex-grow: 1; width: 100%; padding: 20px; overflow-y: auto; background: rgba(44, 47, 54, 0.7); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2); } .message-row { display: flex; align-items: flex-start; gap: 12px; max-width: 100%; } .profile-pic { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); } .message-bubble { background: linear-gradient(to bottom right, #3a3f4b, #2e333d); padding: 12px 18px; border-radius: 16px; display: flex; flex-direction: column; gap: 6px; word-break: break-word; box-shadow: 0 2px 6px rgba(0,0,0,0.25); } .message-bubble p { margin: 0; line-height: 1.6; font-size: 15px; } /* Media content */ .media-img, .media-video { width: 480px; height: 480px; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.4); } /* Input section */ .input-container { display: flex; gap: 12px; align-items: center; width: 100%; } input[type="text"] { flex-grow: 1; padding: 12px 16px; border-radius: 30px; border: 1px solid #3a3f4b; background-color: #1f2128; color: #e1e1e1; font-size: 15px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.4); } input[type="text"]:focus { outline: none; border-color: #4c8bf5; box-shadow: 0 0 0 3px rgba(76, 139, 245, 0.25); } /* Button styles */ button { padding: 10px 22px; border: none; border-radius: 30px; background: linear-gradient(135deg, #4c8bf5, #3b74d4); color: white; cursor: pointer; font-size: 15px; font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,0.3); } button:hover { background: linear-gradient(135deg, #3b74d4, #2f5eb8); } button:active { background: #2f5eb8; transform: scale(0.98); } /* Settings overlay */ #settings { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); justify-content: center; align-items: center; } /* Settings content */ .settings-content { background-color: #1f2229; padding: 24px; border-radius: 16px; width: 320px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); } .settings-content h2 { margin-top: 0; color: #ffffff; font-size: 20px; } /* Modal styles */ #mediaModal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.85); justify-content: center; align-items: center; padding: 20px; } #mediaModal img, #mediaModal video { max-width: 90%; max-height: 90%; border-radius: 16px; object-fit: contain; } #mediaModal .close-btn { position: absolute; top: 20px; right: 30px; font-size: 32px; color: white; cursor: pointer; z-index: 1001; } /* Light Theme Modernization */ body.light-theme { background-color: #f1f3f5; color: #1a1a1a; } body.light-theme #messages { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(12px); border: 1px solid #ccc; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05); } body.light-theme .message-bubble { background: #ffffff; box-shadow: 0 2px 4px rgba(0,0,0,0.06); } body.light-theme input[type="text"] { background-color: #ffffff; color: #1a1a1a; border-color: #ccc; } body.light-theme input[type="text"]:focus { border-color: #4c8bf5; box-shadow: 0 0 0 3px rgba(76, 139, 245, 0.2); } body.light-theme button { background: linear-gradient(135deg, #4c8bf5, #3b74d4); color: white; } body.light-theme .settings-content { background-color: #ffffff; color: #1a1a1a; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); } body.light-theme .settings-content h2 { color: #1a1a1a; } body.light-theme .media-img, body.light-theme .media-video { border: 1px solid #ddd; }