  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: #f0f2f5;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            padding: 20px;
        }

        .chat-container {
            max-width: 400px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 450px;
        }

        .chat-messages {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .message {
            max-width: 80%;
            padding: 12px 16px;
            border-radius: 18px;
            font-size: 14px;
            line-height: 1.4;
            word-wrap: break-word;
        }

        .bot-message {
            background-color: #007AFF;
            color: white;
            align-self: flex-start;
            margin-right: auto;
        }

        .user-message {
            background-color: #34C759;
            color: white;
            align-self: flex-end;
            margin-left: auto;
        }

        .input-container {
            padding: 15px 20px;
            background: white;
            border-top: 1px solid #e1e5e9;
        }

        .input-wrapper {
            display: flex;
            align-items: center;
            background: #f1f3f4;
            border-radius: 20px;
            padding: 8px 15px;
            margin-bottom: 15px;
        }

        .message-input {
            flex: 1;
            border: none;
            background: transparent;
            outline: none;
            font-size: 14px;
            padding: 8px 0;
            color: #333;
        }

        .message-input::placeholder {
            color: #666;
        }

        .send-button {
            background: none;
            border: none;
            cursor: pointer;
            padding: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .send-icon {
            width: 20px;
            height: 20px;
            fill: #007AFF;
        }

        .language-options {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 5px;
        }

        .language-option {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }

        .language-option input[type="radio"] {
            margin: 0;
            transform: scale(1.2);
        }

        .flag {
            width: 24px;
            height: 18px;
            border-radius: 2px;
            display: inline-block;
            position: relative;
        }

        .flag.french {
            background: linear-gradient(to right, #002395 33.33%, white 33.33%, white 66.66%, #ED2939 66.66%);
        }

        .flag.spanish {
            background: linear-gradient(to bottom, #AA151B 25%, #F1BF00 25%, #F1BF00 75%, #AA151B 75%);
        }

        .flag.laos {
        background: linear-gradient(to bottom, #CE1126 33.33%, #002868 33.33%, #002868 66.66%, #CE1126 66.66%);
        position: relative;
        }

        .flag.laos::after {
            content: '';
            position: absolute;
            width: 12px;
            height: 12px;
            background: white;
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

      

        /* Scrollbar styling */
        .chat-messages::-webkit-scrollbar {
            width: 4px;
        }

        .chat-messages::-webkit-scrollbar-track {
            background: transparent;
        }

        .chat-messages::-webkit-scrollbar-thumb {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 4px;
        }

        footer {
            padding: 5px;
            margin: 5px;
            text-align: center;
            font-weight: bold;
        }