html, body {
    padding: 0;
    margin: 0;
    /* --brand-color: rgb(32, 49, 57); */
    --brand-color: rgb(19 63 118);
    --gray-color: #f1f1f1;
}
body {
    margin: 0px auto;
    flex-direction: column;
}
a {
    text-decoration: none;
}
header {
    background-color: var(--brand-color);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 22px;
}
header nav {
    display: flex;
    flex-direction: row;
    color: white;
}
header nav ul {
    color: white;
    display: flex;
    flex-direction: row;
    list-style-type: none;
}
header nav ul li {
    color: white;
    margin: 0 20px;
}
header nav ul li a {
    color: white;
    text-decoration: none;
}
header .profile-block {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    font-size: 18px;
    width: 100%;
}
header .profile-block > button {
    margin-left: 30px;
    font-size: 14px;
}
#main-section {
    display: flex;
    flex-direction: row;
}
.main-bg {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.main-bg img {
    width: 100%;
}
main {
    display: flex;
    flex-direction: column;
    padding: 80px;
    width: 85%;
}
main > main {
    display: flex;
    flex-direction: column;
    padding: 0;
    padding-top: 50px;
    width: 100%;
}
aside {
    width: 15%;
    background-color: #f1f1f1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 1500px;
}
aside nav {
    padding: 40px;
    display: flex;
    flex-direction: column;
    font-size: 20px;
}
aside nav ul {
    color: var(--brand-color);
    display: flex;
    flex-direction: column;
    list-style-type: none;
    padding: 0;
}
aside nav ul li {
    color: var(--brand-color);
    margin: 20px 0;
}
aside nav a {
    text-decoration: none;
}

.table {
    font-size: 18px;
    text-align: center;
}

.table th {
    padding: 4px;
    background-color: #f1f1f1;
}

.table th, .table td {
    border-bottom: 1px solid lightgray;
    padding: 10px 0;
    width: 16%;
}

.table .actions {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.table .actions > a {
    min-width: 50px;
}

.table .actions > * {
    margin-right: 20px;
}

.client-tab {
    background-color: #f1f1f1;
    padding: 20px;
    /* margin-right: 5px; */
    border: 1px solid lightgray;
}

.client-tab-active {
    background-color: #e5e4e4;
}

.main-client-section {
    margin-top: 40px;
}

.section-title {
    font-size: 24px;
    color: var(--brand-color);
    font-weight: bold;
}

.section-delimiter {
    margin: 40px 0;
}

.data-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.data-block {
    width: 33%;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.data-block label {
    margin-bottom: 10px;
}

.input, .select {
    width: 300px;
    padding: 5px;
}

main {
    position: relative;
    overflow: auto;
}

.back-btn {
    width: 100px !important;
    font-size: 14px;
    position: absolute;
    left: 0;
    top: 0;
}

.settlement-btn {
    width: auto;
    margin-right: 40px;
    margin-top: 20px;
    padding: 10px 30px;
    font-size: 16px;
    box-sizing: border-box;
}

@media only screen and (max-width: 600px) {
    main {
        padding: 40px;
    }
    .data-block {
        width: 100%;
    }
}