/* VPN Modal - Design moderne cohérent avec le système */

/* Styles de base pour la modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.2s ease-out;
    overflow-y: auto;
    padding: 1rem;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.vpn-blocked-content {
    position: relative;
    background: linear-gradient(145deg, var(--gray-900, #1a1a1a) 0%, var(--gray-800, #2d2d2d) 100%);
    margin: 2rem auto;
    border-radius: 20px;
    width: min(95vw, 520px);
    box-shadow: 
        0 25px 50px -12px rgba(220, 53, 69, 0.4),
        0 0 0 1px rgba(220, 53, 69, 0.2);
    animation: modalSlideIn 0.2s ease-out;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from { 
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.vpn-blocked-header {
    background: rgba(220, 53, 69, 0.05);
    border-bottom: 1px solid rgba(220, 53, 69, 0.15);
    padding: 1.5rem 2rem;
    text-align: center;
}

.vpn-blocked-header i {
    font-size: 2.5rem;
    color: var(--danger, #dc3545);
    margin-bottom: 1rem;
    display: block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.vpn-blocked-header h2 {
    color: var(--danger, #dc3545);
    font-size: 1.375rem;
    font-weight: 600;
    margin: 0;
}

.vpn-blocked-body {
    padding: 2rem;
}

.vpn-blocked-message {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 12px;
}

.vpn-blocked-message p {
    margin-bottom: 0.5rem;
    color: var(--text-primary, #ffffff);
    line-height: 1.5;
}

.vpn-blocked-reasons,
.vpn-blocked-solution {
    margin-bottom: 1.5rem;
}

.vpn-blocked-reasons h3,
.vpn-blocked-solution h3 {
    color: var(--warning, #ffc107);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vpn-blocked-reasons ul,
.vpn-blocked-solution ol {
    padding-left: 1.25rem;
    color: var(--text-secondary, #b8b8b8);
}

.vpn-blocked-reasons li,
.vpn-blocked-solution li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.vpn-blocked-solution li strong {
    color: var(--warning, #ffc107);
}

.vpn-blocked-note {
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.vpn-blocked-note p {
    margin: 0;
    color: var(--text-secondary, #b8b8b8);
    font-size: 0.875rem;
    line-height: 1.5;
}

.vpn-blocked-note i {
    color: var(--warning, #ffc107);
    margin-right: 0.5rem;
}

.vpn-blocked-actions {
    text-align: center;
    padding: 1.5rem 2rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(220, 53, 69, 0.15);
}

.vpn-blocked-actions .btn {
    min-width: 140px;
    font-weight: 500;
    background: linear-gradient(135deg, var(--danger, #dc3545) 0%, #c82333 100%);
    color: var(--white, #ffffff);
    border: 1px solid transparent;
    border-radius: 10px;
    transition: all 0.15s ease;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    position: relative;
    overflow: hidden;
}

.vpn-blocked-actions .btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    opacity: 0;
    transition: opacity 0.15s ease;
}

.vpn-blocked-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.vpn-blocked-actions .btn:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .vpn-blocked-content {
        margin: 1rem;
        width: calc(100vw - 2rem);
    }
    
    .vpn-blocked-header {
        padding: 1.25rem 1.5rem;
    }
    
    .vpn-blocked-header h2 {
        font-size: 1.25rem;
    }
    
    .vpn-blocked-body {
        padding: 1.5rem;
    }
    
    .vpn-blocked-reasons ul,
    .vpn-blocked-solution ol {
        padding-left: 1rem;
    }
    
    .vpn-blocked-actions {
        padding: 1.25rem 1.5rem 1.5rem;
    }
} 