body {
  margin: 0;
  padding: 0;
  background-color: #1d2634;
  color: #9e9ea4;
  font-family: 'Montserrat', sans-serif;
}

.material-icons-outlined {
  vertical-align: middle;
  line-height: 1px;
  font-size: 35px;
}

.grid-container {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  grid-template-rows: 0.2fr 3fr;
  grid-template-areas:
    'sidebar header header header'
    'sidebar main main main';
  height: 100vh;
}

/* ---------- HEADER ---------- */
.header {
  grid-area: header;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px 0 30px;
  box-shadow: 0 6px 7px -3px rgba(0, 0, 0, 0.35);
}

.menu-icon {
  display: none;
}

/* ---------- SIDEBAR ---------- */

#sidebar {
  grid-area: sidebar;
  height: 100%;
  background-color: #263043;
  overflow-y: auto;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
}

.sidebar-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 30px 30px 30px;
  margin-bottom: 30px;
}

.sidebar-title>span {
  display: none;
}

.sidebar-brand {
  margin-top: 15px;
  font-size: 20px;
  font-weight: 700;
}

.sidebar-list {
  padding: 0;
  margin-top: 15px;
  list-style-type: none;
}

.sidebar-list-item {
  padding: 20px 20px 20px 20px;
  font-size: 18px;
}

.sidebar-list-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.sidebar-list-item>a {
  text-decoration: none;
  color: #9e9ea4;
}

.sidebar-responsive {
  display: inline !important;
  position: absolute;
  /*
    the z-index of the ApexCharts is 11
    we want the z-index of the sidebar higher so that
    the charts are not showing over the sidebar 
    on small screens
  */
  z-index: 12 !important;
}

/* ---------- MAIN ---------- */

.main-container {
  grid-area: main;
  overflow-y: auto;
  padding: 20px 20px;
  color: rgba(255, 255, 255, 0.95);
}

.main-title {
  display: flex;
  justify-content: space-between;
}

.main-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 25px;
  border-radius: 5px;
}

.card:first-child {
  background-color: #2962ff;
}

.card:nth-child(2) {
  background-color: #2e7d32;
}

.card:nth-child(3) {
  background-color: #ff6d00;
}

.card:nth-child(4) {
  background-color: #00d5ce;
}

.card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-inner>.material-icons-outlined {
  font-size: 45px;
}

.charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
}

.charts-card {
  background-color: #263043;
  margin-bottom: 20px;
  padding: 25px;
  box-sizing: border-box;
  -webkit-column-break-inside: avoid;
  border-radius: 5px;
  box-shadow: 0 6px 7px -4px rgba(0, 0, 0, 0.2);
}

.chart-title {
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-graph {
  display: flex;
  align-items: center;
  justify-content: space-around;

}

/* Productivité */

#bar-chart {
  display: flex;
  justify-content: center;
  align-items: center;
}

#pie-chart {
  display: flex;
  justify-content: center;
  align-items: center;
}

#line-chart {
  display: flex;
  justify-content: center;
  align-items: center;
}

#histogram-chart {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* TEAM  */

.team-status-container h2 {
  margin-bottom: 30px;

}

.team-status-container {
  text-align: center;
  color: #ffffff;
  background: #263043;
  padding: 20px;
}

.team-status-icons,
.status-legend {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 10px;

}

.member-name {
  font-weight: bold;
  margin-top: 20px;

}

.status-description {
  margin-top: 50px;
  display: inline-block;
}

.icon-optimal {
  color: #00bcd4;
  border-color: #00bcd4;
}

.icon-acceptable {
  color: #ffeb3b;
  border-color: #ffeb3b;
}

.icon-problematic {
  color: #f44336;
  border-color: #f44336;
}

.material-icons {
  font-size: 30px;
}

/* KANBAN */

.kanban-board {
  display: flex;
  justify-content: space-around;
  background: #263043;
  padding: 20px;
  border-radius: 10px;
  color: white;
  gap: 20px;
}

.kanban-column {
  background: #222;
  border: 2px solid #555;
  border-radius: 5px;
  width: 30%;
}

.kanban-header {
  font-weight: bold;
  padding: 10px;
  border-bottom: 2px solid #555;
}

.bg-red {
  background-color: #e74c3c;
}

.bg-yellow {
  background-color: #f1c40f;
}

.bg-green {
  background-color: #00ab57;
}

.kanban-list {
  list-style: none;
  padding: 20px;
  text-align: left;
}

.kanban-list li {
  padding: 5px 0;
}


.kanban-header:after {
  content: '→';
  float: right;
}

.kanban-column:last-child .kanban-header:after {
  content: none;
}


.kanban-list li {
  padding: 5px 0;
  transition: background-color 0.3s ease;
  cursor: grab;
}

.kanban-list li:hover {
  background-color: #4c4c4c;
}

.kanban-list li:active {
  cursor: grabbing;
}

#reset-kanban {
  font-family: poppins;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  background: #263043;
  padding: 10px 20px;
  border-radius: 5px;
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

#reset-kanban:hover {
  transform: scale(1.1);
}

/* PERF COM */


.performance-container {
  font-family: 'Poppins', sans-serif;
  text-align: left;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.performance-container h1 {
  font-size: 24px;
  margin-bottom: 0;
  text-align: center;
}

.comparison {
  font-size: 14px;
  margin-top: 0;
}

.communication-tool {
  margin: 20px 0;
  display: flex;
  align-items: baseline;
}

.communication-tool span {
  margin-right: 10px;
  font-size: 18px;
}

.messages-count {
  font-weight: bold;
}

.percentage-change {
  color: #4CAF50;

  font-weight: bold;
}

.meetings-info {
  font-size: 18px;
  font-weight: bold;
}

.bxs-like {
  color: #ffffff;
  margin-left: 4px;
  vertical-align: middle;
}

/* PDF */
.pdf-container {
  margin: 20px 0;
}


/* ---------- MEDIA QUERIES ---------- */

/* Medium <= 992px */

@media screen and (max-width: 992px) {
  .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: 0.2fr 3fr;
    grid-template-areas:
      'header'
      'main';
  }

  #sidebar {
    display: none;
  }

  .menu-icon {
    display: inline;
  }

  .sidebar-title>span {
    display: inline;
  }
}

/* Small <= 768px */

@media screen and (max-width: 768px) {
  .main-cards {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 0;
  }

  .charts {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }
}

/* Extra Small <= 576px */

@media screen and (max-width: 576px) {
  .hedaer-left {
    display: none;
  }
}