html,
body {
    height: 100%
}

body {
    font-family: "Manrope", sans-serif !important;
    font-optical-sizing: auto;
    font-size: 12px !important;
}

::-webkit-input-placeholder {
    font-size: 12px;
}

img {
    max-width: 100%;
}

input, select, button {
    font-size: 14px;
}

.login-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: rgba(248, 251, 255, 1);
    flex-direction: column;
}

.login-box {
    padding: 50px;
    max-width: 480px;
    min-width: 420px;
    box-shadow: 0px 4px 24px #DAE5FF;
    display: flex;
    gap: 24px;
    flex-direction: column;
    border-radius: 12px;
    background: #fff;
}

.gap-items {
    gap: 12px;
    margin-bottom: 24px;
}

/*.form-control,
.form-select {
    border: 1px solid rgba(235, 239, 246, 1);
    color: #333 !important;
    padding-left: 0;
    padding: .5rem 1rem;
    border-radius: .5rem;
}*/

/*    .form-control:focus,
    .form-select:focus {
        border-color: #85A2FF !important;
    }*/

.user-info .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item {
    font-weight: 600;
    font-size: 12px;
}


.form-floating > .form-control,
.form-floating > .form-control-plaintext,
.form-floating > label {
    padding: 1rem 0rem;
}

.login-h4 {
    position: relative;
}

    .login-h4:before {
        content: "";
        height: 2px;
        width: 50px;
        position: absolute;
        bottom: -10px;
        background: rgba(0, 0, 0, 0.1);
        margin: 0 auto;
        left: 0;
        right: 0;
    }

.input-icon {
    position: relative;
}

    .input-icon i {
        position: absolute;
        right: 10px;
        bottom: 6px;
        font-size: 18px;
        color: RGB(191 191 191);
        cursor: pointer;
    }

header .logo img {
    max-height: 42px;
}

/*.user-info.form-select {
    border: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
}*/

.form-select {
    font-size: 12px;
    font-weight: 600;
    border-color: #edf1f7;
}

.user-name-short {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.info {
    display: inline-block;
    min-width: 30px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background: #235FFD;
    text-align: center;
    border-radius: 50%;
    color: #fff;
}

.general-text {
    max-width: 100px;
    display: inline-block;
}

.user-info .dropdown-menu {
    border: 0;
    box-shadow: 0 4px 5px 2px #e2e3e5;
}

footer {
    padding: 16px;
}

.content-bg .card {
    min-width: 580px;
    max-width: 580px;
    border-radius: 1rem;
}

    .content-bg .card .card-body {
        padding: 2.5rem;
    }

.user-icon {
    border: none;
    outline: none;
    background: none;
}

.content-bg {
    min-height: calc(100vh - 133px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/*.card {
    box-shadow: 0px 0px 16px 0px rgba(223, 233, 245, 1);
    box-shadow: 4px 0px 20px #DAE5FF;
    border: unset;
    border-radius: 12px;
    color: #333 !important;
}*/

/*    .card .card-header {
        border-bottom: solid 1px #E2E8F1;
        background: none;
        font-size: 18px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }


    .card .card-body .status-img {
        max-height: 120px;
        min-height: 120px;
    }*/

.heading {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-top: 40px;
}

.page-title {
    font-size: 21px;
    font-weight: 600;
    padding-left: 10px;
    margin: 0
}

.success {
    color: rgba(62, 195, 75, 1);
}

.failed {
    color: rgba(235, 75, 75, 1);
}

.error {
    color: rgba(0, 0, 0, 1);
}

.text {
    color: rgba(51, 51, 51, 0.65);
    font-size: 18px;
    text-align: center;
    min-height: 81px;
}

.btn-primary {
    border: unset !important;
    background: rgba(31, 106, 220, 1);
    min-width: 100px;
}

.card-header .btn, .btn {
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
}

/*.loader {
    width: 5px;
    aspect-ratio: 1;
    border-radius: 50%;
    animation: l5 1s infinite linear alternate;
    margin-left: 20px;
}

@keyframes l5 {
    0% {
        box-shadow: 10px 0 #000, -10px 0 #0002;
        background: #000
    }

    33% {
        box-shadow: 10px 0 #000, -10px 0 #0002;
        background: #0002
    }

    66% {
        box-shadow: 10px 0 #0002, -10px 0 #000;
        background: #0002
    }

    100% {
        box-shadow: 10px 0 #0002, -10px 0 #000;
        background: #000
    }
}*/

.sidebar {
    background-image: linear-gradient(to bottom right, #01123F 0%, #0C38B6 100%);
    padding: 1rem;
    width: 230px;
    min-width: 230px;
    height: 100vh;
    overflow-y: auto;
    position: fixed;
    z-index: 1040;
}

    .sidebar.active {
        width: 80px;
        min-width: 80px;
    }

        .sidebar .logo .logo-icon, .sidebar.active i.arrow, .sidebar.active .logo-full, .sidebar.active .quick-actions a span, .sidebar.active .quick-actions h5, .sidebar.active li a span {
            display: none;
        }

.sidebar-menu a, .sidebar-menu a:active {
    color: #FFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: .3s;
}

    .sidebar-menu a img {
        width: 16px;
        height: 16px;
        object-fit: cover;
        overflow: visible;
    }

.sidebar a.active {
    background: #1242C9;
    color: #fff !important;
}

.sidebar-menu a:hover {
    color: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.08);
}

.sidebar-menu li {
    margin-bottom: 8px;
    position: relative !important;
}

.sidebar-toggle {
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: inline-block;
    text-align: center;
    background-color: #FFF;
    box-shadow: 0 4px 4px rgba(33, 68, 151, 0.1) !important;
    transition: all 0.5s;
    cursor: pointer;
}

    .sidebar-toggle i {
        font-size: 18px;
        display: inline-block
    }

    .sidebar-toggle.active i {
        transform: scaleX(-1);
    }

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-left: 10px;
    gap: 8px;
}

    .logo .logo-icon {
        max-width: 28px;
    }

.sidebar.active .logo .logo-icon {
    display: block;
}

.content {
    margin-left: 60px;
}

header {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: solid 1px #e9e9e9;
    background-color: #FFF;
    position: relative;
    position: sticky;
    top: 0;
    z-index: 100;
}


.wrapper main.active {
    margin-left: 80px;
}

.wrapper main {
    flex-grow: 1;
    min-width: 0;
    margin-left: 230px;
    min-height: 100vh
}

.selected-company {
    background-color: #FFF;
    color: #214497;
    padding: 4px 16px;
    border-radius: 24px;
    font-weight: 500;
    box-shadow: 0 4px 2px rgb(76 51 203 / 15%);
    text-align: center;
    font-size: 12px;
    border: solid 1px #eceaf8;
}

.dropdown-menu {
    box-shadow: 0px 4px 12px rgba(72, 33, 151, 0.25);
    border: solid 1px #eceaf8;
}

.dropdown-heading {
    font-size: 12px;
    font-weight: 600;
    margin-top: -8px;
    display: flex;
    justify-content: space-between;
    background: #e0eaff;
    padding: 10px;
    gap: 16px;
    margin-bottom: 12px;
    border-top-left-radius: var(--bs-dropdown-border-radius);
    border-top-right-radius: var(--bs-dropdown-border-radius);
}

.dropdown-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.company-list {
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 8px;
}

    .company-list span {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        max-width: 300px;
        min-width: 120px;
        padding: 4px 8px;
        cursor: pointer;
        display: block;
        border-radius: 6px;
        flex-grow: 1;
    }

        .company-list.selected span,
        .company-list span:hover {
            background-color: #e2ebff;
            color: #214497;
        }

    .company-list .form-check {
        min-height: auto;
        margin-bottom: 0;
        width: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .company-list .form-check-input:checked {
        background-color: #214497;
        border-color: #214497;
    }

.dropdown-menu .company-list .form-check-input {
    height: 1.5em;
    width: 2.5em;
    box-shadow: none;
}

.sort-filter {
    width: 40px;
    text-align: center;
    line-height: 40px;
    box-shadow: 0px 0px 4px 0px rgba(227, 236, 255, 1);
    color: rgba(51, 51, 51, 0.65);
    font-size: 20px;
    height: 40px;
    border-radius: 8px;
}

.user-info {
    display: flex;
    align-items: center;
}

.table-actions {
    display: flex;
    gap: 8px;
}

.btn-outline-primary {
    border-color: rgba(238, 240, 244, 1);
    color: rgba(12, 20, 46, 1);
}

.merchants-card {
    border: 1px solid #e9edf5;
    border-radius: 6px;
    box-shadow: none;
}

    .merchants-card .form-control, .merchants-card .form-select {
        height: 30px;
        border: 1px solid #dde4ef;
        font-size: 12px;
        font-weight: 600;
        box-shadow: none;
    }

textarea.form-control {
    height: auto !important
}

.table-actions .btn-icon {
    width: 30px;
    height: 30px;
    border: 1px solid #E4E7EC;
    border-radius: 5px;
    background: #fff;
    color: #667085;
    text-align: center;
    padding: 0;
    line-height: 30px;
    font-weight: 500
}

.h5 {
    font-size: 16px;
    font-weight: 800 !important;
    color: #060513;
    padding: 12px;
    margin: 0
}

.history-table td {
    white-space: normal !important;
}

.payment-table {
    font-size: 12px;
    border-radius: 12px;
}


    .payment-table tbody td {
        vertical-align: middle;
        white-space: nowrap;
        border-color: #f3f4f6;
        font-weight: 600;
    }

    .payment-table td:not(:last-child) {
        color: #344271;
        font-size: 12px;
        max-width: 220px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .payment-table td:last-child a {
        color: #344271;
    }

.page-body {
    padding: 16px;
}

/*.payment-table-responsive {
    border: 1px solid #edf2f7;
}*/

.td-premium {
    color: #214497 !important;
    font-weight: 600;
}

.td-link-btn {
    padding: 4px 12px;
    box-shadow: 0px 4px 8px rgba(33, 68, 151, 0.10);
    display: inline-block;
    border-radius: 16px;
    background: #fff
}

.cell-width-200 {
    text-overflow: ellipsis;
    max-width: 200px;
    overflow: hidden;
    white-space: nowrap;
}

.text-success {
    color: #40C315 !important;
}

.text-primary {
    color: #2C73D2 !important;
}

.text-danger {
    color: #E0592D !important;
}

.pagination-block {
    justify-content: center;
    display: flex;
    padding-top: 5px;
}

    .pagination-block .page-item .page-link {
        margin: 0px 4px 0px 4px;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: none !important;
        color: #214497;
    }

    .pagination-block .form-select {
        display: inline-block;
        width: 60px;
        border: solid 1px #D1DBE7;
        height: 24px;
        padding: 0 0px 0 4px;
    }

    .pagination-block .active > .page-link,
    .pagination-block .page-link.active {
        background-color: #214497;
        border-color: #214497;
        color: #FFF;
    }

td span.dropdown {
    display: inline-block;
}

.text-primary {
    cursor: pointer;
}

.dropdown-menu .dropdown-item {
    gap: 5px
}

.dropdown-item {
    display: flex;
    gap: 10px;
    align-items: center
}

    .dropdown-item.active,
    .dropdown-item:active {
        background-color: #85A2FF !important;
    }

.new-quote-drop .btn {
    background-color: rgba(99, 136, 255, 1);
    border: solid 1px rgba(99, 136, 255, 1);
    color: #FFF !important;
}

.rounded-pill {
    min-width: 72px;
}

.badge {
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
}

.bg-success-subtle {
    background: #E2F5E9 !important;
    color: #04A340 !important;
}

.switch-box {
    background-color: #FFF;
    padding: 12px 0px;
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.15);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shadow-box {
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.15);
    margin-bottom: 16px;
    padding: 12px 0px;
}

.mh-260 {
    max-height: 260px;
    overflow-y: auto;
}

.data-item {
    display: flex;
    flex-direction: column;
}

    .data-item label {
        color: rgba(51, 51, 51, 0.65);
    }

    .data-item span {
        font-weight: 600;
    }

.switch-box .form-check-inline {
    margin-bottom: 0 !important;
}

.btn-check:checked + .btn {
    background: #85A2FF !important;
}

.btn-check + .btn {
    color: #333;
    font-size: 14px;
    border-radius: 24px;
    background: none;
    border: 1px solid #85A2FF !important;
    min-width: 65px;
}

    .btn-check + .btn:hover {
        background: #85A2FF !important
    }

.form-check {
    padding-left: 2.5em;
}

/*
    .form-check:not(.form-switch) .form-check-input {
        margin-left: -2.2em;
        margin-top: -2px;
        width: 21px;
        height: 21px;
        border-radius: 0 !important;
        border-color: #85A2FF;
        box-shadow: 0px 4px 8px rgba(33, 68, 151, 0.15);
    }*/

.pre-dollar-icon {
    position: relative;
}

    .pre-dollar-icon .form-control {
        padding-left: 16px;
    }

    .pre-dollar-icon span {
        position: absolute;
        left: 0;
        top: 25px;
        font-size: 16px;
    }

.carriers-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
    flex-wrap: wrap;
    gap: 12px;
}

.carriers-item {
    box-shadow: 0px 4px 20px rgba(33, 68, 151, 0.15);
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    border: solid 1px transparent;
}

    .carriers-item .cr-name {
        font-size: 18px;
        font-weight: 500;
        text-align: center;
        line-height: 20px;
        margin-bottom: 16px;
        margin-top: 16px;
    }

    .carriers-item .cr-price {
        font-size: 36px;
        font-weight: 500;
        color: #5BBD72;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

        .carriers-item .cr-price span {
            color: rgba(51, 51, 51, 0.65);
            font-size: 18px;
            margin-right: 6px;
            padding-top: 8px;
        }

    .carriers-item .btn {
        border-radius: 24px;
        width: 100%;
        border: solid 1px #214497 !important;
        background: #FFF !important;
        color: #214497 !important;
    }

    .carriers-item.selected {
        border: solid 1px #85A2FF;
    }

        .carriers-item.selected .btn,
        .carriers-item .btn:hover {
            border: solid 1px #85A2FF !important;
            background-color: #85A2FF !important;
            color: #FFF !important;
        }

.drag-area {
    border: 1px dashed #85A2FF;
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    position: relative;
    box-shadow: 0px 4px 8px rgba(33, 68, 151, 0.15);
}

    .drag-area .file-input {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        cursor: pointer;
        min-height: inherit;
        width: 100%;
        padding: 0 !important;
        bottom: 0;
    }

.file-block {
    padding: 12px 16px;
    box-shadow: 0px 4px 12px rgba(33, 68, 151, 0.15);
    border-radius: 8px;
    background: #ebf1ff;
    border: solid 2px #FFF;
}

main .stepsbar {
    display: none;
}

.form-floating.pre-dollar-icon label,
.form-floating.pre-dollar-icon > .form-control:focus ~ label {
    padding-left: 20px;
}


.db-header .logo {
    display: flex;
    align-items: end;
    gap: 2px;
}

.sub-heading {
    background-color: #f1f5ff;
    padding: 4px 8px;
}

.offcanvas-bottom {
    height: auto !important
}

.offcanvas-header, .modal-header {
    background: #E5EDFF
}

label span {
    color: #7b7d82
}

.status-label {
    border-radius: 13px;
    display: inline-block;
    margin-left: 10px;
    margin-top: 5px;
}

.data-item {
    margin-bottom: 8px;
    border-bottom: solid 1px rgba(51, 51, 51, 0.10);
    padding: 8px;
}

.rules p {
    color: #a2a2a2;
    font-size: 12px;
    position: relative;
    padding-left: 20px;
}

    .rules p:before {
        content: '';
        position: absolute;
        width: 7px;
        height: 7px;
        background: #00a769;
        border-radius: 100%;
        left: 4px;
        top: 5px;
    }

/*.loader-container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1160;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-icon {
    position: absolute;
    width: 60px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.loader-primary {
    color: #4862A5;
    height: 80px;
    width: 80px;
}*/

.modal-backdrop + .modal-backdrop {
    z-index: 1055;
}

@media(max-width:767px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .wrapper main,
    .wrapper main.active {
        margin: 0
    }

    .sidebar.show {
        transform: translate(0) !important;
        width: 220px !important;
        min-width: auto !important;
        z-index: 1056
    }

        .sidebar.show span,
        .logo-full,
        .sidebar.active .logo .logo-icon {
            display: block !important
        }

    .logo-icon, .sidebar.active .logo .logo-icon {
        display: none !important
    }

    .sidebar-toggle.active i {
        transform: translateX(0)
    }


    .header-date-picker, .date-selection-range {
        right: 125px !important;
        width: 185px !important;
        min-width: auto !important;
    }

        .header-date-picker .form-control, .date-selection-range .form-control {
            padding: 5px !important;
        }
    .offcanvas.offcanvas-end{
        min-width: auto !important
    }
    .system-status{
        padding:0
    }
    .page-header{
        flex-wrap:wrap;
    }
}

@media(min-width:768px) and (max-width:1023px) {
    .sidebar-toggle.active + .page-title {
        display: none !important
    }
    .merchants-card .gap-items {
        gap: 1rem;
    }
    .gap-items .filter-item:not(.date-selection) {
        flex: 0 0 30% !important;
        width: auto !important;
        min-width: auto !important;
    }
    .merchants-card ::-webkit-input-placeholder{
        max-width:120px;
        overflow:hidden;
        text-overflow:ellipsis;
        display:inline-block
    }
    .system-status {
        padding: 0
    }
}

@media(min-width:1024px) {
    .offcanvas-end {
        min-width: 50%
    }

    .payment-table-responsive {
        min-height: 74vh
    }
}

@media (max-width: 1200px) {
    .system-status {
        margin-bottom: 2rem !important
    }
}

.span-count {
    background: #0d6efd;
    padding: 0 5px;
    margin-left: 10px;
    color: #fff;
    font-weight: normal;
    border-radius: 5px;
    font-size: 14px;
}

date-selection i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate(0, -50%);
    font-size: 1rem;
}

.send-payment-link-overdue {
    width: 20px;
    object-fit: contain;
}

.page-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1030;
    text-align: center;
    font-size: 12px;
    padding: 8px 20px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

    .page-footer img {
        height: 15px;
    }

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 8px 16px;
    position: sticky;
    top: 53px;
    z-index: 9;
    /* z-index: 999; */
    background-color: #FFF;
}
.collapse-bg{
    min-height:auto !important
}
.tooltip-inner {
    background: linear-gradient(90deg, #071f63, #0c37bf) !important;
    color: white !important;
    box-shadow: -4px 0px 18px #FFF;
}

.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {
    border-right-color: #071f63 !important;
}