.main-wrapper {
    display: flex;
    gap: 2rem;
    padding: 1rem;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 0 0 auto;
    max-width: 30vw;
}

.form-section .mb-3 {
    margin-bottom: 0;
}

#public-list-container-wrapper {
    flex: 1;
    min-width: 0;
}

.add-container {
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
    align-items: flex-end;
}

.container {
    display: block;
}

#btn-send {
    padding: 0.125rem 0.5rem !important;
    font-size: 0.75rem !important;
    height: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

#public-list-container {
    margin-top: 0;
    padding: 0;
    /* make the list container take available height and scroll internally */
    height: calc(100vh - 2rem);
    overflow-y: auto;
}

#public-list {
    /* full height within its container; individual items will flow naturally */
    max-height: none;
}

.list-group-item {
    padding: 0.9375rem;
    border-radius: 0.3125rem;
}
