#vpn-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.vpn-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.vpn-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    max-width: 400px;
    width: 100%;
    padding: 32px 24px 28px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    animation: vpnSlideUp .35s ease-out;
}

@keyframes vpnSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.vpn-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(97deg, #ed3cca, #d02bd9, #ae1ae8, #8306f7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vpn-icon svg {
    width: 36px;
    height: 36px;
    fill: #fff;
}

.vpn-card h2 {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.vpn-card p {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0 0 20px;
}

.vpn-steps {
    background: linear-gradient(135deg, rgba(131, 6, 247, .07), rgba(203, 17, 171, .07));
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    text-align: left;
}

.vpn-step {
    font-size: 13px;
    color: #333;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vpn-step::before {
    content: '';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(97deg, #ed3cca, #ae1ae8, #8306f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

.vpn-step:nth-child(1)::before { content: '1'; }
.vpn-step:nth-child(2)::before { content: '2'; }
.vpn-step:nth-child(3)::before { content: '3'; }

.vpn-recheck-btn {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(to right, #cb11ab, #481173);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
}

.vpn-recheck-btn:hover {
    opacity: .9;
    transform: scale(1.02);
}

.vpn-recheck-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.vpn-status {
    margin-top: 12px;
    font-size: 13px;
    min-height: 20px;
    transition: color .2s;
}

.vpn-status-error {
    color: #d32f2f;
}

.vpn-status-success {
    color: #2e7d32;
}

.vpn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: vpnSpin .65s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes vpnSpin {
    to { transform: rotate(360deg); }
}

.vpn-checking-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(255, 255, 255, .85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.vpn-checking-overlay .vpn-big-spinner {
    width: 40px;
    height: 40px;
    border: 3.5px solid rgba(203, 17, 171, .2);
    border-top-color: #ae1ae8;
    border-radius: 50%;
    animation: vpnSpin .65s linear infinite;
}

.vpn-checking-overlay span {
    font-size: 14px;
    color: #481173;
    font-weight: 500;
}
