:root {
    /* Khai báo biến màu để dễ quản lý đồng bộ với Tailwind */
    --color-primary: #1D64D0;
    --color-secondary: #164EAF;
    --color-accent: #F59E0B;
}

/* --- HIỆU ỨNG NỀN MINDMAP / NODE LIÊN KẾT --- */
.network-bg {
    background-color: #f8fafc;
    /* SVG Pattern Background */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231D64D0' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3Cpath d='M36 34l24 26M6 34l24 26M6 4l24 26M36 4l24 26' stroke='%231D64D0' stroke-opacity='0.05' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");
}

/* Hiệu ứng trôi nhẹ cho các node lớn (Trang trí) */
.floating-node {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Class để ẩn hiện dropdown mượt mà */
.dropdown-enter {
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
}

.dropdown-active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Tinh chỉnh scrollbar cho đẹp hơn (Tùy chọn) */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.network-bg {
    background-color: #f8fafc;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231D64D0' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3Cpath d='M36 34l24 26M6 34l24 26M6 4l24 26M36 4l24 26' stroke='%231D64D0' stroke-opacity='0.05' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");
}
.floating-node { animation: float 6s ease-in-out infinite; }
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
.dropdown-enter { transform: translateY(-10px); opacity: 0; pointer-events: none; }
.dropdown-active { transform: translateY(0); opacity: 1; pointer-events: auto; }