/* PNC-Hilfe: Link, Hinweis beim Suchfeld, Overlay.
 * Farben aus dem Shop: Navy #011e41, Text #14133b, Feld #dfe7ea.
 */

.elxcc-pnc-link {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: .4em;
    padding: 0;
    border: 0;
    background: none;
    color: #011e41;
    font: inherit;
    font-size: .95em;
    line-height: 1.3;
    text-decoration: none;
    text-underline-offset: 3px;
    cursor: pointer;
}

.elxcc-pnc-link svg {
    flex: 0 0 auto;
}

.elxcc-pnc-link:hover span {
    text-decoration: underline;
}

.elxcc-pnc-link:focus-visible {
    outline: 2px solid #011e41;
    outline-offset: 3px;
    border-radius: 2px;
}

/* Links im FiboSearch-Text «Keine Ergebnisse» (#pnc-hilfe, Kontakt) */
.dgwt-wcas-suggestion-nores a {
    color: #011e41;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Im Kompatibilitätscheck unter Eingabefeld und Button */
.elxcc__pnc {
    margin-top: .6rem;
}

/* Hinweis unter dem Suchfeld, nur bei Fokus und leerem Feld.
   .dgwt-wcas-search-wrapp ist bei FiboSearch bereits position: relative. */
.elxcc-pnc-hint {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    padding: .7rem .9rem;
    background: #fff;
    border: 1px solid #dfe7ea;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(1, 30, 65, .12);
    text-align: left;
}

.elxcc-pnc-hint[hidden] {
    display: none;
}

/* Overlay */
html.elxcc-pnc-open {
    overflow: hidden;
}

.elxcc-pnc-dialog {
    width: min(640px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100vh - 48px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #14133b;
    box-shadow: 0 24px 64px rgba(1, 30, 65, .28);
    overflow: auto;
    overscroll-behavior: contain;
}

.elxcc-pnc-dialog::backdrop {
    background: rgba(1, 30, 65, .55);
}

.elxcc-pnc-dialog__inner {
    position: relative;
    padding: 36px 40px 32px;
    font-size: 1rem;
    line-height: 1.55;
}

.elxcc-pnc-dialog__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #011e41;
    cursor: pointer;
}

.elxcc-pnc-dialog__close:hover {
    background: #dfe7ea;
}

.elxcc-pnc-dialog__close:focus-visible {
    outline: 2px solid #011e41;
    outline-offset: 2px;
}

.elxcc-pnc-dialog .elxcc-pnc-dialog__title {
    margin: 0 48px 8px 0;
    color: #011e41;
    font-size: 1.6rem;
    line-height: 1.2;
}

.elxcc-pnc-dialog__lead {
    margin: 0 0 24px;
}

.elxcc-pnc-dialog__section + .elxcc-pnc-dialog__section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dfe7ea;
}

.elxcc-pnc-dialog__section h3 {
    margin: 0 0 6px;
    color: #011e41;
    font-size: 1.1rem;
    line-height: 1.3;
}

.elxcc-pnc-dialog__section p {
    margin: 0;
}

.elxcc-pnc-dialog__figure {
    margin: 14px 0 0;
}

.elxcc-pnc-dialog__figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.elxcc-pnc-dialog__support {
    margin: 24px 0 0;
    padding: 16px 18px;
    border-radius: 8px;
    background: #dfe7ea;
}

.elxcc-pnc-dialog__support a {
    color: #011e41;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 667px) {
    .elxcc-pnc-dialog {
        width: 100vw;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .elxcc-pnc-dialog__inner {
        padding: 24px 20px 28px;
    }

    .elxcc-pnc-dialog .elxcc-pnc-dialog__title {
        font-size: 1.35rem;
    }
}
