.acd-categories-grid {
display: grid;
grid-template-columns: 1fr;
gap: 30px;
padding: 20px;
direction: rtl;
} .acd-group-title {
font-family: 'Amiri', 'Noto Naskh Arabic', serif;
font-size: 2rem;
font-weight: 700;
color: #1a1a2e;
border-bottom: 3px solid #3498db;
padding-bottom: 10px;
margin-bottom: 25px;
} .acd-live-search-container {
position: relative;
margin-bottom: 25px;
display: flex;
align-items: center;
gap: 15px;
flex-wrap: wrap;
}
.acd-live-search {
flex: 1;
min-width: 250px;
padding: 14px 20px;
font-size: 1.1rem;
border: 2px solid #e9ecef;
border-radius: 12px;
background: #f8f9fa;
transition: all 0.3s ease;
font-family: 'Amiri', 'Noto Naskh Arabic', serif;
outline: none;
}
.acd-live-search:focus {
border-color: #3498db;
background: #ffffff;
box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.12);
}
.acd-live-search::placeholder {
color: #adb5bd;
}
.acd-search-count {
color: #6c757d;
font-size: 0.95rem;
font-weight: 600;
white-space: nowrap;
} .acd-parent-category {
background: #ebf5fb; border-radius: 20px;
padding: 25px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
border: 1px solid #d4e6f1;
transition: all 0.4s ease;
}
.acd-parent-category:hover {
background: #d6eaf8; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
} .acd-parent-header {
display: flex;
align-items: center;
gap: 15px;
padding-bottom: 15px;
border-bottom: 3px solid #d4e6f1;
margin-bottom: 20px;
}
.acd-parent-icon {
font-size: 2.2rem;
}
.acd-parent-title {
font-family: 'Amiri', 'Noto Naskh Arabic', serif;
font-size: 1.5rem;
font-weight: 700;
color: #1a1a2e;
text-decoration: none !important;
flex: 1;
}
.acd-parent-title:hover {
color: #2980b9;
}
.acd-parent-badge {
background: #2c3e50;
color: #ffffff;
padding: 4px 18px;
border-radius: 30px;
font-size: 0.85rem;
font-weight: 600;
} .acd-children-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 12px;
} .acd-child-item {
background: #f2f9ff;
border-radius: 12px;
padding: 12px 16px;
display: flex;
align-items: center;
gap: 10px;
text-decoration: none !important;
border-right: 4px solid #85c1e9;
transition: all 0.3s ease;
}
.acd-child-item:hover {
background: #e8f4fd;
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
border-right-color: #2980b9;
text-decoration: none !important;
}
.acd-child-icon {
font-size: 1.4rem;
}
.acd-child-title {
font-family: 'Amiri', 'Noto Naskh Arabic', serif;
font-size: 1rem;
font-weight: 600;
color: #2c3e50;
flex: 1;
}
.acd-child-count {
font-size: 0.75rem;
background: #d4e6f1;
color: #2c3e50;
padding: 2px 12px;
border-radius: 20px;
font-weight: 500;
}
.acd-child-item:hover .acd-child-count {
background: #2980b9;
color: #ffffff;
} .acd-no-children {
color: #aab7c4;
font-size: 0.9rem;
padding: 10px 0;
} @media (max-width: 600px) {
.acd-categories-grid {
padding: 10px;
gap: 20px;
}
.acd-parent-category {
padding: 18px;
}
.acd-parent-title {
font-size: 1.2rem;
color: #1a1a2e;
}
.acd-children-grid {
grid-template-columns: 1fr 1fr;
}
.acd-child-item {
padding: 10px 12px;
}
.acd-child-title {
font-size: 0.9rem;
color: #2c3e50;
}
.acd-live-search {
font-size: 1rem;
padding: 12px 16px;
min-width: 200px;
}
.acd-search-count {
font-size: 0.85rem;
}
}
@media (max-width: 400px) {
.acd-children-grid {
grid-template-columns: 1fr;
}
} .acd-category-label {
transition: all 0.3s ease;
}
.acd-category-label[style*="display: none"] {
opacity: 0;
transform: scale(0.95);
} .acd-parent-category,
.acd-child-item {
transition: all 0.3s ease;
}
.acd-parent-category[style*="display: none"],
.acd-child-item[style*="display: none"] {
opacity: 0;
transform: scale(0.95);
}