.fanor-popup {
    position: fixed !important;
    left: 20px;
    bottom: 20px;
    z-index: 2147483647; /* anti ketiban */
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    width: 320px;
    font-family: Arial, sans-serif;

    /* FIX STICKY */
    transform: none !important;
    will-change: transform;
    pointer-events: auto;

    animation: fanorSlideIn .4s ease;
}

body {
    transform: none !important;
}


.fanor-popup img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.fanor-content {
    flex: 1;
    font-size: 13px;
    color: #333;
}

.fanor-content b {
    display: block;
    margin-bottom: 4px;
}
.fanor-time {
    font-size: 8px;
    color: #888;
    margin-top: 4px;
    line-height: 1.3;
}

.fanor-close {
    cursor: pointer;
    font-size: 14px;
    color: #999;
}



@keyframes fanorSlideIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* FANOR HEADER FIX — WP ADMIN SAFE */
.fanor-header {
    display: grid !important;
    grid-template-columns: 320px 1fr;
    column-gap: 24px;

    align-items: start;
    margin-bottom: 24px;

    clear: both;          /* putus float WP */
    width: 100%;          /* ⬅️ INI YANG KURANG */
    box-sizing: border-box;
}

/* KIRI */
.fanor-header-left {
    max-width: 320px;
}

/* KANAN */
.fanor-header-right {
    min-width: 0;
}

/* BANNER IMAGE */
.fanor-header-right img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* FANOR HEADER WRAPPER */
/* LOGO */
.fanor-logo {
    max-width: 240px;
    height: auto;
    display: block;
}

/* TEXT */
.fanor-version {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.fanor-author {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
}



/* FANOR Header Social Icons */
.fanor-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
	line-height: 1;
}

.fanor-social a {
    display: inline-flex;
    align-items: center;
	padding: 2px;
}

.fanor-icon-img {
    width: 40px !important;
    height: 40px !important;

    max-width: none !important;   
    max-height: none !important;  

    display: block;
    transition: transform .2s ease, opacity .2s ease;
}


.fanor-social a:hover .fanor-icon-img {
    transform: scale(1.15);
    opacity: 1;

}


/* Fanor Remote Banner */
.fanor-remote-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 16px;
    margin: 16px 0;

    border-radius: 6px;
    font-size: 14px;
}

.fanor-remote-text {
    margin-right: 12px;
}

.fanor-remote-btn {
    text-decoration: none;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    background: #fff;
}

/* TYPE VARIANT */
.fanor-info {
    background: #e7f3ff;
    color: #084298;
    border: 1px solid #b6d4fe;
}

.fanor-warning {
    background: #fff3cd;
    color: #664d03;
    border: 1px solid #ffecb5;
}

.fanor-promo {
    background: #e6fffa;
    color: #065f46;
    border: 1px solid #99f6e4;
}


/* Fanor Image Banner */
.fanor-image-banner {
    margin: 16px 0;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
}

.fanor-remote-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 8px;
}

.fanor-remote-caption {
    font-size: 14px;
    color: #374151;
}


