#fraud-popup {
    position: fixed;
    bottom: 10px;
    left: 5px;
    width: 320px;
    z-index: 9999;
    transform: translateX(-130%) scale(0.95);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

#fraud-popup.visible {
    transform: translateX(0) scale(1);
    opacity: 1;
}

#fraud-popup .popup-card {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(180, 30, 30, 0.18), 0 4px 16px rgba(0, 0, 0, 0.10);
    background: linear-gradient(145deg, #fff0f0 0%, #ffe4e4 60%, #ffd6d6 100%);
    border: 1px solid rgba(220, 80, 80, 0.2);
    overflow: hidden;
    position: relative;
}

#fraud-popup::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: linear-gradient(135deg, #e03131, #ff8080, #e03131);
    background-size: 200% 200%;
    z-index: -1;
    animation: borderPulse 3s ease infinite;
    opacity: 0.6;
  }

@keyframes borderPulse {
    0%   { background-position: 0% 50%; opacity: 0.5; }
    50%  { background-position: 100% 50%; opacity: 0.9; }
    100% { background-position: 0% 50%; opacity: 0.5; }
  }

/* top accent bar */
#fraud-popup .popup-bar {
    height: 4px;
    background: linear-gradient(90deg, #e03131, #f55c5c);
}

#fraud-popup .popup-head {
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: space-between;*/
    /*padding: 14px 16px 8px;*/
    padding: 7px 10px;
    border-bottom: 1px solid #fdd8d8;
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 50%, #c0392b 100%);
    background-size: 200% 200%;
    animation: headerShimmer 4s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes headerShimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#fraud-popup .header-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.header-badge {
    display: flex;
    align-items: center;
    gap: 7px;
}

.badge-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    animation: iconPop 2s ease-in-out infinite;
}

@keyframes iconPop {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.12); }
}
  

#fraud-popup .popup-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

#fraud-popup .close-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    color: #fff;
    font-size: 13px;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
}

#fraud-popup .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

#fraud-popup .popup-body {
    /*padding: 12px 16px 16px;*/
    padding: 10px;
}

#fraud-popup .popup-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 1);
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.02em;
}

#fraud-popup .popup-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 0;
}

#fraud-popup .popup-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #4a1010;
    line-height: 1.55;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(220, 80, 80, 0.12);
    backdrop-filter: blur(2px);
    transition: background 0.2s, transform 0.2s;
    animation: fadeSlideIn 0.4s ease both;
}

#fraud-popup .popup-list li:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(-3px);
}

#fraud-popup .popup-list li:nth-child(1) {
    animation-delay: 0.1s;
}

#fraud-popup .popup-list li:nth-child(2) {
    animation-delay: 0.2s;
}

#fraud-popup .popup-list li:nth-child(3) {
    animation-delay: 0.3s;
}

#fraud-popup .popup-list li:nth-child(4) {
    animation-delay: 0.4s;
}

#fraud-popup .popup-list li:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#fraud-popup .list-icon {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    border-radius: 6px;
    background: linear-gradient(135deg, #e03131, #ff6b6b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-top: 1px;
    box-shadow: 0 2px 6px rgba(200, 50, 50, 0.3);
    color: #fff;
}

#fraud-popup .popup-list li a {
    color: #c0392b;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed #e07070;
    padding-bottom: 1px;
}

#fraud-popup .popup-list li a:hover {
    border-bottom-style: solid;
}

#fraud-popup .popup-list li strong {
    color: #8b1a1a;
    font-weight: 600;
}

/* old style */

/*#fraud-popup .popup-list li {*/
/*    display: flex;*/
/*    align-items: flex-start;*/
/*    gap: 9px;*/
/*    font-size: 13px;*/
/*    color: #000;*/
    /* line-height: 1.55; */
/*    text-align: justify;*/
/*}*/

/*#fraud-popup .list-icon {*/
/*    flex-shrink: 0;*/
/*    width: 18px;*/
/*    height: 18px;*/
/*    border-radius: 50%;*/
/*    background: #fde8e8;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    font-size: 10px;*/
/*    margin-top: 1px;*/
/*    color: #4f7cac;*/
/*}*/

/*#fraud-popup .popup-list li a {*/
/*    color: #4f7cac;*/
/*    text-decoration: none;*/
/*    font-weight: 500;*/
/*}*/

/*#fraud-popup .popup-list li a:hover {*/
/*    text-decoration: underline;*/
/*}*/

/*#fraud-popup .popup-list li strong {*/
/*    color: #1e3a52;*/
/*    font-weight: 500;*/
/*}*/

/*#fraud-popup .popup-footer {*/
/*    margin-top: 12px;*/
/*    padding-top: 10px;*/
/*    border-top: 1px solid #f0f3f7;*/
/*    font-size: 14px;*/
/*    color: #000;*/
/*    font-style: italic;*/
/*    text-align: right;*/
/*}*/



  /* ── FOOTER ── */
#fraud-popup .popup-footer {
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.08), rgba(231, 76, 60, 0.06));
    border: 1px solid rgba(192, 57, 43, 0.12);
    font-size: 11px;
    color: #c0392b;
    font-style: italic;
    text-align: right;
    font-weight: 600;
    letter-spacing: 0.03em;
}
@media (max-width: 767px){
    #fraud-popup .popup-list li{
        font-size: 12px;
    }
    #fraud-popup .popup-head{
        padding: 10px 8px;
    }
    #fraud-popup .popup-body {
        padding: 6px;
    }
}
@media (max-width: 600px){
    #fraud-popup {
        display: none;
    }
}