@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --cogo-brand-green-color: #00BC94;
    --cogo-brand-teal-color: #30E5D0;
    --cogo-brand-lightblue-color: #49AAE5;
    --cogo-main-red-color: #C50F1F;
    --cogo-main-lightred-color: #FF4d4d;
    --cogo-main-black-color: #050505;
    --cogo-main-lightgrey-color: #757575;
    --cogo-main-darkgrey-color: #444444;
    --cogo-main-yellow-color: #EE8E4E;
    --cogo-main-offwhite-color: #F7F7F7;
    --cogo-error-red-color: #C13E41;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow: hidden;
    min-width: 600px;
    overflow-x: auto;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.circular-checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.circular-checkbox {
    margin-top: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid grey;
}

    .circular-checkbox.unchecked {
        background-color: white;
    }

    .circular-checkbox.checked {
        background-color: #0F6CBD;
        border: none;
    }

.checkmark {
    color: white;
    font-size: 10px;
}

.checkbox-text {
    margin-top: 8px;
    margin-left: 10px;
    font-size: 16px;
    color: black;
}

.clickable-link {
    text-decoration: underline;
    cursor: pointer;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.underline-on-hover:hover {
    text-decoration: underline;
}

.center-in-both-orientations {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100%; /* Set a height for the container */
}

.footer {
    width: 100%;
    padding: 0 9% 10px 9%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: white;
    height: 53px;
    margin-top: 2rem;
}

.horizontal-layout {
    display: flex;
    flex-direction: row; /* Arrange children in a row */
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.btn-cogo {
    background-color: #21BA97; /* Replace with your preferred color code */
    color: #ffffff; /* Set text color for better contrast */
    border-radius: 20px; /* Adjust the border-radius for rounded corners */
    border: none; /* Remove the border */
    padding: 10px 20px; /* Adjust padding for better appearance */
}

    /* Optionally, you can add hover and active states for interactivity */
    .btn-cogo:hover {
        background-color: #21BA97; /* Change color on hover */
    }

    .btn-cogo:active {
        background-color: #21BA97; /* Change color on click */
    }

.fluent-button {
    margin-top: 5px;
    margin-bottom: 10px;
}

    .fluent-button.toolbar {
        border: 1px solid;
        border-radius: 20px;
        font-weight: 500;
        font-size: 16px;
        margin-left: 4px;
        margin-right: 4px;
    }

    .fluent-button:disabled {
        border: none;
        background-color: #f0f0f0;
        color: #888;
    }

.secondary-fluent-button {
    border: 1px solid;
    border-radius: 20px;
    font-weight: 500;
    font-size: 16px;
}
    .secondary-fluent-button:disabled {
        border: none;
        background-color: #f0f0f0;
        color: #888;
    }
.fluent-control {
    appearance: none;
    color: inherit;
    background: transparent;
    border: 0px;
    height: calc(100% - 4px);
    margin-top: auto;
    margin-bottom: auto;
    padding: 0 calc(var(--design-unit) * 2px + 1px);
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    width: 100%;
    outline: none;
    box-sizing: border-box;
    position: relative;
    color: inherit;
    border: calc(var(--stroke-width) * 1px) solid transparent;
    border-radius: calc(var(--control-corner-radius) * 1px);
    height: calc((var(--base-height-multiplier) + var(--density)) * var(--design-unit) * 1px);
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    background: padding-box linear-gradient(var(--neutral-fill-input-rest),var(--neutral-fill-input-rest)),border-box var(--neutral-stroke-input-rest);
}

    .fluent-control.invalid {
        border-color: #BC2F32;
    }

    input:disabled, .fluent-control:disabled {
        color: #888;
        cursor: not-allowed;
        opacity: 0.6;
    }

.fluent-slider {
    width: 100%;
    max-width: 440px;
    font-weight: 400;
    font-size: 12px;
}

.fluent-select {
    width: 440px;
    max-width: 90%;
    font-size: 14px;
    font-weight: 400;
}

.fluent-text-field {
    width: 440px;
    max-width: 90%;
    margin-bottom: 10px;
}

.fluent-numeric-field {
    width: 440px;
    max-width: 90%;
}

.fluent-numeric-field-short {
    width: 143px;
    margin-top: 3px;
    margin-bottom: 10px;
}

.fluent-number-invalid-field {
    border: 2px solid #bc2f32;
    border-radius: 5px;
    padding: 0px;
    outline: none;
}

.not-authorized-group {
    cursor: not-allowed;
}

.not-authorized-group * {
    cursor: inherit;
}

.disabled-appbar-item {
    pointer-events: none;
    color: #a0a0a0;
    opacity: 0.4;
    cursor: not-allowed !important;
}

.disabled-appbar-wrapper {
    position: relative;
    cursor: not-allowed !important;
}

    .disabled-appbar-wrapper:hover::after {
        /*content: "You are not authorized";*/
        position: absolute;
        left: 100%;
        top: 50%;
        transform: translateY(-50%);
        background: black;
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        white-space: nowrap;
        font-size: 11px;
        margin-left: 6px;
        z-index: 9999;
    }

.disabled-no-hover {
    pointer-events: none !important;
    opacity: 0.6 !important;
}

    .disabled-no-hover:hover,
    .disabled-no-hover:focus,
    .disabled-no-hover:active {
        pointer-events: none !important;
        opacity: 0.6 !important;
        background-color: #A19F9D !important;
        color: #888 !important;
    }

@media screen and (max-width: 431px) {
    .fluent-slider {
        width: 200px;
    }

    .fluent-select {
        width: 200px;
        min-width: 200px;
    }

    .fluent-text-field {
        width: 200px;
    }

    .fluent-numeric-field {
        width: 200px;
    }

    .fluent-numeric-field-short {
        width: 200px;
    }
}

.value-unit-container {
    display: flex;
    width: 140px;
    height: 30px;
    margin-top: 6px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #D1D1D1;
}

.right-unit-part {
    flex: 1;
    background-color: #F0F0F0;
    display: flex;
    font-weight: 500;
    align-items: center;
    justify-content: center;
}

.value-unit-box-input-field {
    width: 80%;
    height: 80%;
    border: none;
    text-align: center;
    align-self: center;
    background-color: white;
    flex: 1;
}

    .value-unit-box-input-field:focus {
        outline: none !important;
    }


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}


#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;
    }


.site-summary-container {
    position: absolute;
    top: 65px;
    left: 90px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    width: 390px;
}

.site-summary {
    display: flex;
    flex-direction: row;
    height: 90px;
    border-radius: 16px;
    background-color: var(--cogo-main-offwhite-color);
    overflow: hidden;
    box-shadow: var(--elevation-shadow-card-rest);
}

    .site-summary div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .site-summary .alarms-section {
        padding: 12px;
        width: 20%;
        background-color: #D7D4D4;
    }

        .site-summary .alarms-section[danger] {
            background-color: var(--cogo-main-red-color);
        }

            .site-summary .alarms-section[danger] .section-header {
                color: var(--cogo-main-offwhite-color);
            }

        .site-summary .alarms-section .section-header {
            color: brown;
        }

        .site-summary .alarms-section .section-value {
            background-color: #F1FAF1;
            border-radius: 6px;
            width: 80%;
            color: brown;
        }

        .site-summary .alarms-section[danger] .section-value {
            background-color: var(--cogo-main-offwhite-color);
        }

    .site-summary .sensors-section {
        padding: 12px;
        width: 22%;
        border-right: solid 1px lightgrey;
    }

    .site-summary .section-label {
        display: flex;
        flex-direction: row;
        font-size: 11px;
    }

    .site-summary .assets-section {
        padding: 12px;
        width: 48%;
    }

    .site-summary .button-section {
        justify-content: center;
        width: 10%;
    }

        .site-summary .button-section:hover {
            background-color: #ECECEC;
            cursor: pointer;
        }

    .site-summary .section-header {
        font-size: 14px;
        font-weight: 600 !important;
        color: var(--cogo-main-lightgrey-color);
        margin-bottom: 4px;
    }

    .site-summary .section-value {
        color: var(--cogo-main-black-color);
        font-weight: 600 !important;
        padding: 4px 8px;
        font-size: 18px;
    }

.site-summary-list {
    display: flex;
    flex-direction: column;
    background-color: var(--cogo-main-offwhite-color);
    border-radius: 16px;
    margin-top: 8px;
    padding-top: 12px;
    box-shadow: var(--elevation-shadow-card-rest);
    overflow-y: auto;
    transition: 0.2s ease;
    opacity: 0;
    pointer-events: none;
    max-height: 0;
}

    .site-summary-list.show {
        opacity: 1;
        height: min(70vh, 800px);
        max-height: min(70vh, 800px);
        pointer-events: auto;
    }

        .site-summary-list.show[item-selected] {
            min-height: 40vh;
            height: fit-content;
        }

    .site-summary-list .item-list {
        max-height: 100%;
    }

        .site-summary-list .item-list[item-selected] {
            display: none;
        }

.site-summary-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 68px;
    padding: 8px 12px;
    border-bottom: solid 1px lightgrey;
}

    .site-summary-item:hover {
        background-color: #ECECEC;
        cursor: pointer;
    }

    .site-summary-item:first-child {
        padding-top: 12px;
    }

    .site-summary-item:last-child {
        height: 72px;
    }

    .site-summary-item .title-container {
        width: 65%;
        display: flex;
        flex-direction: column;
    }

.fw-500 {
    font-weight: 600 !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.fs-10 {
    font-size: 10px !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-24 {
    font-size: 24px !important;
}

.justify-self-end {
    justify-self: flex-end;
}

.overflow-y-auto {
    overflow-y: auto;
}

.icon-button {
    border-radius: 16px;
    padding: 4px;
}

    .icon-button:hover {
        background-color: #ECECEC;
    }

.justify-self-end {
    justify-self: flex-end;
}

.ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.photo-column {
    display: flex;
    align-items: center; /* This aligns items vertically in the center */
    justify-content: left; /* This centers the items horizontally (optional, based on your design needs) */
}


.photo-text {
    margin-left: 10px;
    text-decoration: underline;
    cursor: pointer;
    width: calc(100% - 32px);
    text-overflow: ellipsis;
    overflow: hidden;
}


.headerContainer {
    display: flex;
    justify-content: space-between; /* Pushes the child elements to the left and right */
    width: 100%; /* Takes full width of the parent element */
}

.left-group, .right-group {
    display: flex;
    flex-direction: row; /* Aligns the child divs in a row */
}

.headerItem {
    margin: 5px;
}

.header-center-text {
    margin-left: -392px;
    top: 108px;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cogo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border: 1px solid var(--Colors-Grey-10, #e6e6e6);
    border-radius: calc(var(--layer-corner-radius)* 1px);
    box-shadow: var(--elevation-shadow-card-rest);
    width: 100%;
}

    .cogo-card .card-title {
        margin: 16px !important;
        font-weight: 700 !important;
        font-size: 14px !important;
    }

    .cogo-card .header-end {
        position: absolute;
        top: 14px;
        right: 12px;
    }

    .cogo-card .button-content {
        position: absolute;
        bottom: 16px;
        right: 8px;
    }

    .cogo-card.alarm-card {
        box-shadow: 0 0 8px #C50F1F;
    }

.photo-manager-table {
    flex-grow: 1;
    min-width: 60%;
    height: 288px;
    overflow-y: auto;
}

.photo-manager-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between !important;
    padding: 4px 12px 4px 8px;
    width: 100%;
}

    .photo-manager-row .photo-column {
        width: calc(100% - 76px);
    }

    .photo-manager-row .photo-text {
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.photo-manager-popover {
    padding: .5rem .5rem;
}

    .photo-manager-popover .fluent-popover-content {
        padding: 0 !important;
    }

    .photo-manager-popover .menu-option {
        padding: 4px 8px;
        cursor: pointer;
        transition: background-color 0.2s ease;
        border-radius: 4px;
    }

        .photo-manager-popover .menu-option:hover {
            background-color: #eeeeee;
        }

.card-photo-container {
    width: 40%;
    max-width: 196px;
    height: 100%;
}

    .photo-container img, .card-photo-container img {
        border-radius: 6px;
        width: 100%;
        height: 100%;
        object-fit: cover; /* Cover the container, cropping as necessary */
        object-position: center; /* Center the image within the container */
    }

.sensor-data-container {
    margin-top: 22px;
    margin-left: 25px;
    margin-right: 22px;
    width: 100%; /* Fixed width */
    height: 300px; /* Fixed height */
    overflow: hidden; /* Hide parts of the image that don't fit */
    position: relative; /* Positioning context for the image */
    display: inline-block; /* For demonstration */
}

.sensor-data-label {
    margin-top: 4px;
}

.left-right-text-container {
    padding: 0px 10px;
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between; /* Aligns children to the left and right edges of the container */
}

.left-text {
    text-align: left; /* Text alignment for the left div */
}

.right-text {
    text-align: right; /* Text alignment for the right div */
}

.thumbnail-photo {
    border-radius: 5px;
    height: 32px;
    width: 32px;
    border: 1px solid var(--neutral-layer-3);
    object-fit: cover;
    object-position: center;
}

.status-col {
    border-radius: 4px;
    height: 26px;
    width: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: var(--cogo-main-red-color);
}

.parent-col {
    display: flex;
    justify-content: left; /* This aligns the first child to the left and the second child to the right */
    width: 100%; /* Ensures the parent takes full width of its container */
}

.alarms-table .escalation-level-bar, .sensor-info-card .escalation-level-bar {
    width: 100px;
    height: 24px;
}

.left-battery {
    /* Optional: Style for the left div */
    width: 20px;
    margin-right: 5px;
}

.right-battery {
    /* Optional: Style for the right div */
    width: 30px;
    margin-left: 5px;
}

/* Hide the large image by default */
.img-large {
    border-radius: 10px;
    display: none;
    height: 128px;
    width: 128px;
    position: absolute;
    margin-top: -10px;
    margin-left: 10px;
    object-fit: cover;
    object-position: center;
    z-index: 1000; /* Ensure it appears above other content */
    /* You can add more styles here to adjust the position, border, etc. */
}

/* Container to control the image position */
.img-container:hover .img-large {
    display: block; /* Show the large image on hover */
}


/* Define the blinking keyframes */
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    /* Text is fully visible at 0% and 100% */
    50% {
        opacity: 0;
    }
    /* Text is fully transparent at 50% */
}

/* Apply the blinking animation to a class */
.blinking-text {
    animation: blink 1s linear infinite; /* 1s duration, linear timing, infinite repetition */
}

.state-text {
    display: flex;
    width: fit-content;
    padding: 0 8px;
    height: 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    color: white;
}

.state-active-text {
    background-color: var(--cogo-main-red-color);
}

.state-cleared-text {
    background-color: var(--cogo-brand-green-color);
}

.state-silenced-text {
    background-color: var(--cogo-main-yellow-color);
}

.clear-action-button {
    display: flex;
    padding: 5px 16px;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    border: 1px solid var(--Colors-Grey-36, #5C5C5C);
    background: #FFFFFF;
}

    .clear-action-button:disabled {
        border: none;
        background-color: #f0f0f0; 
        color: #888; 
    }

.enable-button {
    display: flex;
    padding: 5px 16px;
    height: 40px;
    width: 120px;
    font-weight: 600;
    font-size: medium;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    border: 1px solid green;
    background: #FFFFFF;
    color: green;
}

.disable-button {
    display: flex;
    padding: 5px 16px;
    height: 40px;
    width: 120px;
    font-weight: 600;
    font-size: medium;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    border: 1px solid var(--Colors-Grey-10, #e6e6e6);
    background: #FFFFFF;
}

.close-button {
    display: flex;
    padding: 5px 16px;
    height: 40px;
    margin-right: 13px;
    font-weight: 600;
    font-size: medium;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    border: 1px solid #e6e6e6;
    background: #FFFFFF;
    white-space: nowrap;
}

    .close-button:hover {
        border-color: grey; /* Red border on hover */
    }
    .close-button:disabled {
        border: none;
        background-color: #f0f0f0;
        color: #888;
    }

.primary-button {
    padding: 5px 16px;
    height: 40px;
    width: 120px;
    margin-right: 13px;
    color: white;
    font-weight: 600;
    font-size: medium;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    border: 1px solid black;
    background: black;
}

    .primary-button:hover {
        background: #155FA2; /* Red border on hover */
        border: 1px solid #155FA2;
    }

.gallery {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 2vw);
    grid-gap: 0.25rem;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item1 {
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 9;
}

.gallery-item2 {
    grid-column-start: 5;
    grid-column-end: 7;
    grid-row-start: 1;
    grid-row-end: 5;
}

.gallery-item3 {
    grid-column-start: 7;
    grid-column-end: 9;
    grid-row-start: 1;
    grid-row-end: 5;
}

.gallery-item4 {
    grid-column-start: 5;
    grid-column-end: 7;
    grid-row-start: 5;
    grid-row-end: 9;
}

.gallery-item5 {
    grid-column-start: 7;
    grid-column-end: 9;
    grid-row-start: 5;
    grid-row-end: 9;
}

.configuration-change-dialog .fluent-input-label {
    margin-top: 1rem;
}

.form-validation-message {
    color: var(--cogo-error-red-color);
    font-size: .8rem;
    margin-bottom: 8px;
    font-family: Poppins;
}

.assign-sites-table {
    width: 100%;
    max-height: 240px;
    overflow-y: scroll;
}

.table-header, .escalation-levels-table, .users-table {
    max-width: 1200px;
    width: 100%;
    justify-self: center;
}

.escalation-level-users-table {
    font-family: Poppins;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 8px;
}

.sensor-chart-tabs fluent-tab {
    margin-bottom: 4px;
}

    .sensor-chart-tabs fluent-tab[aria-selected="true"] {
        font-weight: 700;
    }

    .sensor-chart-tabs fluent-tab[has-alarm="true"] {
        color: var(--cogo-main-red-color);
        font-weight: 700;
    }

.chart-placeholder {
    height: calc(100% - 60px);
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.cursor-pointer {
    cursor: pointer;
}

.settings-form-container {
    display: flex;
    flex-direction: column;
    width: 470px;
    justify-self: center;
    gap: 16px;
}

.fluent-dialog-body .fluent-input-label {
    margin-top: 8px;
}

.w-fit-content {
    width: fit-content;
}

.dynaway-connections-settings-dialog {
    min-height: 280px !important;
}

    .dynaway-connections-settings-dialog .cogo-toggle-button {
        align-self: flex-end;
        transform: translateY(16px);
    }

.cogo-toggle-button {
    padding: 4px;
    border-radius: 6px;
    outline: 0;
}

    .cogo-toggle-button:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .cogo-toggle-button.disabled {
        opacity: 0.5;
        pointer-events: none;
        cursor: not-allowed;
    }

fluent-tooltip[anchor="dialog_close"] {
    display: none !important;
}

.map-marker-control {
    background-color: #fff;
    border: 2px solid #fff;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    color: rgb(25, 25, 25);
    cursor: pointer;
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 38px;
    margin: 8px;
    padding: 0px 5px;
    text-align: center;
    user-select: none;
}

.map-instruction-message {
    background-color: #fff;
    border: 2px solid #fff;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    color: rgb(25, 25, 25);
    padding: 0px 5px;
    margin: 8px;
    user-select: none;
    text-align: center;
}

.site-selector-menu {
    max-height: min(600px, 80vh);
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: 8px;
}

    .site-selector-menu fluent-accordion-item {
        border: none;
    }

    .site-selector-menu .site-option {
        padding: 6px 24px;
        cursor: pointer;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-content: center;
        border-radius: 4px;
    }

        .site-selector-menu .site-option[selected] {
            background-color: var(--neutral-fill-stealth-hover);
            color: var(--cogo-main-darkgrey-color);
        }

        .site-selector-menu .site-option:hover {
            background-color: var(--neutral-fill-stealth-hover);
        }

        .site-selector-menu .site-option .site-option-text {
            color: var(--cogo-main-darkgrey-color);
            margin-top: 2px;
        }

        .site-selector-menu .site-option[selected] .site-option-text {
            font-weight: 500 !important;
        }

fluent-dialog {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

fluent-badge {
    --badge-fill-critical: var(--cogo-main-red-color);
    --badge-color-critical: #FFF;
    --badge-fill-important: var(--cogo-main-lightred-color);
    --badge-color-important: #FFF;
    --badge-fill-information: #FFFF00;
    --badge-color-information: var(--cogo-main-black-color);
    --badge-fill-normal: var(--cogo-brand-green-color);
    --badge-color-normal: #FFF;
}


.asset-story-photo {
    width: 85px !important;
    height: 85px !important;
    margin-right: 10px;
}

.asset-story-text {
    width: calc(100% - 80px);
    display: flex;
    flex-direction: column;
}

[id^="daily-brief-dialog"]::part(control) {
    padding: 0 !important;
    overflow: hidden;
    width: min(800px, 80%) !important;
    height: min(900px, 80%) !important;
}


.daily-dialog-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%);
    gap: 10px;
    width: 80%;
    line-height: normal;
}


.dialog-close-button {
    width: 32px !important;
    height: 32px !important;
    border-radius: 4px;
    cursor: pointer;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

    .dialog-close-button:hover {
        background-color: #ECECEC;
    }

.daily-brief-story {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .daily-brief-story .feedback-submitted {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .daily-brief-story .checkmark-container {
        width: 120px;
        height: 120px;
        display: grid;
        place-items: center;
    }

    .daily-brief-story .thanks-text {
        font-size: 1rem;
        font-weight: 600;
        color: #14532d;
        white-space: nowrap;
        margin-top: 4px;
        margin-bottom: 8px;
    }

.fade-in {
    opacity: 1;
    animation: fadeIn 0.4s ease forwards;
}

.fluent-toast-provider {
    z-index: 999999 !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@media screen and (max-width: 576px) {
    .hide-on-xs {
        display: none;
    }
}

@media screen and (max-width: 960px) {
    .hide-on-small {
        display: none !important;
    }

    .hide-on-medium {
        display: none;
    }

    .full-width-on-medium {
        width: 100%
    }

    .show-on-small {
        display: block;
    }

    .devices-table fluent-data-grid-row,
    .assets-table fluent-data-grid-row {
        grid-template-columns: 1fr 1fr !important;
    }

    .alarms-table fluent-data-grid-row {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)) !important;
    }

    .users-table fluent-data-grid-row, .escalation-levels-table fluent-data-grid-row {
        grid-template-columns: 1.4fr 0.3fr !important;
    }

    .devices-table fluent-divider {
        display: none;
    }

    .escalation-levels-table fluent-data-grid-cell:not(:last-child) {
        border-right: 1px solid #e0e0e0;
    }

    .devices-table .status-column,
    .users-table .actions-column,
    .escalation-levels-table .actions-column,
    .assets-table .asset-description-column {
        grid-column: 2 !important;
    }

    .users-table .email-column, .escalation-levels-table .escalation-levels-description {
        grid-column: 1 !important;
    }
}

@media screen and (min-width: 961px) {
    .show-on-large {
        display: block;
    }

    .hide-on-large {
        display: none !important;
    }

    .half-width-on-large {
        width: 50%
    }
}

@media screen and (min-width: 1200px) {
    .hide-on-wide {
        display: none;
    }
}

.cycle-count-container {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.cycle-count-gauge {
    width: 100%;
    height: 90%;
}

.cycle-count-info-section {
    position: absolute;
    top: 15%;
    right: 4%;
    width: fit-content;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cycle-count-percentage {
    font-size: 44px;
}

.cycle-count-fraction {
    font-size: 12px;
    opacity: 0.4
}

.bia-dialog {
    width: 100%;
    max-width: 90vw;
    margin: 0 auto;
    padding-left: 2%;
    padding-right: 2%;
}

.bia-category-grid {
    min-height: 120px;
}

.bia-risk-score-value {
    display: inline-block;
    min-width: 3ch;
    text-align: right;
    white-space: nowrap;
}

.bia-level-slider-1 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    --accent-fill-rest: #22C55E;
    --accent-fill-hover: #16A34A;
    --accent-fill-active: #15803D;
    --neutral-fill-hover: #6b7280;
    --neutral-fill-strong-rest: #6b7280;
    --neutral-fill-strong-hover: #374151;
    --neutral-fill-layer-rest: #ffffff;
}

.bia-level-slider-3 {
    margin-bottom: 0;
    padding-bottom: 0;
    --accent-fill-rest: #FBBF24;
    --accent-fill-hover: #F59E0B;
    --accent-fill-active: #D97706;
    --neutral-fill-hover: #6b7280;
    --neutral-fill-strong-rest: #6b7280;
    --neutral-fill-strong-hover: #374151;
    --neutral-fill-layer-rest: #ffffff;
}

.bia-level-slider-4 {
    margin-bottom: 0;
    padding-bottom: 0;
    --accent-fill-rest: #FB923C;
    --accent-fill-hover: #F97316;
    --accent-fill-active: #EA580C;
    --neutral-fill-hover: #6b7280;
    --neutral-fill-strong-rest: #6b7280;
    --neutral-fill-strong-hover: #374151;
    --neutral-fill-layer-rest: #ffffff;
}

.bia-level-slider-5 {
    margin-bottom: 0;
    padding-bottom: 0;
    --accent-fill-rest: #EF4444;
    --accent-fill-hover: #DC2626;
    --accent-fill-active: #B91C1C;
    --neutral-fill-hover: #6b7280;
    --neutral-fill-strong-rest: #6b7280;
    --neutral-fill-strong-hover: #374151;
    --neutral-fill-layer-rest: #ffffff;
}

.bia-impact-description {
    min-height: 40px;
}

@media (max-width: 1800px) {
    .cycle-count-info-section {
        right: 10px;
        width: 220px;
    }
}

@media (max-width: 1600px) {
    .cycle-count-container {
        justify-content: space-between;
    }

    .cycle-count-info-section {
        position: relative;
        align-self: flex-start;
    }
}

@media (max-width: 1280px) {
    .cycle-count-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .cycle-count-gauge {
        height: 66% !important;
    }

    .cycle-count-info-section {
        align-items: center;
        align-self: center;
        width: fit-content;
        right: 0;
        top: 0;
    }

    .cycle-count-percentage {
        font-size: 32px;
    }

    .bia-impact-description {
        display: none;
    }
}

[id^="bia-slider-"] {
    height: 10px;
    overflow: visible;
}

@media (min-width: 1281px) {
    .bia-slider-tooltip {
        display: none !important;
    }
}

@media (max-width: 601px) {
    .cycle-count-gauge {
        height: 40% !important;
    }

    .cycle-count-info-section {
        align-items: center;
        align-self: center;
        width: fit-content;
        right: 0;
        top: 0;
    }

    .cycle-count-percentage {
        font-size: 14px;
    }

    .cycle-count-fraction {
        display: none;
    }
}

.user-profile-menu {
    padding: 0 calc((10 + (var(--design-unit) * 2 * var(--density))) * 1px);
}

.user-profile-menu-template {
    width: 330px;
    border-radius: calc(var(--layer-corner-radius) * 1px);
}

    .user-profile-menu-template [part*="fullname"],
    .user-profile-menu-template [part*="email"] {
        max-width: 220px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

fluent-checkbox {
    --accent-fill-rest: #007c5d;
    --accent-fill-hover: #008768;
    --accent-fill-active: #009977;
}

fluent-text-field {
    --accent-fill-rest: #007c5d;
    --accent-fill-hover: #008768;
    --accent-fill-active: #009977;
}

.required-asterisk {
    color: red;
}

.readonly-field {
    background-color: #f5f5f5;
    opacity: 0.7;
}

.users-table .group-separator {
    border-top: 2px dashed #ccc;
}