* { margin: 0; padding: 0; box-sizing: border-box; }
        :root { --primary-color: #007bff; --secondary-color: #6c757d; --bg-color: #121212; --bg-color-alt: #222; --text-color: #fff; --text-color-alt: #eee; --input-bg-color: #333; --button-hover-color: #0056b3; --glow-color: rgba(0, 123, 255, 0.5); --typing-dot-color: #eee; --suggestion-bg-color: #444; --suggestion-hover-color: #555;  --header-height: 60px; }
        body.light-mode { --primary-color: #007bff; --secondary-color: #6c757d; --bg-color: #f8f9fa; --bg-color-alt: #fff; --text-color: #212529; --text-color-alt: #495057; --input-bg-color: #eee; --button-hover-color: #0056b3; --glow-color: rgba(0, 123, 255, 0.3); --typing-dot-color: #444; --suggestion-bg-color: #eee; --suggestion-hover-color: #ddd;}
        body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--bg-color); color: var(--text-color); display: flex; justify-content: center; align-items: center; min-height: 100vh; margin: 0; padding: 0 20px; }
        #chatbot-container { width: 100%; max-width: 600px; height: 80vh; background-color: var(--bg-color-alt); border-radius: 20px; box-shadow: 0 0 30px rgba(0, 0, 0, 0.6); overflow: hidden; position: relative; display: flex; flex-direction: column; }
        #chatbot-container::before { content: ''; position: absolute; top: -5px; left: -5px; width: calc(100% + 10px); height: calc(100% + 10px); background: linear-gradient(45deg, var(--primary-color), #f00, #0f0, var(--primary-color)); background-size: 400% 400%; z-index: -1; animation: gradientAnimation 20s infinite linear; border-radius: 25px; opacity: 0.7; }
        @keyframes gradientAnimation { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
        #chat-header { background-color: var(--bg-color-alt); color: var(--text-color); padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; height: var(--header-height); border-bottom: 2px solid var(--primary-color); }
        .header-icon { font-size: 1.5rem; margin-right: 10px; }
        .header-title { font-size: 1.3rem; font-weight: bold; flex-grow: 1; }
        .header-buttons button { background: none; border: none; color: var(--text-color); font-size: 1.2rem; cursor: pointer; margin-left: 10px; transition: color 0.3s; }
        .header-buttons button:hover { color: var(--primary-color); }
        #chat-log { padding: 20px; flex-grow: 1; overflow-y: auto; display: flex; flex-direction: column; }
        .message { margin-bottom: 15px; padding: 12px 18px; border-radius: 25px; max-width: 80%; word-wrap: break-word; position: relative; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); }
        .user-message { background-color: var(--primary-color); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
        .bot-message { background-color: var(--secondary-color); color: var(--text-color-alt); align-self: flex-start; border-bottom-left-radius: 5px; }
        .typing { display: flex; align-items: center; }
        .typing .dot { width: 10px; height: 10px; background-color: var(--typing-dot-color); border-radius: 50%; margin-right: 5px; animation: typingAnimation 1.2s infinite; }
        @keyframes typingAnimation { 0% { transform: scale(0.8); opacity: 0.4; } 50% { transform: scale(1); opacity: 1; } 100% { transform: scale(0.8); opacity: 0.4; } }
        .typing .dot:nth-child(2) { animation-delay: 0.2s; }
        .typing .dot:nth-child(3) { animation-delay: 0.4s; }
        #suggestions-container{padding: 0 20px; display: flex; flex-wrap: wrap; justify-content: flex-start; }
        .suggestion { background-color: var(--suggestion-bg-color); color: var(--text-color-alt); padding: 8px 12px; border-radius: 15px; margin: 5px; cursor: pointer; transition: background-color 0.2s;}
        .suggestion:hover{background-color: var(--suggestion-hover-color);}
        #input-area { display: flex; align-items: center; padding: 15px 20px; background-color: var(--bg-color-alt); border-top: 2px solid var(--primary-color);}
        #user-input { flex-grow: 1; padding: 12px 15px; border: none; border-radius: 20px; background-color: var(--input-bg-color); color: var(--text-color); font-size: 1rem; outline: none; }
        #send-button { background-color: var(--primary-color); color: #fff; border: none; padding: 12px 15px; border-radius: 20px; cursor: pointer; margin-left: 10px; transition: background-color 0.3s; font-size: 1rem; display: flex; align-items: center;}
        #send-button:hover { background-color: var(--button-hover-color); }
        #send-button i { margin-right: 5px; } /* Ikon di tombol kirim */
         /* Responsif */
        @media (max-width: 768px) {
            #chatbot-container { height: 90vh; }
            .message { max-width: 90%; }
            #input-area{flex-direction: column;}
            #user-input{margin-bottom: 10px; width: 100%;}
            #send-button{width: 100%; justify-content: center;}
        }
