body {
    font-family: sans-serif;
    margin: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    white-space: normal;
    word-wrap: break-word;
}
th {
    background-color: #f2f2f2;
}
th.sortable {
    cursor: pointer;
    position: relative;
}
.sort-indicator {
    font-size: 0.6em;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
}
.sort-indicator .asc, .sort-indicator .desc {
    display: block;
    line-height: 0.8em;
    color: #ccc;
}
th.sortable.sorted-asc .sort-indicator .asc {
    color: #000;
}
th.sortable.sorted-desc .sort-indicator .desc {
    color: #000;
}
tr:hover {
    background-color: #f5f5f5;
    cursor: pointer;
}
.controls {
    width: 100%;
    margin-bottom: 10px;
}
.controls label, .controls input, .controls select {
    margin-right: 10px;
}
.pagination {
    margin-top: 10px;
}
button:disabled {
    opacity: 0.5; cursor: not-allowed;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
}
.modal-close {
    float: right;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
}
.edition-group {
    display: inline-block;
    margin-right: 1rem;
    border: 1px solid black;
    border-radius: 4px;
    padding: 8px;
}

blockquote {
    padding: 0.5em 1em;
    margin: 1em 0;
    color: #6a737d;
    background-color: #f6f8fa;
}
#report-modal textarea {
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    resize: vertical;
}

.report-error-button {
  margin-top: 10px;
  background-color: khaki;
  border-radius: 4px;
  cursor: pointer;
}

.report-error-button:hover {
  background-color: #e6db8b; /* slightly darker khaki */
}
