/* Grundlayout */
.notizzettel-plugin {
    font-family: Arial, sans-serif;
    color: #222;
    background: #fff;
    padding: 15px;
}

.notizzettel-header {
    margin-bottom: 1em;
    border-bottom: 2px solid #007acc;
}

.notizzettel-header h3 {
    margin: 0;
    color: #007acc;
}

/* Flex Container */
.container-flex {
    display: flex;
    gap: 20px;
}

/* Sidebar */
.sidebar {
    width: 220px; /* fixe Sidebar-Breite */
    background: #f5f5f5;
    padding: 15px;
    border-radius: 6px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 1em;
}

.sidebar ul li a.button-link {
    display: inline-block; /* block wäre ok, inline-block ermöglicht minimale Breite */
    width: 100%;           /* füllt die Sidebar-Breite */
    box-sizing: border-box;
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    white-space: nowrap;   /* verhindert Umbruch */
    overflow: hidden;
    text-overflow: ellipsis; /* falls doch mal zu lang */
}

.sidebar ul li a.button-link.btn-secondary {
    background-color: #555;
    color: #fff;
}

.sidebar ul li a.button-link.btn-secondary:hover {
    background-color: #444;
}

/* Suchformular */
.suchformular {
    background-color: #FAFAFA;
    padding: 10px;
    border: 1px solid #BBBBBB;
    border-radius: 7px;
    box-shadow: 0 3px 7px rgba(52,152,219,0.5);
}

.suchformular input[type="text"] {
    width: 90%;
    padding: 6px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.suchformular label {
    display: block;
    margin-bottom: 5px;
    font-weight: normal;
    font-size: 0.9em;
}

.suchformular .suchbutton {
    background-color: #DDDDDD;
    border-radius: 5px;
    box-shadow: 0 3px 7px rgba(52,152,219,0.5);
    color: black;
    border: none;
    padding: 7px 12px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
}

.suchformular .suchbutton:hover {
    background-color: #BBBBBB;
}

/* Content Area */
.content-area {
    flex: 1 1 auto;
	/*background-color: #D5E1F0;*/
}

/* Tabellen */
.notes-table {
    width: 100%;
    border-collapse: collapse;
    /*margin-top: 1em;*/
}

.notes-table th,
.notes-table td {
    border: 1px solid #ddd;
    padding: 8px;
    vertical-align: top;
    text-align: left;
}

/* Angepasste Überschriften */
.notes-table th {
    background: #3399ff;  /* helleres Blau */
    color: #fff;       /* weiß */
    cursor: pointer;
    user-select: none;
}

.notes-table tr.notes-row-overdue {
    background: #ffdddd;
}

.notes-table tr.notes-row-today {
    background: #fff9d9;
}

.notes-table tr.notes-row-future {
    background: #e7f5e7;
}

.notes-table td.action-links a {
    margin-right: 6px;
    text-decoration: none;
    font-size: 1.1em;
}

.notes-status-done {
    color: green;
    font-weight: bold;
}

.notes-status-open {
    color: red;
    font-weight: bold;
}

/* Formulare */
.note-form {
    max-width: 600px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.note-form label {
    display: block;
    margin-top: 10px;
    margin-bottom: 4px;
    font-weight: bold;
}

.note-form input[type="text"],
.note-form input[type="datetime-local"],
.note-form select,
.note-form textarea {
    width: 100%;
    padding: 7px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.note-form textarea {
    resize: vertical;
}

.form-row-inline {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.form-field-small {
    flex: 1;
}

.btn-primary {
    margin-top: 15px;
    background: #007acc;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
}

.btn-primary:hover {
    background: #005f99;
}

.cancel-link {
    margin-left: 15px;
    color: #777;
    text-decoration: none;
    font-size: 0.9em;
}

.cancel-link:hover {
    text-decoration: underline;
}

.btn-clear-date {
    background: #ccc;
    border: none;
    cursor: pointer;
    margin-left: 5px;
    font-size: 1.1em;
    padding: 0 6px;
    border-radius: 4px;
}

.news-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin: 24px 0 10px;
}

.news-page-link {
    display: inline-block;
    min-width: 38px;
    padding: 8px 12px;
    border: 1px solid #007acc;
    border-radius: 4px;
    background: #fff;
    color: #005f99;
    text-align: center;
    text-decoration: none;
}

.news-page-link:hover,
.news-page-link.active {
    background: #007acc;
    color: #fff;
}

.news-page-gap {
    padding: 8px 3px;
    color: #555;
}

.news-settings-form {
    max-width: 560px;
    padding: 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #f9f9f9;
}

.news-settings-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.news-settings-form input[type="number"] {
    width: 110px;
    padding: 7px;
}

.news-settings-form button {
    padding: 8px 16px;
    border: 0;
    border-radius: 4px;
    background: #007acc;
    color: #fff;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 720px) {
    .container-flex {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin-bottom: 15px;
    }
}


/* ============================================================
   Übernommenes Inline-CSS aus PHP-Datei
   Quelle: frontend_news.php
   ============================================================ */

.news-readmore-toggle {
    margin: 10px 0;
    padding: 8px 14px;
    color: #fff;
    background-color: #1769aa;
    border: 1px solid #125487;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.news-readmore-toggle:hover,
.news-readmore-toggle:focus-visible {
    color: #fff;
    background-color: #c62828;
    border-color: #9f2020;
}
.news-comments {
    margin-top: 15px;
    color: #222;
}
.news-comments button,
.news-reply-btn,
.news-submit-comment,
.news-submit-reply,
.news-edit-comment,
.news-delete-comment,
.news-save-edit,
.news-cancel-edit {
    margin: 6px 6px 6px 0;
    padding: 6px 10px;
    cursor: pointer;
    color: #222;
    background: #f2f2f2;
    border: 1px solid #bbb;
}
.news-comment-form,
.news-reply-form,
.news-edit-form {
    margin: 8px 0;
    color: #222;
}
.news-comment-form textarea,
.news-reply-form textarea,
.news-edit-form textarea {
    width: 100%;
    box-sizing: border-box;
    color: #222;
    background: #fff;
    border: 1px solid #bbb;
}
.news-bbcode-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 5px;
}
.news-smilie-box {
    margin: 5px 0;
}
.news-smilie-box summary {
    display: inline-block;
    cursor: pointer;
    padding: 5px 8px;
    color: #222;
    background: #f2f2f2;
    border: 1px solid #bbb;
    border-radius: 3px;
    font-weight: bold;
}
.news-smilie-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}
.news-comments .news-smilie-button {
    margin: 0;
    padding: 4px 6px;
    line-height: 1.1;
    color: #222;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.news-comments .news-smilie-button img {
    max-width: 24px;
    max-height: 24px;
    vertical-align: middle;
}
.news-comment-text .as-smilies-inline {
    max-width: 32px;
    max-height: 32px;
    vertical-align: middle;
}
.news-comments .news-bbcode-button {
    margin: 0;
    padding: 4px 7px;
    color: #fff;
    background: #1769aa;
    border: 1px solid #125487;
    border-radius: 3px;
}
.news-comments .news-bbcode-button:hover,
.news-comments .news-bbcode-button:focus-visible {
    color: #000;
    background: #fdeab3;
}
.news-bbcode-underline { text-decoration: underline; }
.news-bbcode-strike { text-decoration: line-through; }
.news-bbcode-quote {
    margin: 6px 0;
    padding: 6px 8px;
    border-left: 3px solid #1794dd;
    background: #eef5fa;
}
.news-bbcode-code {
    overflow-x: auto;
    padding: 6px 8px;
    color: #222;
    background: #eee;
    border: 1px solid #ccc;
}
.news-frontend-edit-button {
    display: inline-block;
    margin: 8px 0;
    padding: 6px 10px;
    color: #fff;
    background: #1769aa;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}
.news-frontend-edit-button:hover,
.news-frontend-edit-button:focus-visible {
    color: #000;
    background: #fdeab3;
}
.comments-container {
    margin-top: 10px;
    color: #222;
}
.comment {
    border-left: 3px solid #1794DD;
    background: #f8f8f8;
    color: #222;
    margin-top: 8px;
    padding: 8px 10px;
}
.comment.sub-comment {
    background: #fff;
    color: #222;
}
.news-no-comments {
    margin: 8px 0;
    color: #222;
}


/* ============================================================
   Übernommenes Inline-CSS aus PHP-Datei
   Quelle: manage.php
   ============================================================ */

/* Grundlayout */
.news-plugin { font-family: Arial, sans-serif; color: #000000; background: #fff; padding: 15px; }
.news-header { margin-bottom: 1em; border-bottom: 2px solid #007ACC; }
.news-header h3 { margin: 0; color: #007ACC; }
.container-flex { display: flex; gap: 20px; }
.sidebar { width: 200px; background: #f5f5f5; padding: 15px; border-radius: 6px; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar ul li { margin-bottom: 1em; }

/* Linkfarben für as-cms */
.sidebar ul li a {
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    background-color: #007ACC;   /* Standard weiß */
    color: #FFFFFF;              /* Linkfarbe */
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.sidebar ul li a:hover {
    background-color: #769FCF;   /* Hover */
    color: #FFFFFF;
}
.sidebar ul li a:visited {
    background-color: #769FCF;   /* Visit */
    color: #000000;
}
.sidebar ul li a.active {
    background-color: #FDEAB3;   /* Link */
    color: #000000;
}

/* Suchformular */
.suchformular { background-color: #FAFAFA; padding: 10px; border: 1px solid #BBBBBB; border-radius: 7px; box-shadow: 0 3px 7px rgba(52,152,219,0.5); margin-bottom: 15px; }
.suchformular input[type="text"] { width: 90%; padding: 6px; margin-bottom: 10px; border: 1px solid #ccc; border-radius: 4px; }
.suchformular .suchbutton { background-color: #DDDDDD; border-radius: 5px; box-shadow: 0 3px 7px rgba(52,152,219,0.5); color: black; border: none; padding: 7px 12px; cursor: pointer; width: 100%; font-weight: bold; }
.suchformular .suchbutton:hover { background-color: #BBBBBB; }

.content-area { flex: 1 1 auto; }
.news-footer { margin-top: 2em; text-align: center; font-size: 0.9em; color: #666; }

@media (max-width: 720px) {
  .container-flex { flex-direction: column; }
  .sidebar { width: 100%; margin-bottom: 15px; }
}


/* ============================================================
   Übernommenes Inline-CSS aus PHP-Datei
   Quelle: news_archiv.php
   ============================================================ */

.news-body-wrapper { overflow: hidden; max-height: 0; transition: max-height 0.6s ease; }
.news-body-wrapper.open { max-height: 1000px; }
.news-list-container { max-width: 900px; margin:0 auto; font-family:Arial,sans-serif; color:#222; background:#fff; padding:20px; border-radius:8px; }
.news-list-container h2 { color:#007acc; margin-bottom:15px; }
.news-list-container input[type=text], .news-list-container select { width:100%; padding:8px 10px; font-size:1em; border:1px solid #ccc; border-radius:5px; box-sizing:border-box; transition:border-color 0.3s ease; }
.news-list-container input[type=text]:focus, .news-list-container select:focus { border-color:#007acc; outline:none; }
.news-list-container button, .news-list-container a.button-link { margin-top:10px; background-color:#007acc; color:white; border:none; padding:6px 10px; border-radius:5px; cursor:pointer; text-decoration:none; display:inline-block; font-size:0.9em; transition:background-color 0.3s ease; }
.news-list-container button:hover, .news-list-container a.button-link:hover { background-color:#005f99; }
.news-list-container a.icon-link { font-size:20px; margin:0 5px; text-decoration:none; }
.news-list-container a.icon-link.delete { color:red; }
.news-archive-body table { border-collapse: collapse; width: 100%; margin: 10px 0; }
.news-archive-body th, .news-archive-body td { border: 1px solid #007acc; padding: 8px; text-align: left; }
.news-archive-body th { background-color: #e6f2fa; }
.news-archive-body img { max-width: 100%; height: auto; }
.no-archive-row {
    text-align:center;
    font-style:italic;
    color:#666;
    padding:20px;
    background:#fafafa;
}


/* ============================================================
   Übernommenes Inline-CSS aus PHP-Datei
   Quelle: news_cat.php
   ============================================================ */

.news-cat-container {
    font-family: Arial, sans-serif;
    color: #222;
    background: #fff;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.news-cat-container h2 {
    color: #007acc;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-cat-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 123, 204, 0.15);
    margin-bottom: 30px;
    display: none;
}

.news-cat-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.news-cat-form input[type="text"],
.news-cat-form textarea,
.news-cat-form select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.news-cat-form input[type="text"]:focus,
.news-cat-form textarea:focus,
.news-cat-form select:focus {
    border-color: #007acc;
    outline: none;
}

.news-cat-form textarea {
    resize: vertical;
}

.news-cat-form button {
    background-color: #007acc;
    color: white;
    border: none;
    padding: 12px 18px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.news-cat-form button:hover {
    background-color: #005f99;
}

.news-cat-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    table-layout: auto;
}

.news-cat-table th,
.news-cat-table td {
    border: 1px solid #ddd;
    padding: 10px 12px;
    vertical-align: middle;
    text-align: left;
}

.news-cat-table th {
    background-color: #007acc;
    color: white;
}

.news-cat-table tr:nth-child(even) {
    background-color: #f4f8fb;
}

.news-cat-table textarea {
    width: 100%;
    height: 60px;
    resize: vertical;
}

.news-cat-table input[type="text"] {
    width: 100%;
    padding: 6px 8px;
    box-sizing: border-box;
    font-size: 1em;
}

.news-cat-table select {
    width: 100%;
    padding: 6px 8px;
    font-size: 1em;
}

.news-cat-table button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    margin: 0 4px;
}

.news-cat-table button[title="Speichern"] {
    color: #007acc;
}

.news-cat-table button[title="Löschen"] {
    color: #dc3545;
}

.news-cat-table button[disabled] {
    color: #999;
    cursor: not-allowed;
}

.standard-label {
    display: inline-block;
    background: #28a745;
    color: white;
    font-size: 0.75em;
    padding: 3px 6px;
    border-radius: 4px;
    margin-left: 6px;
}

.error {
    color: #dc3545;
    font-weight: bold;
    margin-bottom: 15px;
}

.success {
    color: #28a745;
    font-weight: bold;
    margin-bottom: 15px;
}

.toggle-form-link {
    background-color: #007acc;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 14px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 10px;
    display: inline-block;
}

.toggle-form-link:hover {
    background-color: #005f99;
}

.btn-secondary {
    background: #ccc;
    color: black;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    margin-left: 10px;
}

.btn-secondary:hover {
    background: #aaa;
}


/* ============================================================
   Übernommenes Inline-CSS aus PHP-Datei
   Quelle: news_edit.php
   ============================================================ */

.news-write-container { max-width: 900px; margin:0 auto; font-family:Arial,sans-serif; color:#222; background:#fff; padding:20px; border-radius:8px; }
.news-write-container h2 { color:#007acc; margin-bottom:15px; }
.news-write-container label { display:block; font-weight:bold; margin-top:15px; margin-bottom:5px; }
.news-write-container .title-option { font-weight:normal; margin-top:6px; margin-bottom:15px; }
.news-write-container input[type=text], .news-write-container select, .news-write-container textarea, .news-write-container input[type=date] {
    width:100%; padding:8px 10px; font-size:1em; border:1px solid #ccc; border-radius:5px; box-sizing:border-box; transition:border-color 0.3s ease;
}
.news-write-container input[type=text]:focus, .news-write-container select:focus, .news-write-container textarea:focus, .news-write-container input[type=date]:focus { border-color:#007acc; outline:none; }
.news-write-container textarea { resize:vertical; min-height:300px; }
.news-write-container .checkbox-group { margin-top:15px; display:flex; gap:20px; flex-wrap:wrap; }
.news-write-container .checkbox-group label { font-weight:normal; }
.news-write-container .action-buttons { margin-top:20px; display:flex; gap:10px; flex-wrap:wrap; }
.news-write-container .action-buttons button { background-color:#007acc; color:white; border:none; padding:12px 18px; font-size:1em; border-radius:5px; cursor:pointer; transition:background-color 0.3s ease; }
.news-write-container .action-buttons button:hover { background-color:#005f99; }
/*Info über  ersteller des Trumbowyg Editors */
.wysiwyg-info_wrappper {width: 100%; text-align: right;}
.news-write-container .wysiwyg-info { font-size: 8px; bottom: 5px; right: 5px; color:#555; }
/*Ab hier ist für den Trumbowyg Editor die Gestalltunng der Tabellen*/
/* Tabellen im Trumbowyg-Editor sichtbar und ansprechend gestalten */
.trumbowyg-editor table {
    border-collapse: collapse;
    width: 100%; /* Tabellen füllen den Editorbereich */
    border: 1px solid #007acc; /* sichtbare Rahmenfarbe */
    margin: 10px 0;
}

.trumbowyg-editor table th,
.trumbowyg-editor table td {
    border: 1px solid #007acc;
    padding: 8px;
    text-align: left;
}

.trumbowyg-editor table th {
    background-color: #e6f2fa;
}

.trumbowyg-editor table tr:hover {
    background-color: #f0f8ff;
}


/* ============================================================
   Übernommenes Inline-CSS aus PHP-Datei
   Quelle: news_function.php
   ============================================================ */

.news-image-library { padding: 10px 15px 15px; }
.news-image-library-path { margin-bottom:8px; font-weight:bold; color:#333; }
.news-image-library-roots,
.news-image-library-folders { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:10px; }
.news-image-library-toolbar { display:flex; gap:10px; margin-bottom:10px; }
.news-image-library-search { flex:1; min-width:0; padding:9px 10px; border:1px solid #bbb; border-radius:4px; }
.news-image-library-close { padding:9px 14px; border:0; border-radius:4px; background:#666; color:#fff; cursor:pointer; }
.news-image-library-root-button,
.news-image-library-folder-button { padding:7px 11px; border:1px solid #bbb; border-radius:4px; background:#f8f8f8; color:#222; cursor:pointer; }
.news-image-library-root-button:hover,
.news-image-library-root-button:focus,
.news-image-library-folder-button:hover,
.news-image-library-folder-button:focus,
.news-image-library-root-button.is-active { border-color:#007acc; box-shadow:0 0 0 2px rgba(0,122,204,.12); outline:none; }
.news-image-library-status { margin-bottom:10px; color:#555; }
.news-image-library-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:12px; max-height:55vh; overflow:auto; padding:2px; }
.news-image-library-item { display:flex; flex-direction:column; min-width:0; padding:7px; border:1px solid #ccc; border-radius:5px; background:#fff; color:#222; text-align:left; cursor:pointer; }
.news-image-library-item:hover, .news-image-library-item:focus { border-color:#007acc; box-shadow:0 0 0 2px rgba(0,122,204,.15); outline:none; }
.news-image-library-item img { width:100%; height:105px; object-fit:contain; background:#f3f3f3; border-radius:3px; }
.news-image-library-name, .news-image-library-folder { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.news-image-library-name { margin-top:6px; font-weight:bold; }
.news-image-library-folder { margin-top:2px; color:#666; font-size:11px; }
.news-image-resize-selected { outline:2px solid #007acc; outline-offset:2px; }
.news-image-resize-handle { position:absolute; width:16px; height:16px; z-index:20; border:2px solid #fff; border-radius:2px; background:#007acc; box-shadow:0 0 0 1px #005f99; cursor:nwse-resize; touch-action:none; }


/* ============================================================
   Übernommenes Inline-CSS aus PHP-Datei
   Quelle: news_list.php
   ============================================================ */

.news-list-container {
    max-width: 950px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    color: #222;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.news-list-container h2 {
    color: #007ACB;
    margin-bottom: 20px;
    font-size: 1.6em;
    border-bottom: 2px solid #007ACB;
    padding-bottom: 5px;
}
.news-list-container input[type=text],
.news-list-container select {
    width: 100%;
    padding: 8px 12px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.news-list-container input[type=text]:focus,
.news-list-container select:focus {
    border-color: #007ACB;
    outline: none;
    box-shadow: 0 0 5px rgba(0,122,203,0.3);
}
.news-list-container button,
.news-list-container a.button-link {
    margin-top: 8px;
    background-color: #007ACB;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.1s ease;
}
.news-list-container button:hover,
.news-list-container a.button-link:hover {
    background-color: #005f99;
    transform: translateY(-1px);
}
.news-list-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.news-list-container th,
.news-list-container td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}
.news-list-container th {
    background-color: #007ACB;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.95em;
    cursor: pointer;
}
.news-list-container tr:nth-of-type(odd) td {
    background-color: #f9f9f9;
}
.news-list-container a.icon-link {
    font-size: 20px;
    margin: 0 5px;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.news-list-container a.icon-link:hover {
    transform: scale(1.2);
}
.news-list-container a.icon-link.delete {
    color: red;
}
.news-body-wrapper {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.6s ease;
}
.news-body-wrapper.open {
    max-height: 1000px;
}
.news-body-wrapper div {
    padding: 10px 12px;
    font-size: 0.95em;
    color: #333;
}
.news-list-container select {
    max-width: 180px;
}


/* ============================================================
   Übernommenes Inline-CSS aus PHP-Datei
   Quelle: news_write.php
   ============================================================ */

.news-write-container { max-width: 900px; margin:0 auto; font-family:Arial,sans-serif; color:#222; background:#fff; padding:20px; border-radius:8px; position:relative; }
.news-write-container h2 { color:#007acc; margin-bottom:15px; }
.news-write-container label { display:block; font-weight:bold; margin-top:15px; margin-bottom:5px; }
.news-write-container .title-option { font-weight:normal; margin-top:6px; margin-bottom:15px; }
.news-write-container input[type=text], .news-write-container select, .news-write-container textarea { width:100%; padding:8px 10px; font-size:1em; border:1px solid #ccc; border-radius:5px; box-sizing:border-box; }
.news-write-container .checkbox-group { margin-top:15px; display:flex; gap:20px; flex-wrap:wrap; }
.news-write-container .checkbox-group label { font-weight:normal; }
.news-write-container .action-buttons { margin-top:20px; display:flex; gap:10px; }
.news-write-container .action-buttons button { background-color:#007acc; color:white; border:none; padding:12px 18px; border-radius:5px; cursor:pointer; }
.news-write-container .action-buttons button:hover { background-color:#005f99; }
.news-write-container .wysiwyg-info { font-size: 8px; position: absolute; bottom: 5px; right: 5px; color:#555; }
.trumbowyg-editor table { border-collapse: collapse; width: 100%; border: 1px solid #007acc; margin: 10px 0; }
.trumbowyg-editor table th, .trumbowyg-editor table td { border: 1px solid #007acc; padding: 8px; text-align: left; }
.trumbowyg-editor table th { background-color: #e6f2fa; }
.trumbowyg-editor table tr:hover { background-color: #f0f8ff; }
