:root{--bg: #0a0a0a;--panel: #151515;--accent1: #ff4f81;--accent2: #ff6f91;--accent3: #ff9671;--text: #ffffff}body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:Poppins,Inter,sans-serif;overflow-x:hidden}.login-container,.chat-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;background:radial-gradient(1000px 600px at 70% -10%,rgba(255,111,174,.15),transparent 60%),radial-gradient(800px 500px at -20% 120%,rgba(108,99,255,.15),transparent 60%),var(--bg)}.login-box,.register-box,form{background:var(--panel);padding:2rem;border-radius:16px;box-shadow:0 0 30px #ff6fae33;display:flex;flex-direction:column;align-items:center;gap:1rem;width:320px;max-width:90%}input{width:100%;padding:12px;border-radius:10px;border:1px solid rgba(255,255,255,.1);background:#ffffff0d;color:var(--text);font-size:1rem;outline:none;transition:.3s ease}input:focus{border-color:var(--accent1);box-shadow:0 0 10px #ff4f8166}button{border:none;border-radius:10px;padding:12px 24px;color:#fff;font-weight:600;background:linear-gradient(135deg,var(--accent1),var(--accent3));cursor:pointer;transition:transform .2s ease,box-shadow .3s ease}button:hover{transform:scale(1.05);box-shadow:0 0 20px #ff6fae66}.message{margin:5px 0;padding:10px 14px;border-radius:12px;max-width:70%;word-wrap:break-word;font-size:.95rem;line-height:1.4}.message.user{background:linear-gradient(135deg,var(--accent1),var(--accent2));align-self:flex-end;text-align:right}.message.other{background:#ffffff1a;align-self:flex-start;text-align:left}.chat-container{display:flex;flex-direction:column;justify-content:space-between;padding:16px}.chat-container h2{margin-bottom:10px;text-align:center;font-size:1.2rem}.chat-messages{flex:1;width:100%;max-width:800px;background:var(--panel);border-radius:12px;padding:12px;overflow-y:auto;box-shadow:inset 0 0 15px #ff6fae1a}.chat-form{display:flex;width:100%;max-width:800px;gap:10px;margin-top:10px}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@media (max-width: 600px){h2{font-size:1rem}.chat-container{padding:8px}.chat-messages{max-height:70vh;font-size:.9rem}.chat-form{flex-direction:column}.chat-form input{width:100%;font-size:1rem}.chat-form button{width:100%}.login-box,.register-box{padding:1.5rem;width:90%}button{font-size:.95rem}}
