/**
 * Golden Hosting Services - Filters Style
 * تصميم الفلاتر في لوحة التحكم
 */

/* ========================================
   Filters Wrapper
======================================== */

.ghs-filters-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ghs-filter-group {
    margin-bottom: 20px;
}

.ghs-filter-group:last-child {
    margin-bottom: 0;
}

.ghs-filter-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   Status Filter
======================================== */

.ghs-status-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ghs-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f9fafb;
    color: #6b7280;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ghs-filter-btn:hover {
    background: #f3f4f6;
    color: #374151;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ghs-filter-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* ========================================
   Type Filter
======================================== */

.ghs-type-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ghs-filter-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #ffffff;
    color: #6b7280;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.ghs-filter-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.ghs-filter-type:hover::before {
    left: 100%;
}

.ghs-filter-type:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.15);
}

.ghs-filter-type.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-color: #10b981;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.ghs-filter-type svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

/* ========================================
   Responsive Design
======================================== */

@media (max-width: 768px) {
    .ghs-filters-wrapper {
        padding: 16px;
    }
    
    .ghs-filter-label {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .ghs-status-filter,
    .ghs-type-filter {
        gap: 8px;
    }
    
    .ghs-filter-btn,
    .ghs-filter-type {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .ghs-filter-type svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .ghs-status-filter,
    .ghs-type-filter {
        flex-direction: column;
    }
    
    .ghs-filter-btn,
    .ghs-filter-type {
        width: 100%;
        justify-content: center;
    }
}
