/**
 * VPN Banner Styles
 * Styling for VPN detection notification banner
 */

.vpn-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #1f2937;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
    font-family: 'Vazirmatn', sans-serif;
    border-radius: 5px;
}

.vpn-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.vpn-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: center;
}

.vpn-banner-icon {
    width: 40px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1f2937;
    border-radius: 6px;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.vpn-text {
    font-size: 14px;
    font-weight: 700;
    color: #f59e0b;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.vpn-banner-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #1f2937;
}

.vpn-banner-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.vpn-banner-close:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

.vpn-banner-close svg {
    width: 18px;
    height: 18px;
    color: #1f2937;
}

/* Responsive styles */
@media (max-width: 640px) {
    .vpn-banner {
        padding: 12px 16px;
        gap: 10px;
        left: 10px;
        right: 10px;
        bottom: 80px;
    }

    .vpn-banner-content {
        gap: 8px;
    }

    .vpn-banner-icon {
        width: 36px;
        height: 28px;
    }

    .vpn-text {
        font-size: 12px;
    }

    .vpn-banner-text {
        font-size: 13px;
    }

    .vpn-banner-close {
        width: 32px;
        height: 32px;
    }

    .vpn-banner-close svg {
        width: 16px;
        height: 16px;
    }
}

/* Animation for icon */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.vpn-banner-icon {
    animation: pulse 2s ease-in-out infinite;
}
