﻿body {
    font-family: "League Spartan", sans-serif;
    font-size: 16px;
    margin: 0px;
    padding: 0px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: url("https://imgur.com/hc97qlC.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.logo {
    width: 80px;
    height: 80px;
}

.background {
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

h1 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 20px;
}

h2 {
    text-align: center;
    font-size: 1.875rem;
    font-weight: 600;
    margin: 0px;
    margin-bottom: 15px;
    color: #333333;
}

h3 {
    text-align: center;
    font-size: 20px;
    margin: 0px;
}

h4 {
    text-align: center;
    font-size: 18px;
    margin: 0px;
}

h5 {
    text-align: center;
    font-size: 16px;
    margin: 0px;
    margin-bottom: 20px;
    font-weight: 600;
}

h6 {
    text-align: center;
    font-size: 14px;
    margin: 0px;
    margin-bottom: 15px;
    font-weight: 600;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}


#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

#app {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

.loader {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 6rem;
    margin-top: 0;
    margin-bottom: 0;
}

    .loader:before,
    .loader:after {
        content: "";
        position: absolute;
        border-radius: 50%;
        animation: pulsOut 1.8s ease-in-out infinite;
        filter: drop-shadow(0 0 1rem rgba(59, 163, 72, 0.75));
    }

    .loader:before {
        width: 100%;
        padding-bottom: 100%;
        box-shadow: inset 0 0 0 1rem var(--fund-primary);
        animation-name: pulsIn;
    }

    .loader:after {
        width: calc(100% - 2rem);
        padding-bottom: calc(100% - 2rem);
        box-shadow: 0 0 0 0 var(--fund-primary);
    }

@keyframes pulsIn {
    0% {
        box-shadow: inset 0 0 0 1rem var(--fund-primary);
        opacity: 1;
    }

    50%, 100% {
        box-shadow: inset 0 0 0 0 var(--fund-primary);
        opacity: 0;
    }
}

@keyframes pulsOut {
    0%, 50% {
        box-shadow: 0 0 0 0 var(--fund-primary);
        opacity: 0;
    }

    100% {
        box-shadow: 0 0 0 1rem var(--fund-primary);
        opacity: 1;
    }
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

.headerStylez {
    font-weight: bold;
    font-size: 10pt;
}

.appbar {
    background-color: white;
}

.pdf-scale {
    border-radius: 12px;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

.mepf_bg {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 60px;
    border-radius: 12px;
    position: relative;
    overflow: visible;
}

table {
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    background-color: #ffffff;
    margin: 10px 0;
    border: 1px solid #d0d0d0;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
}

.table-bordered {
    border: none;
    width: 100%;
    max-width: 940px;
    border-radius: 12px;
    overflow: visible;
    background-color: #ffffff;
    box-sizing: border-box;
    margin: 0 auto;
    position: relative;
}

.table-bordered-light {
    border: 1px solid rgba(226, 226, 226, 0.616);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.table-bordered td {
    border: none;
    color: #4a4a4a;
    background-color: #ffffff;
}

.table-bordered th {
    border: none;
    color: #4a4a4a;
    background-color: #ffffff;
}

.inner-borders td,
.inner-borders th {
    border: 1px solid #e0e0e0;
}

.table-borderless {
    border-collapse: collapse;
    border: none;
    box-shadow: none;
    background-color: transparent;
    overflow: visible !important;
}

    .table-borderless td,
    .table-borderless th {
        border: none !important;
    }

.top {
    vertical-align: top;
    position: relative;
    overflow: visible;
}

table td,
table th {
    padding: 10px 15px;
    line-height: 1.6;
    font-size: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    box-sizing: border-box;
}

table td {
    color: #4a4a4a;
    background-color: #ffffff;
}

table th {
    color: #4a4a4a;
    font-weight: 600;
    background-color: #ffffff;
}

.gridded td,
.gridded th {
    border: 1px solid #e0e0e0;
}

/* Clean styling for detail rows */
table tr:not(.header-row):not(.bottom-row):not(.top-row) td,
table tr:not(.header-row):not(.bottom-row):not(.top-row) th {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
    background-color: #ffffff;
    color: #4a4a4a;
}

/* All rows white background - no alternating colors */
table tr {
    background-color: #ffffff;
}

/* Alternating row colors for better readability - skip one row, add gray to next */
/* Include top-row and bottom-row in the alternating pattern */
/* Pattern: header (gray), then white, gray, white, gray... */
/* Row 2 (top-row) = white, Row 3 = gray, Row 4 = white, etc. */
/* Even rows (2nd, 4th, 6th, 8th, 10th...) = white */
table.table-bordered tr:not(.header-row):nth-child(even) {
    background-color: #ffffff;
}

    table.table-bordered tr:not(.header-row):nth-child(even) td {
        background-color: #ffffff;
    }

/* Odd rows after header (3rd, 5th, 7th, 9th...) = gray */
table.table-bordered tr:not(.header-row):nth-child(odd) {
    background-color: #e8e8e8;
}

    table.table-bordered tr:not(.header-row):nth-child(odd) td {
        background-color: #e8e8e8;
    }

/* Zebra striping for tables within tabs only - skip one row, add gray to next */
/* Pattern: header (gray), top-row (white), then gray, white, gray, white... */
/* Since header-row is 1st and top-row is 2nd, odd rows (3rd, 5th, 7th...) get gray */
.tab-pane table.table-bordered tr:not(.header-row):not(.top-row):not(.bottom-row):nth-child(odd) {
    background-color: #e8e8e8 !important;
}

    .tab-pane table.table-bordered tr:not(.header-row):not(.top-row):not(.bottom-row):nth-child(odd) td {
        background-color: #e8e8e8 !important;
    }

/* Even rows (4th, 6th, 8th...) stay white */
.tab-pane table.table-bordered tr:not(.header-row):not(.top-row):not(.bottom-row):nth-child(even) {
    background-color: #ffffff !important;
}

    .tab-pane table.table-bordered tr:not(.header-row):not(.top-row):not(.bottom-row):nth-child(even) td {
        background-color: #ffffff !important;
    }

/* Also apply to nested tables within tab panes */
.tab-pane table.table-bordered table.table-bordered tr:not(.header-row):not(.top-row):not(.bottom-row):nth-child(odd) {
    background-color: #e8e8e8 !important;
}

    .tab-pane table.table-bordered table.table-bordered tr:not(.header-row):not(.top-row):not(.bottom-row):nth-child(odd) td {
        background-color: #e8e8e8 !important;
    }

.tab-pane table.table-bordered table.table-bordered tr:not(.header-row):not(.top-row):not(.bottom-row):nth-child(even) {
    background-color: #ffffff !important;
}

    .tab-pane table.table-bordered table.table-bordered tr:not(.header-row):not(.top-row):not(.bottom-row):nth-child(even) td {
        background-color: #ffffff !important;
    }

.header-row td,
.header-row th {
    border: 1px solid #d0d0d0;
    background-color: #f8f8f8;
    color: #4a4a4a;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 18px;
    border-radius: 12px;
}

.header-row h4 {
    color: #333333;
    margin: 0;
    font-weight: 600;
}

.top-row td,
.top-row th {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 12px;
    padding-bottom: 10px;
    border-top: 1px solid #e0e0e0;
    background-color: #ffffff;
}

/* Simple bottom row styling */
.bottom-row td,
.bottom-row th {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #ffffff;
}

.half-width {
    width: 50%;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.bold {
    font-weight: bold;
}

.page-break {
    page-break-before: always;
}

@@page {
    margin: 3mm;
}

.grey-background {
    background-color: #f8f8f8;
}

    .grey-background td {
        background-color: #f8f8f8;
    }

footer {
    position: static;
    text-align: center;
    font-size: 16px;
    margin-top: 40px;
    margin-bottom: 20px;
    margin-left: 0;
    margin-right: 0;
    padding: 25px 20px;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 12px;
    color: #4a4a4a;
    line-height: 1.8;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

    footer h4 {
        margin: 0 0 15px 0;
        font-size: 16px;
        font-weight: 600;
        color: #4a4a4a;
        line-height: 1.8;
    }

    footer h6 {
        margin: 15px 0 0 0;
        font-size: 14px;
        font-weight: 400;
        color: #6c757d;
    }

ul {
    margin-left: 20px;
    margin-top: 10px;
    font-size: 16px;
}

    ul li {
        margin-bottom: 8px;
        line-height: 1.6;
        font-size: 16px;
    }

.coloured-line {
    width: 80px;
    height: 3px;
    background-color: var(--fund-primary);
    margin: 0 auto 50px;
    border: none;
}

.info-box {
    background-color: var(--fund-primary);
    border-radius: 12px;
    padding: 20px;
    margin: 10px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

    .info-box h3, .info-box h4 {
        color: #ffffff;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        margin: 0;
        padding: 0;
    }

.spacer {
    width: 0px;
}

.info-message {
    padding: 20px;
    background-color: #c8e6c9;
    border: 1px solid #a5d6a7;
    border-radius: 12px;
    color: #2e7d32;
    text-align: center;
}

.content-wrapper {
    padding: 80px 40px 40px 40px;
    text-align: center;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
    padding: 20px;
}

.pagination-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: #f0f0f0;
    color: #333333;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .pagination-button:hover:not(:disabled) {
        background-color: #e0e0e0;
    }

    .pagination-button.active {
        background-color: #333333;
        color: #ffffff;
    }

    .pagination-button.green {
        background-color: var(--fund-primary);
        color: #ffffff;
    }

        .pagination-button.green:hover {
            background-color: var(--fund-primary-contrast);
        }

    .pagination-button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Override MudBlazor dialog button colors */
.mud-dialog-actions .mud-button-filled.mud-primary {
    background-color: var(--fund-primary) !important;
    color: #ffffff !important;
}

    .mud-dialog-actions .mud-button-filled.mud-primary:hover {
        background-color: var(--fund-primary-contrast) !important;
    }

.mud-dialog-actions .mud-button-text.mud-primary {
    color: var(--fund-primary) !important;
}

    .mud-dialog-actions .mud-button-text.mud-primary:hover {
        background-color: rgba(59, 163, 72, 0.1) !important;
    }

.portal-bootstrap-loading {
    text-align: center;
    vertical-align: middle;
}

.portal-bootstrap-loading-text {
    font-size: 14px;
}

.portal-bootstrap-error {
}

.portal-bootstrap-error-card {
}

.portal-bootstrap-retry-button {
}


.btn {
    display: inline-block;
    font-weight: 400;
    color: #8a909d;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.56rem 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
}

.btn:hover {
    color: #8a909d;
    text-decoration: none;
}

.btn:focus, .btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem transparent;
}

.btn.disabled, .btn:disabled {
    opacity: 0.65;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

a.btn.disabled,
fieldset:disabled a.btn {
    pointer-events: none;
}

.btn-primary {
    color: #ffffff;
    background-color: var(--fund-primary);
    border-color: var(--fund-primary);
}

.custom-colour {
    color: #ffffff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-primary:hover {
    color: #ffffff;
    filter: brightness(85%);
}

.btn-primary:focus, .btn-primary.focus {
    color: #ffffff;
    background-color: var(--fund-primary);
    border-color: var(--fund-primary);
    box-shadow: 0 0 0 0.2rem rgba(173, 131, 229, 0.5);
}

.custom-colour.disabled, .btn-primary:disabled {
    color: #ffffff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #ffffff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
    color: #ffffff;
    background-color: #8243d7;
    border-color: #7b38d5;
}

    .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-primary.dropdown-toggle:focus {
        box-shadow: 0 0 0 0.2rem rgba(173, 131, 229, 0.5);
    }

.btn-secondary {
    color: #ffffff;
    background-color: #fd5190;
    border-color: #fd5190;
}

    .btn-secondary:hover {
        color: #ffffff;
        background-color: #fd2b78;
        border-color: #fc1f70;
    }

    .btn-secondary:focus, .btn-secondary.focus {
        color: #ffffff;
        background-color: #fd2b78;
        border-color: #fc1f70;
        box-shadow: 0 0 0 0.2rem rgba(253, 107, 161, 0.5);
    }

    .btn-secondary.disabled, .btn-secondary:disabled {
        color: #ffffff;
        background-color: #fd5190;
        border-color: #fd5190;
    }

    .btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, .show > .btn-secondary.dropdown-toggle {
        color: #ffffff;
        background-color: #fc1f70;
        border-color: #fc1268;
    }

        .btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, .show > .btn-secondary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(253, 107, 161, 0.5);
        }

.btn-success {
    color: #ffffff;
    background-color: var(--fund-primary);
    border-color: var(--fund-primary);
}

    .btn-success:hover {
        color: #ffffff;
        background-color: #08a775;
        border-color: #089a6c;
    }

    .btn-success:focus, .btn-success.focus {
        color: #ffffff;
        background-color: #08a775;
        border-color: #089a6c;
        box-shadow: 0 0 0 0.2rem rgba(47, 211, 159, 0.5);
    }

    .btn-success.disabled, .btn-success:disabled {
        color: #ffffff;
        background-color: #0acb8e;
        border-color: #0acb8e;
    }

    .btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active, .show > .btn-success.dropdown-toggle {
        color: #ffffff;
        background-color: #089a6c;
        border-color: #078e64;
    }

        .btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus, .show > .btn-success.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(47, 211, 159, 0.5);
        }

.btn-info {
    color: #ffffff;
    background-color: var(--fund-primary);
    border-color: var(--fund-primary);
}

    .btn-info:hover {
        color: #ffffff;
        background-color: #03a6ba;
        border-color: #039aae;
    }

    .btn-info:focus, .btn-info.focus {
        color: #ffffff;
        background-color: #03a6ba;
        border-color: #039aae;
        box-shadow: 0 0 0 0.2rem rgba(42, 207, 229, 0.5);
    }

    .btn-info.disabled, .btn-info:disabled {
        color: #ffffff;
        background-color: var(--fund-primary);
        border-color: var(--fund-primary);
    }

    .btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active, .show > .btn-info.dropdown-toggle {
        color: #ffffff;
        background-color: #039aae;
        border-color: #038fa1;
    }

        .btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus, .show > .btn-info.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(42, 207, 229, 0.5);
        }

.btn-warning {
    color: #2f2f2f;
    background-color: #fec400;
    border-color: #fec400;
}

    .btn-warning:hover {
        color: #2f2f2f;
        background-color: #d8a600;
        border-color: #cb9d00;
    }

    .btn-warning:focus, .btn-warning.focus {
        color: #2f2f2f;
        background-color: #d8a600;
        border-color: #cb9d00;
        box-shadow: 0 0 0 0.2rem rgba(223, 174, 7, 0.5);
    }

    .btn-warning.disabled, .btn-warning:disabled {
        color: #2f2f2f;
        background-color: #fec400;
        border-color: #fec400;
    }

    .btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active, .show > .btn-warning.dropdown-toggle {
        color: #2f2f2f;
        background-color: #cb9d00;
        border-color: #be9300;
    }

        .btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus, .show > .btn-warning.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(223, 174, 7, 0.5);
        }

.btn-danger {
    color: #ffffff;
    background-color: #fe5461;
    border-color: #fe5461;
}

    .btn-danger:hover {
        color: #ffffff;
        background-color: #fe2e3e;
        border-color: #fe2132;
    }

    .btn-danger:focus, .btn-danger.focus {
        color: #ffffff;
        background-color: #fe2e3e;
        border-color: #fe2132;
        box-shadow: 0 0 0 0.2rem rgba(254, 110, 121, 0.5);
    }

    .btn-danger.disabled, .btn-danger:disabled {
        color: #ffffff;
        background-color: #fe5461;
        border-color: #fe5461;
    }

    .btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active, .show > .btn-danger.dropdown-toggle {
        color: #ffffff;
        background-color: #fe2132;
        border-color: #fe1526;
    }

        .btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus, .show > .btn-danger.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(254, 110, 121, 0.5);
        }

.btn-light {
    color: #2f2f2f;
    background-color: #f0f1f5;
    border-color: #f0f1f5;
}

    .btn-light:hover {
        color: #2f2f2f;
        background-color: #d9dce6;
        border-color: #d1d4e1;
    }

    .btn-light:focus, .btn-light.focus {
        color: #2f2f2f;
        background-color: #d9dce6;
        border-color: #d1d4e1;
        box-shadow: 0 0 0 0.2rem rgba(211, 212, 215, 0.5);
    }

    .btn-light.disabled, .btn-light:disabled {
        color: #2f2f2f;
        background-color: #f0f1f5;
        border-color: #f0f1f5;
    }

    .btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active, .show > .btn-light.dropdown-toggle {
        color: #2f2f2f;
        background-color: #d1d4e1;
        border-color: #cacddc;
    }

        .btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus, .show > .btn-light.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(211, 212, 215, 0.5);
        }

.btn-dark {
    color: #ffffff;
    background-color: #31343d;
    border-color: #31343d;
}

    .btn-dark:hover {
        color: #ffffff;
        background-color: #202228;
        border-color: #1a1c21;
    }

    .btn-dark:focus, .btn-dark.focus {
        color: #ffffff;
        background-color: #202228;
        border-color: #1a1c21;
        box-shadow: 0 0 0 0.2rem rgba(80, 82, 90, 0.5);
    }

    .btn-dark.disabled, .btn-dark:disabled {
        color: #ffffff;
        background-color: #31343d;
        border-color: #31343d;
    }

    .btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active, .show > .btn-dark.dropdown-toggle {
        color: #ffffff;
        background-color: #1a1c21;
        border-color: #15161a;
    }

        .btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus, .show > .btn-dark.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(80, 82, 90, 0.5);
        }

.btn-info-dark {
    color: #ffffff;
    background-color: var(--fund-primary);
    border-color: var(--fund-primary);
}

    .btn-info-dark:hover {
        color: #ffffff;
        background-color: #3f79f9;
        border-color: #3371f8;
    }

    .btn-info-dark:focus, .btn-info-dark.focus {
        color: #ffffff;
        background-color: #3f79f9;
        border-color: #3371f8;
        box-shadow: 0 0 0 0.2rem rgba(123, 163, 251, 0.5);
    }

    .btn-info-dark.disabled, .btn-info-dark:disabled {
        color: #ffffff;
        background-color: var(--fund-primary);
        border-color: var(--fund-primary);
    }

    .btn-info-dark:not(:disabled):not(.disabled):active, .btn-info-dark:not(:disabled):not(.disabled).active, .show > .btn-info-dark.dropdown-toggle {
        color: #ffffff;
        background-color: #3371f8;
        border-color: #2668f8;
    }

        .btn-info-dark:not(:disabled):not(.disabled):active:focus, .btn-info-dark:not(:disabled):not(.disabled).active:focus, .show > .btn-info-dark.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(123, 163, 251, 0.5);
        }

.btn-smoke {
    color: #ffffff;
    background-color: #8a909d;
    border-color: #8a909d;
}

    .btn-smoke:hover {
        color: #ffffff;
        background-color: #757c8c;
        border-color: #6f7685;
    }

    .btn-smoke:focus, .btn-smoke.focus {
        color: #ffffff;
        background-color: #757c8c;
        border-color: #6f7685;
        box-shadow: 0 0 0 0.2rem rgba(156, 161, 172, 0.5);
    }

    .btn-smoke.disabled, .btn-smoke:disabled {
        color: #ffffff;
        background-color: #8a909d;
        border-color: #8a909d;
    }

    .btn-smoke:not(:disabled):not(.disabled):active, .btn-smoke:not(:disabled):not(.disabled).active, .show > .btn-smoke.dropdown-toggle {
        color: #ffffff;
        background-color: #6f7685;
        border-color: #69707e;
    }

        .btn-smoke:not(:disabled):not(.disabled):active:focus, .btn-smoke:not(:disabled):not(.disabled).active:focus, .show > .btn-smoke.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(156, 161, 172, 0.5);
        }

.btn-outline-primary {
    color: #28a745;
    border-color: #28a745;
}

    .btn-outline-primary:hover {
        color: #ffffff;
        background-color: #28a745;
        border-color: #28a745;
    }

    .btn-outline-primary:focus, .btn-outline-primary.focus {
        box-shadow: 0 0 0 0.2rem rgba(158, 109, 224, 0.5);
    }

    .btn-outline-primary.disabled, .btn-outline-primary:disabled {
        color: #28a745;
        background-color: transparent;
    }

    .btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .show > .btn-outline-primary.dropdown-toggle {
        color: #ffffff;
        background-color: #28a745;
        border-color: #28a745;
    }

        .btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-primary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(158, 109, 224, 0.5);
        }

.btn-outline-secondary {
    color: #fd5190;
    border-color: #fd5190;
}

    .btn-outline-secondary:hover {
        color: #ffffff;
        background-color: #fd5190;
        border-color: #fd5190;
    }

    .btn-outline-secondary:focus, .btn-outline-secondary.focus {
        box-shadow: 0 0 0 0.2rem rgba(253, 81, 144, 0.5);
    }

    .btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
        color: #fd5190;
        background-color: transparent;
    }

    .btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, .show > .btn-outline-secondary.dropdown-toggle {
        color: #ffffff;
        background-color: #fd5190;
        border-color: #fd5190;
    }

        .btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-secondary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(253, 81, 144, 0.5);
        }

.btn-outline-success {
    color: #0acb8e;
    border-color: #0acb8e;
}

    .btn-outline-success:hover {
        color: #ffffff;
        background-color: #0acb8e;
        border-color: #0acb8e;
    }

    .btn-outline-success:focus, .btn-outline-success.focus {
        box-shadow: 0 0 0 0.2rem rgba(10, 203, 142, 0.5);
    }

    .btn-outline-success.disabled, .btn-outline-success:disabled {
        color: #0acb8e;
        background-color: transparent;
    }

    .btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active, .show > .btn-outline-success.dropdown-toggle {
        color: #ffffff;
        background-color: #0acb8e;
        border-color: #0acb8e;
    }

        .btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-success.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(10, 203, 142, 0.5);
        }

.btn-outline-info {
    color: var(--fund-primary);
    border-color: var(--fund-primary);
}

    .btn-outline-info:hover {
        color: #ffffff;
        background-color: var(--fund-primary);
        border-color: var(--fund-primary);
    }

    .btn-outline-info:focus, .btn-outline-info.focus {
        box-shadow: 0 0 0 0.2rem rgba(4, 199, 224, 0.5);
    }

    .btn-outline-info.disabled, .btn-outline-info:disabled {
        color: var(--fund-primary);
        background-color: transparent;
    }

    .btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active, .show > .btn-outline-info.dropdown-toggle {
        color: #ffffff;
        background-color: var(--fund-primary);
        border-color: var(--fund-primary);
    }

        .btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-info.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(4, 199, 224, 0.5);
        }

.btn-outline-warning {
    color: #fec400;
    border-color: #fec400;
}

    .btn-outline-warning:hover {
        color: #2f2f2f;
        background-color: #fec400;
        border-color: #fec400;
    }

    .btn-outline-warning:focus, .btn-outline-warning.focus {
        box-shadow: 0 0 0 0.2rem rgba(254, 196, 0, 0.5);
    }

    .btn-outline-warning.disabled, .btn-outline-warning:disabled {
        color: #fec400;
        background-color: transparent;
    }

    .btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active, .show > .btn-outline-warning.dropdown-toggle {
        color: #2f2f2f;
        background-color: #fec400;
        border-color: #fec400;
    }

        .btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-warning.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(254, 196, 0, 0.5);
        }

.btn-outline-danger {
    color: #fe5461;
    border-color: #fe5461;
}

    .btn-outline-danger:hover {
        color: #ffffff;
        background-color: #fe5461;
        border-color: #fe5461;
    }

    .btn-outline-danger:focus, .btn-outline-danger.focus {
        box-shadow: 0 0 0 0.2rem rgba(254, 84, 97, 0.5);
    }

    .btn-outline-danger.disabled, .btn-outline-danger:disabled {
        color: #fe5461;
        background-color: transparent;
    }

    .btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active, .show > .btn-outline-danger.dropdown-toggle {
        color: #ffffff;
        background-color: #fe5461;
        border-color: #fe5461;
    }

        .btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-danger.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(254, 84, 97, 0.5);
        }

.btn-outline-light {
    color: #f0f1f5;
    border-color: #f0f1f5;
}

    .btn-outline-light:hover {
        color: #2f2f2f;
        background-color: #f0f1f5;
        border-color: #f0f1f5;
    }

    .btn-outline-light:focus, .btn-outline-light.focus {
        box-shadow: 0 0 0 0.2rem rgba(240, 241, 245, 0.5);
    }

    .btn-outline-light.disabled, .btn-outline-light:disabled {
        color: #f0f1f5;
        background-color: transparent;
    }

    .btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active, .show > .btn-outline-light.dropdown-toggle {
        color: #2f2f2f;
        background-color: #f0f1f5;
        border-color: #f0f1f5;
    }

        .btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-light.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(240, 241, 245, 0.5);
        }

.btn-outline-dark {
    color: #31343d;
    border-color: #31343d;
}

    .btn-outline-dark:hover {
        color: #ffffff;
        background-color: #31343d;
        border-color: #31343d;
    }

    .btn-outline-dark:focus, .btn-outline-dark.focus {
        box-shadow: 0 0 0 0.2rem rgba(49, 52, 61, 0.5);
    }

    .btn-outline-dark.disabled, .btn-outline-dark:disabled {
        color: #31343d;
        background-color: transparent;
    }

    .btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active, .show > .btn-outline-dark.dropdown-toggle {
        color: #ffffff;
        background-color: #31343d;
        border-color: #31343d;
    }

        .btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-dark.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(49, 52, 61, 0.5);
        }

.btn-outline-info-dark {
    color: var(--fund-primary);
    border-color: var(--fund-primary);
}

    .btn-outline-info-dark:hover {
        color: #ffffff;
        background-color: var(--fund-primary);
        border-color: var(--fund-primary);
    }

    .btn-outline-info-dark:focus, .btn-outline-info-dark.focus {
        box-shadow: 0 0 0 0.2rem rgba(100, 147, 250, 0.5);
    }

    .btn-outline-info-dark.disabled, .btn-outline-info-dark:disabled {
        color: var(--fund-primary);
        background-color: transparent;
    }

    .btn-outline-info-dark:not(:disabled):not(.disabled):active, .btn-outline-info-dark:not(:disabled):not(.disabled).active, .show > .btn-outline-info-dark.dropdown-toggle {
        color: #ffffff;
        background-color: var(--fund-primary);
        border-color: var(--fund-primary);
    }

        .btn-outline-info-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-info-dark:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-info-dark.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(100, 147, 250, 0.5);
        }

.btn-outline-smoke {
    color: #8a909d;
    border-color: #8a909d;
}

    .btn-outline-smoke:hover {
        color: #ffffff;
        background-color: #8a909d;
        border-color: #8a909d;
    }

    .btn-outline-smoke:focus, .btn-outline-smoke.focus {
        box-shadow: 0 0 0 0.2rem rgba(138, 144, 157, 0.5);
    }

    .btn-outline-smoke.disabled, .btn-outline-smoke:disabled {
        color: #8a909d;
        background-color: transparent;
    }

    .btn-outline-smoke:not(:disabled):not(.disabled):active, .btn-outline-smoke:not(:disabled):not(.disabled).active, .show > .btn-outline-smoke.dropdown-toggle {
        color: #ffffff;
        background-color: #8a909d;
        border-color: #8a909d;
    }

        .btn-outline-smoke:not(:disabled):not(.disabled):active:focus, .btn-outline-smoke:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-smoke.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(138, 144, 157, 0.5);
        }

.btn-link {
    font-weight: 400;
    color: #28a745;
    text-decoration: none;
}

    .btn-link:hover {
        color: var(--fund-primary);
        text-decoration: underline;
    }

    .btn-link:focus, .btn-link.focus {
        text-decoration: underline;
    }

    .btn-link:disabled, .btn-link.disabled {
        color: #6c757d;
        pointer-events: none;
    }

.btn-lg, .btn-group-lg > .btn {
    padding: 0.65rem 1.5rem;
    font-size: 1.171875rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.btn-sm, .btn-group-sm > .btn {
    padding: 0.125rem 0.625rem;
    font-size: 0.75rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.btn-block {
    display: block;
    width: 100%;
}

    .btn-block + .btn-block {
        margin-top: 0.5rem;
    }

input[type=submit].btn-block,
input[type=reset].btn-block,
input[type=button].btn-block {
    width: 100%;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 1.12rem + 2px);
    padding: 0.56rem 1rem;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #e5e9f2;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .form-control {
        transition: none;
    }
}

.form-control::-ms-expand {
    background-color: transparent;
    border: 0;
}

.form-control:focus {
    color: #495057;
    background-color: #ffffff;
    border-color: #e4d6f6;
    outline: 0;
    box-shadow: 0 0 0 0.2rem transparent;
}

.form-control::-moz-placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #f0f1f5;
    opacity: 1;
}

input[type=date].form-control,
input[type=time].form-control,
input[type=datetime-local].form-control,
input[type=month].form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select.form-control:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #495057;
}

select.form-control:focus::-ms-value {
    color: #495057;
    background-color: #ffffff;
}

.form-control-file,
.form-control-range {
    display: block;
    width: 100%;
}

.col-form-label {
    padding-top: calc(0.56rem + 1px);
    padding-bottom: calc(0.56rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
}

.col-form-label-lg {
    padding-top: calc(0.65rem + 1px);
    padding-bottom: calc(0.65rem + 1px);
    font-size: 1.171875rem;
    line-height: 1.5;
}

.col-form-label-sm {
    padding-top: calc(0.125rem + 1px);
    padding-bottom: calc(0.125rem + 1px);
    font-size: 0.75rem;
    line-height: 1.5;
}

.form-control-plaintext {
    display: block;
    width: 100%;
    padding: 0.56rem 0;
    margin-bottom: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #8a909d;
    background-color: transparent;
    border: solid transparent;
    border-width: 1px 0;
}

    .form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg {
        padding-right: 0;
        padding-left: 0;
    }

.form-control-sm {
    height: calc(1.5em + 0.25rem + 2px);
    padding: 0.125rem 0.625rem;
    font-size: 0.75rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.form-control-lg {
    height: calc(1.5em + 1.3rem + 2px);
    padding: 0.65rem 1.5rem;
    font-size: 1.171875rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

select.form-control[size], select.form-control[multiple] {
    height: auto;
}

textarea.form-control {
    height: auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

    .form-row > .col,
    .form-row > [class*=col-] {
        padding-right: 5px;
        padding-left: 5px;
    }

.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}

.form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.25rem;
}

    .form-check-input[disabled] ~ .form-check-label, .form-check-input:disabled ~ .form-check-label {
        color: #6c757d;
    }

.form-check-label {
    margin-bottom: 0;
}

.form-check-inline {
    display: inline-flex;
    align-items: center;
    padding-left: 0;
    margin-right: 0.75rem;
}

    .form-check-inline .form-check-input {
        position: static;
        margin-top: 0;
        margin-right: 0.3125rem;
        margin-left: 0;
    }

.valid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #0acb8e;
}

.valid-tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 5;
    display: none;
    max-width: 100%;
    padding: 0.25rem 0.5rem;
    margin-top: 0.1rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #ffffff;
    background-color: rgba(10, 203, 142, 0.9);
    border-radius: 0.25rem;
}

.form-row > .col > .valid-tooltip, .form-row > [class*=col-] > .valid-tooltip {
    left: 5px;
}

.was-validated :valid ~ .valid-feedback,
.was-validated :valid ~ .valid-tooltip,
.is-valid ~ .valid-feedback,
.is-valid ~ .valid-tooltip {
    display: block;
}

.was-validated .form-control:valid, .form-control.is-valid {
    border-color: #0acb8e;
    padding-right: calc(1.5em + 1.12rem) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%230acb8e' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.28rem) center;
    background-size: calc(0.75em + 0.56rem) calc(0.75em + 0.56rem);
}

    .was-validated .form-control:valid:focus, .form-control.is-valid:focus {
        border-color: #0acb8e;
        box-shadow: 0 0 0 0.2rem rgba(10, 203, 142, 0.25);
    }

.was-validated select.form-control:valid, select.form-control.is-valid {
    padding-right: 4rem !important;
    background-position: right 2rem center;
}

.was-validated textarea.form-control:valid, textarea.form-control.is-valid {
    padding-right: calc(1.5em + 1.12rem);
    background-position: top calc(0.375em + 0.28rem) right calc(0.375em + 0.28rem);
}

.was-validated .custom-select:valid, .custom-select.is-valid {
    border-color: #0acb8e;
    padding-right: calc(0.75em + 2.84rem) !important;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right 1rem center/8px 10px no-repeat, #ffffff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%230acb8e' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") center right 2rem/calc(0.75em + 0.56rem) calc(0.75em + 0.56rem) no-repeat;
}

    .was-validated .custom-select:valid:focus, .custom-select.is-valid:focus {
        border-color: #0acb8e;
        box-shadow: 0 0 0 0.2rem rgba(10, 203, 142, 0.25);
    }

.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {
    color: #0acb8e;
}

.was-validated .form-check-input:valid ~ .valid-feedback,
.was-validated .form-check-input:valid ~ .valid-tooltip, .form-check-input.is-valid ~ .valid-feedback,
.form-check-input.is-valid ~ .valid-tooltip {
    display: block;
}

.was-validated .custom-control-input:valid ~ .custom-control-label, .custom-control-input.is-valid ~ .custom-control-label {
    color: #0acb8e;
}

    .was-validated .custom-control-input:valid ~ .custom-control-label::before, .custom-control-input.is-valid ~ .custom-control-label::before {
        border-color: #0acb8e;
    }

.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before, .custom-control-input.is-valid:checked ~ .custom-control-label::before {
    border-color: #15f3ad;
    background-color: #15f3ad;
}

.was-validated .custom-control-input:valid:focus ~ .custom-control-label::before, .custom-control-input.is-valid:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(10, 203, 142, 0.25);
}

.was-validated .custom-control-input:valid:focus:not(:checked) ~ .custom-control-label::before, .custom-control-input.is-valid:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #0acb8e;
}

.was-validated .custom-file-input:valid ~ .custom-file-label, .custom-file-input.is-valid ~ .custom-file-label {
    border-color: #0acb8e;
}

.was-validated .custom-file-input:valid:focus ~ .custom-file-label, .custom-file-input.is-valid:focus ~ .custom-file-label {
    border-color: #0acb8e;
    box-shadow: 0 0 0 0.2rem rgba(10, 203, 142, 0.25);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #fe5461;
}

.invalid-tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 5;
    display: none;
    max-width: 100%;
    padding: 0.25rem 0.5rem;
    margin-top: 0.1rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #ffffff;
    background-color: rgba(254, 84, 97, 0.9);
    border-radius: 0.25rem;
}

.form-row > .col > .invalid-tooltip, .form-row > [class*=col-] > .invalid-tooltip {
    left: 5px;
}

.was-validated :invalid ~ .invalid-feedback,
.was-validated :invalid ~ .invalid-tooltip,
.is-invalid ~ .invalid-feedback,
.is-invalid ~ .invalid-tooltip {
    display: block;
}

.was-validated .form-control:invalid, .form-control.is-invalid {
    border-color: #fe5461;
    padding-right: calc(1.5em + 1.12rem) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23fe5461' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23fe5461' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.28rem) center;
    background-size: calc(0.75em + 0.56rem) calc(0.75em + 0.56rem);
}

    .was-validated .form-control:invalid:focus, .form-control.is-invalid:focus {
        border-color: #fe5461;
        box-shadow: 0 0 0 0.2rem rgba(254, 84, 97, 0.25);
    }

.was-validated select.form-control:invalid, select.form-control.is-invalid {
    padding-right: 4rem !important;
    background-position: right 2rem center;
}

.was-validated textarea.form-control:invalid, textarea.form-control.is-invalid {
    padding-right: calc(1.5em + 1.12rem);
    background-position: top calc(0.375em + 0.28rem) right calc(0.375em + 0.28rem);
}

.was-validated .custom-select:invalid, .custom-select.is-invalid {
    border-color: #fe5461;
    padding-right: calc(0.75em + 2.84rem) !important;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right 1rem center/8px 10px no-repeat, #ffffff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23fe5461' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23fe5461' stroke='none'/%3e%3c/svg%3e") center right 2rem/calc(0.75em + 0.56rem) calc(0.75em + 0.56rem) no-repeat;
}

    .was-validated .custom-select:invalid:focus, .custom-select.is-invalid:focus {
        border-color: #fe5461;
        box-shadow: 0 0 0 0.2rem rgba(254, 84, 97, 0.25);
    }

.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label {
    color: #fe5461;
}

.was-validated .form-check-input:invalid ~ .invalid-feedback,
.was-validated .form-check-input:invalid ~ .invalid-tooltip, .form-check-input.is-invalid ~ .invalid-feedback,
.form-check-input.is-invalid ~ .invalid-tooltip {
    display: block;
}

.was-validated .custom-control-input:invalid ~ .custom-control-label, .custom-control-input.is-invalid ~ .custom-control-label {
    color: #fe5461;
}

    .was-validated .custom-control-input:invalid ~ .custom-control-label::before, .custom-control-input.is-invalid ~ .custom-control-label::before {
        border-color: #fe5461;
    }

.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before, .custom-control-input.is-invalid:checked ~ .custom-control-label::before {
    border-color: #fe8790;
    background-color: #fe8790;
}

.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before, .custom-control-input.is-invalid:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(254, 84, 97, 0.25);
}

.was-validated .custom-control-input:invalid:focus:not(:checked) ~ .custom-control-label::before, .custom-control-input.is-invalid:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #fe5461;
}

.was-validated .custom-file-input:invalid ~ .custom-file-label, .custom-file-input.is-invalid ~ .custom-file-label {
    border-color: #fe5461;
}

.was-validated .custom-file-input:invalid:focus ~ .custom-file-label, .custom-file-input.is-invalid:focus ~ .custom-file-label {
    border-color: #fe5461;
    box-shadow: 0 0 0 0.2rem rgba(254, 84, 97, 0.25);
}

.form-inline {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

    .form-inline .form-check {
        width: 100%;
    }

@media (min-width: 576px) {
    .form-inline label {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
    }

    .form-inline .form-group {
        display: flex;
        flex: 0 0 auto;
        flex-flow: row wrap;
        align-items: center;
        margin-bottom: 0;
    }

    .form-inline .form-control {
        display: inline-block;
        width: auto;
        vertical-align: middle;
    }

    .form-inline .form-control-plaintext {
        display: inline-block;
    }

    .form-inline .input-group,
    .form-inline .custom-select {
        width: auto;
    }

    .form-inline .form-check {
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        padding-left: 0;
    }

    .form-inline .form-check-input {
        position: relative;
        flex-shrink: 0;
        margin-top: 0;
        margin-right: 0.25rem;
        margin-left: 0;
    }

    .form-inline .custom-control {
        align-items: center;
        justify-content: center;
    }

    .form-inline .custom-control-label {
        margin-bottom: 0;
    }
}





@@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .content-wrapper {
        padding: 60px 20px 40px 20px;
    }

    .pdf-preview {
        height: 600px;
    }

    .pdf-scale {
        padding: 0;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 1.875rem;
    }

    h3 {
        font-size: 25px;
    }

    h4 {
        font-size: 16px;
    }

    table {
        font-size: 14px;
    }

    /* All tables - ensure proper width and wrapping for mobile (768px) */
    .mepf_bg table,
    .mepf_bg table.table,
    .mepf_bg table.table-bordered,
    .mepf_bg table.table-borderless {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        table-layout: auto !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
        /* All table cells - ensure text wrapping for mobile (768px) */
        .mepf_bg table td,
        .mepf_bg table th {
            width: auto !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            white-space: normal !important;
            overflow: visible !important;
            padding: 8px !important;
        }
        /* Nested tables for mobile (768px) */
        .mepf_bg table table {
            width: 100% !important;
            max-width: 100% !important;
        }

            .mepf_bg table table td,
            .mepf_bg table table th {
                word-wrap: break-word !important;
                overflow-wrap: break-word !important;
                white-space: normal !important;
            }
}

/* Mobile Styles - Small screens */
@@media (max-width: 640.98px) {
    /* Ensure parent containers are full width */
    body, html {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .mepf_bg {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* All tables - ensure proper width and wrapping */
    .mepf_bg table,
    .mepf_bg table.table,
    .mepf_bg table.table-bordered,
    .mepf_bg table.table-borderless {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        table-layout: auto !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
        /* All table cells - ensure text wrapping */
        .mepf_bg table td,
        .mepf_bg table th {
            width: auto !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            white-space: normal !important;
            overflow: visible !important;
            padding: 8px !important;
        }

            .mepf_bg table td.text-center {
                padding: 5px 10px !important;
            }
        /* Nested tables */
        .mepf_bg table table {
            width: 100% !important;
            max-width: 100% !important;
        }

            .mepf_bg table table td,
            .mepf_bg table table th {
                word-wrap: break-word !important;
                overflow-wrap: break-word !important;
                white-space: normal !important;
            }
}

/* Tablet Styles */
@@media (min-width: 641px) and (max-width: 991.98px) {
    /* All tables - ensure proper width and wrapping for tablet */
    .mepf_bg table,
    .mepf_bg table.table,
    .mepf_bg table.table-bordered,
    .mepf_bg table.table-borderless {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        table-layout: auto !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
        /* All table cells - ensure text wrapping for tablet */
        .mepf_bg table td,
        .mepf_bg table th {
            width: auto !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            white-space: normal !important;
            overflow: visible !important;
            padding: 10px !important;
        }
        /* Nested tables for tablet */
        .mepf_bg table table {
            width: 100% !important;
            max-width: 100% !important;
        }

            .mepf_bg table table td,
            .mepf_bg table table th {
                word-wrap: break-word !important;
                overflow-wrap: break-word !important;
                white-space: normal !important;
            }
}

/* Small Mobile Styles */
@@media (max-width: 576px) {
    /* All tables - ensure proper width and wrapping for small mobile (576px) */
    .mepf_bg table,
    .mepf_bg table.table,
    .mepf_bg table.table-bordered,
    .mepf_bg table.table-borderless {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        table-layout: auto !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
        /* All table cells - ensure text wrapping for small mobile (576px) */
        .mepf_bg table td,
        .mepf_bg table th {
            width: auto !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            white-space: normal !important;
            overflow: visible !important;
            padding: 6px !important;
        }
        /* Nested tables for small mobile (576px) */
        .mepf_bg table table {
            width: 100% !important;
            max-width: 100% !important;
        }

            .mepf_bg table table td,
            .mepf_bg table table th {
                word-wrap: break-word !important;
                overflow-wrap: break-word !important;
                white-space: normal !important;
            }
}
