
/* ADMINISTRADOR DE BASE DE CONOCIMIENTO */

.knowledge-layout {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 1.25rem;
    align-items: start;
}

.knowledge-list {
    max-height: 720px;
    overflow-y: auto;
}

.knowledge-item {
    width: 100%;
    display: block;
    text-align: left;
    padding: 11px 12px;
    margin-bottom: 7px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(15,23,42,.6);
    color: #e2e8f0;
    cursor: pointer;
}

.knowledge-item:hover,
.knowledge-item.active {
    border-color: rgba(45,212,191,.35);
    background: rgba(13,148,136,.1);
}

.knowledge-item-title {
    display: block;
    font-weight: 700;
}

.knowledge-item-meta {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 11px;
}

.knowledge-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
}

.knowledge-editor textarea {
    min-height: 100px;
    resize: vertical;
}

.knowledge-editor textarea.large {
    min-height: 155px;
}

.knowledge-help {
    margin-top: 5px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.4;
}

.knowledge-count {
    color: #5eead4;
    font-size: 12px;
    font-weight: 700;
}

.knowledge-actions {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

@media(max-width:900px) {

    .knowledge-layout {
        grid-template-columns: 1fr;
    }

    .knowledge-list {
        max-height: 330px;
    }
}

@media(max-width:640px) {

    .knowledge-form-grid {
        grid-template-columns: 1fr;
    }
}

