/* Logo nền tảng chính thức: luôn tải sau các theme để không bị CSS cũ ghi đè. */
.bi-facebook,
.bi-google,
.google-icon {
    display: inline-block !important;
    width: 1em !important;
    height: 1em !important;
    min-width: 1em;
    flex: 0 0 1em;
    color: transparent !important;
    background-color: transparent !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    vertical-align: -.12em;
}

.bi-facebook {
    background-image: url('/images/facebook.png') !important;
}

.bi-google,
.google-icon {
    background-image: url('/images/google.png') !important;
}

.bi-facebook::before,
.bi-google::before,
.google-icon::before {
    content: "" !important;
    display: none !important;
}

.google-g-logo {
    display: inline-grid !important;
    width: 1.45rem !important;
    height: 1.45rem !important;
    min-width: 1.45rem;
    place-items: center;
    overflow: hidden;
    color: transparent !important;
    text-indent: -9999px;
    background: transparent url('/images/google.png') center/contain no-repeat !important;
}

.google-g-logo.small {
    width: 1.2rem !important;
    height: 1.2rem !important;
    min-width: 1.2rem;
}

/* Badge số liệu: giữ nền sáng để logo PNG không bị chìm vào màu nền. */
.platform-result-line b.facebook,
.executive-summary .platform-result-line b.facebook,
.kpi-results .platform-result-line b.facebook {
    color: #24405f !important;
    background: #ffffff !important;
    border: 1px solid #cbdcf0 !important;
    box-shadow: 0 3px 9px rgba(36,48,80,.08) !important;
}

.platform-result-line b.google,
.executive-summary .platform-result-line b.google,
.kpi-results .platform-result-line b.google {
    color: #3c4655 !important;
    background: #ffffff !important;
    border: 1px solid #dedfe2 !important;
}

.platform-result-line .bi-facebook,
.platform-result-line .bi-google {
    width: 15px !important;
    height: 15px !important;
    flex-basis: 15px;
}
