/* --- Modern Category Widget Style --- */

.widget_categories ul,
.widget_archive ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_categories li,
.widget_archive li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    margin-bottom: 8px;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px; /* রাউন্ড কর্নার */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* হোভার এফেক্ট */
.widget_categories li:hover,
.widget_archive li:hover {
    background-color: #f9fcff;
    border-color: #2196F3;
    transform: translateX(5px); /* একটু ডান দিকে সরে যাবে */
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.1);
}

/* লিঙ্কের স্টাইল */
.widget_categories li a,
.widget_archive li a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    font-size: 15px;
    flex-grow: 1; /* পুরো জায়গা নিবে */
    display: block;
}

.widget_categories li:hover a,
.widget_archive li:hover a {
    color: #2196F3;
}

/* কাউন্ট বা সংখ্যার ডিজাইন (Pill Shape) */
.aiofp-count {
    background-color: #f1f1f1;
    color: #666;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    transition: 0.3s;
}

.widget_categories li:hover .aiofp-count,
.widget_archive li:hover .aiofp-count {
    background-color: #2196F3;
    color: #fff;
}

/* আইকন যোগ করতে চাইলে (ঐচ্ছিক) */
.widget_categories li a::before {
    content: "\f15e"; /* Dashicon Arrow */
    font-family: "dashicons";
    margin-right: 8px;
    color: #ccc;
    font-size: 14px;
    vertical-align: middle;
}

.widget_categories li:hover a::before {
    color: #2196F3;
}
