/* FAQ Wrapper */
.csuk-faq-wrapper {
    max-width: 600px;
    margin: 40px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', sans-serif;
}

/* Header with avatar */
.csuk-faq-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.faq-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-intro h2 {
    margin: 0;
    font-size: 1.5em;
    color: #065f46;
}

.faq-intro p {
    margin: 4px 0 0;
    font-size: 0.95em;
    color: #334155;
}

/* Chat Window */
.csuk-chat-window {
    max-height: 350px;
    overflow-y: auto;
    background: #f3f4f6;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

/* Chat Bubbles */
.faq-user, .faq-bot {
    padding: 10px 14px;
    margin: 8px 0;
    border-radius: 15px;
    max-width: 85%;
    word-wrap: break-word;
    line-height: 1.4;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.faq-user {
    background: #dcfce7;
    align-self: flex-end;
    margin-left: auto;
    text-align: right;
}

.faq-bot {
    background: #e0f2fe;
    align-self: flex-start;
    margin-right: auto;
    text-align: left;
}

.faq-bot.typing {
    font-style: italic;
    color: #888;
}

/* Chat Controls */
.csuk-chat-controls {
    display: flex;
    gap: 10px;
}

#faq-user-input {
    flex: 1;
    resize: none;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 0.95em;
}

.csuk-send-button {
    background-color: #3d65c4;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
	max-width: 100px;
}

.csuk-send-button:hover {
    background-color: #274ea0;
}


.faq-bot.typing::after {
	content: ' aiAnna is thinking';
	animation: dots 1.2s steps(3, end) infinite;
	display: inline-block;
	margin-left: 0.5em;
}

@keyframes dots {
	0% { content: ' aiAnna is thinking'; }
	33% { content: ' aiAnna is thinking.'; }
	66% { content: ' aiAnna is thinking..'; }
	100% { content: ' aiAnna is thinking...'; }
}