/**
 * Limpieza - Estilos Seccion Letras
 */

/* Toolbar */
.ly-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 11px;
}

.ly-toolbar label { color: rgba(255,255,255,0.5); }

.ly-category-select {
    padding: 4px 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    color: #e2e8f0;
    font-size: 11px;
    max-width: 180px;
    cursor: pointer;
}
.ly-category-select:focus {
    outline: none;
    border-color: rgba(99,102,241,0.5);
}
.ly-category-select option {
    background: #1e1e2e;
    color: #e2e8f0;
}

.ly-progress-wrap {
    height: 2px;
    background: rgba(255,255,255,0.05);
}
.ly-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #818cf8);
    transition: width 0.3s;
}

/* Busqueda manual */
.ly-manual {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ly-manual input {
    flex: 1;
    min-width: 100px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
}
.ly-manual input:focus {
    border-color: #6366f1;
    outline: none;
}

/* Header */
.ly-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(99,102,241,0.1);
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}
.ly-h-chk { width: 24px; }
.ly-h-info { flex: 1; min-width: 150px; }
.ly-h-preview { flex: 2; }
.ly-h-score { width: 50px; text-align: center; }

/* Filas */
.ly-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 12px;
    transition: background 0.15s;
}
.ly-row:hover { background: rgba(255,255,255,0.02); }
.ly-row.high { border-left: 3px solid #10b981; }
.ly-row.mid { border-left: 3px solid #f59e0b; }
.ly-row.none { border-left: 3px solid #ef4444; opacity: 0.6; }
.ly-row.applied { background: rgba(16,185,129,0.1); }

.ly-info { flex: 1; min-width: 150px; overflow: hidden; }
.ly-title { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ly-artist { font-size: 10px; color: rgba(255,255,255,0.4); }

.ly-preview {
    flex: 2;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ly-preview i { color: rgba(255,255,255,0.3); }

.ly-score {
    width: 50px;
    text-align: center;
    font-size: 10px;
    color: rgba(255,255,255,0.4);
}

/* Action bar */
.ly-action-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 11px;
}

/* Preview manual */
.ly-preview-wrap {
    flex: 1;
    overflow: auto;
    padding: 12px;
    background: rgba(0,0,0,0.2);
}
.ly-preview-header {
    font-size: 11px;
    color: #10b981;
    margin-bottom: 8px;
}
.ly-preview-text {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    white-space: pre-wrap;
}
.ly-preview-error {
    color: #ef4444;
    font-size: 12px;
}
