/* MODIFIED: Removed html, body height */
body { 
    font-family: 'Inter', sans-serif; 
    overflow: hidden; 
}
.custom-scrollbar::-webkit-scrollbar { 
    width: 8px; 
}
.custom-scrollbar::-webkit-scrollbar-track { 
    background: #f1f5f9; /* gray-100 */
}
.custom-scrollbar::-webkit-scrollbar-thumb { 
    background: #cbd5e1; /* gray-300 */
    border-radius: 4px; 
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover { 
    background: #94a3b8; /* gray-400 */
}
.input-focus-effect:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
    border-color: #3b82f6; /* blue-500 */
}
.thinking-bubble::after {
    content: '...';
    display: inline-block;
    animation: thinking 1.5s infinite;
}
@keyframes thinking {
    0% { content: '.'; }
    33% { content: '..'; }
    66% { content: '...'; }
}
/* Styles for rendered Markdown in chat bubbles */
.markdown-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.markdown-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.markdown-content p:last-child {
    margin-bottom: 0;
}
.markdown-content strong {
    font-weight: 600;
}
.markdown-content code {
    background-color: #e2e8f0; /* slate-200 */
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-family: monospace;
    font-size: 0.875rem;
}
.markdown-content a {
    color: #2563eb; /* blue-600 */
    text-decoration: underline;
}
/* Chevron rotation for details/summary */
details[open] > summary .chevron {
    transform: rotate(9To 0deg);
}
.chevron {
    transition: transform 0.2s ease-in-out;
}
/* Ensure content inside details is visible when open */
details[open] > div {
    display: block;
}

/* Toast Notification Styles - MODIFIED for better animation */
.toast {
    animation: slideIn 0.3s ease-out forwards, fadeOut 0.3s ease-in 4.7s forwards;
    width: 20rem; /* 320px */
}
@keyframes slideIn {
    from { transform: translateY(-100%); opacity: 0; } /* Slide in from top */
    to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}