.texbot-advanced-wrapper {
    border: 1px solid #ddd;
    padding: 16px;
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    box-sizing: border-box;
}

.texbot-header {
    text-align: center;
    margin-bottom: 8px;
}

.texbot-logo-main {
    font-size: 22px;
    font-weight: bold;
    color: #0056b3;
}

.texbot-logo-branches {
    font-size: 13px;
    color: #555;
}

.texbot-title {
    text-align: center;
    color: #0056b3;
    margin-bottom: 12px;
}

.texbot-chat-window {
    border: 1px solid #ccc;
    height: 260px;
    overflow-y: auto;
    padding: 8px;
    margin-bottom: 10px;
    background: #fafafa;
    font-size: 13px;
}

.texbot-msg {
    margin-bottom: 6px;
}

.texbot-msg-You strong {
    color: #333;
}

.texbot-msg-Texbot strong {
    color: #0056b3;
}

.texbot-links {
    margin: 4px 0 8px;
    font-size: 12px;
}

.texbot-links a {
    color: #0056b3;
    text-decoration: none;
}

.texbot-links a:hover {
    text-decoration: underline;
}

.texbot-input-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

#texbot-message {
    flex: 1;
    padding: 6px;
    font-size: 13px;
}

#texbot-send {
    padding: 6px 12px;
    background: #0056b3;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
}

#texbot-send:hover {
    background: #00408a;
}

.texbot-upload-row {
    margin-bottom: 10px;
    font-size: 13px;
}

#texbot-file-preview {
    margin-top: 6px;
    font-size: 12px;
}

.texbot-file-status {
    color: #2e7d32;
    margin-left: 6px;
}

.texbot-file-error {
    color: #c62828;
}

.texbot-actions-row {
    text-align: right;
}

#texbot-download-pdf {
    padding: 6px 12px;
    background: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 12px;
}

#texbot-download-pdf:hover {
    background: #0062cc;
}
