.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.lists, .result {
    padding: 10px;
    box-sizing: border-box;
}

.result {
    margin-left: 4rem; /* Abstand nach rechts */
}

.lists {
    display: flex;
    flex-direction: column;
}

.table-group {
    margin-bottom: 20px;
}

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

ul.sortable li {
    background: #f0f0f0;
    margin: 5px 0;
    padding: 10px;
    text-align: left; /* Text leicht linksbündig */
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background 0.3s;
    cursor: grab;
}

ul.sortable li:hover {
background: #e8f5e8; /* Leichter, freundlicher Grünton */
}

ul.sortable li:active {
    cursor: grabbing;
}

/* Handle-Styling für die Riffelung */
ul.sortable li::before {
    content: "⋮⋮"; /* Doppelpunkte als Riffelung */
    font-size: 18px;
    color: #999;
    margin-right: 10px;
    cursor: grab;
}

.navigation {
    display: flex;
    justify-content: center;
    margin: 10px 0 20px; /* Abstand nach oben und unten */
    font-size: 16px;
}

.navigation .arrow {
    cursor: pointer;
    font-size: 18px;
    color: #007bff;
    text-decoration: underline;
}

.navigation .arrow:hover {
    color: #0056b3;
    text-decoration: none;
}

.hidden {
    display: none; /* Ausgeblendete Dimensionen */
}

@media screen and (min-width: 768px) {
    .container {
        flex-direction: row;
    }

    .lists {
        flex-basis: 50%;
        margin-right: 20px;
    }

    .result {
        flex-basis: 50%;
    }
}