/* AS-CMS Plugin CSS Bundle: 2026-10-15 20:50:52 */

/* === as_captcha.css === */
/* Frontend Captcha styles. Backend views are styled by the active admin theme. */

.as-captcha-widget { max-width: 420px; border: 1px solid currentColor; border-radius: 7px; padding: 15px; margin: 12px 0; color: CanvasText; background-color: Canvas; }
.as-captcha-widget label { display: flex; flex-direction: column; gap: 9px; }
.as-captcha-widget input { padding: 8px; border: 1px solid currentColor; border-radius: 5px; }
.as-captcha-prompt { font-weight: bold; }
.as-captcha-text-code { display: inline-block; width: max-content; padding: 8px 18px; letter-spacing: 5px; font: bold 24px monospace; border: 1px dashed currentColor; }
.as-captcha-image { display: block; max-width: 100%; height: auto; }
.as-captcha-modal[hidden] { display: none; }
.as-captcha-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 18px; background-color: rgb(0 0 0 / 65%); }
.as-captcha-modal-window { position: relative; width: min(440px, 100%); padding: 22px; border: 1px solid currentColor; border-radius: 9px; color: CanvasText; background-color: Canvas; box-shadow: 0 18px 55px rgb(0 0 0 / 35%); }
.as-captcha-modal-window h2 { margin: 0 35px 12px 0; }
.as-captcha-modal-close { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.as-captcha-modal-prompt { font-weight: bold; line-height: 1.45; }
.as-captcha-modal-display { margin: 12px 0; }
.as-captcha-modal-label { display: flex; flex-direction: column; gap: 6px; font-weight: bold; }
.as-captcha-modal-answer { padding: 10px; border: 1px solid currentColor; border-radius: 5px; color: FieldText; background-color: Field; font-size: 16px; }
.as-captcha-modal-error { min-height: 1.3em; font-weight: bold; }
.as-captcha-modal-actions { display: flex; justify-content: flex-end; gap: 9px; }
.as-captcha-modal-actions button { border: 1px solid ButtonBorder; border-radius: 5px; padding: 9px 13px; color: ButtonText; background-color: ButtonFace; cursor: pointer; font-weight: bold; }
.as-captcha-modal-cancel { }
.as-captcha-modal-check { }
.as-captcha-modal-check:disabled { opacity: .55; cursor: wait; }

/* === as_captcha_style.css === */
/******************************************
*
* Pluginname: AS Captcha
* Version:    1.8
* Datum:      15.10.2026
* Autor:      Alfred Steckel
* Dateiname:  as_captcha_style.css.php
*
******************************************/
/* Frontend Captcha styles. Backend views are styled by the active admin theme. */

.as-captcha-widget { max-width: 420px; border: 1px solid currentColor; border-radius: 7px; padding: 15px; margin: 12px 0; color: CanvasText; background-color: Canvas; }
.as-captcha-widget label { display: flex; flex-direction: column; gap: 9px; }
.as-captcha-widget input { padding: 8px; border: 1px solid currentColor; border-radius: 5px; }
.as-captcha-prompt { font-weight: bold; }
.as-captcha-text-code { display: inline-block; width: max-content; padding: 8px 18px; letter-spacing: 5px; font: bold 24px monospace; border: 1px dashed currentColor; }
.as-captcha-image { display: block; max-width: 100%; height: auto; }
/* Contact and custom forms show the check as a normal form field. */
:is(.as-formular-layout, .as-contact-form) .as-captcha-widget {
    max-width: 100%;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 8px 0;
    color: inherit;
    background: transparent;
}
:is(.as-formular-layout, .as-contact-form) [data-as-captcha-recaptcha] > .as-captcha-prompt,
:is(.as-formular-layout, .as-contact-form) [data-as-captcha-google-error]:empty {
    display: none;
}
.as-captcha-modal[hidden] { display: none; }
.as-captcha-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 18px; background-color: rgb(0 0 0 / 65%); }
.as-captcha-modal-window { position: relative; width: min(440px, 100%); padding: 22px; border: 1px solid currentColor; border-radius: 9px; color: CanvasText; background-color: Canvas; box-shadow: 0 18px 55px rgb(0 0 0 / 35%); }
.as-captcha-modal-window h2 { margin: 0 35px 12px 0; }
.as-captcha-modal-close { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.as-captcha-modal-prompt { font-weight: bold; line-height: 1.45; }
.as-captcha-modal-display { margin: 12px 0; }
.as-captcha-modal-label { display: flex; flex-direction: column; gap: 6px; font-weight: bold; }
.as-captcha-modal-answer { padding: 10px; border: 1px solid currentColor; border-radius: 5px; color: FieldText; background-color: Field; font-size: 16px; }
.as-captcha-modal-error { min-height: 1.3em; font-weight: bold; }
.as-captcha-modal-actions { display: flex; justify-content: flex-end; gap: 9px; }
.as-captcha-modal-actions button { border: 1px solid ButtonBorder; border-radius: 5px; padding: 9px 13px; color: ButtonText; background-color: ButtonFace; cursor: pointer; font-weight: bold; }
.as-captcha-modal-cancel { }
.as-captcha-modal-check { }
.as-captcha-modal-check:disabled { opacity: .55; cursor: wait; }

/* Backend: Abstand zwischen Captcha-Eingabebereich und Aktionsbutton. */
.adm_content-area form:has(.as-captcha-widget) > .adm_button {
    margin-top: 12px;
}
/* Backend: Farben kommen aus dem aktiven Admin-Theme. */
.adm_content-area .as-captcha-widget {
    color: inherit;
    background: transparent;
    border-color: currentColor;
}

.adm_content-area .as-captcha-widget input[type="text"] {
    color: inherit;
    background: inherit;
}

.adm_content-area .as-captcha-text-code {
    color: inherit;
    background: transparent;
    border-color: currentColor;
}

/* === as_chatbox.css === */
/********************************************************
*
* Pluginname:   AS Chatbox
* Ordner:       as_chatbox
* Datei:        as_chatbox.css
* Version:      2.0
* Datum:        10.08.2026
* Autor:        Alfred Steckel
*
*********************************************************/
.as-chatbox {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--button-bg, #1794DD) 22%, #d9e2e8);
    background: linear-gradient(180deg, var(--bg-light, #fff) 0%, color-mix(in srgb, var(--bg-light, #fff) 95%, var(--text-dark, #222)) 100%);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(25, 55, 75, .08);
    overflow: hidden;
    color: var(--text-dark, inherit);
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 15px;
}

.as-chatbox.link-navigation.link-layout-card {
    margin-bottom: 15px;
    border-radius: 10px;
}

.as-chatbox-kopf {
    margin: -14px -14px 12px;
    background: var(--button-bg, #1794DD);
    color: var(--button-text, #fff);
    font-weight: bold;
    padding: 9px 12px;
    line-height: 1.25;
}

.as-chatbox-nachrichten {
    overflow-y: auto;
    padding: 8px;
    border: 1px solid color-mix(in srgb, var(--text-dark, #222) 18%, transparent);
    border-radius: 8px;
    background: var(--bg-light, #fff);
    scroll-behavior: smooth;
}

.as-chatbox-eintrag {
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--text-dark, #222) 12%, transparent);
    border-radius: 5px;
    padding: 6px;
    margin-bottom: 7px;
}

.as-chatbox-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: inherit;
    margin-bottom: 4px;
    opacity: .78;
}

.as-chatbox-text {
    color: inherit;
    line-height: 1.35;
    word-wrap: break-word;
}

.as-chatbox-text a {
    color: var(--button-bg, #1794DD);
    text-decoration: underline;
}

.as-chatbox-bbcode-underline {
    text-decoration: underline;
}

.as-chatbox-bbcode-strike {
    text-decoration: line-through;
}

.as-chatbox-quote {
    margin: 6px 0;
    padding: 6px 8px;
    border-left: 3px solid var(--button-bg, #1794DD);
    background: color-mix(in srgb, var(--button-bg, #1794DD) 8%, var(--bg-light, #fff));
    color: inherit;
}

.as-chatbox-code {
    margin: 6px 0;
    padding: 6px 8px;
    border: 1px solid color-mix(in srgb, var(--text-dark, #222) 18%, transparent);
    border-radius: 4px;
    background: color-mix(in srgb, var(--bg-light, #fff) 92%, var(--text-dark, #222));
    overflow-x: auto;
    white-space: pre-wrap;
    font-family: Consolas, monospace;
    font-size: 13px;
}

.as-chatbox-leer {
    color: inherit;
    font-style: italic;
    padding: 8px;
    opacity: .72;
}

.as-chatbox-formular {
    padding: 8px 0 0;
    background: transparent;
    border-top: 0;
}

.as-chatbox-formular textarea {
    width: 100%;
    min-height: 60px;
    resize: vertical;
    padding: 6px;
    border: 1px solid color-mix(in srgb, var(--text-dark, #222) 30%, transparent);
    border-radius: 4px;
    background: var(--bg-light, #fff);
    color: inherit;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.as-chatbox-bbcode-box {
    margin-top: 6px;
}

.as-chatbox-bbcode-kopf {
    cursor: pointer;
    font-weight: bold;
    padding: 6px 8px;
    background: color-mix(in srgb, var(--bg-light, #fff) 94%, var(--text-dark, #222));
    border: 1px solid color-mix(in srgb, var(--text-dark, #222) 24%, transparent);
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    color: inherit;
}

.as-chatbox-bbcode-kopf:hover {
    background: color-mix(in srgb, var(--button-bg, #1794DD) 8%, var(--bg-light, #fff));
}

.as-chatbox-bbcode-kopf:focus {
    outline: 2px solid var(--button-bg, #1794DD);
    outline-offset: 2px;
}

.as-chatbox-bbcode-pfeil {
    font-size: 12px;
    margin-left: 8px;
}

.as-chatbox-bbcode-inhalt {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.35s ease;
}

.as-chatbox-bbcode-inhalt.offen {
    max-height: 500px;
    opacity: 1;
}

.as-chatbox-bbcode-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding-top: 6px;
}

.as-chatbox .as-chatbox-bbcode-button {
    border: 1px solid color-mix(in srgb, var(--button-bg, #1794DD) 35%, transparent);
    background: var(--button-bg, #1794DD);
    color: var(--button-text, #fff);
    border-radius: 4px;
    padding: 3px 6px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: none;
}

.as-chatbox .as-chatbox-bbcode-button:hover,
.as-chatbox .as-chatbox-bbcode-button:focus {
    background: var(--button-hover-bg, color-mix(in srgb, var(--button-bg, #1794DD) 82%, #000));
    color: var(--button-text, #fff);
    outline: none;
}

.as-chatbox-smilie-box {
    margin-top: 6px;
}

.as-chatbox-smilie-kopf {
    cursor: pointer;
    font-weight: bold;
    padding: 6px 8px;
    background: color-mix(in srgb, var(--bg-light, #fff) 94%, var(--text-dark, #222));
    border: 1px solid color-mix(in srgb, var(--text-dark, #222) 24%, transparent);
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.as-chatbox-smilie-kopf:hover {
    background: color-mix(in srgb, var(--button-bg, #1794DD) 8%, var(--bg-light, #fff));
}

.as-chatbox-smilie-kopf:focus {
    outline: 2px solid var(--button-bg, #1794DD);
    outline-offset: 2px;
}

.as-chatbox-smilie-pfeil {
    font-size: 12px;
    margin-left: 8px;
}

.as-chatbox-smilie-inhalt {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.35s ease;
}

.as-chatbox-smilie-inhalt.offen {
    max-height: 500px;
    opacity: 1;
}

.as-chatbox-smilie-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding-top: 6px;
}

.as-chatbox-smiley-button {
    border: 1px solid color-mix(in srgb, var(--text-dark, #222) 22%, transparent);
    background: var(--bg-light, #fff);
    color: inherit;
    border-radius: 4px;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.1;
}

.as-chatbox-smiley-button img {
    max-width: 24px;
    max-height: 24px;
    vertical-align: middle;
}

.as-chatbox-smilie-inline,
.as-chatbox .as-smilies-inline {
    max-width: 32px;
    max-height: 32px;
    vertical-align: middle;
}

.as-chatbox-smiley-button:hover {
    background: color-mix(in srgb, var(--button-bg, #1794DD) 10%, var(--bg-light, #fff));
    color: inherit;
}

.as-chatbox-formular button[type="submit"] {
    margin-top: 6px;
    width: 100%;
    border: 0;
    border-radius: 4px;
    background: var(--button-bg, #1794DD);
    color: var(--button-text, #fff);
    padding: 7px 10px;
    cursor: pointer;
    font-weight: bold;
}

.as-chatbox-formular button[type="submit"]:hover {
    background: var(--button-hover-bg, color-mix(in srgb, var(--button-bg, #1794DD) 82%, #000));
    color: var(--button-text, #fff);
}

.chatbox-group-grid {
    margin-top: 8px;
}

.chatbox-gruppenrechte-tabelle {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.chatbox-gruppenrechte-tabelle th,
.chatbox-gruppenrechte-tabelle td {
    padding: 6px 8px;
    border-bottom: 1px solid #e2e8ef;
    vertical-align: middle;
}

.chatbox-gruppenrechte-tabelle th {
    text-align: left;
    background: #f4f7fa;
    color: #222;
    font-weight: bold;
}

.chatbox-gruppenrechte-tabelle th:first-child,
.chatbox-gruppenrecht-check {
    width: 84px;
    text-align: center;
}

.chatbox-gruppenrecht-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    vertical-align: middle;
}

.chatbox-gruppenrecht-text label {
    display: block;
    cursor: pointer;
    line-height: 1.35;
}

.chatbox-gruppenrecht-name {
    display: inline-block;
    margin-right: 8px;
}

.chatbox-gruppenrecht-hinweis {
    color: #666;
    white-space: nowrap;
}

/* === as_languages_switch.css === */
/********************************************************
*
* Bereich:      AS Languages Switch
* Ordner:       as_languages_switch
* Datei:        as_languages_switch.css
* Version:      1.1
* Datum:        18.09.2026
* Autor:        Alfred Steckel
*
*********************************************************/

.as-language-switch-card {
    display: block;
    overflow: hidden;
}

.as-language-switch-card.link-navigation.link-layout-card {
    margin-top: 15px;
}

.as-language-switch-card.link-navigation.link-layout-card .as-language-switch-title {
    display: block;
    margin: -14px -14px 12px;
    padding: 9px 12px;
    border-bottom: 0;
    background: var(--button-bg, #1794DD);
    color: var(--button-text, #fff);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.as-language-switch form {
    display: grid;
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.as-language-switch select,
.as-language-switch button {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.as-language-switch select {
    height: 38px;
    padding: 0 9px;
    font: inherit;
}

.as-language-switch.link-display-button button.link-anchor {
    justify-content: center;
    border: 0;
    font: inherit;
    cursor: pointer;
}
.as-language-switch-header {
    position: relative;
    display: inline-block;
    width: auto;
    min-width: 0;
    font-size: 16px;
    line-height: 1.25;
    z-index: 30;
}

.as-language-switch-menu {
    position: relative;
}

.as-language-switch-menu summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 38px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
    border-radius: 6px;
    background: var(--bg-light, #fff);
    color: var(--text-dark, #222);
    box-sizing: border-box;
    cursor: pointer;
    list-style: none;
}

.as-language-switch-menu summary::-webkit-details-marker {
    display: none;
}

.as-language-switch-current-flag,
.as-language-switch-option-flag {
    display: block;
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}


.as-language-switch .as-language-switch-options {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    display: grid;
    gap: 2px;
    width: max-content;
    min-width: 210px;
    max-width: calc(100vw - 24px);
    padding: 6px;
    border: 1px solid color-mix(in srgb, var(--text-dark, #222) 22%, transparent);
    border-radius: 8px;
    background: var(--bg-light, #fff);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
    box-sizing: border-box;
}

.as-language-switch-menu:not([open]) > .as-language-switch-options {
    display: none;
}

.as-language-switch-options button {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 7px 9px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--text-dark, #222);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.as-language-switch-options button > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.as-language-switch-header[data-label="flag"] .as-language-switch-options {
    min-width: 52px;
}

.as-language-switch-header[data-label="flag"] .as-language-switch-options button,
.as-language-switch-header[data-label="name"] .as-language-switch-options button {
    grid-template-columns: minmax(0, 1fr);
}

.as-language-switch-header[data-label="flag"] .as-language-switch-options button {
    justify-items: center;
    padding-right: 7px;
    padding-left: 7px;
}

.as-language-switch-options button:hover,
.as-language-switch-options button:focus-visible,
.as-language-switch-options button[aria-current="true"] {
    background: color-mix(in srgb, var(--button-bg, #1794DD) 16%, transparent);
}

/* === as_legal.css === */
/*
 * AS Legal
 * Plugin-CSS enthält nur plugin-eigene Sonderdarstellungen.
 * Normale Backend-Formulare, Boxen, Buttons und Meldungen verwenden adm_*.
 */

/* Backend: besondere Editor-Anpassungen */
.as-legal-editor .trumbowyg-box,
.as-legal-editor .trumbowyg-editor,
.as-legal-editor .ck.ck-editor {
    width: 100%;
}

.as-legal-editor .trumbowyg-box,
.as-legal-editor .ck.ck-editor {
    margin-top: 8px;
}

.as-legal-editor .trumbowyg-editor,
.as-legal-editor .ck-editor__editable_inline {
    min-height: 280px;
}

/* Frontend: Rechtstexte */
.as-legal-front,
.as-legal-page {
    color: #1f2933;
    font-family: Arial, sans-serif;
}

.as-legal-page {
    margin: 0 auto;
    max-width: 900px;
    padding: 24px 16px;
}

.as-legal-text {
    line-height: 1.65;
}

.as-legal-text table {
    border-collapse: collapse;
    margin: 14px 0;
    width: 100%;
}

.as-legal-text th,
.as-legal-text td {
    border: 1px solid #c8d1dc;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.as-legal-text th {
    background: #f4f7fb;
    font-weight: 700;
}

.as-legal-empty,
.as-legal-shortcode {
    color: #52606d;
}

.as-legal-footer-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 14px 8px;
}

.as-legal-footer-links a {
    color: inherit;
    text-decoration: underline;
}

/* Frontend: Cookie-Hinweis */
.as-legal-cookie {
    background: rgba(15, 23, 42, 0.55);
    bottom: 0;
    box-sizing: border-box;
    left: 0;
    overflow-y: auto;
    padding: 16px;
    position: fixed;
    right: 0;
    top: 0;
    -webkit-overflow-scrolling: touch;
    z-index: 9999;
}

.as-legal-cookie-inline {
    background: transparent;
    bottom: auto;
    overflow: visible;
    padding: 16px 0;
    position: static;
    top: auto;
}

.as-legal-cookie-box {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
    margin: 0 auto;
    max-width: 760px;
    padding: 18px;
}

.as-legal-cookie-box h3 {
    margin: 0 0 8px;
}

.as-legal-cookie-options {
    display: grid;
    gap: 10px;
    margin: 14px 0;
}

.as-legal-cookie-option {
    align-items: flex-start;
    border: 1px solid #d8dee6;
    border-radius: 4px;
    display: flex;
    gap: 10px;
    padding: 10px;
}

.as-legal-cookie-option small {
    color: #52606d;
    display: block;
    margin-top: 3px;
}

.as-legal-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.as-legal-cookie button {
    background: #1f6f8b;
    border: 0;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: 10px 14px;
}

.as-legal-cookie button:first-child {
    background: #394b59;
}

.as-legal-cookie-saved {
    background: #e7f7e7;
    border: 1px solid #9ad29a;
    border-radius: 6px;
    color: #245f24;
    font-weight: 600;
    margin: 10px 0;
    padding: 8px 10px;
}

.as-legal-single-link {
    color: inherit;
}

@media (max-width: 760px) {
    .as-legal-cookie-actions {
        justify-content: stretch;
    }

    .as-legal-cookie-actions button {
        width: 100%;
    }
}

/* === as_legal_style.css === */
/*
 * Pluginname: AS Legal
 * Ordner:     as_legal
 * Datei:      as_legal_style.css
 * Version:    1.0
 * Datum:      30.09.2026
 * Autor:      Alfred Steckel
 *
 * Plugin-CSS enthält nur plugin-eigene Sonderdarstellungen.
 * Normale Backend-Formulare, Boxen, Buttons und Meldungen verwenden adm_*.
 */

/* Backend: besondere Editor-Anpassungen */
.as-legal-editor .trumbowyg-box,
.as-legal-editor .trumbowyg-editor,
.as-legal-editor .ck.ck-editor {
    width: 100%;
}

.as-legal-editor .trumbowyg-box,
.as-legal-editor .ck.ck-editor {
    margin-top: 8px;
}

.as-legal-editor .trumbowyg-editor,
.as-legal-editor .ck-editor__editable_inline {
    min-height: 280px;
}


/* Backend: Checkboxen in sauberer zweispaltiger Tabelle */
.as-legal-check-table {
    border-collapse: collapse;
    margin: 6px 0 12px;
    width: auto;
}

.as-legal-check-table td {
    border: 0;
    padding: 3px 8px 3px 0;
    text-align: left;
    vertical-align: middle;
}

.as-legal-check-table td:first-child {
    width: 24px;
}

.adm_form .as-legal-check-table input[type="checkbox"] {
    display: block;
    margin: 0;
    width: auto;
}

.adm_form .as-legal-check-table label {
    display: inline;
    margin: 0;
    width: auto;
}

/* Frontend: Rechtstexte */
.as-legal-front,
.as-legal-page {
    color: #1f2933;
    font-family: Arial, sans-serif;
}

.as-legal-page {
    margin: 0 auto;
    max-width: 900px;
    padding: 24px 16px;
}

.as-legal-text {
    line-height: 1.65;
}

.as-legal-text table {
    border-collapse: collapse;
    margin: 14px 0;
    width: 100%;
}

.as-legal-text th,
.as-legal-text td {
    border: 1px solid #c8d1dc;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.as-legal-text th {
    background: #f4f7fb;
    font-weight: 700;
}

.as-legal-empty,
.as-legal-shortcode {
    color: #52606d;
}

.as-legal-footer-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 14px 8px;
}

.as-legal-footer-links a {
    color: inherit;
    text-decoration: underline;
}

/* Frontend: Cookie-Hinweis */
.as-legal-cookie {
    background: rgba(15, 23, 42, 0.55);
    bottom: 0;
    box-sizing: border-box;
    left: 0;
    overflow-y: auto;
    padding: 16px;
    position: fixed;
    right: 0;
    top: 0;
    -webkit-overflow-scrolling: touch;
    z-index: 9999;
}

.as-legal-cookie-inline {
    background: transparent;
    bottom: auto;
    overflow: visible;
    padding: 16px 0;
    position: static;
    top: auto;
}

.as-legal-cookie-box {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 760px;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 18px;
    width: 100%;
}

.as-legal-cookie-box h3 {
    margin: 0 0 8px;
}

.as-legal-cookie-options {
    display: grid;
    gap: 10px;
    margin: 14px 0;
}

.as-legal-cookie-option {
    align-items: flex-start;
    border: 1px solid #d8dee6;
    border-radius: 4px;
    display: flex;
    gap: 10px;
    padding: 10px;
}

.as-legal-cookie-option small {
    color: #52606d;
    display: block;
    margin-top: 3px;
}

.as-legal-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.as-legal-cookie button {
    background: #1f6f8b;
    border: 0;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: 10px 14px;
}

.as-legal-cookie button:first-child {
    background: #394b59;
}

.as-legal-cookie-saved {
    background: #e7f7e7;
    border: 1px solid #9ad29a;
    border-radius: 6px;
    color: #245f24;
    font-weight: 600;
    margin: 10px 0;
    padding: 8px 10px;
}

.as-legal-single-link {
    color: inherit;
}

@media (max-width: 760px) {
    .as-legal-cookie-actions {
        justify-content: stretch;
    }

    .as-legal-cookie-actions button {
        width: 100%;
    }
}

/* === as_login.css === */
﻿/********************************************************
*
* Pluginname:   Login
* Ordner:       login
* Datei:        as_login.css
* Version:      1.6
* Datum:        12.10.2026
* Autor:        Alfred Steckel
* OpenSource:   GPL-3.0-or-later
*
* Mail:         info@ascms.debug_backtrace
* Webseite:     https://ascms.de
*
*********************************************************/

.login-box,
.login-panel,
.overlay-content {
    box-sizing: border-box;
}

.login-box {
    width: 300px;
    max-width: 100%;
    margin: 20px auto;
    padding: 15px;
}

.login-box input,
.login-box button {
    margin-bottom: 10px;
}

.login-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border-color, currentColor);
    border-radius: 8px;
    background: var(--bg-light, transparent);
    color: var(--text-dark, inherit);
    box-shadow: 0 8px 22px color-mix(in srgb, currentColor 8%, transparent);
}

.login-panel-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.login-panel-icon {
    display: none;
}

.login-panel-intro {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}

.login-primary-button,
.login-logout-button {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color, currentColor);
    background: var(--button-bg, var(--nav-bg, transparent));
    color: var(--button-text, var(--nav-text, inherit));
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.login-primary-button:hover,
.login-primary-button:focus-visible,
.login-logout-button:hover,
.login-logout-button:focus-visible {
    background: var(--button-hover-bg, var(--button-bg, var(--nav-bg, transparent)));
    color: var(--button-hover-text, var(--button-text, var(--nav-text, inherit)));
    text-decoration: none;
}

.login-panel-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 12px;
    padding-top: 1px;
}

.login-panel-links a {
    color: var(--link-color, var(--highlight, inherit));
    font-size: 12px;
    line-height: 1.35;
    text-decoration: none;
}

.login-panel-links a:hover,
.login-panel-links a:focus-visible {
    color: var(--link-hover-color, var(--link-color, var(--highlight, inherit)));
    text-decoration: underline;
}

.login-user-box {
    text-align: center;
    min-width: 90px;
}

.login-profile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--link-color, var(--highlight, inherit));
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

a.login-profile-link:hover,
a.login-profile-link:focus-visible {
    color: var(--link-hover-color, var(--link-color, var(--highlight, inherit)));
    text-decoration: underline;
}

.login-last-online {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.35;
}

.login-profile-avatar,
.login-profile-placeholder {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
}

.login-profile-avatar {
    object-fit: cover;
    object-position: 50% 50%;
}

.login-profile-photo {
    position: relative;
    display: inline-block;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    overflow: hidden;
    border-radius: 50%;
}

.login-profile-photo.login-profile-photo-rectangular {
    height: 35px;
    border-radius: 2px;
}

.login-profile-photo .login-profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 0;
    display: block;
}

.login-profile-placeholder {
    display: inline-block;
}

.login-profile-photo .login-profile-avatar[data-user-photo-crop] {
    position: absolute;
    max-width: none;
    object-fit: fill;
    margin: 0;
}

.login-post-hint {
    display: inline-block;
    margin-top: 3px;
    padding: 2px 6px;
    color: var(--link-color, var(--highlight, inherit));
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
}

.login-post-hint:hover,
.login-post-hint:focus-visible {
    color: var(--link-hover-color, var(--link-color, var(--highlight, inherit)));
    text-decoration: underline;
}

.login-message {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: bold;
}

.overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: color-mix(in srgb, var(--nav-bg, var(--text-dark, currentColor)) 58%, transparent);
    z-index: 100000;
}

.overlay-content {
    width: 400px;
    max-width: 90%;
    position: relative;
    padding: 20px 30px;
    border-radius: 8px;
    background: var(--bg-light, inherit);
    color: var(--text-dark, inherit);
    box-shadow: 0 18px 55px color-mix(in srgb, currentColor 35%, transparent);
}

.closebtn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 26px;
}

.overlay-content h2 {
    margin: 0 0 10px;
    font-size: 24px;
    text-align: center;
}

.overlay-content label {
    display: block;
    margin-top: 5px;
    font-weight: 600;
}

.overlay-content input[type=text],
.overlay-content input[type=password],
.overlay-content input[type=email],
.overlay-content select {
    width: 100%;
    min-height: 40px;
    margin-top: 3px;
    padding: 8px 10px;
    border: 1px solid var(--border-color, currentColor);
    background: var(--bg-light, inherit);
    color: var(--text-dark, inherit);
    border-radius: 6px;
    box-sizing: border-box;
}

.overlay-content button {
    width: 100%;
    min-height: 40px;
    margin-top: 5px;
    border: 0;
    border-radius: 6px;
    background: var(--button-bg, var(--nav-bg, transparent));
    color: var(--button-text, var(--nav-text, inherit));
    cursor: pointer;
    font-weight: 700;
}

.overlay-content button:hover,
.overlay-content button:focus-visible {
    background: var(--button-hover-bg, var(--button-bg, var(--nav-bg, transparent)));
    color: var(--button-hover-text, var(--button-text, var(--nav-text, inherit)));
}

.overlay-content p.error,
.overlay-content p.success {
    font-weight: bold;
    margin: 0 0 5px;
    text-align: center;
}

.password-wrapper {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.password-wrapper input {
    width: 100%;
    padding-right: 46px;
}

.password-wrapper .toggle-pass,
.password-wrapper .login-password-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    width: 34px;
    min-height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: inherit;
    transform: translateY(-50%);
    cursor: pointer;
}

.password-wrapper .login-password-toggle:hover,
.password-wrapper .login-password-toggle:focus-visible {
    background: color-mix(in srgb, currentColor 8%, transparent);
}

.overlay-content .login-inline-check {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 8px 0 10px;
    font-weight: 400;
}

.overlay-content .login-inline-check input {
    width: auto;
    min-height: 0;
    margin: 0;
}

.overlay-content .as-captcha-widget {
    margin: 10px 0 12px;
}

/* Backend: Login-Einstellungen */
.login-admin .login-settings-form {
    margin: 0;
    max-width: 980px;
}

.login-admin .login-settings-section {
    margin: 0 0 10px;
}

.login-admin .login-settings-table {
    width: 100%;
    border-collapse: collapse;
}

.login-admin .login-settings-table td {
    padding: 8px 10px;
    vertical-align: middle;
}

.login-admin .login-settings-label {
    width: 280px;
    font-weight: bold;
}

.login-admin .login-settings-field small,
.login-admin .login-section-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.4;
}

.login-admin .login-settings-field input[type=text],
.login-admin .login-settings-field input[type=number],
.login-admin .login-settings-field select,
.login-admin .login-settings-field textarea {
    max-width: 520px;
}

.login-admin .login-settings-field textarea {
    min-height: 76px;
}

.login-admin .login-form-actions {
    margin-top: 12px;
}

.login-admin .login-help p {
    max-width: 820px;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .overlay-content {
        width: min(400px, 100%);
        max-width: 100%;
        padding: 18px;
    }

    .login-admin .login-settings-table,
    .login-admin .login-settings-table tbody,
    .login-admin .login-settings-table tr,
    .login-admin .login-settings-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .login-admin .login-settings-label {
        padding-bottom: 4px;
    }

    .login-admin .login-settings-field {
        padding-top: 4px;
    }

    .login-admin .login-settings-field input[type=text],
    .login-admin .login-settings-field input[type=number],
    .login-admin .login-settings-field select,
    .login-admin .login-settings-field textarea {
        max-width: none;
    }
}

/* === as_navigation_manager.css === */
/********************************************************
*
* Pluginname:   AS Navigationsmanager
* Ordner:       as_navigation_manager
* Datei:        as_navigation_manager.css
* Version:      1.3
* Datum:        26.09.2026
* Autor:        Alfred Steckel
*
*********************************************************/

/* Basis: Linklisten im Backend und Frontend */
.link-menu {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.link-menu ul {
    padding-left: 20px;
    margin-top: 5px;
}

.link-item {
    margin-bottom: 5px;
}

.link-anchor {
    text-decoration: none;
    color: #007acc;
    font-weight: normal;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.link-anchor:hover {
    text-decoration: underline;
    color: #005f99;
}

.link-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
    flex: 0 0 auto;
}

/* Frontend-Navigation */
.link-navigation {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    container-type: inline-size;
}

.link-navigation .link-menu-title,
.link-navigation .link-nav-toggle {
    display: none;
}

.link-navigation.link-layout-card {
    margin: 2px 0;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--highlight, #2e7fc1) 22%, #d9e2e8);
    border-radius: 10px;
    background: linear-gradient(180deg, #fff 0%, #f5f8fa 100%);
    box-shadow: 0 4px 14px rgba(25, 55, 75, .08);
}

.link-navigation.link-layout-card .link-menu-title {
    display: block;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #dbe5ec;
    color: var(--text-dark, #263746);
    font-size: 16px;
    font-weight: 700;
}

.link-navigation.link-layout-card .link-item,
.link-navigation.link-layout-plain .link-item {
    margin: 0 0 6px;
}

.link-navigation.link-layout-card .link-item:last-child,
.link-navigation.link-layout-plain .link-item:last-child {
    margin-bottom: 0;
}

.link-navigation.link-display-button .link-anchor {
    display: flex;
    width: 100%;
    padding: 8px 11px;
    border-radius: 6px;
    box-sizing: border-box;
    background: var(--button-bg, #2e7fc1);
    color: var(--button-text, #fff);
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.link-navigation.link-display-button .link-anchor:hover {
    background: var(--button-hover-bg, #24689f);
    color: var(--button-text, #fff);
    transform: translateY(-1px);
    text-decoration: none;
}

.link-navigation.link-display-text .link-anchor {
    padding: 4px 2px;
}

.link-navigation.link-layout-card .link-menu ul,
.link-navigation.link-layout-plain .link-menu ul {
    padding-left: 14px;
    margin-top: 6px;
}

/* Desktop: Untermenues nur bei Maus- oder Tastaturinteraktion anzeigen. */
.link-navigation .link-item > .link-menu {
    display: none;
}

.link-navigation .link-item:hover > .link-menu,
.link-navigation .link-item:focus-within > .link-menu {
    display: block;
}

/* Bereichsunabhaengig: breite Card/Plain-Menues nebeneinander. */
@container (min-width: 430px) {
    .link-navigation.link-layout-card > .link-menu,
    .link-navigation.link-layout-plain > .link-menu {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 8px;
    }

    .link-navigation.link-layout-card > .link-menu > .link-item,
    .link-navigation.link-layout-plain > .link-menu > .link-item {
        flex: 1 1 150px;
        margin: 0;
    }
}

/* Smartphone: Hamburger-Menue und klickbare Untermenues. */
@media (max-width: 760px) {
    .link-navigation .link-nav-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        min-height: 44px;
        margin: 0 0 0 auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-sizing: border-box;
        background: var(--nav-bg, var(--button-bg, #2e7fc1));
        color: var(--nav-text, var(--button-text, #fff));
        cursor: pointer;
    }

    .link-navigation .link-nav-toggle-icon {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 24px;
        height: 20px;
        background: transparent !important;
    }

    .link-navigation .link-nav-toggle-line {
        display: block !important;
        width: 24px;
        height: 2px;
        background: currentColor;
        border-radius: 1px;
        flex: 0 0 auto;
    }

    .link-navigation > .link-menu {
        display: none !important;
        flex-direction: column !important;
        width: 100%;
    }

    .link-navigation.is-open > .link-menu,
    .link-navigation.link-nav-open > .link-menu {
        display: block !important;
    }

    .link-navigation > .link-menu > .link-item {
        margin: 0 !important;
    }

    .link-navigation .link-anchor {
        display: flex !important;
        width: 100%;
        box-sizing: border-box;
    }

    .link-navigation .link-item > .link-menu,
    .link-navigation .link-item:hover > .link-menu,
    .link-navigation .link-item:focus-within > .link-menu {
        display: none !important;
        position: static !important;
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .link-navigation .link-item.is-submenu-open > .link-menu {
        display: block !important;
    }
}

/* === as_search.css === */
.as-search-card {
    display: block;
    overflow: hidden;
}

.as-search-card.link-navigation.link-layout-card {
    margin-top: 15px;
    border-radius: 10px;
}

.as-search-card.link-navigation.link-layout-card .as-search-card-title {
    display: block;
    margin: -14px -14px 12px;
    padding: 9px 12px;
    border-bottom: 0;
    border-radius: 9px 9px 0 0;
    background: var(--button-bg, #1794DD);
    color: var(--button-text, #fff);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.as-search-box {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 14px;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    box-sizing: border-box;
}

.as-search-card > .as-search-box {
    padding: 5px 0px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.as-search-inputrow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px auto;
    align-items: center;
    gap: 0;
    width: 100%;
    min-width: 0;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    background: transparent;
    overflow: hidden;
}

.as-search-card .as-search-inputrow {
    background: var(--bg-light);
}

.as-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.as-search-inputrow input[type="search"] {
    min-width: 0;
    width: 100%;
    height: 38px;
    margin: 0;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 0.92rem;
    line-height: 1.2;
    outline: 0;
    box-sizing: border-box;
}

.as-search-inputrow input[type="search"]::placeholder {
    color: inherit;
    opacity: 0.66;
}

.as-search-inputrow:focus-within {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.as-search-submit,
.as-search-settings-button {
    cursor: pointer;
}

.as-search-submit {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-left-width: 1px;
    border-left-style: solid;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: 1rem;
    line-height: 1;
}

.as-search-submit:hover,
.as-search-submit:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -4px;
}

.as-search-settings-button {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-left-width: 1px;
    border-left-style: solid;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 1rem;
    line-height: 1;
    text-align: center;
}

.as-search-settings-button:hover,
.as-search-settings-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    text-decoration: none;
}

.as-search-settings {
    grid-column: 1 / -1;
    display: grid;
    gap: 0.45rem;
    margin-top: 8px;
    padding: 10px;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font-size: 0.86rem;
}

.as-search-settings label {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.25;
}

.as-search-settings input[type="checkbox"] {
    flex: 0 0 auto;
    margin-top: 2px;
}

.as-search-settings[hidden] {
    display: none;
}

.as-search-result-list {
    display: grid;
    gap: 0.75rem;
    padding-left: 1.35rem;
}

.as-search-result-list li strong,
.as-search-result-list li small {
    display: block;
}

.as-search-result-list li small {
    opacity: 0.75;
}

.as-search-results {
    margin-top: 12px;
}

.as-search-results:empty {
    display: none;
}

@media (max-width: 520px) {
    .as-search-inputrow {
        grid-template-columns: minmax(0, 1fr) 38px auto;
    }
}
