@import url("https://fonts.googleapis.com/css2?family=Reddit+Sans:ital,wght@0,200..900;1,200..900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {
  --text: inherit;
  --primary: rgb(56, 182, 255);
  --primary-light: #eff8fd;
  --primary-dark: #0098f0;
  --light: #e8eaf6;
  --secondary: rgb(216, 27, 96);
  --secondary-light: rgba(216, 27, 96, 0.1);
  --tertiary-light: #ffe3e9;
  --informative: rgb(108, 117, 125);
  /* --background : rgba(232, 234, 246, 0.6); */
  --background: #fafafa;
  --nav: #fefefe;
  --nav-link: #505050;
  --card: #fff;
  --tertiary: #ec0b43;
}

/* .dark:root{

    --text : #fff;
    --primary-dark: #fff;
    --light: #e8eaf6;
    --primary: #fff;
    --secondary: #ff1744;
    --secondary-light: #ffe3e9;
    --informative : #6c757d;
    --background :#111827;
    --nav :#1f2937;
    --nav-link : #fff;
    --card : #1f2937;
} */

html {
  transition: all 0.5;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--background);
}

a {
  text-decoration: unset;
}

.pointer {
  cursor: pointer;
}

#wrapper {
  display: flex;
}

#header {
  /* background: var(--primary-dark); */
  padding: 1rem 0;
  margin-bottom: 10px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}



h4 {
  color: var(--secondary);
}

h6 {
  font-size: 1.2rem !important;
}

p,
td,
tr {
  color: var(--text);
}


tr,
td,
th {
  border: none !important;
  border-bottom: 1px solid var(--primary-light) !important;
}

thead {
  background: var(--light);
}

thead th {
  color :black
}

.sorted-asc::after {
    content: " ▲";
    font-size: 10px;

}
.sorted-desc::after {
    content: " ▼";
    font-size: 10px;
}

.main {
  width: 100%;
  padding-left: 1.5rem;
  /* padding-right : 1.5rem; */
}

.content {
  margin-left: 15%;
  margin-right: 1%;
  /* margin-top : -150px; */
}

a {
  color: var(--primary-dark);
  font-weight: 500;
}

a:hover {
  text-decoration: none;
  color: var(--primary);
}

.nav-sidebar ul {
  list-style: none;
  padding: 0;
}

ul li a {
  color: var(--secondary);
}

/* IMG  */
.invert {
  filter: invert(100%);
}
/* END IMG  */
/* TEXT  */

.text-primary {
  color: var(--primary) !important;
}

.text-primary-dark {
  color: var(--primary-dark);
}

.text-primary-light {
  color: var(--primary-light);
}

.text-secondary-light {
  color: var(--secondary-light) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}


.text-tertiary {
  color: var(--tertiary) !important;
}

.text-green {
  color: rgb(71, 226, 104);
}

.fw-700 {
  font-weight: 700;
}

/* END TEXT  */
.separator-dot {
  width: 5px;
  height: 5px;
  border-radius: 50px;
  background-color: black;
  margin: 0 12px 0 12px;
}
.separator-primary {
  width: 10px;
  height: 10px;
  border-radius: 50px;
  background-color: var(--primary);
  margin: 0 12px 0 12px;
}
.separator-tertiary {
  width: 10px;
  height: 10px;
  border-radius: 50px;
  background-color: var(--tertiary);
  margin: 0 12px 0 12px;
}
/* CARDS */

.card {
  box-shadow: .1454px 10.1454px 18.5999px rgba(24, 19, 58, 0.08) !important;
  transition: all 0.5s;
  border: 0 solid rgba(0, 0, 0, 0.125);
  background: var(--card);
  /* box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.1 ); */
  backdrop-filter: blur(6.5px);
  -webkit-backdrop-filter: blur(6.5px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.card-stat {
  text-align: center;
  padding: 1rem !important;
}
.card-media {
  background-color: var(--primary-light);
  /* border: 1px solid var(--primary); */
}
.card-media a {
  color: var(--primary) !important;
}

.card-stat p {
  font-size: 14px;
  text-transform: uppercase;
}

.card-header {
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: none !important;
  padding: 0;
  margin-bottom: 10px;
}

.card-stat .stat {
  font-size: 42px;
  font-weight: 700;
  font-family: "Roboto", Arial sans-serif;
}

.bulles-container {
  padding: 10px 20px;
  margin-bottom: 10px;
  border-radius: 10px;
  width: 70%;
}

.left {
  background: rgb(231, 226, 255);
}

.right {
  background: #e8f9fd;
  margin-left: auto;
}

/* background */

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-primary-deg {
  background-image: linear-gradient(to right, #38B6FF, #00c8ec, #00c8ec, rgb(0, 200, 236))
  !important;
}
.bg-primary-light{
  background-color: var(--primary-light) !important;
}

.bg-light {
  background-color: var(--light) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}

.bg-tertiary {
  background-color: var(--tertiary) !important;
}

.bg-tertiary-light {
  background-color: var(--tertiary-light) !important;
}

.bg-secondary-light {
  background-color: var(--secondary-light);
}

.text-informative {
  color: var(--informative);
}

.progress-content-pending {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  z-index: 2;
  height: 100%;
  border-radius: 10px;
  background:rgb(132, 210, 255);
  transition: width 1s ease-out;
  width: 0%;
}

/* .card {
  box-shadow: -2px 2px 10px -3px rgba(195, 185, 251, 0.5);
  border: 0 solid rgba(0, 0, 0, 0.125);
  background-color: var(--card);
} */

.dark .card {
  box-shadow: none;
}

.card-title {
  font-size: 20px;
  margin-bottom: 0;
}

.p-heading-xs {
  font-size: 18px;
  font-weight: 700;
}

.p-heading {
  font-size: 20px;
  font-weight: 700;
}

.p-heading-xl {
  font-size: 28px;
  font-weight: 700;
}

.p-heading-xxl {
  font-size: 36px;
  font-weight: 700;
}

.p-heading-xxxl {
  font-size: 48px;
  font-weight: 700;
}

hr {
  border-top: 1px solid #AAA;
}
/* ----- BACKEND MARQUEs ASSOC -------- */
#assign:focus-visible {
  /* border-radius: 25px 25px 0 0; */
}

#entries-assign {
  display: none;
  padding: 0;
}

#assign > div:hover > #entries-assign {
  display: block;
}

#entries-assign div {
  cursor: pointer;
  margin: 10px 0 0 15px;
}

#entries-assign div p:hover {
  color: var(--primary);
}
.pointer {
  cursor: pointer;
}

/* header NAV  */

.item {
  margin-right: 20px;
  text-align: center;
}

.item:last-child {
  margin-right: 0px !important;
}

/* .item a,
.item p {
  color: #000;
  font-size: 12px;
} */
#navSidebar {
  /* overflow-y: scroll; */
  overflow-x: hidden;
  top: 0;
  bottom: 0;
  z-index: 1000;
  border-right: 1px solid var(--nav);
  background-color: var(--nav);
}

.nav-row {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}


.nav-sidebar a,
.nav-mobile a,
.title-nav {
  color: var(--nav-link);
  transition: color 0.3s;
  /* font-weight: 500; */
  font-size: 18px;
}

.nav-sidebar a:hover {
  color: var(--primary);
}

.nav-side {
  background-color: rgba(195, 185, 251, 0.5);
  width: 18%;
  min-height: 100%;
  box-shadow: 0 5px 25px 0.3px #efefef;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.navbar-brand {
  display: initial;
}

.nav-sidebar-container {
  padding: 30px 10px;
}

.current-link {
  color: red !important;
}

.nav-side ul {
  padding: 0 20px;
}

.collapse-nav {
  padding: 5px 15px !important;
}

.collapse-nav li {
  margin-bottom: 7px;
}


.collapse-nav a {
  font-size: 14px;
}



.nav-sidebar div {
  /* text-transform: uppercase; */
  padding: 10px 5px;
  cursor: pointer;
}

.logo-mobile {
  display: none;
}

.nav-mobile {
  display: none;
  width: 100%;
  position: fixed;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #ccc;
  z-index: 1000;
}



/* ----- END NAV SIDE BAR -------- */

/*------ NAV MOBILE --------*/

.inner-nav-mobile {
  display: flex;
  text-align: center;
  margin: 0;
  align-items: end;
  overflow-x: scroll;
  justify-content: space-around;
}

.nav-mobile-item {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ------- END NAV MOBILE ------- */

/* ------- END NAV MOBILE ------- */

/* -------------- Dropdown  -------------- */

.collapse-container {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.collapse-button {
  width: 100%;
  padding: 10px;
  background-color: #f1f1f1;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
}

.collapse-button .arrow {
  display: inline-block;
  transition: transform 0.3s;
}

.collapse-content {
  display: none;
}

.collapse-content p {
  margin: 0;
}

.collapse-container.active .collapse-content {
  display: block;
}

.collapse-container.active .collapse-button .arrow {
  transform: rotate(90deg);
  /* rotation de la flèche */
}

/* PROGRESS BAR */


.progress-container {
  width: 100%;
  height: 50px;
  background: #DDD;
  border-radius: 10px;
  position: relative;
  z-index: 0;
}

.progress-content {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  z-index: 3;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(56, 182, 255, 0.8), rgb(0, 200, 236));
  transition: width 1s ease-out;
  width: 0%;
}

.progress-content-expected {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  z-index: 1;
  height: 100%;
  border-radius: 10px;
  background: var(--primary-light);
  transition: width 1s ease-out;
  width: 0%;
}

#currentRevenue {
  width: 2%;
  transition: width 1s ease-out;

}

/* --------- FORM --------- */

/* FORMS */

input[type="text"],
textarea,
input[type="password"] {
  /* border: 1px solid var(--informative); 
  padding: 10px 20px; */
  transition: box-shadow 0.3s;
}

input[type="text"]:focus,
textarea:focus,
input[type="password"]:focus {
  /* box-shadow: none; */
  box-shadow: 0px 3px 20px var(--light);
  border: 1px solid var(--light);
}

input[type="submit"] {
  border: none;
  box-shadow: 0px 10px 20px rgba(86, 146, 228, 0.1);
  border-radius: 5px;
}

label {
  font-weight: 700;
  display: block;
  margin-bottom: 5px !important;
}

textarea {
  height: 120px;
  resize: none;
  border: 1px solid #00002a;
}

select.custom-select {
  color: #000;
  border: 2px solid #ff1e00;
  width: auto;
}

select.custom-select:focus {
  border-bottom: 1px solid #000051;
  box-shadow: none;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
textarea:focus {
  border-color: none;
}



.btn-sm {
  padding: 2px 4px;
}


.search-input select,
.search-input input[type="date"] {
  border: 2px solid #fff;
  background-color: #fff;
  border-radius: 25px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

select option {
  font-family: inherit !important;
}

.tag {
  font-size: 12px;
  padding: 3px 5px 0;
  border-radius: 3px;
  font-weight: 500;
}

/* --------- ENDFORM --------- */

.btn-primary {
     /* font-size: 14px; */
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    border: none;
    background-size: 300% 100%;
    border-radius: 5px;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    background-image: linear-gradient(to right, #38B6FF, #00c8ec, #00c8ec, #00c8ec);
}


.btn-primary:hover {
  background-position: 100% 0;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
  border: none;
}

.btn-primary:focus {
  outline: none;
}

.btn-secondary {
  background-color: var(--secondary) !important;
  color: white;
  border: none;
  transition: all 0.5s;
}

.btn-secondary:hover {
  background-color: var(--primary) !important;
  border: none;
}

.btn-tertiary {
  background-color: var(--tertiary) !important;
  color: white;
  border: none;
  transition: all 0.5s;
}

.btn-tertiary:hover {
  background-color: var(--secondary) !important;
  color: white;
  border: none;
}
.trashbtn:hover {
  filter: brightness(0) saturate(100%) invert(24%) sepia(96%) saturate(6543%)
    hue-rotate(338deg) brightness(92%) contrast(102%);
}
.trashbtn.position-absolute {
  transform: translate(-50%, -50%);
  top: 50%;
  right: 10px;
}

.btn-secondary img {
  filter: invert(100%);
}
/* Badges */

.badge {
  font-weight: 500;
  border-radius: 0.45rem;
}

.badge-type {
  font-weight: 500;
  border-radius: 0.45rem;
  padding : 7px;
}

.webtv{
  background: var(--primary-light);
  color : var(--primary)
}

.media-web{
  background: var(--tertiary-light);
  color : var(--tertiary)
}

.print{
  background: var(--light);
  color : var(--primary-dark)
}

.tv{
  background: #FBE9E7;
  color : #FF3D00;
}


.badge-blue-price {
  background-color: var(--primary);
  color: white;
}
.badge-green-price {
  background-color: rgb(123, 223, 144);
  color: white;
}

.badge-emissions {
  font-size: 14px;
  font-weight: 700;
  border-radius: 0.45rem;
  padding: 6px 8px 6px 8px;
}

.badge-success {
  background-color: var(--light);
  color: var(--primary-dark);
}
.badge-green {
  background-color: rgb(188, 255, 188);
  color: rgb(73, 170, 73);
}

.badge-danger {
  background-color: #ffd5df;
  /* color: rgb(182, 80, 80); */
  color: var(--tertiary);
}
.badge-orange {
  background-color: rgb(255, 241, 215);
  color: rgb(212, 149, 66);
}
.badge-yellow {
  background-color: rgb(249, 250, 167);
  color: rgb(194, 184, 40);
}

.badge-danger img {
  filter: brightness(0) saturate(100%) invert(24%) sepia(96%) saturate(6543%)
    hue-rotate(338deg) brightness(92%) contrast(102%);
}
.badge-green img {
  filter: brightness(0) saturate(100%) invert(61%) sepia(67%) saturate(416%)
    hue-rotate(71deg) brightness(81%) contrast(91%);
}
.badge-orange img {
  filter: brightness(0) saturate(100%) invert(55%) sepia(55%) saturate(480%)
    hue-rotate(354deg) brightness(101%) contrast(92%);
}
.badge-yellow img {
  filter: brightness(0) saturate(100%) invert(58%) sepia(96%) saturate(352%)
    hue-rotate(18deg) brightness(103%) contrast(86%);
}

.badge-primary-light {
  background-color: var(--primary-light) !important;
  color: var(--primary);
}

.badge-secondary-light {
  background-color: var(--secondary-light) !important;
  color: var(--secondary);
}

.badge-tertiary-light {
  background-color: var(--tertiary-light) !important;
  color: var(--tertiary);
}
.badge-color {
  width: 15px;
  height: 15px;
  border-radius: 100%;
}

/* END badge */

/* ALERTS */

.alert-success {

color :var(--primary-dark);
border : 1px solid var(--primary-dark);
background: linear-gradient(270deg, rgba(0, 200, 236,0.2),rgba(56, 182, 255,0.2));  
}

.alert-danger {
  background-color: #ffccbc;
  color: #ff3d00;
}

/* ---- Collazpse section STYLE ----- */

.section-hidden {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s;
}

.show-signaler {
  max-height: 100px !important;
  overflow: initial !important;
}

.button-signaler {
  background: none;
  border: none;
}

/* ----  END  Signaler section STYLE ----*/

@keyframes bouncingText {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.bouncing-text {
  font-size: 20px !important;
  animation: bouncingText 0.5s infinite;
  display: inline-block;
  margin-left: 10px;
}

.border-radius-10 {
  border-radius: 10px !important;
}

.rounded {
  border-radius: 100% !important;
}

/*------------NAV---------*/

.nav-sidebar li.active a {
    color: var(--primary);
}

.nav-sidebar li.active img {
  filter: invert(65%) sepia(84%) saturate(4339%) hue-rotate(178deg)
    brightness(101%) contrast(106%);
}

/*------------END---------*/


/* CHART */

.chart-container {
  position: relative;
  height: 500px;
  width: 100%;
  max-width: 100%;
}

/*------------RESPONSIVE---------*/

/* VUE tablettes + mobiles */

@media screen and (max-width: 991px) {
  /* NAV BURGER */

   /* NAV BURGER */

  /* On vire le menu latérial sur petits écrans */
  .nav-side {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width : 30%;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    box-shadow: none;
  }

  .nav-active{
    transform : translateX(0);
  }

  /* Le contenu de la page prend donc maintenant toute la largeur vu que la sidebar a disparu */

  .main {
  width: 100%;
  padding-left: 1.5rem;
  }

  /* On fait appraitre le menu en bas de l'écran  */
  .nav-mobile {
    display: block;
  }

  /* END NAV BURGER */

  h1 {
    font-size: 24px;
  }

  .logo-mobile {
    display: block;
  }

  .content {
    margin-left: 0;
  }

  .card-stat p {
    font-size: 12px;
  }

  .card-stat .stat {
    font-size: 30px;
  }

  .slot-info-container {
    width: 100%;
  }

  .emission-content,
  .emission-date,
  .emission-full,
  .emission-not-full {
    width: 100%;
  }
}

/* END VUE tablettes + mobiles */

/*----- EXTRA SMALL ---*/

@media screen and (max-width: 575px) {
  .nav-mobile a {
    font-size: 10px;
  }

  .card-header > input {
    /* display : none; */
  }
  #search {
    width: 100%;
  }
  .card-header {
    display: block;
  }
}

/*-----  SMALL ---*/

@media screen and (min-width: 576px) and (max-width: 767px) {
  .card-header > input {
    display: none;
  }
  #search {
    width: 100%;
  }
}

/*------- MEDIUM --------*/

@media screen and (min-width: 768px) and (max-width: 991px) {
  .card-header > input {
    display: none;
  }

  #search {
    width: 100%;
  }
}

/*------- Large --------*/

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .content {
    margin-left: 20%;
  }
  .slot-info-container {
    width: 80%;
  }
}

/* Large and +  */

@media screen and (min-width: 992px) {
  .navbar {
    display: none;
  }
  .emission-content {
    width: 68%;
  }
  .emission-date {
    width: 16%;
  }
  .emission-full {
    width: 16%;
  }
  .emission-not-full {
    width: 16%;
  }
}

/*------- XLarge --------*/

@media screen and (min-width: 1200px) and (max-width: 1599px) {
  .content {
    margin-left: 19%;
    padding-right : 1%
  }
}

/* Large+++ and +  */

@media screen and (min-width: 1600px) {
  .nav-side {
    width: 15%;
  }
}
