﻿
/* Common Styles */
.chat-bubble {
    padding: 12px 16px;
    border-radius: 20px;
    max-width: 80%;
    word-wrap: break-word;
}

.mt-3 {
    margin-top: 3rem !important;
}

.main-container {
    padding-top: 100px; /* Adjust this value based on the actual height of your header */
}

.user-bubble {
    background-color: #dcf8c6; /* Light background for user messages */
    align-self: flex-end; /* Align user messages to the right */
}

.ai-bubble {
    background-color: #e8e8e8; /* Slightly different light background for AI messages */
    align-self: flex-start; /* Align AI messages to the left */
}

/* Light Theme */
.light-theme .user-bubble {
    color: #333; /* Black text for user messages in light theme */
}

.light-theme .ai-bubble {
    color: #333; /* Black text for AI messages in light theme */
}

.light-theme #mainContainer {
    background-color: #fff; /* Light background */
}

.light-theme .header {
    background-color: #fff; /* Light header background */
}

.light-theme .bottom-bar {
    background-color: #fff; /* Light bottom bar background */
}

/* Dark Theme */
.dark-theme .user-bubble {
    background-color: #4caf50; /* Dark background for user messages */
    color: #fff; /* White text for user messages in dark theme */
}

.dark-theme .ai-bubble {
    background-color: #333; /* Slightly different dark background for AI messages */
    color: #fff; /* White text for AI messages in dark theme */
}

.dark-theme #mainContainer {
    background-color: #121212; /* Dark background */
}

.dark-theme .header {
    background-color: #121212; /* Dark header background */
    color: #fff; /* White text for header in dark theme */
}

.dark-theme .bottom-bar {
    background-color: #121212; /* Dark bottom bar background */
    color: #fff; /* White text for bottom bar in dark theme */
}

/* Existing styles (footer, buttons, etc.) */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    z-index: 1000;
}



.theme-toggle-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background-color: white;
    color: black;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

    .theme-toggle-button i {
        font-size: 24px;
    }

.about-toggle-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background-color: white;
    color: black;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

    .about-toggle-button i {
        font-size: 24px;
    }

.dark-theme .theme-toggle-button {
    background-color: #121212;
    color: #ffffff;
    border: 1px solid #fff; /* White border for dark mode button */
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2); /* Slight shadow for dark mode button */
}

.dark-theme .about-toggle-button {
    background-color: #121212;
    color: #ffffff;
    border: 1px solid #fff; /* White border for about button */
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2); /* Slight shadow for about button */
}

.conversation-starters {
    text-align: center;
    margin-top: 40px; /* Increased top margin for more padding */
}

.question-box {
    padding: 10px; /* Reduced padding */
    background-color: var(--conversation-bg, #f0f0f0);
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 100px; /* Reduced minimum width */
    max-height: 100px;
    text-align: center;
    font-size: 0.875rem; /* Smaller font size */
    border: 1px solid #ccc; /* Light theme border */
}

.dark-theme .question-box {
    background-color: #121212;
    color: #ffffff;
    border: 1px solid #444; /* Dark theme border */
}

/* Hide scrollbar in modern browsers */
.hide-scrollbar {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

    .hide-scrollbar::-webkit-scrollbar {
        width: 0px;
        background: transparent; /* Chrome/Safari */
    }

.dark-theme .fixed-footer {
    background-color: #121212;
    color: #ffffff;
}

.dark-theme .scroll-button {
    background-color: #121212;
    color: #ffffff;
}

.dark-theme .bottom-bar {
    background-color: #121212;
    color: #ffffff;
}

.scroll-button {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 20px;
    border: none;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

    .scroll-button.show {
        opacity: 1;
        visibility: visible;
    }

.dark-theme .scroll-button {
    background-color: #444;
    color: white;
}

