.kf-acker-wrapper {
    color: #eee;
}

.kf-acker-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
}

.kf-acker-table-wrap table {
    min-width: 900px;
    width: 100%;
    border-collapse: collapse;
    background: #1a1a1a;
    color: #ccc;
}

.kf-acker-table-wrap th,
.kf-acker-table-wrap td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #333;
    white-space: nowrap;
}

.kf-acker-table-wrap th {
    background: #2a2a2a;
    color: #eee;
    font-weight: 600;
}

/* Beschreibung (3. Spalte) darf umbrechen */
.kf-acker-table-wrap td:nth-child(3) {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Formular-Styles */
.kf-acker-form-container {
    background: #222;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #444;
    margin-top: 20px;
    color: #eee;
}

.kf-acker-form-container h3 {
    margin-top: 0;
    color: #fff;
}

.kf-acker-form-container select,
.kf-acker-form-container input[type="datetime-local"],
.kf-acker-form-container textarea {
    background: #333;
    border: 1px solid #555;
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    width: 100%;
    max-width: 400px;
}

.kf-acker-form-container select {
    height: auto;
}

.kf-acker-form-container textarea {
    max-width: 100%;
}

.kf-acker-form-container .button {
    margin-right: 10px;
}

/* WordPress-ähnliche Klassen für Dark Mode anpassen, falls sie im Frontend genutzt werden */
.kf-acker-table-wrap table.striped tbody tr:nth-child(odd) {
    background-color: #222;
}

/* Notices */
.kf-acker-wrapper .updated,
.kf-acker-wrapper .notice {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.kf-acker-wrapper .updated {
    background: #1b4d2e;
    border-left: 4px solid #2ecc71;
    color: #eee;
}

.kf-acker-wrapper .notice-info {
    background: #2a2a2a;
    border-left: 4px solid #3498db;
    color: #eee;
}

.kf-acker-wrapper .error {
    background: #5d1a1a;
    border-left: 4px solid #e74c3c;
    color: #eee;
}
