/* SỬA LỖI FONT CHỮ: Khóa cứng font Inter chuẩn hỗ trợ tiếng Việt trên mọi hệ thống CMS */
#app-container, #app-container * { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important; 
}

body, html { 
    margin: 0; 
    padding: 0; 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    background-color: #000; 
}

/* CẤU TRÚC LAYOUT CỐ ĐỊNH CHỐNG VỠ TRÊN CMS TOÀ SOẠN */
#app-container { 
    position: relative !important; 
    width: 100% !important; 
    height: 100vh !important; 
    min-height: 700px; 
    overflow: hidden !important; 
}
#globeViz { 
    position: absolute !important; 
    top: 0 !important; 
    left: 0 !important; 
    right: 0 !important; 
    bottom: 0 !important; 
    z-index: 1 !important; 
}
#ui-layer { 
    position: absolute !important; 
    top: 0 !important; 
    left: 0 !important; 
    right: 0 !important; 
    bottom: 0 !important; 
    z-index: 10 !important; 
    pointer-events: none; 
}
.pointer-events-auto { 
    pointer-events: auto !important; 
}

.glass-panel {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}
.animate-fade-in { 
    animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards; 
}

.tab-active-blue { 
    background-color: rgba(56, 189, 248, 0.2); 
    border-color: #38bdf8; 
    color: #fff; 
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5); 
}
.tab-active-red { 
    background-color: rgba(225, 29, 72, 0.2); 
    border-color: #e11d48; 
    color: #fff; 
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.5); 
}
.tab-inactive { 
    background-color: rgba(255, 255, 255, 0.05); 
    border-color: transparent; 
    color: #9ca3af; 
}

.progress-bar-bg { 
    background-color: rgba(255, 255, 255, 0.1); 
    border-radius: 999px; 
    overflow: hidden; 
    height: 10px; 
    flex-grow: 1; 
    margin: 0 12px; 
}
.progress-bar-fill { 
    height: 100%; 
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1); 
}

@keyframes superBounce { 
    0%, 100% { transform: translateY(-20px) scale(1); } 
    50% { transform: translateY(0px) scale(1.1); } 
}
.animate-super-bounce { 
    animation: superBounce 1s infinite cubic-bezier(0.28, 0.84, 0.42, 1); 
}

.modal-enter { 
    transform: translateY(100%); 
    opacity: 0; 
}
.modal-enter-active { 
    transform: translateY(0); 
    opacity: 1; 
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
}
.modal-exit { 
    transform: translateY(0); 
    opacity: 1; 
}
.modal-exit-active { 
    transform: translateY(100%); 
    opacity: 0; 
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
}

.custom-scrollbar::-webkit-scrollbar { 
    display: block; 
    width: 8px; 
}
.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.3); 
    border-radius: 10px; 
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover { 
    background: rgba(255,255,255,0.5); 
}
::-webkit-scrollbar { 
    display: none; 
}