.page-restrict-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #a8d8ea 0%, #2c3e50 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.restrict-container {
    max-width: 500px;
    width: 90%;
    margin: 20px;
}

.restrict-message {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(44, 62, 80, 0.2);
    text-align: center;
    border-left: 5px solid;
    animation: slideIn 0.6s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.restrict-info {
    border-left-color: #3498db;
}

.restrict-warning {
    border-left-color: #f39c12;
}

.restrict-error {
    border-left-color: #e74c3c;
}

.restrict-success {
    border-left-color: #27ae60;
}

.restrict-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.restrict-message h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 300;
}

.restrict-message p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 16px;
}

.restrict-actions {
    margin-top: 25px;
}

.restrict-btn {
    display: inline-block;
    background: #2c3e50;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #2c3e50;
}

.restrict-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(44, 62, 80, 0.3);
}

.redirect-countdown {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.redirect-countdown p {
    color: #6c757d;
    margin: 0;
    font-size: 14px;
}

#countdown {
    font-weight: 700;
    color: #2c3e50;
    font-size: 16px;
}

/* ریسپانسیو */
@media (max-width: 480px) {
    .restrict-message {
        padding: 30px 20px;
    }
    
    .restrict-icon {
        font-size: 36px;
    }
    
    .restrict-message h2 {
        font-size: 20px;
    }
    
    .restrict-message p {
        font-size: 14px;
    }
    
    .restrict-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}