body {
    font-family: 'Be Vietnam Pro', sans-serif;
}
.hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}
/* AI Chat Styles */
#chat-icon {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #10B981; /* emerald-600 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s ease-in-out;
    z-index: 1000;
    animation: pulse 2s infinite; /* Hiệu ứng "nhịp thở" */
}
#chat-icon:hover {
    transform: scale(1.1);
    animation-play-state: paused; /* Tạm dừng hiệu ứng khi hover */
}
#chat-widget {
    position: fixed;
    bottom: 6.5rem;
    right: 2rem;
    width: 90vw;
    max-width: 400px;
    height: 70vh;
    max-height: 600px;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95) translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}
#chat-widget.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.user-message {
    align-self: flex-end;
    background-color: #10B981;
    color: white;
}
.ai-message {
    align-self: flex-start;
    background-color: #E5E7EB;
    color: #1F2937;
    line-height: 1.6; /* Thêm giãn dòng */
}
.suggestion-chip {
    cursor: pointer;
    transition: background-color 0.2s;
}
.suggestion-chip:hover {
    background-color: #D1D5DB;
}
.typing-indicator span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #9CA3AF;
    animation: bounce 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.swap-btn {
    margin-left: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    background: none;
    border: none;
    padding: 0;
}
.swap-btn:hover {
    opacity: 1;
}
/* Thêm vào cuối file style.css */
/* Thay thế khối .pdf-compact cũ bằng khối này */
.pdf-compact #menu-display {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* Ép về 2 cột */
    gap: 0.75rem; /* Giảm khoảng cách */
}
.pdf-compact h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
}
.pdf-compact h4 {
    font-size: 0.9rem;
}
.pdf-compact li {
    font-size: 0.8rem;
    line-height: 1.3;
}
.pdf-compact .swap-btn {
    display: none; /* Ẩn nút đổi món trong PDF */
}