body {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-size: 24;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    flex-grow: 0;
    max-height: 100%;
    user-select: none;
}

label {
    display: inline-block;
    width: 10ch;
    margin: 5px 0 5px 0;
}

input {
    font-family: inherit;
    font-size: 1em;
    max-width: 20ch;
    border-radius: 5px;
}

#head {
    display: flex;
    background-image: linear-gradient(#f9f2f4, #eddde4);
}

#fields {
    display: flex;
    flex: auto;
    flex-direction: column;
    padding: 1em;
}

#buttons {
    display: flex;
    padding: 1em;
}

#buttons input {
    margin: 0.5em;
    width: 10ch;
}

#main {
    flex: auto;
    flex-grow: 1;
    position: relative;
    display: flex;
    justify-content: space-between;
    border-top: 3px solid #f9f2f4;
    height: 100%;
}

#list_container {
    position: relative;
    flex-grow: 1;
}

#list_scrollable {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    word-wrap: break-word;
}

#list {
    display: flex;
    flex-direction: column;
    padding: 0 0 1em;
}

#list > div {
    margin: 0.5em;
    border: 3px solid #f9f2f4;
    border-radius: 10px;
    padding: 1em;
    font-size: 0.7em;
    box-shadow: #e3cad4 3px 3px 5px;
}

#info {
    display: flex;
    flex-direction: column;
    padding: 1em;
    border-left: 3px solid #e3cad4;
    background-image: linear-gradient(to right,#f9f2f4, #eddde4);
}

#info > * {
    margin: 0.5em;
}

.card {
    display: flex;
    justify-content: space-between;
}

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

.client_points {
    display: flex;
    flex-direction: row;
    justify-content: right;
}

#client_card_ref {
    display: none;
}

.card.selected {
    background-color: #f9f2f4;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
  }

/* Track */
::-webkit-scrollbar-track {
background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #e3cad4;
}