.chat-component-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.chat-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    background: #fff;
    min-height: 0;
    height: 100%;
}

.suggested-questions-sidebar {
    width: 300px;
    min-width: 300px;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-self: stretch;
}

.suggested-questions-sidebar.hidden {
    display: none;
}

.chat-content-wrapper.no-sidebar .chat-main-area {
    width: 100%;
}

.suggested-questions-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.suggested-questions-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.suggested-questions-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.suggested-questions-toggle {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(106, 17, 203, 0.15);
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.08), rgba(67, 97, 238, 0.12));
    color: #5b21b6;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.suggested-questions-toggle:hover {
    border-color: rgba(106, 17, 203, 0.4);
    box-shadow: 0 8px 18px rgba(90, 24, 154, 0.18);
    transform: translateY(-1px);
}

.chat-content-wrapper.suggestions-collapsed .suggested-questions-sidebar {
    width: 64px;
    min-width: 64px;
    padding: 1rem 0.5rem;
}

.chat-content-wrapper.suggestions-collapsed .suggested-questions-title,
.chat-content-wrapper.suggestions-collapsed .suggested-questions-subtitle,
.chat-content-wrapper.suggestions-collapsed .suggested-questions-list {
    display: none;
}

.chat-content-wrapper.suggestions-collapsed .suggested-questions-toggle {
    border-radius: 999px;
}

.suggested-questions-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.suggested-questions-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    overflow-y: auto;
    min-height: 0;
}

.suggested-questions-list::-webkit-scrollbar,
.vc-chat-container::-webkit-scrollbar {
    width: 8px;
}

.suggested-questions-list::-webkit-scrollbar-track,
.vc-chat-container::-webkit-scrollbar-track {
    background: #eef2ff;
    border-radius: 999px;
}

.suggested-questions-list::-webkit-scrollbar-thumb,
.vc-chat-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0fb8ad 0%, #1fc8db 50%, #2cb5e8 100%);
    border-radius: 999px;
    border: 2px solid #eef2ff;
}

.suggested-questions-list,
.vc-chat-container {
    scrollbar-color: rgb(67, 97, 238) #eef2ff;
    scrollbar-width: thin;
}

.suggested-question-item {
    padding: 0.875rem 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
    text-align: left;
    word-wrap: break-word;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.suggested-question-item:hover {
    background: #f9fafb;
    border-color: #6a11cb;
    color: #6a11cb;
    box-shadow: 0 2px 4px rgba(106, 17, 203, 0.1);
    transform: translateY(-1px);
}

.suggested-question-item:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.chat-main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    min-height: 0;
    position: relative;
}

.vc-chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    min-height: 0;
    padding: 20px;
}

.vc-controls {
    padding: 15px 20px;
    background-color: white;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

/* Message Icon Styles */
.message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding: 0;
    max-width: 80%;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s forwards;
}

.bot-icon,
.user-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.bot-icon {
    background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
    color: white;
}

.bot-icon i {
    display: block;
    line-height: 1;
}

.user-icon {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    color: white;
}

.user-icon i {
    display: block;
    line-height: 1;
}

.message-content {
    flex: 1;
    padding: 14px 18px;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    line-height: 1.5;
    word-wrap: break-word;
}

/* Bot Message Styles */
.bot-message {
    align-self: flex-start;
    animation-delay: 0.1s;
}

.bot-message .message-content {
    background-color: #e6e9ff;
    border-bottom-left-radius: 4px;
    color: #1f2937;
}

/* User Message Styles */
.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.user-message .message-content {
    background-color: #4361ee;
    color: white;
    border-bottom-right-radius: 4px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
