/* Dynamic Site Popup Styles - Green/White Theme */
#site-popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black overlay */
    backdrop-filter: none;
    /* No blur as requested */
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#site-popup-container.active {
    opacity: 1;
    pointer-events: auto;
}

.site-popup-content {
    background: #ffffff;
    /* White background */
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    width: 85%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #333;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#site-popup-container.active .site-popup-content {
    transform: scale(1);
}

.popup-header {
    padding: 15px 20px;
    background: #0DBC79;
    /* TrustWin Green */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

.popup-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 24px;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.popup-close:hover {
    color: #fff;
}

.popup-body {
    padding: 25px 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
    text-align: center;
    min-height: 80px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-body img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}

.popup-footer {
    padding: 0 20px 25px 20px;
    background: #fff;
    text-align: center;
}

.popup-btn {
    background: linear-gradient(180deg, #49C755 0%, #0F9957 100%);
    /* Green Gradient matching TrustWin buttons */
    border: none;
    padding: 10px 40px;
    border-radius: 30px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(15, 153, 87, 0.3);
}

.popup-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 153, 87, 0.4);
}

.popup-btn:active {
    transform: translateY(0);
}