﻿@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap");

@media print {
    body {
        -webkit-print-color-adjust: exact;
    }

    [modal-backdrop] {
        display: none !important;
    }

    #page-canvas {
        background-image: none !important;
    }

}

@page {
    size: A4 portrait;
    margin: 24px;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

#page-canvas {
    background-image: linear-gradient(
            rgba(255, 255, 255, 0.75),
            rgba(255, 255, 255, 0.75)
        ),
        url("../img/svg/mit-bg.svg");
}

#reporting-intro {
    background-image: url("../img/svg/mit-bg-white.svg");
    background-repeat: repeat;
    background-position: right;
}

.no-scroll {
    overflow: hidden;
}

body {
    font-family: "Roboto", sans-serif;
    background-color: #fff;
    scroll-behavior: smooth;
}

.input-validation-error {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em  +   0.375rem);
}

.input-validation-error, .cb-validation-error {
    border: 1px solid #cd1c16;
    box-shadow: none;
}


.validation-summary-errors /** li:is(:first-child)*/ {
    position: relative;
    display: flex;
    padding: 16px 16px 16px 32px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    border-radius: 8px;
    border: 1px solid #cd1c16;
    background: #fdf2f2;
    color: #9b1c1c;
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
}

.validation-summary-errors > ul {
    list-style-type: circle;
}

/*.validation-summary-errors * li:not(:first-child) {
    display: none;
}*/

.stepper {
    display: flex;
    text-align: center;
    padding: 0 8px 64px 8px;
}

.stepper p {
    color: #1f2a37;
    font-size: 14px;
    font-weight: 400;
    width: 80px;
}

.stepper .step {
    width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.stepper-bar {
    width: 100%;
    height: 6px;
    background-color: #d1d5db;
    margin-top: 21px;
    margin-left: -17px;
    margin-right: -17px;
    z-index: 1;
}

.stepper .step .bullet {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    border: 5px solid #d1d5db;
    background: #fff;
    color: #1f2a37;
    font-size: 20px;
    font-weight: 700;
    align-items: center;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.bullet-active {
    border-color: #1f2a37 !important;
}

.bullet-complete {
    border-color: #1f2a37 !important;
    background-color: #1f2a37 !important;
    color: #fff !important;
}

.bullet-text-active {
    font-weight: 700 !important;
}

.bar-active {
    background-color: #1f2a37 !important;
}

.tabs-container .tab {
    display: none;
}

.workspace-active {
    padding: 6px 8px 6px 16px;
    background-color: #f3f4f6;
    border-left: 4px solid #2db7a7;
    color: #111928 !important;
}

.workspace-active > svg {
    height: 20px;
    width: 20px;
    color: #1f2a37;
}

#side-nav {
    transition: left 0.3s ease-in-out;
}

/* When sidebar is active (slided in) */
#side-nav.active {
    left: 0;
}

@media (min-width: 1100px) {
    /* Adjust as per your breakpoint */
    #side-nav {
        transition: none; /* No transition on certain screen sizes */
    }
}

/* Styles for the hamburger icon */
.hamburger span {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Transform the hamburger into a cross */
.hamburger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media screen and (max-width: 767px) {
    .hide-on-mobile {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .pagination-container li:first-child {
        display: block;
    }
}

.report-stepper-active {
    margin-left: 16px;
    margin-right: -16px;
    box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.05),
        0px 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.report-stepper-mobile-active {
    margin-left: -14px;
    margin-right: -14px;
    position: relative;
    width: auto;
    max-width: 97vw;
}

.report-stepper-active::after {
    content: "";
    position: absolute;
    right: -10px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* Main Arrow */
.report-stepper-active::after {
    content: "";
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid white;
}

/* Arrow Border */
.report-stepper-active::before {
    content: "";
    position: absolute;
    right: -11px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 11px solid #e5e7eb;
    z-index: -1;
}

.report-stepper-complete {
    background-color: #def7ec;
    border: 2px solid #bcf0da;
}

.report-stepper-complete svg {
    display: block;
}

.report-stepper-complete div:first-child {
    background-color: #bcf0da;
}

.report-stepper-active.report-stepper-complete::after {
    border-left: 10px solid #def7ec;
}

/* Arrow Border Color Change on Completion */
.report-stepper-active.report-stepper-complete::before {
    border-left: 11px solid #bcf0da;
}

input[type="range"] {
    -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
    width: 100%; /* Specific width is required for Firefox. */
    background: transparent; /* Otherwise white in Chrome */
}

/* Special styling for WebKit/Blink */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    height: 22px;
    width: 22px;
    background: #ffffff;
    margin-top: -7px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
}

input[type="range"]::-moz-range-thumb {
    border: 1px solid #e5e7eb;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: #fff;
}

/* All the same stuff for IE */
input[type="range"]::-ms-thumb {
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    height: 22px;
    width: 22px;
    background: #ffffff;
}

input[type="range"]:focus {
    outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type="range"]::-ms-track {
    width: 100%;
    /* Hides the slider so custom styles can be added */
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
}

/* All the same stuff for Firefox */
input[type="range"]::-moz-range-track {
    height: 8px;
    width: 100%;
    border-radius: 4px;
    background: #e5e7eb;
}

.arrow-badge {
    font-size: 12px;
    font-weight: 800;
    position: relative;
    background-color: black;
    color: #32a7a4;
    padding: 2.5px 10px;
    display: inline-block;
    line-height: 20px;
}

/* Right arrow */
.right-arrow:after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    border-width: 12.5px 0 12.5px 10px;
    border-style: solid;
    border-color: transparent transparent transparent black;
    transform: translateY(-50%);
}

/* Left arrow */
.left-arrow:after {
    content: "";
    position: absolute;
    left: -10px; /* Adjust the positioning as needed */
    top: 50%;
    border-width: 12.5px 10px 12.5px 0; /* Inverse of the right arrow */
    border-style: solid;
    border-color: transparent black transparent transparent; /* Black border on the right */
    transform: translateY(-50%);
}

.progress-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
}

.progress-bar::before {
    background-color: #fce96a;
    border-radius: 50%;
    height: 104px;
    width: 104px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #633112;
    font-size: 28px;
    font-weight: 600;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}


.toc-active {
    font-weight: 700;
    color: #2DB7A7;
    border-bottom: solid 2px #2DB7A7;
}


.basic-multi-select input[type="text"]:focus {
    outline: none !important;
    outline-offset: 0px;
    box-shadow: none !important;
  }
  
  #bars .apexcharts-tooltip.apexcharts-theme-light.apexcharts-active {
    display: none !important;
  }
  
  .apexcharts-xaxistooltip.apexcharts-xaxistooltip-top.apexcharts-theme-light {
    top: 90% !important;
    background: #fff !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1) !important;
    color: rgba(0, 0, 0, 0.87) !important;
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
      "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
      "Helvetica Neue", sans-serif !important;
  }
  .apexcharts-xaxistooltip.apexcharts-xaxistooltip-top.apexcharts-theme-light::before,
  .apexcharts-xaxistooltip.apexcharts-xaxistooltip-top.apexcharts-theme-light::after {
    bottom: 100% !important;
    transform: rotate(180deg) !important;
    top: auto !important;
  }
  .apexcharts-pie-area.apexcharts-donut-slice-1:hover {
    fill: black !important;
  }
  div[type="donut"]   .apexcharts-tooltip-series-group.apexcharts-active {
    background-color: black !important;
  }

#toast-container > .toast { /* Cible tous les toasts */
    background-color: #111827; /* Fond plus sombre */
    color: #ffffff; /* Texte en blanc */
}

    #toast-container > .toast:before { /* Supprime le carré de couleur avant le texte */
        display: none;
    }

.toast-message {
    color: #fff; /* Couleur gris clair pour le corps du message */
}

#toast-container > .toast-info {
    background-color: #6DC1AC; /* Bleu Bootstrap par défaut comme exemple */
}