/* Agent showcase. Utility colors also appear in page HTML so the Tailwind CDN can see them. */

#agent-dialog,
#agent-lightbox {
    border: 0;
    padding: 0;
    background: #fff;
    color: #0f172a;
    width: min(960px, calc(100vw - 1.5rem));
    max-height: min(92vh, 920px);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
}

#agent-dialog::backdrop,
#agent-lightbox::backdrop {
    background: rgba(15, 23, 42, 0.72);
}

#agent-lightbox {
    width: min(1100px, calc(100vw - 1.5rem));
    background: #0f172a;
}

#agent-dialog .agent-dialog-scroll {
    max-height: min(92vh, 920px);
    overflow: auto;
}

.agent-card-btn {
    text-align: left;
    width: 100%;
    height: 100%;
}

.agent-thumb {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top;
}

@media (prefers-reduced-motion: reduce) {
    .agent-card-btn,
    #agent-dialog,
    #agent-lightbox,
    .agent-filter-bar button,
    .agent-filter-bar input {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}
