/*
 * css/singer-index.css
 * فقط در صفحه /singer/ بارگذاری می‌شود (نگاه کن: nk_singer_index_enqueue_assets).
 * تمام کلاس‌ها با پیشوند nk-singer- یا nk- اختصاصی هستند تا با CSS فعلی قالب
 * تداخل نداشته باشند. رنگ‌ها با پالت فعلی قالب هماهنگ شده‌اند (#65cbbe / #3b9e91).
 */

.nk-singer-toolbar {
    margin: 15px 0 20px;
}

.nk-singer-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.nk-letter-link {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f2f2f2;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.6;
}

.nk-letter-link:hover {
    background: #d9f4f0;
    color: #3b9e91;
}

.nk-letter-link.is-active {
    background: #65cbbe;
    color: #ffffff;
}

.nk-singer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}

.nk-singer-card {
    width: 23.5%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 10px;
    text-decoration: none;
    color: #050505;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.nk-singer-card:hover {
    border-color: #65cbbe;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .06);
}

.nk-singer-icon {
    width: 20px;
    height: 20px;
    flex: none;
    opacity: .75;
}

.nk-singer-icon.nk-singer-cover {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 1;
}

.nk-singer-name {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nk-singer-empty {
    padding: 20px 0;
    color: #888;
    text-align: center;
    width: 100%;
}

.nk-singer-load-more-wrap {
    text-align: center;
}

/* موبایل: همیشه ۲ خواننده در هر سطر کنار هم */
@media (max-width: 768px) {
    .nk-singer-card {
        width: 48%;
    }
}
