body {
    padding: 0;
    margin: 0;
    color: #595959;
    background-color: #fff;
}

form[name="reporting"] :is(.form-control, .form-check-input, .form-select):not(:disabled) {
    box-shadow: inset 0 0 0 1px #009bff;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 48px;
    width: 100%;
}

.main-navigation__wrapper {
    background-color: #fff;
    position: relative;
    padding: 24px 16px 64px;
    height: 100%;
    min-height: 100vh;
}

.main-navigation__wrapper * {
    z-index: 5;
    color: #004788;
}

.main-navigation__wrapper:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% + 24px);
    height: 100%;
    background-color: #cce4fc;
    opacity: 0.5;
    pointer-events: none;
}

.main-navigation {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nav-item {
    width: 100%;
}

.nav-link {
    color: #004788;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
    text-decoration-color: #004788;
    color: #004788;
}

.nav-link.--highlighted {
    text-decoration: none;
    padding: 8px 12px;
    background-image: linear-gradient(to bottom,#f2664f 0,#ff1b46 50%,#df4ea1 100%);
    border-radius: 48px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.2s ease;
    max-width: 256px;
    justify-content: center;
}

.nav-link.--highlighted * {
    color: #fff;
}

.nav-link.--highlighted:hover {
    text-decoration: none;
    box-shadow: 0 0 5px rgba(0,0,0,.5);
    background-image: linear-gradient(to bottom,#f05137 0,#ff0131 50%,#db3896 100%);
}

.main-navigation__menu {
    flex-grow: 2;
}

.dropdown-toggle::after {
    border-color: #004788 transparent #004788 transparent;
}

.content-block {
    padding-top: 24px;
    padding-bottom: 64px;
    display: flex;
    justify-content: flex-start;
    max-width: calc(100vw - 426px);
    width: auto;
    flex-direction: column;
}

.table-responsive {
    overflow: auto;
    max-width: 100%;
    width: auto;
}

.table {
    margin-bottom: 0;
    max-width: 100%;
}

.content-block__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    width: auto;
    max-width: 100%;
}

.content-block__content > form {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}

.navigation .pagination {
    margin-bottom: 0;
}

.btn {
    border: none;
}

.btn:first-letter {
    text-transform: uppercase;
}

.btn-primary {
    background-image: linear-gradient(to bottom, #f2664f 0, #ff1b46 50%, #df4ea1 100%);
    background-color: #f2664f;
    transition: background-color 0.3s ease, background-image 0.3s ease;
}

.btn-primary:hover {
    background-color: #f05137;
    background-image: linear-gradient(to bottom, #f05137 0, #ff0131 50%, #db3896 100%)
}

.btn.btn-primary:focus {
    box-shadow: none;
}

.btn-secondary {
    background-color: #da421b;
    transition: background-color 0.3s ease;
}

.btn.btn-secondary:focus {
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: #f60;
}

.btn-edit {
    background-color: #70C1FF;
    color: #000000;
}

.btn.btn-edit:focus {
    box-shadow: none;
    background-color: #70C1FF;
}

.btn-edit:hover {
    background-color: #33A7FF;
}

.btn-edit svg path {
    color: #000000;
}

.btn-warning {
    background-color: #FFDB70;
    color: #000000;
}

.btn.btn-warning:focus {
    box-shadow: none;
}

.btn-warning:hover {
    background-color: #FFCC33;
}

.btn-warning svg path {
    color: #000000;
}

.btn-success {
    background-color: #86E9BB;
    color: #000000;
}

.btn.btn-success:focus {
    box-shadow: none;
}

.btn-success:hover {
    background-color: #53DF9E;
}

.btn-success svg path {
    color: #000000;
}

.btn-danger {
    background-color: #EA858F;
    color: #000000D9;
}

.btn.btn-danger:focus {
    box-shadow: none;
}

.btn-danger:hover {
    background-color: #E1515F;
    color: #000000;
}

.change-password-form form > div {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 500px;
    max-width: 100%;
}

.change-password-form form .btn.btn-primary {
    margin-left: auto;
    display: inline-block;
}

.change-password-form form .mb-3 {
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
}

.create-user-form form > div {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 500px;
    max-width: 100%;
}

.create-user-form form .btn.btn-primary {
    margin-left: auto;
    display: inline-block;
}

.create-user-form form .mb-3 {
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    width: calc((100% / 2) - 8px);
    flex-grow: 2;
}

.form-box__wrapper > legend.col-form-label {
    padding: 0;
}

.cards-list {
    row-gap: 16px;
}

.card-text > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card {
    border: none;
    box-shadow: 0 0 0 1px #e2f3fe;
}

.card-header {
    padding: 8px 8px 7px;
    line-height: 16px;
    background-color: #F1FAFF;
    border-color: #e2f3fe;
    color: #004788;
}

.page-item .page-link {
    color: #da421b;
    height: 100%;
    border: none;
    padding: 8px;
    box-shadow: inset 0 0 0 1px #e2f3fe;
    min-width: 40px;
    text-align: center;
}

.page-item .page-link:hover {
    color: #004788;
    background-color: transparent;
}

.page-item.active {
    border: none;
}

.page-item.active .page-link {
    background-color: #da421b;
    color: #fff;
    border: none;
    box-shadow: none;
}

.bottom-navigation {
    display: flex;
    width: 100%;
}

.select-wrapper {
    margin-right: auto;
}

.select-wrapper .form-select {
    padding: 8px 30px 8px 8px !important;
    border: none !important;
    box-shadow: inset 0 0 0 1px #e2f3fe;
    width: auto;
}

thead th {
    white-space: nowrap;
    color: #004788;
    padding-top: 8px !important;
}

.form-buttons__wrapper {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    gap: 16px;
}

.form-buttons__wrapper.--column {
    flex-direction: column;
    align-items: flex-end;
}

.btn-back {
    margin-right: auto;
}

.form-label {
    color: #000;
}

.form-check-label.red {
    color: red;
}

label.strong {
    font-weight: bold;
}

thead .table-search th {
    padding-top: 0 !important;
    padding-bottom: 12px !important;

}

.form-box__wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 500px;
    max-width: 100%;
}

.form-box__wrapper .mb-3 {
    margin-bottom: 0 !important;
}

.form-box__items {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.form-box__items .mb-3 {
    width: calc((100% / 2) - 8px);
    flex-grow: 2;
}

thead .table-search input,
thead .table-search select {
    border: none;
    box-shadow: inset 0 0 0 1px #e2f3fe;
    line-height: 24px;
    padding: 8px;
    transition: box-shadow 0.3s ease;
    min-width: 100px;
    width: 100%;
    color: #000;
    text-align: right;
}

select {
    padding-right: 30px !important;
}

select.form-select,
input.form-control {
    border: none;
    box-shadow: inset 0 0 0 1px #e2f3fe;
    line-height: 24px;
    padding: 8px;
    transition: box-shadow 0.3s ease;
    outline: none;
}

.form-check {
    margin-bottom: 0;
}

input.form-control:hover,
select.form-select:hover {
    box-shadow: inset 0 0 0 1px #004788;
    cursor: pointer;
    outline: none;
}

select.form-select:disabled,
input.form-control:disabled {
    background-color: #F1FAFF;
    background-image: none;
}

select.form-select:disabled:focus,
select.form-select:disabled:active,
input.form-control:disabled:focus,
input.form-control:disabled:active,
select.form-select:disabled:hover,
input.form-control:disabled:hover {
    box-shadow: inset 0 0 0 1px #e2f3fe;
    cursor: default;
}

input.form-control:focus,
input.form-control:active,
select.form-select:focus,
select.form-select:active {
    box-shadow: inset 0 0 0 1px #004788;
    outline: none;
}

input.form-control.is-danger
{
    box-shadow: inset 0 0 0 1px #E1515F;
    background-color: #EA858F;
}

input.form-control.is-success
{
    box-shadow: inset 0 0 0 1px #53DF9E;
    background-color: #86E9BB;
}

thead .table-search input::placeholder,
thead .table-search select::placeholder {
    color: #A3A3A3;
    font-weight: 400;
    font-size: 16px;
}

thead .table-search select {
    padding-right: 30px !important;
    white-space: nowrap;
    width: auto;
}

thead th input.form-control:hover,
thead th select:hover {
    box-shadow: inset 0 0 0 1px #004788 !important;
    cursor: pointer;
}

thead th input.form-control:focus,
thead th input.form-control:active,
thead th select:focus,
thead th select:active {
    box-shadow: inset 0 0 0 1px #004788 !important;
}

td,
th {
    padding: 16px 8px 7px !important;
    border-bottom: 0;
    height: 100%;
    min-height: 0;
    line-height: 24px !important;
    align-self: center;
    position: relative;
    color: #595959;
    white-space: nowrap;
}

td::before,
th::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e2f3fe;
}

tr {
    min-height: 56px;
}

.user-dropdown {
    display: flex;
    align-items: center;
    text-decoration-color: transparent;
    gap: 8px;
    transition: text-decoration-color 0.3s ease;
}

.user-dropdown:hover {
    text-decoration-color: #004788;
}

.user-dropdown__circle {
    border-radius: 3px;
}

.user-dropdown__name {
    text-decoration-color: transparent;
}

.dropdown-menu {
    background-color: #fff;
    border: none;
    box-shadow: 0 0 0 1px #e2f3fe;
    color: #004788;
    padding: 0;
}

.dropdown-menu .dropdown-item {
    color: #004788;
    text-decoration: underline;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
    text-decoration-color: transparent;
    padding: 8px;
    position: relative;
}

.dropdown-menu .dropdown-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e2f3fe;
}

.dropdown-menu li:last-child .dropdown-item::before {
    display: none;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active {
    color: #004788;
    background-color: transparent;
    text-decoration-color: #004788;
}

.form-settings {
    display: inline-flex;
    height: 100%;
    gap: 8px;
    flex-grow: 3;
}

td.form-settings__wrapper {
    padding-top: 8px !important;
}

.form-settings .btn {
    align-self: center;
    width: 40px;
    height: 40px
}

.btn.disabled {
    opacity: 0.2;
    pointer-events: none;
}

td.table-person-cell {
    white-space: nowrap;
}

.table-person-cell__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.table-person-cell__item {
    align-content: center;
    display: flex;
    gap: 4px;
}

.form-check-input {
    border-color: #e2f3fe;
}

.form-check-input:hover {
    border-color: #004788;
    cursor: pointer;
}

.form-check-input:focus,
.form-check-input:active {
    box-shadow: none;
    background-color: #004788;
}

input.form-check-input:checked {
    border-color: #004788;
    background-color: #004788;
    box-shadow: none;
}

.ot {
    height: 38px;
}

.ot-input {
    padding: 0 4px !important;
    width: 28px;
    margin: 0 1px;
}

.form-label.disabled-label,
.form-control.disabled-input {
    opacity: 0.5;
    color: inherit;
}

.custom-alert-box {
    align-self: flex-start;
    width: 100%;
}

.hide {
    display: none;
}