
body {
    background: url('/ui/bg.jpg') no-repeat center center fixed; 
    background-size: cover;
    font-family: sans-serif;
    width: 100%;          
    overflow-x: hidden;   
}


.h-dvh {
    background: rgba(51, 51, 51, 0.50); 
    backdrop-filter: blur(16px);          
    -webkit-backdrop-filter: blur(16px);  
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 px 30px rgba(0, 0, 0, 0.3); 
}


.border-t.bg-white {
    background-color: rgba(255, 255, 255, 0.4) !important; 
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}


.border-gray-200 {
    border-color: transparent !important;
}

div[class*="bg-[#E6E6E6]"],
.thinking-bubble {
    background-color: rgba(255, 255, 255, 0.80) !important; 
    backdrop-filter: blur(12px);           
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid transparent; 
    box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.3); 
    color: #1a202c !important;
    font-style: normal !important;
	padding: 8px 12px !important;
    min-width: 220px;
    position: relative;
    margin-top: 1.4rem; 
    margin-left: 4px;
}


div[class*="bg-[#E6E6E6]"]::before,
.thinking-bubble::before { 
    content: var(--bot-name, 'Assistant'); 
    position: absolute;
    top: -1.5rem; 
    left: 0;
    font-size: 0.75rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9); 
    text-shadow: 0 1px 3px rgba(0,0,0,0.5); 
}


div[class*="bg-[#3B82F6]"] {
    background-color: rgba(59, 130, 246, 0.80) !important; 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid transparent;
    box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.3); 
    position: relative;
    margin-top: 1.4rem;
    margin-right: 4px;
	padding: 8px 12px !important; 
}


div[class*="bg-[#3B82F6]"]::before {
    content: 'You';
    position: absolute;
    top: -1.5rem;
    right: 0;
    font-size: 0.75rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}


.custom-scrollbar::-webkit-scrollbar {
    width: 4px; 
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2); 
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1); 
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4); 
}


.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}


table::-webkit-scrollbar {
    height: 4px; 
}

table::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05); 
    border-radius: 10px;
}

table::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3); 
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1); 
}

table::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5); 
}

table {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}


.thinking-bubble { display: flex; align-items: center; }
.thinking-bubble .dot { width: 8px; height: 8px; margin: 0 2px; background-color: #9ca3af; border-radius: 50%; display: inline-block; animation: bounce-dot 1.4s infinite ease-in-out both; }
.thinking-bubble .dot.one { animation-delay: -0.48s; }
.thinking-bubble .dot.two { animation-delay: -0.40s; }
.thinking-bubble .dot.three { animation-delay: -0.32s; }
.thinking-bubble .dot.four { animation-delay: -0.24s; }
.thinking-bubble .dot.five { animation-delay: -0.16s; }
.thinking-bubble .dot.six { animation-delay: 0s; }

@keyframes bounce-dot { 
    0%, 80%, 100% { transform: scale(0); } 
    40% { transform: scale(1.0); } 
}


.loader { animation: rotate 1s linear infinite; }
@keyframes rotate { 
    100% { transform: rotate(360deg); } 
}


.image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.image-item {
    flex: 1 1 200px;
    min-width: 200px;
    text-align: center;
}

.image-item img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
}

.image-item p,
.map-container p { 
    margin-top: 0.3rem;
    font-size: 13px;
    color: #333333;
    font-style: normal;
    text-align: center; 
}


@media (max-width: 768px) {
   
    div[class*="bg-[#E6E6E6]"],
    div[class*="bg-[#3B82F6]"] {
        max-width: 100% !important;
    }
}


div[class*="bg-[#E6E6E6]"] > p,
div[class*="bg-[#3B82F6]"] > p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


div.border-t.bg-white {
    background-color: transparent !important; 
    border-top-color: rgba(255, 255, 255, 0.2) !important; 
    backdrop-filter: blur(10px);
}


#userInput {
    background-color: white !important;
    color: #1a202c !important; 
}

#userInput::placeholder {
    color: #9ca3af !important; 
}


.map-container {
    margin-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

.map-container img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.map-title {
    margin-bottom: 0.5rem;
    font-size: 13px;
    font-weight: bold;
    color: #333333;
    font-style: normal;
}

table {
    display: block !important;     
    width: 100% !important;         
    overflow-x: auto !important;    
    margin-bottom: 0.5rem;
    border-collapse: collapse;      
}


th, td {
    border: 1px solid #ccc;
    padding: 4px 8px;
    white-space: nowrap; 
}


img, video, svg {
    max-width: 100% !important;
    height: auto !important;
}


pre, code {
    white-space: pre-wrap !important; 
    word-break: break-word !important; 
    overflow-x: auto !important;
    max-width: 100%;
}

