/**
 * Compatibility Finder
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License version 3.0
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 *
 * @author    Infojet
 * @copyright Since 2026 Infojet
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
 */
.compatfinder-widget { background: #fff; padding: 1rem; margin-bottom: 1.5rem; box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .1); }
.compatfinder-title { margin-bottom: .75rem; }
.compatfinder-cascade { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.compatfinder-field { flex: 1 1 160px; min-width: 140px; }
.compatfinder-field label, .compatfinder-autocomplete label, .compatfinder-code label, .compatfinder-check label { display: block; text-align: left; font-weight: 600; margin-bottom: .25rem; }
.compatfinder-go { flex: 0 0 auto; }
.compatfinder-autocomplete, .compatfinder-code, .compatfinder-check { position: relative; margin-top: 1rem; }
.compatfinder-code-row { display: flex; gap: .5rem; }
.compatfinder-suggestions { position: absolute; z-index: 1000; left: 0; right: 0; max-height: 300px; overflow-y: auto; margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid #ddd; box-shadow: 0 4px 10px rgba(0, 0, 0, .1); }
.compatfinder-suggestions li { padding: .45rem .75rem; cursor: pointer; }
.compatfinder-suggestions li:hover, .compatfinder-suggestions li:focus { background: #f1f1f1; outline: none; }
.compatfinder-suggestions .compatfinder-empty { cursor: default; color: #777; }
.compatfinder-children-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .25rem 1rem; padding: 0; list-style: none; }
.compatfinder-results { margin-top: 1.5rem; }
.compatfinder-notes { margin-top: 1rem; font-size: .9em; }
.compatfinder-pagination .page-list { display: flex; gap: .5rem; list-style: none; padding: 0; }
.compatfinder-pagination .current a { font-weight: 700; text-decoration: underline; }
.compatfinder-product { margin: 1.5rem 0; padding: 1rem; background: #fff; }
.compatfinder-group { border-top: 1px solid #eee; padding: .5rem 0; }
.compatfinder-group summary { cursor: pointer; font-weight: 600; }
.compatfinder-series { margin: .5rem 0 .25rem; font-style: italic; }
.compatfinder-devices { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .15rem 1rem; padding-left: 1rem; }
.compatfinder-check-result.is-ok { color: #2e7d32; font-weight: 600; }
.compatfinder-check-result.is-ko { color: #c62828; font-weight: 600; }
