﻿/* Contenedor Principal tipo ListBox */
.help-tab-list {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    display: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    width: 100%; /* Forzar ancho completo del contenedor padre */
}

    .help-tab-list.visible {
        display: flex;
        flex-direction: column; /* Alineación vertical para que todo se apile al 100% */

    }

/* Panel Interno */
.tab-panel.panel-list {
    display: flex;
    flex-direction: column;
    width: 100%; /* Estirar el panel interno */
}

/* Encabezado / Breadcrumb (Alineado a todo el ancho) */
.txt-breadcrumb {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 18px;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1;
    color: #475569;
    background: #fff;
    border-bottom: 1px solid #edf2f7;
    letter-spacing: .01em;
    user-select: none;
}

/* Lista de Resultados */
.directory-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Filas continuas que ocupan todo el ancho */
.directory-item {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: #334155;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease, color 0.15s ease;
}

    .directory-item:last-child {
        border-bottom: none;
    }

    /* 1. Estructura interna flex */
    .directory-item .item-content {
        display: flex;
        align-items: center;
        gap: 12px; /* Separación ligera entre el círculo naranja y el texto */
        width: 100%;
        text-align: left; /* Garantiza alineación a la izquierda */
    }

/* 2. Contenedor circular naranja */
.item-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgb(73, 130, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Evita que el círculo se deforme */
}
.item-icon-search {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f4f6f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Evita que el círculo se deforme */
}

    .item-icon-wrapper .item-icon {
        width: 18px;
        height: 18px;
        color: #ffffff;
        stroke: #ffffff;
    }
.item-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    opacity: 0.7;
}
/* 3. Bloque de texto central (pegado a la izquierda junto al ícono) */
.directory-item-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Forzar que los textos inicien a la izquierda */
    justify-content: center;
    text-align: left; /* Alineación del texto a la izquierda */
    flex-grow: 1;
    min-width: 0; /* Evita desbordamientos en textos largos */
}

.directory-item-text {
    font-size: 0.9rem;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    width: 100%;
}
.directory-item-text.site {
    font-weight: 600;

}


.directory-item-subtext {
    font-size: 0.78rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    width: 100%;
}

/* 4. Etiqueta / Badge a la derecha final */
.directory-item-badge {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-left: auto; /* Empuja el badge al extremo derecho */
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 12px;
    background-color: transparent;
}




/* Badge o Etiqueta secundaria */

.item-badge {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    background-color: transparent;
    color: #475569;
}

.item-icon-3d {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    overflow: visible;
    transform-origin: center;
    transition: transform 220ms cubic-bezier(.2, .8, .2, 1), filter 220ms ease;
}
