/* Always show timestamp below chat bubble */
.message-bubble .timestamp,
.message-bot .timestamp,
.message-human .timestamp,
.message-date-bot,
.message-date-hum {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #999;
    font-size: 11px;
    margin-top: 2px;
    text-align: right;
}
button.min-button {border-radius: 60px;}

.message-button {display: none;}

.message-text {color: #7A7172 !important;}

.bg-red {background-color: #BA5803 !important;}

.message-bot .message-bubble {background-color: #F4F4F4 !important;}

.message-human .message-bubble {background-color: #F7F9FA !important;}

.bg-accent {background-color: #BA5803 !important;}

/* Language Dropdown Styles */
.language-dropdown-container {
    position: fixed !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 9999 !important;
    animation: fadeIn 0.3s ease-out;
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-dropdown-btn {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 120px;
}

.language-dropdown-btn:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-color: #BA5803;
}

.language-dropdown-btn .globe-icon {
    margin-right: 8px;
    font-size: 16px;
}

.language-dropdown-btn .current-language {
    flex: 1;
    text-align: left;
    color: #333;
}

.language-dropdown-btn .dropdown-arrow {
    margin-left: 8px;
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
}

.language-dropdown-btn:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 4px;
}

.language-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background-color: #f8f9fa;
    color: #BA5803;
}

/*.language-option.active {
    background-color: #BA5803;
    color: white;
}*/

.language-option.active:hover {
    background-color: #BA5803;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .language-dropdown-container {
        top: 10px !important;
        right: 10px !important;
    }
    
    .language-dropdown-btn {
        font-size: 12px;
        padding: 6px 10px;
        min-width: 100px;
    }
    
    .language-option {
        padding: 8px 10px;
    }
}

/* Animation for smooth transitions */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.language-dropdown-container {
    animation: fadeIn 0.3s ease-out;
}

/* Ensure dropdown doesn't interfere with Vue.js components */
.language-dropdown-container * {
    box-sizing: border-box;
}

/* Hide original language selector elements */
.localeInfo {
    display: none !important;
    visibility: hidden !important;
}

/* Hide specific language dropdown items */
.v-list-item-title:contains("en_US"),
.v-list-item-title:contains("es_US") {
    display: none !important;
}

/* Hide original v-btn language selector */
.v-btn--icon[aria-label*="language"],
.v-btn--icon[title*="language"],
.v-btn--icon[aria-label*="Language"],
.v-btn--icon[title*="Language"] {
    display: none !important;
    visibility: hidden !important;
}

/* Hide any v-menu that contains language options */
.v-menu:has(.v-list-item-title) {
    display: none !important;
}

/* Hide any parent containers that might be language selectors */
.language-selector,
.locale-selector {
    display: none !important;
}