/* ESTILOS PARA EL BUSCADOR DE INTERACCIONES Y RULINGS OFICIALES */

.card-rulings-viewport {
    min-height: calc(100vh - 85px);
}

.marcellus-font {
    font-family: 'Marcellus', serif, system-ui;
    letter-spacing: 0.02em;
}

.glass-panel {
    background: rgba(18, 24, 38, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* CAJA DE AUTOCOMPLETADO */
.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 380px;
    overflow-y: auto;
    z-index: 1050;
    background: rgba(15, 20, 32, 0.98) !important;
    border: 1px solid rgba(255, 215, 0, 0.3) !important;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color 0.15s ease, padding-left 0.15s ease;
    text-decoration: none;
}

.autocomplete-item:hover, .autocomplete-item.active {
    background-color: rgba(255, 215, 0, 0.12);
    padding-left: 18px;
}

.autocomplete-thumb {
    width: 32px;
    height: 44px;
    object-fit: cover;
    border-radius: 4px;
}

/* RESALTADO DE TÉRMINOS TÉCNICOS DE REGLAS */
.ruling-term-highlight {
    background: rgba(255, 215, 0, 0.15);
    color: #ffe066;
    padding: 1px 4px;
    border-radius: 4px;
    font-weight: 600;
    border-bottom: 1px dashed rgba(255, 215, 0, 0.6);
}

/* CHIPS DE CASOS CÉLEBRES */
.judge-fav-pill {
    transition: transform 0.2s ease, border-color 0.2s ease;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.judge-fav-pill:hover, .judge-fav-pill.active {
    transform: translateY(-2px);
    border-color: #ffd700 !important;
    background: rgba(255, 215, 0, 0.15) !important;
}

/* ENTRADAS DEL TIMELINE DE RULINGS */
.ruling-entry-card {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ruling-entry-card:hover {
    transform: translateX(4px);
    border-color: rgba(255, 215, 0, 0.4) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* TARJETAS DE ESCENARIO */
.interaction-scenario-card {
    transition: transform 0.2s ease;
}

.interaction-scenario-card:hover {
    transform: translateY(-2px);
}

/* COLORES ADICIONALES PARA BADGES */
.bg-purple-subtle {
    background-color: rgba(155, 89, 182, 0.18) !important;
}
.text-purple {
    color: #d29bfd !important;
}
.border-purple {
    border-color: rgba(155, 89, 182, 0.5) !important;
}
.btn-outline-purple {
    color: #d29bfd;
    border-color: rgba(155, 89, 182, 0.5);
}
.btn-outline-purple:hover, .btn-outline-purple.active {
    background-color: #9b59b6;
    color: #fff;
    border-color: #9b59b6;
}

/* SCROLLBAR MODERNO */
.autocomplete-dropdown::-webkit-scrollbar {
    width: 6px;
}
.autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}
