/* AS Papierkorb */
.trash-plugin {
    font-family: Arial, sans-serif;
    color: #222;
    background: #fff;
    padding: 15px;
}

.trash-header {
    margin-bottom: 1em;
    border-bottom: 2px solid #007acc;
}

.trash-header h3 {
    margin: 0 0 8px 0;
    color: #007acc;
}

.container-flex {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.sidebar {
    width: 220px;
    background: #f5f5f5;
    padding: 15px;
    border-radius: 6px;
    box-sizing: border-box;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a.button-link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar ul li a.button-link.btn-secondary {
    background-color: #555;
    color: #fff;
}

.sidebar ul li a.button-link.btn-secondary:hover,
.sidebar ul li a.button-link.btn-secondary.active {
    background-color: #007acc;
}

.content-area {
    flex: 1 1 auto;
    min-width: 0;
}

.trash-hint,
.trash-info-box {
    background: #f7fbff;
    border: 1px solid #cfe5f7;
    border-radius: 6px;
    padding: 10px;
}

.trash-message {
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-weight: bold;
}

.trash-message-success {
    background: #e7f5e7;
    border: 1px solid #8bc28b;
}

.trash-message-error {
    background: #ffe6e6;
    border: 1px solid #d88;
}

.trash-message-info {
    background: #f0f0f0;
    border: 1px solid #ccc;
}

.trash-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.trash-table th,
.trash-table td {
    border: 1px solid #ddd;
    padding: 8px;
    vertical-align: top;
    text-align: left;
}

.trash-table th {
    background: #3399ff;
    color: #fff;
}

.trash-small {
    color: #666;
    font-size: 12px;
}

.trash-toolbar {
    display: flex;
    justify-content: flex-end;
    margin: 12px 0;
}

.trash-actions form {
    display: inline-block;
    margin: 0 5px 5px 0;
}

.trash-btn {
    border: none;
    border-radius: 4px;
    padding: 7px 10px;
    cursor: pointer;
    font-weight: bold;
}

.trash-btn-restore {
    background: #dff0d8;
    color: #245724;
}

.trash-btn-delete {
    background: #f2dede;
    color: #7a1f1f;
}

.trash-btn-empty {
    background: #8a1f1f;
    color: #fff;
}

.trash-btn-empty:hover {
    background: #6f1515;
}

.trash-empty {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px;
    margin-top: 12px;
}

.trash-settings-form {
    margin-top: 12px;
}

.trash-settings-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 12px 0;
}

.trash-settings-summary div {
    min-width: 110px;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f8f8f8;
}

.trash-settings-summary strong {
    display: block;
    color: #222;
    font-size: 22px;
    line-height: 1.1;
}

.trash-settings-summary span {
    color: #555;
    font-size: 13px;
}

.trash-settings-group {
    margin: 12px 0;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    background: #fff;
}

.trash-settings-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 13px;
    cursor: pointer;
    background: #f2f6f9;
    color: #222;
    font-weight: bold;
    border-radius: 6px;
}

.trash-settings-group[open] summary {
    border-bottom: 1px solid #d7d7d7;
    border-radius: 6px 6px 0 0;
}

.trash-settings-group summary span {
    font-size: 15px;
}

.trash-settings-group summary small {
    color: #555;
    font-size: 12px;
    font-weight: normal;
    white-space: nowrap;
}

.trash-settings-section-title {
    margin: 0;
    padding: 10px 12px 6px 12px;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    background: #fff;
}

.trash-settings-section-title + .trash-settings-table {
    border-top: 1px solid #ddd;
}

.trash-settings-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    table-layout: auto;
}

.trash-settings-table th,
.trash-settings-table td {
    border: 1px solid #ddd;
    padding: 9px 10px;
    text-align: left;
    vertical-align: middle;
    line-height: 1.35;
    background: #fff;
}

.trash-settings-table th {
    background: #e9f3fb;
    color: #222;
    font-weight: bold;
}

.trash-settings-table tbody tr:nth-child(even) td {
    background: #fafafa;
}

.trash-settings-table tbody tr:hover td {
    background: #f3f9ff;
}

.trash-settings-check {
    width: 115px;
    text-align: center !important;
}

.trash-settings-check input {
    width: 18px;
    height: 18px;
}

.trash-settings-state {
    width: 90px;
    text-align: center !important;
}

.trash-setting-table {
    display: inline-block;
    color: #111;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    white-space: normal;
    word-break: break-word;
    background: #f2f2f2;
    border-radius: 4px;
    padding: 2px 5px;
}

.trash-setting-plugin {
    color: #666;
    font-size: 13px;
    word-break: break-word;
}

.trash-setting-status {
    display: inline-block;
    min-width: 54px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 7px;
    text-transform: uppercase;
}

.trash-status-active {
    background: #dff0d8;
    color: #245724;
}

.trash-status-inactive {
    background: #eee;
    color: #666;
}

.trash-settings-actions {
    margin-top: 14px;
    text-align: right;
}

.trash-btn-save {
    background: #007acc;
    color: #fff;
}

.trash-btn-save:hover {
    background: #0065a8;
}

.trash-footer {
    text-align: center;
    background-color: #f4f4f4;
    padding: 5px 0;
    margin-top: 15px;
}

@media (max-width: 720px) {
    .container-flex {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
}
