body {
    margin: 16px;
    font-family: sans-serif;
    font-size: 18px;
    background: #f4f4f4;
    color: #202020;
}

.info-card {
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid #c7c7c7;
    border-radius: 6px;
    background: white;
}

#feedback-form {
    display: grid;
    gap: 0.6rem;
    max-width: none;
}

#feedback-form input,
#feedback-form textarea,
#feedback-form select,
#feedback-form button {
    box-sizing: border-box;
    font: inherit;
    padding: 0.55rem;
    width: 100%;
}

#feedback-form input:not([type="checkbox"]),
#feedback-form textarea { width: 100%; }

.feedback-kopie { display: flex; gap: 0.5rem; align-items: center; }
#feedback-form .feedback-kopie input { width: auto; margin: 0; }

#feedback-nachricht {
    min-height: 9rem;
    resize: vertical;
}

#feedback-smtp-jit {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0.9rem;
    border: 1px solid #b8b8b8;
}

#feedback-smtp-jit[hidden] {
    display: none;
}

.feedback-smtp-grid {
    display: grid;
    grid-template-columns: minmax(8rem, auto) minmax(12rem, 1fr);
    gap: 0.55rem 0.8rem;
    align-items: center;
}

.feedback-smtp-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

#feedback-form .feedback-smtp-actions button {
    width: auto;
}

.info-card h2 {
    margin-top: 0;
}

.config-list {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 2fr);
    gap: 8px 20px;
    margin: 0;
}

.config-list dt,
table th {
    font-weight: bold;
    text-align: left;
}

.config-list dd {
    margin: 0;
}

.table-scroll {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 8px;
    border: 1px solid #b8b8b8;
    white-space: nowrap;
}

thead {
    background: #e9e9e9;
}

tbody tr:nth-child(even) {
    background: #f7f7f7;
}

.config-file-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    white-space: normal;
}

.config-file-actions button,
.config-file-actions a {
    font: inherit;
}

.config-file-status {
    flex-basis: 100%;
    min-height: 1.2em;
    white-space: normal;
}

@media (max-width: 600px) {
    body {
        margin: 8px;
    }

    .config-list {
        grid-template-columns: 1fr;
    }

    .feedback-smtp-grid {
        grid-template-columns: 1fr;
    }

    .config-list dd {
        margin-bottom: 8px;
    }
}
