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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: #f5f5f5;
            height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            height: 100vh;
            display: flex;
            flex-direction: column;
            background: white;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
        }

        .header {
            padding: 5px;
            background: #2c3e50;
            color: white;
            text-align: center;
        }

        .chat-container {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            background: #fafafa;
        }

        .message {
            margin-bottom: 20px;
            padding: 15px;
            border-radius: 10px;
            max-width: 80%;
        }

        .message.user {
            background: #cde3fa;
            color: black;
            margin-left: auto;
            text-align: right;
        }

        .message.assistant {
            background: #e9ecef;
            color: #333;
            border-left: 4px solid #007bff;
        }

        .message.loading {
            background: #fff3cd;
            color: #856404;
            border-left: 4px solid #ffc107;
            font-style: italic;
        }

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

        .input-form {
            display: flex;
            gap: 10px;
        }

        .input-textarea {
            flex: 1;
            min-height: 25px;
            max-height: 150px;
            padding: 8px;
            border: 2px solid #dee2e6;
            border-radius: 8px;
            font-size: 18px;
            resize: vertical;
            font-family: inherit;
        }

        .input-textarea:focus {
            outline: none;
            border-color: #007bff;
        }

        .send-button {
            padding: 8px 25px;
            background: #007bff;
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 300;
        }

        .send-button:hover {
            background: #0056b3;
        }

        .send-button:disabled {
            background: #6c757d;
            cursor: not-allowed;
        }

        .config-container {
            padding: 5px;
            background: #f8f9fa;
            border-bottom: 1px solid #dee2e6;
        }

        .config-row {
            display: flex;
            gap: 20px;
            align-items: end;
            margin-bottom: 5px;
        }

        .config-group {
            flex: 1;
            min-width: 200px;
        }

        .config-input {
            width: 100%;
            padding: 10px;
            border: 1px solid #dee2e6;
            border-radius: 5px;
            font-size: 14px;
        }

        .config-select {
            width: 100%;
            padding: 10px;
            border: 1px solid #dee2e6;
            border-radius: 5px;
            font-size: 14px;
            background: white;
            cursor: pointer;
        }

        .config-select:disabled {
            background: #f8f9fa;
            cursor: not-allowed;
            color: #6c757d;
        }

        .config-label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
            color: #495057;
        }

        .refresh-button {
            padding: 10px 15px;
            background: #28a745;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
            white-space: nowrap;
        }

        .refresh-button:hover {
            background: #218838;
        }

        .refresh-button:disabled {
            background: #6c757d;
            cursor: not-allowed;
        }
