/* =========================
   Listing cards
   ========================= */

.kud-listing-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kud-listing-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 22px 24px;
    border: 1px solid #dfe7f3;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 42, 76, 0.07);
}

.kud-listing-card__main {
    min-width: 0;
}

.kud-listing-card__title {
    margin: 0 0 14px;
    color: #0f2a4c;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
}

.kud-listing-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    color: #52647a;
    font-size: 15px;
    line-height: 1.4;
}

.kud-listing-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.kud-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f2f6ff;
    color: #0f62df;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.16s ease, color 0.16s ease;
}

.kud-action-link:hover {
    background: #0f62df;
    color: #ffffff;
    text-decoration: none;
}

.kud-action-link--primary {
    background: #6c55f5;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(108, 85, 245, 0.2);
}

.kud-action-link--primary:hover {
    background: #5944df;
    color: #ffffff;
}

.kud-action-link--danger {
    background: #fff1f1;
    color: #c62828;
}

.kud-action-link--danger:hover {
    background: #c62828;
    color: #ffffff;
}

.kud-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    background: #eef2f7;
    color: #405064;
}

.kud-status--publish {
    background: #e4f7ec;
    color: #177246;
}

.kud-status--pending {
    background: #fff5d6;
    color: #9a6a00;
}

.kud-status--draft {
    background: #eef2f7;
    color: #405064;
}

.kud-status--trash {
    background: #fff1f1;
    color: #c62828;
}

.kud-empty-state {
    padding: 36px;
    border: 1px dashed #cbd8ec;
    border-radius: 18px;
    text-align: center;
    background: #f8fbff;
}

.kud-empty-state p {
    margin: 0 0 20px;
    color: #52647a;
    font-size: 17px;
}