.chat-box {
            width: 360px; margin: 50px auto; background: #fff;
            border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,.1);
        }
        .chat-header { background: #2563eb; color: #fff; padding: 12px; }
        .chat-body { height: 350px; padding: 10px; overflow-y: auto; }
        .chat-footer { display: flex; border-top: 1px solid #ddd; }
        input { flex: 1; padding: 10px; border: none; }
        button { background: #2563eb; color: #fff; border: none; padding: 10px; }
        .bot { background: #eee; padding: 8px; margin: 5px; border-radius: 5px; }
        .user { background: #2563eb; color: #fff; padding: 8px; margin: 5px; border-radius: 5px; text-align: right; }


        /* Tombol chat */
      .chat-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 9999; 
        background: #4f46e5;
        color: #fff;
        border: none;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        font-size: 24px;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0,0,0,.2);
      }

      /* Popup chat */
      .chat-popup {
        position: fixed;
        bottom: 90px;
        right: 20px;
        z-index: 10000; 
        width: 300px;
        height: 400px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,.2);
        display: none;
        flex-direction: column;
        overflow: hidden;
      }

      .chat-header {
        background: #4f46e5;
        color: #fff;
        padding: 12px;
        font-weight: bold;
        display: flex;
        justify-content: space-between;
      }

      .chat-body {
        flex: 1;
        padding: 10px;
        font-size: 14px;
        overflow-y: auto;
      }

      .chat-input {
        display: flex;
        border-top: 1px solid #ddd;
      }

      .chat-input input {
        flex: 1;
        border: none;
        padding: 10px;
        outline: none;
      }

      .chat-input button {
        background: #4f46e5;
        color: #fff;
        border: none;
        padding: 0 15px;
        cursor: pointer;
      }