/* ── Quick Agent Show Agents ── v2 2026-02-10 ── */

.agent-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card-section {
    width: 100%;
}

.profile-card-link-div {
    background: var(--ns-bg-secondary, #1a1a1a) !important;
    border: 1px solid var(--ns-border, #2a2a2a) !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.profile-card-link-div:hover {
    border-color: var(--ns-accent, #f59e0b) !important;
    transform: translateY(-2px);
}

.profile-card-link {
    text-decoration: none;
    color: inherit;
}

.profile-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.profile-card img.zoomed-out {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.profile-card .avatar-orb {
    height: 200px !important;
    border-radius: 12px 12px 0 0 !important;
}

.card-info {
    padding: 0.75rem 1rem;
    background: var(--ns-bg-secondary, #1a1a1a);
}

.card-info .name_desc p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ns-text-primary, #fff);
    margin: 0 0 0.25rem;
}

.card-info .tagline {
    font-size: 0.8125rem;
    color: var(--ns-text-muted, #666);
    display: block;
    max-width: 220px;
}

.menu-bar {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.agent-action-btn {
    flex: 1;
    font-size: 0.8125rem !important;
    padding: 0.5rem !important;
    min-height: 38px;
}

.menu-btn-full {
    width: 100%;
    background: var(--ns-accent, #f59e0b) !important;
    border-color: var(--ns-accent, #f59e0b) !important;
    color: #000 !important;
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.menu-btn-full:hover {
    background: var(--ns-accent-hover, #d97706) !important;
}

.menu_btns_2 {
    background: var(--ns-accent, #f59e0b);
    border: none;
    color: #000;
    font-weight: 600;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

/* Empty state */
.no-agents-found h4 {
    color: var(--ns-text-primary, #fff);
}

.no-agents-found p {
    color: var(--ns-text-muted, #666);
}

@media (max-width: 640px) {
    .agent-list {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}
