﻿@font-face {
    font-family: 'Albert Sans';
    src: url('/Assets/Fonts/AlbertSans/AlbertSans-Italic.woff2') format('woff2'), url('/Assets/Fonts/AlbertSans/AlbertSans-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Albert Sans';
    src: url('/Assets/Fonts/AlbertSans/AlbertSans-Regular.woff2') format('woff2'), url('/Assets/Fonts/AlbertSans/AlbertSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


html {
    margin: 0 !important;
}

body {

}

[data-bs-theme="light"] .text-accent {
    color: #000;
}

.text-cc {
    color: #011749;
}
/* Nexus Browsing */

.nexus-toggle {
    border: 0px solid !important;
    background: transparent;
    height: 55px;
    width: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    margin-top: -4px;
    margin-bottom: -4px;
    transition: background 0.3s;
}

    .nexus-toggle:hover {
        border: 0px solid !important;
        background: #DDD;
        color: #182433;
    }

.nexus-grid {
    display: grid;
    grid-template-columns: repeat(4, 80px);
    gap: 10px;
}

.nexus-subtitle {
    display: none;
}
.nexus-btn {
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    padding: 10px;
    text-align: center;
}

.nexus-grid-light > .nexus-btn {
    color: rgb(24, 36, 51);
}

.nexus-btn:hover {
    background-color: rgba(24, 36, 51, 0.1);
}

.nexus-btn svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.nexus-btn img {
    width: 40px;
    height: 40px;
}

.nexus-btn span {
    margin-top: 5px;
    color: currentColor;
    font-size: 12px;
    font-weight: bold;
}

/* mode liste */
.nexus-grid.list {
    display: block;
    gap: 0px;
}
    .nexus-grid.list .nexus-btn {
        display: flex;
        flex-direction: row;
        width: 100%;
        align-items: center;
        padding: 5px;
        justify-content: start;
    }
        .nexus-grid.list .nexus-btn img {
            width: 40px;
            height: 40px;
            margin-right: 15px;
            flex: 0 1 auto;
        }
        .nexus-grid.list .nexus-btn .nexus-description {
            font-size: 16px;
            font-weight: 500;
            flex: 1 1 auto;
            display: flex;
            justify-content: start;
        }
        .nexus-grid.list .nexus-btn .nexus-subtitle {
            display: unset;
        }

/* Top scrollbar */

/* Card stamp */
.card-stamp-left {
    left: 0;
    right: unset;
    border-top-left-radius: 4px;
    border-top-right-radius: unset;
}
    .card-stamp-left .card-stamp-icon {
        left: calc(var(--tblr-stamp-size)* -0.25);
        right: unset;
    }
/* Misc */
.d-unset {
    display: unset;
}
.mw-300p {
    min-width: 300px;
}

.flag-sm {
    height: 1rem;

}
.border-none {
    border: none !important;
}
.form-control:disabled, .form-control[readonly] {
    background-color: var(--tblr-bg-surface-secondary);
    opacity: 1
}

.text-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.text-ellipsis-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}
.text-justify {
    text-align: justify;
}
.avatar-logo {
    width: unset;
}
.icon-sm {
    width: 1rem !important;
    height: 1rem !important;
}
.w-40 {
    width: 40%;
}
.modal-loader {
    position: relative;
    flex: 1 1 auto;
    padding: var(--tblr-modal-padding);
}

.no-box-shadow {
    box-shadow:none;
}

.has-changed {
    border-color: rgba(247, 103, 7, 1);
}


.tabnav-link {
    display: block;
    padding: 0.5rem;
    font-size: var(--tblr-nav-link-font-size);
    font-weight: var(--tblr-nav-link-font-weight);
    color: var(--tblr-nav-link-color);
    background: none;
    border: 0;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    width: auto;
}
.tabnav-link:hover {
    color: var(--tblr-body-color);
    background: var(--tblr-active-bg);
}
.tabnav-link-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    color: var(--tblr-icon-color);
}

.tile-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0px;
}
.tile {
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}
.tile:hover {
    
}
    .tile:hover {
        background-color: rgba(238, 241, 244, 0.8);
    }

.tr-sm > td {
    padding: 0.5rem !important;
} 


/* Overrides */
.navbar-brand {
    margin-left: -25px;
}
@media (max-width: 1200px) {
    .navbar-brand {
        margin-left: 20px;
    }
}
.list-group-item:active, .list-group-item:focus, .list-group-item:hover {
    background-color: rgba(238, 241, 244, 0.8);
}

.navbar-expand-md .nav-item.active:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.25rem;
    border: 0 var(--tblr-border-style) rgb(24, 36, 51);
    border-bottom-width: 2px;
}

a:hover {
    text-decoration: none;
}

.step-item.preactive::after {
    background: rgb(47, 179, 68);
}

.step-item.active::before {
    background: rgb(47, 179, 68);
}

.fs-10 {
    font-size: 10px !important;
}
.fs-12 {
    font-size: 12px !important;
}
.fs-14 {
    font-size: 14px !important;
}
.fs-16 {
    font-size: 16px !important;
}
.fs-18 {
    font-size: 18px !important;
}

.card-navbar {
    border-bottom: 1px rgba(4, 32, 69, 0.14) solid;
}

.offcanvas-navbar {
    border-bottom: 1px rgba(4, 32, 69, 0.14) solid;
}

.chat-header {
    border-bottom: 1px rgba(4, 32, 69, 0.14) solid;
}

.lc-noborder > :last-child {
    border-bottom: 0px;
    border-bottom-color: #fff;
}
.input-group-text {
    border-left:0;
}

.ts-dropdown {
    z-index: 5000 !important;
}


/* Validation summary  */
.validation-summary-errors {
    margin: 1rem 0;
}

    .validation-summary-errors > ul {
        border: 1px solid #fae7e6;
        display: block;
        position: relative;
        padding: 1rem;
        font-size: .875rem;
        list-style-type: none;
    }

        .validation-summary-errors > ul::before {
            position: absolute;
            top: 0;
            left: -4px;
            width: 4px;
            height: 100%;
            content: " ";
            background-color: #ce352c;
        }

.table-tr-no-border > tbody > tr,
.table-tr-no-border > tbody > tr > td {
    border-style: none !important;
}
.table-tr-lc-no-border > tbody > tr:last-child,
.table-tr-lc-no-border > tbody > tr:last-child > td {
    border-style: none !important;
}

.card-body-tabs {
    padding: 2px;
    padding-top: 0px;
}

.table-responsive {
    margin-bottom: 0px !important;
}

.req::after {
    content: ' *';
    color: #FF0000;
}
.upc::after {
    content: ' *';
    color: #0000FF;
}

.p-2r {
    padding: 2rem;
}

.avatar-s {
    height: 32px;
    width: 32px;
}

.table-compact > tbody > tr > td {
    padding: 2px 6px !important;
}



.badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 1.25rem;
    font-size: 0.625rem;
    min-width: 1.25rem;
    padding: calc(0.25rem - 1px) 0.25rem;
}

.badge-tr {
    top: -5px;
    right: -10px !important;
    bottom: unset;
}

.dropdown-item-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.form-fieldset {
    background: #fafafa !important;
}

.wd-25 {
    width: 25px !important;
}

.wd-200 {
    width: 200px !important;
}

.bg-none {
    background-color: unset !important;
}

.bg-light-nh {
    background: rgb(245, 247, 251) !important;
}

.tab-navbar {
    background: transparent !important;
    margin: -1rem -1.3rem 1rem -1.3rem;
    border-bottom: 1px solid rgba(98, 105, 118, 0.16);
}

.accordion-navbar {
    /* background: #fafbfc !important; */
    border-top: 1px solid rgba(98, 105, 118, 0.16);
    border-bottom: 1px solid rgba(98, 105, 118, 0.16);
}

.card-table tr td:last-child, .card-table tr th:last-child {
    padding-right: 1.25rem !important;
}

a.disabled {
    pointer-events: none;
    opacity: 0.65;
}

button.list-group-item-actions {
    border: none;
    background: none;
    padding: unset;
}

.btn-findOld {
    margin: -3px 0 0 0 !important;
    height: 23px !important;
    min-height: 0 !important;
    padding: 0 5px;
    font-size: 11px;
}

.ws-initial {
    white-space: initial;
}

.hr-1 {
    margin: 1.5rem 0;
}

.text-right {
    text-align: right;
}

.filetype-icon {
    width: 18px;
}

.info1 {
    font-weight: 600;
    color: rgb(97, 97, 97);
    font-size: 20px;
}

/* Captach styles overrides */
.BDC_CaptchaIconsDiv {
    display: none !important;
}


.image-link {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 12px;
}

    .image-link img {
        display: block;
        transition: transform 0.4s ease;
        border-radius: 12px;
    }

.image-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    text-shadow: 0 0 5px rgba(0,0,0,0.7);
    font-size: 24px;
    font-weight: 600;
    z-index: 100;
}

.image-svg {
    position: absolute;
    bottom: 5px;
    right: 10px;
    width: 32px;
    height: 32px;
    z-index: 100;
}

    .image-svg svg,
    .image-svg img {
        width: 100%;
        height: 100%;
    }

.image-link:hover, .image-link-sm:hover img {
    transform: scale(1.04);
}

/* Optionnel : légère ombre */
.image-link:hover, .image-link-sm:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.image-shadow {
    position: relative;
    display: inline-block;
}

    .image-shadow::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.9) 100% );
        pointer-events: none;
    }

    .image-shadow img {
        display: block;
    }


.image-link-sm {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #EEE;
    display: flex;
    height: 250px;
}

    .image-link-sm img {
        display: block;
        transition: transform 0.4s ease;
        border-radius: 12px;
    }



.modal-content, .modal-body, .modal-dialog {
    overflow: visible !important;
}

.dropdown-divider {
    margin-top: 4px;
    margin-bottom: 4px;
}

.btn-action-text {
    width: auto;
    padding: 10px;
}

.justify-self-center {
    justify-self: center;
}

a.renewals-calendar-event {
    background-color: #9e160d;
    border: 1px solid #9e160d;
}

.donut-badge {
    --size: 20px;
    --thickness: 3px;
    --fill: #2fb344;
    --track: #e9ecef;
    --value: 0;
    width: var(--size);
    height: var(--size);
    display: inline-block;
    vertical-align: middle;
    border-radius: 50%;
    background: conic-gradient(var(--fill) calc(var(--value) * 1%), var(--track) 0);
    mask: radial-gradient(circle at center, #0000 calc(50% - var(--thickness)), #000 calc(50% - var(--thickness)));
    -webkit-mask: radial-gradient(circle at center, transparent calc(50% - var(--thickness)), #000 calc(50% - var(--thickness)));
}

    .donut-badge.sm {
        --size: 16px;
        --thickness: 3px;
    }

    .donut-badge.lg {
        --size: 24px;
        --thickness: 4px;
    }

 /* Reporting */

.reporting-container {
    background-color: #f5f7fa;
    padding: 20px;
}

.report-card {
    border: none;
    border-radius: 12px;
    transition: all 0.2s ease;
}

    .report-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    }

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #e9eef5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-card .card-footer {
    font-size: 13px;
    font-weight: 500;
    color: #0d6efd;
    cursor: pointer;
}

.report-card .card-footer:hover {
    text-decoration: underline;
}

.litepicker .container__months .month-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.litepicker .container__months .month-item-header button {
    width: 2rem;
    height: 2rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
    color: #206bc4 !important;
    background: transparent !important;
    border: 0 !important;
}

.litepicker .container__months .month-item-header .button-previous-month::before,
.litepicker .container__months .month-item-header .button-next-month::before {
    content: "";
    width: 8px;
    height: 8px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    display: inline-block;
}

.litepicker .container__months .month-item-header .button-previous-month::before {
    transform: rotate(135deg);
}

.litepicker .container__months .month-item-header .button-next-month::before {
    transform: rotate(-45deg);
}

.litepicker .container__months .month-item-header button:hover {
    cursor: pointer;
}