
#air3AiSearchBtn {
    background: #19c37d;
    color: #000;
    border: none;
    border-radius: 0;
    padding: 0.6rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#air3AiSearchBtn i {
    font-size: 1.2rem;
}

#air3AiSearchBtn:hover {
    background: #16a96c;
}

.bg-violet {
    background-color: #d23aed !important;
}

.la-info-circle {
    cursor: help;
    font-size: 1.1rem;
    opacity: 0.8;
}

.la-info-circle:hover {
    opacity: 1;
}


/* =========================
 * CARD RISULTATO
 * ========================= */
.air3-search-section .list-group-item {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 12px 14px;
    background-color: #2a2d34; /* grigio scuro */
    transition: background-color .15s ease, box-shadow .15s ease;
}

.air3-search-section .list-group-item:hover {
    background-color: #323640;
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* =========================
 * TUTTO IL TESTO IN BIANCO
 * ========================= */
.air3-search-section .fw-bold,
.air3-search-section .excerpt,
.air3-search-section .small,
.air3-search-section .text-muted {
    color: #ffffff !important;
}

/* titolo */
.air3-search-section .fw-bold {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

/* excerpt */
.air3-search-section .excerpt {
    opacity: 0.85;
    line-height: 1.4;
}

/* =========================
 * BADGE NEW
 * ========================= */
.badge.bg-violet {
    background-color: #7c3aed !important;
    color: #ffffff;
}

/* =========================
 * TOOLTIP ICON
 * ========================= */
.air3-search-section .la-info-circle {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
}

.air3-search-section .la-info-circle:hover {
    color: #ffffff;
}

/* =========================
 * MATCH (UNICO ELEMENTO COLORATO)
 * ========================= */
.air3-search-section .match.small.text-muted.mt-1 {
    margin-top: 8px;
    padding: 6px 8px;
    background: #eef2ff;        /* chiaro */
    border-left: 3px solid #6366f1;
    border-radius: 4px;
    color: #1e293b !important;  /* scuro, leggibile */
    font-size: 0.75rem;
}

/* label MATCH */
.air3-search-section .match.small.text-muted.mt-1::before {
    content: "MATCH ";
    font-weight: 700;
    color: #4338ca;
    margin-right: 4px;
}

/* =========================
 * AI SEARCH LOADING
 * ========================= */
.air3-search-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    background: #2a2d34;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.85rem;
}

/* spinner */
.air3-spinner {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: #7c3aed; /* violet AI */
    border-radius: 50%;
    animation: air3-spin 0.9s linear infinite;
}

@keyframes air3-spin {
    to {
        transform: rotate(360deg);
    }
}

/* testo */
.air3-loading-text {
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* puntini animati */
.air3-loading-text .dots {
    display: inline-block;
    width: 18px;
    text-align: left;
    animation: air3-dots 1.4s steps(4, end) infinite;
}

@keyframes air3-dots {
    0%   { content: ''; }
    25%  { content: '.'; }
    50%  { content: '..'; }
    75%  { content: '...'; }
}
