html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f7f9fc;
}

main {
    flex: 1 0 auto;
}

.navbar .nav-link.active {
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.16);
    border-radius: .375rem;
}

.navbar-company-logo {
    max-width: 120px;
    max-height: 40px;
    width: auto;
    height: auto;
}

.nav-menu {
    position: relative;
}

.nav-menu > summary {
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.nav-menu > summary::-webkit-details-marker {
    display: none;
}

.nav-menu > summary::after {
    content: "▾";
    display: inline-block;
    margin-left: .4rem;
    font-size: .75em;
}

.nav-menu[open] > summary::after {
    transform: rotate(180deg);
}

.nav-menu > summary:focus-visible,
.nav-submenu-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

.nav-submenu {
    margin: 0;
    padding: .35rem 0;
    list-style: none;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: .375rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.nav-submenu-link {
    display: block;
    width: 100%;
    padding: .55rem 1rem;
    color: #1f2937;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
}

.nav-submenu-link:hover,
.nav-submenu-link:focus-visible,
.nav-submenu-link.active {
    color: #0a58ca;
    background: #eef5ff;
}

.nav-submenu-button {
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.nav-menu-account > summary {
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .nav-submenu {
        position: absolute;
        z-index: 1030;
        top: 100%;
        left: 0;
        min-width: 12rem;
    }

    .nav-menu-account .nav-submenu {
        right: 0;
        left: auto;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-company-logo {
        max-width: 60px;
    }

    .navbar-brand {
        margin-right: .35rem;
    }

    .navbar .nav-link {
        padding-right: .35rem;
        padding-left: .35rem;
    }

    .nav-menu-account > summary {
        max-width: 9rem;
    }
}

@media (max-width: 991.98px) {
    .nav-menu-account > summary {
        max-width: none;
    }

    .nav-submenu {
        margin: 0 0 .5rem .5rem;
        box-shadow: none;
    }
}

@media (max-width: 375px) {
    .navbar-brand {
        font-size: 1rem;
        margin-right: .25rem;
    }

    .navbar-company-logo {
        max-width: 80px;
        max-height: 32px;
        margin-right: .25rem !important;
    }
}

.app-breadcrumb .breadcrumb {
    --bs-breadcrumb-divider-color: #98a2b3;
    font-size: .875rem;
}

.app-breadcrumb a {
    color: #475467;
    text-decoration: none;
}

.app-breadcrumb a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.card,
.border.rounded-2 {
    border-color: #d9e2ec !important;
}

.card-header {
    border-bottom-color: #e7edf4;
}

.table {
    --bs-table-striped-bg: #f8fafc;
    --bs-table-hover-bg: #eef5ff;
}

.table th {
    color: #475467;
    font-size: .8125rem;
    font-weight: 700;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
}

.btn-group-sm > .btn,
.btn-sm {
    line-height: 1.35;
}

.badge {
    font-weight: 600;
}

.form-label {
    color: #344054;
    font-weight: 600;
}

.form-section-title {
    margin: .5rem 0 0;
    padding-bottom: .35rem;
    border-bottom: 1px solid #e7edf4;
    color: #1f2937;
    font-size: .95rem;
    font-weight: 700;
}

.field-validation-error,
.validation-summary-errors {
    font-size: .875rem;
}

.validation-summary-errors {
    margin-bottom: 1rem;
    padding: .75rem 1rem;
    border: 1px solid #f1aeb5;
    border-radius: .375rem;
    background-color: #f8d7da;
    color: #842029;
}

.footer {
    flex-shrink: 0;
    background-color: #fff;
}

.white-space-pre-line {
    white-space: pre-line;
}
