@font-face {
    font-family: 'Font Awesome 6';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src:
        url('./fa-solid-900-DAI24fNt.woff2') format('woff2'),
        url('./fa-solid-900-DM0teJdg.ttf') format('truetype');
}

@font-face {
    font-family: 'Font Awesome 6 brands';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src:
        url('./fa-solid-900-DAI24fNt.woff2') format('woff2'),
        url('./fa-solid-900-DM0teJdg.ttf') format('truetype');
}

@font-face {
    font-family: 'Font Awesome 6 empty';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src:
        url('./fa-regular-400-OOsPf1xj.woff2') format('woff2'),
        url('./fa-regular-400-BMFokQJ2.ttf') format('truetype');
}

* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    margin: 0;
    max-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1.6rem;
    min-height: 100vh;
}

code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

/*Scroll bar*/
/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.site-layout {
    &.ant-layout-content {
        padding: 16px 16px 0 16px;
    }

    background-color: var(--ant-color-bg-container);
    margin: 16px 8px;
    border-radius: var(--ant-border-radius-lg);
    overflow: scroll;
}

.private-route-spin {
    backdrop-filter: blur(5px);
    background-color: var(--ant-color-fill-quaternary);
    z-index: 1000;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh !important;
    width: 100vw !important;

    & > * {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.danger-checkbox {
    .ant-checkbox-checked .ant-checkbox-inner {
        background-color: var(--ant-color-error-active) !important;
        border-color: var(--ant-color-error-active) !important;
    }

    &.ant-checkbox-wrapper:hover .ant-checkbox:not(.ant-checkbox-checked) .ant-checkbox-inner {
        border-color: var(--ant-color-error-hover) !important;
    }

    &.ant-checkbox-wrapper:hover .ant-checkbox-checked .ant-checkbox-inner,
    .ant-checkbox-checked:not(.ant-checkbox-disabled):hover .ant-checkbox-inner {
        background-color: var(--ant-color-error-hover) !important;
        border-color: var(--ant-color-error-hover) !important;
    }
}
.app-header {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 4px;
    background-color: var(--ant-color-bg-container);
    border-bottom-left-radius: var(--ant-border-radius-lg);
    border-top-left-radius: var(--ant-border-radius-lg);
    box-shadow: var(--ant-box-shadow);
    padding: 8px;
    height: fit-content;
    width: fit-content;
    position: fixed;
    top: 8px;
    right: -8px;
    margin-right: 8px;
    z-index: 100;

    .theme-icon {
        color: var(--ant-color-icon-hover);
    }
}.app-header-menu {
    &.ant-menu,
    &.ant-menu-root {
        background-color: var(--ant-color-bg-elevated);
        border-inline-end: none !important;
    }

    .ant-menu-item {
        background-color: var(--ant-color-bg-elevated);
        height: 30px;
        line-height: 30px;
    }
}.fullscreen-layout-global-wrapper {
    min-height: 100vh;
    background-color: var(--ant-color-bg-layout);
    width: 100%;

    overflow: hidden;

    .fullscreen-layout-site-layout {
        &.ant-layout-content {
            padding: 4px;
        }

        background-color: var(--ant-color-bg-container);
        margin: 32px;
        border-radius: var(--ant-border-radius-lg);
        overflow: hidden;
        box-shadow: var(--ant-box-shadow-tertiary);
    }
}#left-side-bar {
    position: sticky;
    top: 8px;
    border-radius: 16px;
    margin: 8px;
    overflow: hidden;
    height: calc(100dvh - 16px);
    min-height: calc(100dvh - 16px);

    .logo-wrapper {
        text-align: center;
        padding: 24px;
        height: 120px;
        transition: none !important;

        img {
            transition: none !important;
            height: 50px;
            width: auto;
        }
    }

    .logo-wrapper.collapsed {
        padding: 16px;
    }

    .group-title {
        cursor: auto;
        pointer-events: none;

        &.collapsed {
            height: 16px;
        }
    }

    .ant-menu {
        li > ul > li {
            padding-left: 24px !important;
        }
    }

    .menu-group-title {
        cursor: auto;
        font-weight: bold;
        display: block;
        padding: 0;
        margin: 8px 0 0;
    }

    .menu-group-item {
        color: #000000 !important;

        > * {
            color: #000000 !important;
        }
    }

    .ant-layout-sider-trigger {
        background-color: transparent;
        height: fit-content;

        .side-bar-trigger {
            padding-bottom: 8px;
            color: #000000;
        }
    }
}/* Filters */
.maintenance-filters {
    padding: 5px;
    background-color: var(--ant-color-bg-layout);
    border-radius: var(--ant-border-radius);
    height: fit-content;
}

/* Flash animation */

.flash td,
.flash .ant-table-cell-sort-checked {
    animation: flash-bg 0.5s;
    background: var(--ant-color-primary-hover) !important;
}

@keyframes flash-bg {
    0% {
        background: var(--ant-color-primary-hover);
    }
    100% {
        background: inherit;
    }
}

/* SVG pictos display */
.picto-svg {
    width: 20px !important;
    height: 20px !important;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

.mode-picto {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-color: var(--ant-color-border);
    border-radius: 8px;
    vertical-align: middle;
}

.mode-picto-initials {
    width: 100%;
    color: var(--ant-color-primary);
    font-weight: 700;
    font-size: 14px;
    line-height: 32px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-picto-fallback {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.password-page-global-wrapper {
    height: calc(100vh - 64px - 8px); /* 64px = 2*32px = margin height, 8px = 2*4px = padding */

    .logo-section {
        flex: 3;
        background-image: url('../img/background.webp');
        background-repeat: no-repeat;
        background-size: cover;

        border-radius: var(--ant-border-radius-sm);

        img {
            width: 250px;
            min-width: 50px;
        }
    }

    .content-section {
        flex: 2;
        min-width: 400px;
        margin: 16px;

        #password-form {
            min-width: 300px;
            max-width: 350px;
            width: 100%;
        }
    }
}.login-page-global-wrapper {
    height: calc(100vh - 64px - 8px); /* 64px = 2*32px = margin height, 8px = 2*4px = padding */

    .logo-section {
        flex: 3;
        background-image: url('../img/background.webp');
        background-repeat: no-repeat;
        background-size: cover;

        border-radius: var(--ant-border-radius-sm);

        img {
            width: 250px;
            min-width: 50px;
        }
    }

    .content-section {
        flex: 2;
        min-width: 400px;
        margin: 16px;

        #login-form {
            min-width: 300px;
            max-width: 350px;
            width: 100%;
        }
    }
}/* Dashboard Summary Styles */

.dashboard-card {
    width: 100%;
    background: var(--ant-color-bg-container);
    border-radius: var(--ant-border-radius-lg);
    border: 1px solid var(--ant-color-border);
    box-shadow: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.badge-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-item {
    width: 45px;
    height: 20px;
    font-size: 14px;
}

.badge-label {
    font-size: 13px;
}

.external-link-icon {
    font-size: 14px;
    color: var(--ant-color-link);
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: var(--ant-border-radius);
    background: var(--ant-color-primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box__icon {
    font-size: 18px;
    color: var(--ant-color-primary);
}

.link-icon {
    display: flex;
    align-items: center;
}
.global-wrapper {
    aspect-ratio: 16 / 9;
    max-height: 120px;
    min-width: 320px;
    padding: 0;

    overflow: hidden;
    border-radius: var(--ant-border-radius-lg);
    border: 2px solid var(--ant-color-border);
    box-shadow: var(--ant-box-shadow-tertiary);

    transition: all 0.2s ease-in;

    &.disabled {
        cursor: not-allowed;
        opacity: 0.7;
        filter: grayscale(100%);
    }

    &:not(.disabled) {
        cursor: pointer;

        &:hover {
            border-color: var(--ant-color-primary-hover);
            box-shadow: var(--ant-box-shadow-card);
            transition: all 0.2s ease-in-out;

            .background-container {
                transition: all 0.2s ease-in-out;

                img {
                    mix-blend-mode: luminosity;
                }

                background-color: var(--ant-color-primary-hover);
            }
        }

        &:active {
            border-color: var(--ant-color-primary-active);
            box-shadow: var(--ant-box-shadow-tertiary);
            transition: all 0.2s ease-in-out;

            .background-container {
                transition: all 0.2s ease-in-out;

                img {
                    mix-blend-mode: luminosity;
                }

                background-color: var(--ant-color-primary-active);
            }
        }
    }
}

.background-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;

    img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: 50% 40%;
    }

    .version-tag {
        position: absolute;
        top: 8px;
        right: 8px;
        z-index: 10;
    }
}

.content-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    padding: 12px 16px;
    background-color: var(--ant-color-bg-elevated);
    backdrop-filter: blur(4px);
}

.title {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    color: var(--ant-color-text) !important;
}
/* base styles */

._GzYRV {
  line-height: 1.2;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
}

._3eOF8 {
  margin-right: 5px;
  font-weight: bold;
}

._3eOF8 + ._3eOF8 {
  margin-left: -5px;
}

._1MFti {
  cursor: pointer;
}

._f10Tu {
  font-size: 1.2em;
  margin-right: 5px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

._1UmXx::after {
  content: '\25B8';
}

._1LId0::after {
  content: '\25BE';
}

._1pNG9 {
  margin-right: 5px;
}

._1pNG9::after {
  content: '...';
  font-size: 0.8em;
}

._2IvMF {
  background: #eee;
}

._2bkNM {
  margin: 0;
  padding: 0 10px;
}

._1BXBN {
  margin: 0;
  padding: 0;
}

/* default light style */
._1MGIk {
  font-weight: 600;
  margin-right: 5px;
  color: #000000;
}

._2YKJg {
}

._3uHL6 {
  color: #000000;
}

._2T6PJ {
  color: #df113a;
}

._1Gho6 {
  color: #df113a;
}

._vGjyY {
  color: rgb(42, 63, 60);
}

._1bQdo {
  color: #0b75f5;
}

._3zQKs {
  color: rgb(70, 144, 56);
}

._1xvuR {
  color: #43413d;
}

._oLqym {
  color: #000000;
}

._2AXVT {
  color: #000000;
}

._2KJWg {
  color: #000000;
}

/* default dark style */
._11RoI {
  background: rgb(0, 43, 54);
}

._17H2C {
  color: rgb(253, 246, 227);
}

._3QHg2 {
  color: rgb(253, 246, 227);
}

._3fDAz {
  color: rgb(253, 246, 227);
}

._2bSDX {
  font-weight: bolder;
  margin-right: 5px;
  color: rgb(253, 246, 227);
}

._1RQEj {
}

._gsbQL {
  color: rgb(253, 246, 227);
}

._LaAZe {
  color: rgb(129, 181, 172);
}

._GTKgm {
  color: rgb(129, 181, 172);
}

._Chy1W {
  color: rgb(203, 75, 22);
}

._2bveF {
  color: rgb(211, 54, 130);
}

._2vRm- {
  color: rgb(174, 129, 255);
}

._1prJR {
  color: rgb(38, 139, 210);
}
.channel-form-button {
    padding-left: 4px;
    padding-right: 8px;
    transition: all 0.3s ease;

    .channel-form-icon-container {
        height: 24px;
        transition: all 0.3s ease;
        position: relative;

        &::after {
            content: '';
            position: absolute;
            height: 100%;
            width: 100%;
            top: 0;
            left: 0;
            transition: all 0.3s ease;
            mix-blend-mode: color;
        }

        &.active::after {
            background-color: var(--ant-color-primary);
        }
    }

    &:hover .channel-form-icon-container::after {
        background-color: var(--ant-color-primary-hover);
    }

    .channel-form-icon {
        height: 100%;
    }

    &:hover .channel-form-icon {
        filter: grayscale(0);
    }
}.channel-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 30px;
    height: 30px;
    border-radius: 4px;

    &.small {
        width: 25px;
        height: 25px;
        padding: 4px;
    }

    &.middle {
        width: 35px;
        height: 35px;
        padding: 4px;
    }

    &.large {
        width: 45px;
        height: 45px;
        padding: 6px;
    }

    &.filled {
        background-color: var(--ant-color-text-tertiary);
        color: #ffffff;
    }

    &.selected {
        &.filled {
            background-color: #008af2;
            color: #ffffff;
        }

        &:not(.filled) {
            color: #008af2;
        }
    }

    &.disabled {
        user-select: none;
        opacity: 0.5;
        color: #a9a9a9;
    }

    &:not(.disabled).hoverable:hover {
        cursor: pointer;
        background-color: #008af2;
        color: #ffffff;

        &.small,
        &.middle {
            padding: 6px;
        }

        &.large {
            padding: 8px;
        }
    }
}

.channel-icon-mask {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: 100%;
    background-color: currentColor;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

.channel-icon-a11y-image {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.equipment-family-button {
    padding-left: 4px;
    padding-right: 8px;

    &.no-padding {
        padding: 0;
    }

    .equipment-family-icon-wrapper {
        display: flex;
        flex: 0 0 auto;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        padding: 4px;
        border-radius: 4px;
        background-color: var(--ant-color-text-tertiary);
        color: #ffffff;
        transition: all 0.3s ease;
    }

    .equipment-family-icon {
        display: block;
        width: 100%;
        height: 100%;
        background-color: currentColor;
        mask-position: center;
        mask-repeat: no-repeat;
        mask-size: contain;
        -webkit-mask-position: center;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-size: contain;
    }

    .equipment-family-icon-a11y-image {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    &:not(.no-hoverable):hover .equipment-family-icon-wrapper {
        background-color: #008af2;
        color: #ffffff;
    }

    .equipment-family-icon-wrapper.active {
        background-color: #008af2;
        color: #ffffff;
    }
}
.module-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 1px;

    min-width: 200px;

    &.clickable {
        cursor: pointer;

        &:hover {
            background-blend-mode: overlay;
        }
    }

    &.disabled {
        cursor: default;
        opacity: 0.5;
    }


    .writable-icon {
        background-color: var(--ant-color-fill);
        border-radius: var(--ant-border-radius-sm);
        padding: 0 4px;

        color: var(--ant-color-white);
        cursor: pointer;

        &.disabled {
            cursor: default;
        }
    }

    &.active > .writable-icon {
        &.read {
            background-color: var(--ant-color-error);
        }

        &.write {
            background-color: var(--ant-color-primary);
        }

        &:not(.disabled).read:hover {
            background-color: var(--ant-color-error-hover);
        }

        &:not(.disabled).write:hover {
            background-color: var(--ant-color-primary-hover);
        }

        &:not(.disabled).read:active {
            background-color: var(--ant-color-error-active);
        }

        &:not(.disabled).write:active {
            background-color: var(--ant-color-primary-hover);
        }
    }
}

.module-group-wrapper {
    background-color: var(--ant-color-bg-layout);
    border-radius: var(--ant-border-radius-lg);
    padding: 4px;

    width: fit-content;

    > h4 {
        margin: 4px 8px 4px;
    }
}

.sub-modules-wrapper {
    background-color: var(--ant-color-bg-container);
    padding: 8px;
    border-radius: var(--ant-border-radius-lg);

    > h4, h5 {
        margin: 0;
    }
}.family-icon {
    object-fit: contain;
    position: relative;
    width: 30px;
    height: 30px;

    > img {
        width: 30px;
        height: 30px;
    }

    &:not(.active) {
        opacity: 0.5;
    }

    &.active::after {
        content: '';
        top: 0;
        left: 0;
        width: 30px;
        height: 30px;
        background-color: var(--ant-color-primary-hover);
        border-radius: var(--ant-border-radius-lg);
        position: absolute;
        mix-blend-mode: overlay;
    }

    &.clickable {
        cursor: pointer;
        position: relative;
        transition: all 0.2s ease-in-out;

        &:hover {
            opacity: 0.8;
        }

        &:active {
            opacity: 1;
        }
    }
}

.profiles-channels-global-wrapper {
    background-color: var(--ant-color-bg-layout);
    border-radius: var(--ant-border-radius-lg);
    padding: 4px;

    width: fit-content;
    height: fit-content;

    > h4 {
        margin: 4px 8px 4px;
    }

    > .content-wrapper {
        background-color: var(--ant-color-bg-container);
        padding: 8px;
        border-radius: var(--ant-border-radius-lg);
    }
}

.user-edit-profiles {
    min-width: 300px;
    max-width: max(50%, 500px);
}

.profiles-wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}