    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: "Segoe UI", sans-serif;
      background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
      height: 100vh; display: flex; justify-content: center; align-items: center;
      color: #fff;
    }
    .container {
      width: 95%; max-width: 500px; height: 90vh;
      display: flex; flex-direction: column;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(15px);
      box-shadow: 0 8px 30px rgba(0,0,0,0.3);
      overflow: hidden;
    }
    header {
      text-align: center; padding: 15px;
      font-size: 1.4rem; font-weight: bold;
      background: rgba(0,0,0,0.3);
      color: aqua;
    }
    #chat {
      flex: 1; padding: 15px; overflow-y: auto;
      display: flex; flex-direction: column; gap: 10px;
    }
    .msg {
      max-width: 80%; padding: 10px 14px; border-radius: 15px;
      font-size: 0.95rem; line-height: 1.4;
      animation: fadeIn 0.3s ease-in; word-wrap: break-word;
    }
    .user {
      align-self: flex-end;
      background: linear-gradient(135deg, #00c6ff, #0072ff);
      color: #fff; border-bottom-right-radius: 3px;
    }
    .bot {
      align-self: flex-start;
      background: rgba(255,255,255,0.15);
      color: #f1f1f1; border-bottom-left-radius: 3px;
    }
    /* Typing indicator */
    .typing {
      display: flex; gap: 4px; align-items: center;
    }
    .dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: aqua; animation: blink 1.4s infinite both;
    }
    .dot:nth-child(2) { animation-delay: 0.2s; }
    .dot:nth-child(3) { animation-delay: 0.4s; }
    @keyframes blink {
      0%, 80%, 100% { opacity: 0; }
      40% { opacity: 1; }
    }
    #composer {
      display: flex; padding: 12px; gap: 10px;
      background: rgba(0,0,0,0.25);
    }
    #input {
      flex: 1; padding: 12px; border-radius: 25px;
      border: none; outline: none; font-size: 1rem;
      background: rgba(255,255,255,0.2); color: #fff;
    }
    #input::placeholder { color: #ddd; }
    button {
      background: aqua; color: black; border: none;
      border-radius: 25px; padding: 12px 20px;
      font-weight: bold; cursor: pointer; transition: 0.3s;
    }
    button:hover { background: #00e6e6; transform: scale(1.05); }
    @keyframes fadeIn { from{opacity:0;transform:translateY(5px);} to{opacity:1;transform:translateY(0);} }