/* Commands List Page Styles */

.command-item {
    background: rgba(0, 0, 0, 0.4) !important; /* Darker background for better contrast */
    border-left: 3px solid #04A7EF;
    margin-bottom: 15px;
    border-radius: 4px;
}

.command-item:hover {
    background: rgba(0, 0, 0, 0.6) !important;
    transform: translateX(5px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page_header {
    font-size: 24px;
    font-weight: bold;
    color: #04A7EF;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Improve text readability on gradient background */
.page_text {
    color: #FFFFFF !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.category-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
}

h3 {
    color: #04A7EF !important;
}

/* Search and Filter Styles */
#commandSearch, #categoryFilter {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    outline: none;
}

#commandSearch:focus, #categoryFilter:focus {
    border-color: #04A7EF;
    box-shadow: 0 0 5px rgba(4, 167, 239, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page_header {
        font-size: 20px;
    }
    
    #commandSearch, #categoryFilter {
        font-size: 14px;
        padding: 8px;
    }
    
    .command-item {
        margin-bottom: 10px;
    }
    
    h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .page_header {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .category-section {
        padding: 8px;
        margin-bottom: 15px;
    }
    
    .command-item {
        margin-bottom: 8px;
    }
    
    h3 {
        font-size: 16px;
        margin-top: 15px;
        margin-bottom: 10px;
    }
}