/*
 * Safety sheets page.
 * Scoped to .page-fiche-de-securite to avoid altering catalogue, videos or product tables.
 */
.page-fiche-de-securite {
    --safety-blue: #061b59;
    --safety-blue-dark: #02103b;
    --safety-red: #e4002b;
    --safety-text: #182235;
    --safety-muted: #70809f;
    --safety-line: #e4e9f2;
    --safety-line-strong: #8390ac;
    --safety-panel: #ffffff;
    --safety-page-bg: #f3f6fb;
    --safety-page-gutter: 48px;
}

.page-fiche-de-securite body,
body.page-fiche-de-securite {
    background: var(--safety-page-bg);
}

.page-fiche-de-securite .content-push {
    background: var(--safety-page-bg);
    margin-left: calc(var(--safety-page-gutter) * -1);
    margin-right: calc(var(--safety-page-gutter) * -1);
    padding: 34px var(--safety-page-gutter) 0;
}

.page-fiche-de-securite .content-push > .footer-wrapper.nb-footer {
    margin-left: calc(var(--safety-page-gutter) * -1) !important;
    margin-right: calc(var(--safety-page-gutter) * -1) !important;
}

.page-fiche-de-securite .article-container.nb-site-container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.safety-page {
    background: var(--safety-panel);
    border: 1px solid rgba(22, 42, 80, 0.06);
    border-radius: 14px;
    box-shadow: 0 22px 54px rgba(12, 30, 64, 0.13);
    color: var(--safety-text);
    font-family: "Sora", "Inter", Raleway, Arial, sans-serif;
    margin: 0 auto 34px;
    max-width: 1560px;
    padding: 30px 52px 30px;
}

.safety-page__header {
    background: transparent !important;
    display: block !important;
    height: auto !important;
    left: auto !important;
    margin-bottom: 26px;
    padding: 0 !important;
    position: static !important;
    right: auto !important;
    top: auto !important;
    width: auto !important;
    z-index: auto !important;
}

.safety-page__header h1 {
    background: transparent !important;
    color: var(--safety-blue);
    display: inline-block;
    font-family: "Sora", "Inter", Raleway, Arial, sans-serif;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0;
}

.safety-sheet-panel {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0 auto 0;
    overflow: visible;
}

.safety-sheet-panel__search.search-box.size-1 {
    background: transparent;
    border: 0;
    border-radius: 14px;
    box-shadow: none;
    height: auto !important;
    margin: 0 0 18px;
    overflow: visible !important;
    padding: 0;
}

.safety-sheet-panel__search.search-box.size-1 form {
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid #d8e2f1;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 35, 70, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    display: flex !important;
    gap: 8px;
    height: auto !important;
    min-height: 64px;
    overflow: hidden;
    padding: 5px;
    position: relative;
    width: 100%;
}

.safety-sheet-panel__search.search-box.size-1 form:focus-within {
    border-color: rgba(0, 91, 187, 0.45);
    box-shadow: 0 14px 34px rgba(15, 35, 70, 0.09), 0 0 0 4px rgba(0, 91, 187, 0.08);
}

.safety-sheet-panel__search.search-box.size-1 .search-field {
    border: 0 !important;
    border-right: 0 !important;
    box-sizing: border-box;
    flex: 1 1 0;
    height: 52px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin: 0 !important;
    min-width: 0;
    padding-right: 0;
    width: auto !important;
}

.safety-sheet-panel__search.search-box.size-1 .search-field input {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #27354d;
    display: block;
    font-family: "Sora", "Inter", Raleway, Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    height: 52px !important;
    line-height: 52px !important;
    padding: 0 20px !important;
    text-overflow: ellipsis;
    width: 100%;
}

.safety-sheet-panel__search.search-box.size-1 .search-field input::placeholder {
    color: #aeb9ca;
    opacity: 1;
}

.safety-sheet-panel__search.search-box.size-1 .safety-sheet-panel__submit.search-button {
    align-items: center;
    background: #005bbb !important;
    border: 0 !important;
    border-radius: 11px;
    box-shadow: 0 10px 20px rgba(0, 91, 187, 0.24);
    cursor: pointer;
    display: inline-flex !important;
    flex: 0 0 54px;
    float: none !important;
    height: 52px !important;
    justify-content: center;
    padding: 0;
    position: static !important;
    min-width: 54px !important;
    max-width: 54px;
    width: 54px !important;
    z-index: 3;
}

.safety-sheet-panel__search.search-box.size-1 .safety-sheet-panel__submit.search-button:hover,
.safety-sheet-panel__search.search-box.size-1 .safety-sheet-panel__submit.search-button:focus-visible {
    background: #00499a !important;
    box-shadow: 0 12px 24px rgba(0, 73, 154, 0.28);
    outline: 0;
}

.safety-sheet-panel__search.search-box.size-1 .safety-sheet-panel__submit.search-button .fa {
    color: #fff !important;
    font-size: 22px;
    height: auto !important;
    line-height: 1 !important;
}

.safety-sheet-panel__search form.is-loading .safety-sheet-panel__submit.search-button .fa {
    animation: safetySearchPulse 0.8s ease-in-out infinite alternate;
}

.safety-sheet-results {
    position: relative;
}

.safety-sheet-results__meta {
    align-items: center;
    color: #52627b;
    display: flex;
    font-size: 13px;
    font-weight: 650;
    justify-content: space-between;
    margin: 0 0 12px;
}

.safety-sheet-results__count {
    color: var(--safety-blue);
    font-size: 18px;
    font-weight: 800;
    margin-right: 6px;
}

.safety-sheet-results__query {
    color: #7a879b;
    min-width: 0;
    text-align: right;
}

.safety-sheet-results__query strong {
    color: var(--safety-blue);
    font-weight: 750;
}

.safety-sheet-table-wrap {
    background: #fff;
    border: 1px solid #dfe7f3;
    border-radius: 13px;
    box-shadow: 0 14px 34px rgba(12, 30, 64, 0.06);
    overflow-x: auto;
    width: 100%;
}

.safety-sheet-table {
    border-collapse: separate;
    border-spacing: 0;
    color: var(--safety-text);
    font-family: "Sora", "Inter", Raleway, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    min-width: 760px;
    width: 100%;
}

#attachments-list.safety-sheet-table th,
#attachments-list.safety-sheet-table td {
    border-bottom: 1px solid var(--safety-line);
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    padding: 15px 18px;
    text-align: left;
    vertical-align: middle;
}

#attachments-list.safety-sheet-table th:last-child,
#attachments-list.safety-sheet-table td:last-child {
    border-right: 0;
}

#attachments-list.safety-sheet-table thead th {
    background: #f7faff;
    border-bottom: 1px solid #d4ddec;
    color: var(--safety-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    padding-bottom: 15px;
    padding-top: 15px;
}

#attachments-list.safety-sheet-table th:first-child,
#attachments-list.safety-sheet-table td:first-child {
    width: 260px;
}

#attachments-list.safety-sheet-table th:last-child,
#attachments-list.safety-sheet-table td:last-child {
    width: 220px;
}

#attachments-list.safety-sheet-table th:last-child {
    text-align: center;
}

.safety-sheet-table tbody tr {
    background: #fff;
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

.safety-sheet-table tbody tr:nth-child(even) {
    background: #fbfdff;
}

.safety-sheet-table tbody tr:hover {
    background: #f4f8ff;
}

.safety-sheet-table a:not(.file-link) {
    color: #14213d;
    font-weight: 650;
    text-decoration: none;
}

.safety-sheet-table a:not(.file-link):hover {
    color: var(--safety-blue);
    text-decoration: underline;
}

.safety-sheet-ref {
    align-items: center;
    background: #f0f5ff;
    border: 1px solid #d9e5f8;
    border-radius: 999px;
    color: var(--safety-blue);
    display: inline-flex;
    font-size: 13px;
    font-weight: 750;
    min-height: 29px;
    padding: 5px 11px;
    white-space: nowrap;
}

.safety-sheet-lang {
    align-items: center;
    background: #f6f8fc;
    border: 1px solid #e2e8f2;
    border-radius: 999px;
    color: #495973;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    min-height: 28px;
    padding: 6px 10px;
    white-space: nowrap;
}

#attachments-list.safety-sheet-table .file-link-cell {
    text-align: center;
}

#attachments-list.safety-sheet-table td .file-link {
    align-items: center;
    background: #fff7f9 !important;
    border: 1px solid rgba(228, 0, 43, 0.72) !important;
    border-radius: 999px;
    color: var(--safety-red) !important;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    line-height: 1;
    min-height: 34px;
    min-width: 168px;
    padding: 7px 16px;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
    white-space: nowrap;
}

button.file-link {
    font-family: inherit;
}

#attachments-list.safety-sheet-table td .file-link:hover,
#attachments-list.safety-sheet-table td .file-link:focus-visible {
    background: var(--safety-red) !important;
    border-color: var(--safety-red) !important;
    color: #fff !important;
    outline: 0;
    transform: translateY(-1px);
}

#attachments-list.safety-sheet-table td .file-link .fa {
    font-size: 14px;
    line-height: 1;
    padding: 0;
}

.safety-sheet-table__empty {
    color: var(--safety-muted);
    font-weight: 650;
    padding: 38px 18px !important;
    text-align: center !important;
}

.safety-sheet-download-modal {
    align-items: center;
    bottom: 0;
    display: none;
    justify-content: center;
    left: 0;
    padding: 24px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10020;
}

.safety-sheet-download-modal.is-active {
    display: flex;
}

.safety-sheet-download-modal__backdrop {
    background: rgba(5, 16, 38, 0.56);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.safety-sheet-download-modal__dialog {
    background: #fff;
    border: 1px solid rgba(213, 222, 237, 0.9);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(5, 16, 38, 0.28);
    color: var(--safety-text);
    max-width: 520px;
    padding: 30px;
    position: relative;
    width: min(100%, 520px);
    z-index: 1;
}

.safety-sheet-download-modal__close {
    align-items: center;
    background: #f4f7fb;
    border: 1px solid #dce5f2;
    border-radius: 999px;
    color: #52627b;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 36px;
}

.safety-sheet-download-modal__close:hover,
.safety-sheet-download-modal__close:focus-visible {
    background: #eaf1fb;
    color: var(--safety-blue);
    outline: 0;
}

.safety-sheet-download-modal__eyebrow {
    align-items: center;
    color: var(--safety-red);
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 8px;
    letter-spacing: 0;
    margin: 0 44px 12px 0;
    text-transform: uppercase;
}

.safety-sheet-download-modal__dialog h2 {
    color: var(--safety-blue);
    font-family: "Sora", "Inter", Raleway, Arial, sans-serif;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.18;
    margin: 0 44px 10px 0;
}

.safety-sheet-download-modal__sheet {
    color: #5d6b81;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
    margin: 0 0 20px;
}

.safety-sheet-download-form label {
    color: #27354d;
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 8px;
}

.safety-sheet-download-form__field {
    align-items: center;
    background: #fbfdff;
    border: 1px solid #d8e2f1;
    border-radius: 10px;
    display: flex;
    min-height: 50px;
    padding: 0 14px;
}

.safety-sheet-download-form__field:focus-within {
    border-color: rgba(0, 91, 187, 0.5);
    box-shadow: 0 0 0 4px rgba(0, 91, 187, 0.08);
}

.safety-sheet-download-form__field .fa {
    color: #8b9ab3;
    flex: 0 0 auto;
    font-size: 16px;
    margin-right: 10px;
}

.safety-sheet-download-form__field input {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #27354d;
    flex: 1 1 auto;
    font-family: "Sora", "Inter", Raleway, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    height: 48px;
    min-width: 0;
    outline: 0;
    padding: 0;
}

.safety-sheet-download-form__error {
    color: #c82133;
    font-size: 12px;
    font-weight: 700;
    margin: 7px 0 0;
    min-height: 0;
}

.safety-sheet-download-form__submit {
    align-items: center;
    background: #005bbb;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 12px 22px rgba(0, 91, 187, 0.24);
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 9px;
    justify-content: center;
    line-height: 1;
    margin-top: 18px;
    min-height: 42px;
    padding: 0 20px;
    width: 100%;
}

.safety-sheet-download-form__submit:hover,
.safety-sheet-download-form__submit:focus-visible {
    background: #00499a;
    outline: 0;
}

@keyframes safetySearchPulse {
    from {
        opacity: 0.48;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.safety-sheet-pagination.page-selector {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(213, 222, 237, 0.84);
    border-radius: 9px;
    box-shadow: 0 12px 28px rgba(12, 30, 64, 0.05);
    display: flex;
    justify-content: space-between;
    margin: 24px 0 0 !important;
    min-height: 86px;
    padding: 21px 27px !important;
}

.safety-sheet-pagination.page-selector .description {
    color: #0f2346;
    float: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 42px;
    margin: 0;
}

.safety-sheet-pagination.page-selector .description span {
    color: inherit;
    font-weight: 700;
    margin-left: 4px;
}

.safety-sheet-pagination.page-selector .pages-box {
    align-items: center;
    display: flex;
    float: none;
    gap: 10px;
    justify-content: flex-end;
}

.safety-sheet-pagination.page-selector .safety-sheet-pagination__button {
    aspect-ratio: 1 / 1;
    align-items: center;
    background: #fff;
    border: 1px solid #d4dfef;
    border-radius: 999px !important;
    box-sizing: border-box;
    color: #102243;
    display: inline-flex !important;
    flex: 0 0 42px;
    font-size: 13px;
    font-weight: 700;
    height: 42px !important;
    justify-content: center;
    line-height: 1;
    margin: 0 !important;
    max-width: 42px;
    min-height: 42px;
    min-width: 42px !important;
    overflow: hidden;
    padding: 0 !important;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
    width: 42px !important;
}

.safety-sheet-pagination.page-selector .safety-sheet-pagination__button:hover,
.safety-sheet-pagination.page-selector .safety-sheet-pagination__button:focus-visible {
    background: #f4f8ff;
    border-color: #b8c9e6;
    color: #0056b8;
    outline: 0;
}

.safety-sheet-pagination.page-selector .safety-sheet-pagination__button.active {
    background: #005bbb;
    border-color: #005bbb;
    box-shadow: 0 7px 16px rgba(0, 91, 187, 0.22);
    color: #fff;
    outline: 0;
}

.safety-sheet-pagination.page-selector .safety-sheet-pagination__button .fa {
    font-size: 17px;
    line-height: 1;
}

@media (max-width: 1199px) {
    .page-fiche-de-securite {
        --safety-page-gutter: 30px;
    }

    .safety-page {
        padding: 28px 30px;
    }
}

@media (max-width: 767px) {
    .page-fiche-de-securite {
        --safety-page-gutter: 15px;
    }

    .page-fiche-de-securite .content-push {
        padding-top: 28px;
    }

    .safety-page__header h1 {
        font-size: 28px;
    }

    .safety-page {
        border-radius: 10px;
        padding: 24px 14px;
    }

    .safety-sheet-panel__search.search-box.size-1 form {
        border-radius: 12px;
        gap: 6px;
        min-height: 52px;
        padding: 4px;
    }

    .safety-sheet-panel__search.search-box.size-1 .search-field,
    .safety-sheet-panel__search.search-box.size-1 .search-field input,
    .safety-sheet-panel__search.search-box.size-1 .safety-sheet-panel__submit.search-button {
        height: 44px !important;
    }

    .safety-sheet-panel__search.search-box.size-1 .search-field {
        padding-right: 0;
    }

    .safety-sheet-panel__search.search-box.size-1 .search-field input {
        font-size: 13px;
        line-height: 44px !important;
        padding-left: 12px;
        padding-right: 8px;
    }

    .safety-sheet-panel__search.search-box.size-1 .safety-sheet-panel__submit.search-button {
        border-radius: 9px;
        flex-basis: 44px;
        height: 44px !important;
        width: 44px !important;
    }

    .safety-sheet-panel__search.search-box.size-1 .safety-sheet-panel__submit.search-button .fa {
        font-size: 19px;
    }

    .safety-sheet-results__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 14px;
    }

    .safety-sheet-results__query {
        text-align: left;
    }

    .safety-sheet-table-wrap {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .safety-sheet-table {
        min-width: 0;
    }

    .safety-sheet-table thead {
        display: none;
    }

    .safety-sheet-table,
    .safety-sheet-table tbody,
    .safety-sheet-table tr,
    .safety-sheet-table td {
        display: block;
        width: 100% !important;
    }

    .safety-sheet-table tr {
        background: #fff !important;
        border: 1px solid #dfe7f3;
        border-radius: 12px;
        box-shadow: 0 10px 24px rgba(12, 30, 64, 0.06);
        margin-bottom: 12px;
        padding: 12px 14px;
    }

    #attachments-list.safety-sheet-table td {
        border: 0 !important;
        display: grid;
        gap: 8px;
        grid-template-columns: 82px minmax(0, 1fr);
        padding: 7px 0;
    }

    .safety-sheet-table td::before {
        color: #667085;
        content: attr(data-label);
        font-size: 12px;
        font-weight: 700;
    }

    .safety-sheet-table .file-link-cell {
        text-align: left;
    }

    .safety-sheet-table .file-link {
        font-size: 12px;
        min-width: 0;
        padding-left: 8px;
        padding-right: 8px;
        width: 100%;
    }

    .safety-sheet-download-modal {
        padding: 14px;
    }

    .safety-sheet-download-modal__dialog {
        padding: 24px 18px;
    }

    .safety-sheet-download-modal__dialog h2 {
        font-size: 21px;
    }

    .safety-sheet-ref {
        justify-content: center;
        max-width: max-content;
    }

    .safety-sheet-pagination.page-selector {
        align-items: stretch;
        border-radius: 9px;
        flex-direction: column;
        gap: 14px;
        min-height: 0;
        padding: 18px !important;
    }

    .safety-sheet-pagination.page-selector .pages-box {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 10px;
    }

    .safety-sheet-pagination.page-selector .safety-sheet-pagination__button {
        flex-basis: 38px;
        height: 38px !important;
        max-width: 38px;
        min-height: 38px;
        min-width: 38px !important;
        width: 38px !important;
    }
}
