/* Admin Modal for Banned Users Management */

.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

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

.admin-modal-content {
    background: rgba(10, 10, 20, 0.98);
    border: 2px solid rgba(245, 158, 11, 0.4);
    border-radius: 24px;
    padding: 0;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(245, 158, 11, 0.3),
        0 0 100px rgba(245, 158, 11, 0.2);
    animation: slideUp 0.4s ease;
}

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

.admin-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.05) 100%);
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
}

.admin-modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-modal-close {
    background: transparent;
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.admin-modal-close:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
    transform: scale(1.05);
}

.admin-modal-body {
    padding: 1.5rem 2rem;
    max-height: calc(80vh - 100px);
    overflow-y: auto;
}

/* Custom Scrollbar for Modal */
.admin-modal-body::-webkit-scrollbar {
    width: 8px;
}

.admin-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.admin-modal-body::-webkit-scrollbar-thumb {
    background: #f59e0b;
    border-radius: 4px;
}

.admin-modal-body::-webkit-scrollbar-thumb:hover {
    background: #d97706;
}

/* No Banned Users State */
.admin-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}

.admin-empty-state i {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 1rem;
    display: block;
}

.admin-empty-state p {
    font-size: 1.1rem;
    margin: 0;
}

/* Banned Users List */
.banned-user-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.banned-user-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.banned-user-item:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateX(5px);
}

.banned-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.banned-user-icon {
    font-size: 1.5rem;
    color: #ef4444;
}

.banned-user-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.unban-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.unban-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.unban-btn:active {
    transform: scale(0.95);
}

.unban-btn i {
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .admin-modal {
        padding: 0.5rem;
    }
    
    .admin-modal-content {
        border-radius: 16px;
        max-height: 90vh;
    }
    
    .admin-modal-header {
        padding: 1rem 1.25rem;
    }
    
    .admin-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .admin-modal-close {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .admin-modal-body {
        padding: 1rem 1.25rem;
        max-height: calc(90vh - 80px);
    }
    
    .banned-user-item {
        padding: 0.8rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .banned-user-info {
        gap: 0.75rem;
    }
    
    .banned-user-icon {
        font-size: 1.3rem;
    }
    
    .banned-user-name {
        font-size: 0.9rem;
    }
    
    .unban-btn {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .admin-empty-state i {
        font-size: 2.5rem;
    }
    
    .admin-empty-state p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .admin-modal {
        padding: 0.25rem;
    }
    
    .admin-modal-content {
        border-radius: 12px;
    }
    
    .admin-modal-header {
        padding: 0.75rem 1rem;
    }
    
    .admin-modal-header h3 {
        font-size: 1rem;
    }
    
    .admin-modal-close {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .admin-modal-body {
        padding: 0.75rem 1rem;
    }
    
    .banned-user-item {
        padding: 0.6rem 0.8rem;
    }
    
    .banned-user-icon {
        font-size: 1.2rem;
    }
    
    .banned-user-name {
        font-size: 0.85rem;
    }
    
    .unban-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
}
