/* -----------------------------------------------------------------------------------------
   M0167.css
   Released under the GNU General Public License
   (c) 2013-2026 - Xycons GmbH & Co. KG - www.xycons.de - (M0167) (v:01.00)
   -----------------------------------------------------------------------------------------
   Bewusst zurueckhaltend gehalten: Farben und Abstaende sollen sich in jedes Theme
   einfuegen, statt es zu ueberschreiben.
----------------------------------------------------------------------------------------- */

/* --- eigenes Fenster ------------------------------------------------------------------ */
.m0167-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 16px;
}

.m0167-box {
    background: #fff;
    color: #222;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.m0167-box-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e3e3e3;
}

.m0167-box-head h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.m0167-close {
    border: 0;
    background: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #777;
    padding: 0 4px;
}

.m0167-close:hover { color: #222; }

.m0167-box-body { padding: 20px; }

.m0167-box-body p { margin: 0 0 12px; }

/* --- Formularteile -------------------------------------------------------------------- */
.m0167-consent {
    display: block;
    margin: 0 0 8px;
    cursor: pointer;
    line-height: 1.4;
}

.m0167-consent input { margin-right: 6px; }

.m0167-field { margin: 14px 0; }

.m0167-field label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.m0167-field input,
.m0167-codeform input {
    width: 100%;
    max-width: 320px;
    padding: 8px 10px;
    border: 1px solid #c6c6c6;
    border-radius: 4px;
    font-size: 15px;
}

.m0167-hint {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
}

.m0167-meta {
    font-size: 14px;
    color: #555;
}

.m0167-inline-notice {
    background: #fdf0f0;
    border: 1px solid #e6bcbc;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 14px;
}

.m0167-ok { color: #2b6e2b; }

/* --- Schaltflaechen ------------------------------------------------------------------- */
.m0167-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.m0167-button {
    display: inline-block;
    padding: 10px 18px;
    border: 0;
    border-radius: 4px;
    background: #2f6f9f;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
}

.m0167-button:hover { background: #27587d; color: #fff; }

.m0167-button-quiet {
    background: #ececec;
    color: #333;
}

.m0167-button-quiet:hover { background: #dcdcdc; color: #333; }

.m0167-button-danger { background: #a33a3a; }
.m0167-button-danger:hover { background: #8a3030; }

.m0167-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
}

.m0167-privacy {
    display: inline-block;
    font-size: 13px;
    margin-bottom: 8px;
}

/* --- Wiederherstellungsnummer --------------------------------------------------------- */
.m0167-code-box {
    background: #f5f7f9;
    border: 1px solid #dde3e8;
    border-radius: 4px;
    padding: 12px 14px;
}

.m0167-code {
    font-family: Consolas, "Courier New", monospace;
    font-size: 20px;
    letter-spacing: 2px;
}

.m0167-code-label {
    display: block;
    font-size: 13px;
    color: #666;
}

/* --- Seiten des Moduls ---------------------------------------------------------------- */
.m0167-page { margin-bottom: 32px; }

.m0167-page h1 { margin-bottom: 16px; }

.m0167-page h2 {
    font-size: 18px;
    margin: 24px 0 8px;
}

.m0167-notice {
    background: #fdf6e3;
    border: 1px solid #e6d9ae;
    border-radius: 4px;
    padding: 10px 12px;
    margin-bottom: 16px;
}

.m0167-block {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #e3e3e3;
}

.m0167-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 18px;
}

.m0167-table th,
.m0167-table td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid #e6e6e6;
    vertical-align: top;
}

.m0167-table th {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #666;
}

.m0167-model {
    display: block;
    font-size: 12px;
    color: #888;
}

.m0167-codeform { margin: 12px 0; }

.m0167-codeform label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.m0167-codeform input {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: Consolas, "Courier New", monospace;
    margin-bottom: 10px;
}

/* --- Ergebnisliste -------------------------------------------------------------------- */
.m0167-report ul {
    margin: 0 0 16px;
    padding-left: 20px;
}

.m0167-report-ok   { color: #2b6e2b; font-weight: 600; margin-bottom: 4px; }
.m0167-report-warn { color: #8a6d1f; font-weight: 600; margin-bottom: 4px; }
.m0167-report-fail { color: #a33a3a; font-weight: 600; margin-bottom: 4px; }

.m0167-reason {
    color: #888;
    font-size: 13px;
}

.m0167-qty { color: #666; }

/* --- Einschub auf der Warenkorbseite --------------------------------------------------- */
.m0167-cart-slot {
    margin: 16px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.m0167-saved-hint {
    font-size: 14px;
    color: #2b6e2b;
}

@media (max-width: 480px) {
    .m0167-box-body { padding: 16px; }
    .m0167-actions .m0167-button { width: 100%; text-align: center; }
}

/* --- Getrennte Listen (Warenkorb / Merkzettel) ----------------------------------------- */
.m0167-list-head {
    font-size: 16px;
    margin: 22px 0 6px;
}

.m0167-report-list {
    font-size: 15px;
    margin: 20px 0 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid #e6e6e6;
}

/* --- Erinnerung im Angebotsfenster ----------------------------------------------------- */
.m0167-block-inline {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid #e6e6e6;
}

.m0167-sub-head {
    font-size: 14px;
    margin: 0 0 6px;
}

.m0167-notice-ok {
    background: #eef7ee;
    border-color: #bcd9bc;
}
