body.dashboard,
body.manage {
  background-color: #111827;
  color: white;
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
body {
  background-color: #111827;
  color: white;
  margin: 0;
  min-height: 100vh;
}

.container {
  max-width: 1400px;
}

.dashboard .container,
.manage .container {
  max-width: 1600px;
}

.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s ease;
}

.border-right {
  border-right: 1px solid #ffffff;
  opacity: 0;
  animation: fadeIn 0.7s ease-in forwards;
  animation-delay: 0.7s;
  animation-fill-mode: forwards;
}

.slide-left {
  transform: translateX(-350px);
}

.logo {
  width: 200px;
  height: 200px;
  animation: zoomRotate 1.5s ease-out forwards;
}

.logo-text {
  width: 280px;
  height: auto;
  margin-top: 30px;
  opacity: 0;
  animation: fadeIn 0.3s ease-in forwards;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}

/* Formulaire : invisible au début */
.form-section {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.3s ease, transform 0.7s ease;
  padding-left: 100px;
}

/* Apparition fluide */
.fade-in {
  opacity: 1;
  transform: translateX(0);
}

.login-btn {
  text-transform: uppercase;
  border-radius: 2px;
  font-weight: 600;
  font-size: 18px;
  margin-top: 0px;
}
.blue-text {
  color: #111827;
}

/* Animations */
@keyframes zoomRotate {
  0% {
    transform: scale(0.5) rotate(-180deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.sidebar-nav {
  box-shadow: 6px 1px 14px 3px #9f979742;
}
.sidebar-nav .nav-link span {
  width: 100%;
  padding-left: 10px;
}
.sidebar-nav .nav-item {
  max-width: 100%;
}
.sidebar-nav .nav-link {
  font-size: 16px;
  font-weight: 500;
  padding: 5px 20px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
}

.sidebar-nav .nav-item.active .nav-link {
  font-weight: 700;
  letter-spacing: 3px;
  border-bottom: 1px solid;
}

.sidebar-nav .nav-link i {
  font-size: 30px;
  max-width: 25px;
}

.green {
  color: #24c279 !important;
}
.red {
  color: #bc2929 !important;
}
.metric {
  float: left;
  margin-right: 50px;
  background-color: #fff;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 0px 0px 15px #a9bacb61;
  /* width: 340px; */
  height: 300px;
  overflow: hidden;
}
.metric .metric-inner header.metric-header {
  overflow: hidden;
  margin: 0;
  border-bottom: 1px solid #f0f0f0;
  height: 60px;
  line-height: 60px;
  width: 100%;
}
.metric .metric-inner header.metric-header h1.metric-title {
  width: 100%;
  margin: 0;
  padding: 0;
  padding-top: 15px;
  text-align: center;
  color: black;
  display: block;
  height: 100%;
  font-weight: 400;
  font-size: 22px;
}
.metric .metric-inner .metric-body {
  width: 100%;
  height: 210px;
  overflow: hidden;
  margin-top: 20px;
}
.metric .metric-inner .metric-body h1,
.metric .metric-inner .metric-body h2,
.metric .metric-inner .metric-body h3,
.metric .metric-inner .metric-body h4 {
  margin: 0;
  padding: 0;
  font-family: Helvetica;
  font-weight: 400;
  color: #444;
  text-align: center;
}
.metric .metric-inner .metric-body h1 {
  font-size: 70px;
  font-weight: 300;
}
.metric .metric-inner .metric-body h1.primary-value {
  color: #0d6efd;
}
.metric .metric-inner .metric-body h2 {
  color: black;
  font-family: Helvetica;
  font-weight: 300;
  font-size: 28px;
  margin: 0;
  padding: 0;
  text-align: center;
}
.metric .metric-inner .metric-body h3 {
  font-size: 22px;
  font-weight: 500;
  color: black;
}
.metric .metric-inner .metric-body h4 {
  font-size: 14px;
  color: black;
}
.metric .metric-inner .viz-basic {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  align-items: center;
  flex-direction: column;
}
.metric .metric-inner .viz-basic .value {
  text-align: center;
}
.metric .metric-inner .viz-basic-with-7-and-40-day-comparison {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}
.metric .metric-inner .viz-basic-with-7-and-40-day-comparison .value {
  width: 100%;
}
.metric
  .metric-inner
  .viz-basic-with-7-and-40-day-comparison
  .value
  .comparison_wrapper {
  padding-top: 15px;
  width: 90%;
  margin: 0px auto;
}
.metric
  .metric-inner
  .viz-basic-with-7-and-40-day-comparison
  .value
  .comparison_wrapper
  .left_comparison {
  float: left;
  width: 50%;
}
.metric
  .metric-inner
  .viz-basic-with-7-and-40-day-comparison
  .value
  .comparison_wrapper
  .right_comparison {
  float: right;
  width: 50%;
}
.metric .metric-inner .viz-line-chart {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.metric .metric-inner .viz-line-chart .value .chart {
  width: 100%;
  height: 100px;
}
.metric .metric-inner .viz-column-chart {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.metric .metric-inner .viz-column-chart .value .chart {
  width: 100%;
  height: 200px;
}

/* MANAGEMENT */
.management-inner {
  margin-top: 80px;
  text-transform: uppercase;
}

.search-title {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 26px;
}
.btn.active {
  background-color: #0d6efd !important;
  color: white;
  pointer-events: none;
  opacity: 1;
}
.slide-up {
  display: inline-block;
  width: 100%;
  padding: 10px 0 10px 15px;
  font-weight: 400;
  color: #0d6efd;
  background: #efefef;
  border: 0;
  border-radius: 3px;
  outline: 0;
  text-indent: 80px;
  transition: all 0.3s ease-in-out;
}

.slide-up::-webkit-input-placeholder {
  color: #efefef;
  text-indent: 0;
  font-weight: 300;
}
.slide-up + label {
  display: inline-block;
  position: absolute;
  transform: translateX(0);
  top: 0;
  left: 0;
  padding: 10px 15px;
  width: 110px;
  text-shadow: 0 1px 0 rgba(19, 74, 70, 0.4);
  transition: all 0.3s ease-in-out;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  overflow: hidden;
}
.slide-up + label:before,
.slide-up + label:after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}
.slide-up + label:before {
  top: 6px;
  left: 5px;
  right: 5px;
  bottom: 6px;
  background: #0d6efd;
}
.slide-up + label:after {
  top: 0;
  bottom: 0;
  background: #0d6efd;
}
span:nth-child(1) .slide-up {
  text-indent: 105px;
}
span:nth-child(3) .slide-up {
  text-indent: 125px;
}
span:nth-child(1) .slide-up:focus,
span:nth-child(1) .slide-up:active,
span:nth-child(3) .slide-up:focus,
span:nth-child(3) .slide-up:active {
  text-indent: 0;
}
.slide-up:focus,
.slide-up:active {
  color: #0d6efd;
  text-indent: 0;
  background: #fff;
}
.slide-up:focus::-webkit-input-placeholder,
.slide-up:active::-webkit-input-placeholder {
  color: #aaa;
}
.slide-up:focus + label,
.slide-up:active + label {
  transform: translateY(-100%);
}
.slide-up:focus + label:before,
.slide-up:active + label:before {
  border-radius: 5px;
}
.slide-up:focus + label:after,
.slide-up:active + label:after {
  transform: translateY(100%);
}

.row-input {
  padding: 0px;
  background: transparent !important;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.row-input span {
  position: relative;
  display: inline-block;
  margin: 0px;
  width: 100%;
}

#search-forms {
  margin-top: 40px;
  width: 100%;
  max-width: 450px;
}
#search-forms button {
  margin-top: 30px;
}
#search-forms button[type="submit"] {
  margin-bottom: 15px;
  background: transparent;
  border: none;
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  margin-left: 15px;
}
.table-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px 0px;
}


.table thead th {
    font-weight: bold;
    white-space: nowrap;
}

.badge {
    font-size: 0.85rem;
    padding: 6px 10px;
}

#search-forms button[type="submit"] i {
  margin-right: 10px;
}
.table-striped td {
  text-transform: uppercase;
    font-size: 16px;
    font-weight: 300;
}

/* RESPONSIVE */
/* Styles pour les petits écrans de téléphone portable */
@media screen and (max-width: 479px) {
  /* Ajoutez vos styles spécifiques pour les petits écrans de téléphone portable ici */
  .logo {
    width: 300px;
    height: 300px;
  }

  .logo-text {
    width: 440px;
    margin-top: 50px;
  }
}

/* Styles pour les téléphones portables en orientation paysage */
@media screen and (min-width: 480px) and (max-width: 767px) {
  /* Ajoutez vos styles spécifiques pour les téléphones portables en orientation paysage ici */
  .logo {
    width: 300px;
    height: 300px;
  }

  .logo-text {
    width: 440px;
    margin-top: 50px;
  }
}

/* Styles pour les téléphones portables en orientation portrait */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .logo {
    width: 300px;
    height: 300px;
  }

  .logo-text {
    width: 440px;
    margin-top: 50px;
  }
}

@media screen and (min-width: 981px) and (max-width: 1279px) {
  /* Media pour petite portion de pixels qui saute*/
}

/* Styles pour les écrans de bureau de 13 pouces et 16" */
@media screen and (min-width: 1280px) and (max-width: 1600px) {
  /* Ajoutez vos styles spécifiques pour les écrans de 13 pouces ici */
}

/* Styles pour les grands écrans de bureau */
@media screen and (min-width: 1601px) {
  /* Ajoutez vos styles spécifiques pour les grands écrans de bureau ici */
}

/* Styles pour les écrans 4K (3840x2160) et plus grands */
@media screen and (min-width: 2560px) {
  /* Ajoutez vos styles spécifiques pour les écrans 4K ici */
}

@keyframes zoomRotate {
  0% {
    transform: scale(0.5) rotate(-180deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
