.bd-placeholder-img {
      font-size: 1.125rem;
      text-anchor: middle;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    }

    @media (min-width: 768px) {
      .bd-placeholder-img-lg {
        font-size: 3.5rem;
      }
    }

    body {
      font-size: .875rem;
    }

    .feather {
      width: 16px;
      height: 16px;
      vertical-align: text-bottom;
    }

    /* Sidebar*/

    .sidebar {
      position: fixed;
      top: 0;
      bottom: 0;
      left: 0;
      z-index: 100;
      /* Behind the navbar */
      padding: 48px 0 0;
      /* Height of navbar */
      box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    }

    @media (max-width: 767.98px) {
      .sidebar {
        top: 5rem;
      }
    }

    .sidebar-sticky {
      position: relative;
      top: 0;
      height: calc(100vh - 48px);
      padding-top: .5rem;
      overflow-x: hidden;
      overflow-y: auto;
      /* Scrollable contents if viewport is shorter than content. */
    }

    .sidebar .nav-link {
      font-weight: 500;
      color: #333;
    }

    .sidebar .nav-link .feather {
      margin-right: 4px;
      color: #727272;
    }

    .sidebar .nav-link.active {
      color: #007bff;
    }

    .sidebar .nav-link:hover .feather,
    .sidebar .nav-link.active .feather {
      color: inherit;
    }

    .sidebar-heading {
      font-size: .75rem;
    }

    /*Navbar*/
    /* .navbar-brand {
      padding-top: .75rem;
      padding-bottom: .75rem;
      font-size: 1rem;
      background-color: rgba(0, 0, 0, .25);
      box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
    } */
    .navbar-brand {
      min-width: 180px;
      display: flex;
      align-items: center;
    }
    
    .navbar .navbar-toggler {
      top: .25rem;
      right: 1rem;
    }

    .navbar .form-control {
      padding: .75rem 1rem;
      border-width: 0;
      border-radius: 0;
    }

    .navbar .form-control:focus {
      outline: none;
      box-shadow: none;
      border-color: transparent;
    }

    .form-control-dark {
      color: #fff;
      background-color: rgba(255, 255, 255, .1);
      border-color: rgba(255, 255, 255, .1);
    }

    .form-control-dark:focus {
      border-color: transparent;
      box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
    }

    /* .tr-inprogress {
      background-color: #f8fba280;
      color: #333;
    }
    .tr-closed {
      background-color: #fa7f7f80;
      color: #333;
    }
    .tr-open {
      background-color: #a0e4b083;
      color: #333;
    } */

    /* Modern table container */
    .table-modern-container {
      width: 100%;
      margin: 0;
      border-radius: 16px;
      box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
      background: #fff;
    }

    .table-modern {
      width: 100%;
      min-width: 900px;
      border-collapse: separate;
      border-spacing: 0;
      background: transparent;
    }

    .table-modern th, .table-modern td {
      border: none;
      padding: 20px 16px;
      background: transparent;
      vertical-align: middle;
    }

    .table-modern th {
      color: #7b8a9a;
      font-weight: 600;
      font-size: 1rem;
      background: #f8fafc;
      border-bottom: 2px solid #f0f0f0;
    }

    .table-modern tr {
      border-bottom: 1px solid #f0f0f0;
    }

    .table-modern tr:last-child {
      border-bottom: none;
    }

    .status-badge {
      display: inline-block;
      padding: 4px 14px;
      border-radius: 8px;
      font-size: 0.95em;
      font-weight: 600;
      background: #eee;
      color: #888;
    }
    .status-badge.inprogress { background: #fff3cd; color: #e6a800; }
    .status-badge.closed { background: #e0e0e0; color: #888; }
    .status-badge.open { background: #c7dafeb2; color: #024DDF; }
    .status-badge.completed { background: #d1f7e7; color: #1abc9c; }
    .status-badge.outdated { background: #ffe0e6; color: #e74c3c; }

    .text-secondary {
      color: #b0b8c1;
      font-size: 0.95em;
    }

    /* .glass-navbar {
      background: rgba(255, 255, 255, 0.15) !important;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      z-index: 10;
    } */

    .glass-navbar {
      min-height: 64px;
    }

    .glass-box {
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 12px;
    }

    .dashboard-flex-row {
      display: flex;
      gap: 32px;
      align-items: flex-start;
      width: 100%;
    }
    .analytics-cards {
      min-width: 320px;
      max-width: 350px;
      flex: 0 0 350px;
      display: flex;
      flex-direction: column;
      gap: 24px;
      background: transparent;
    }
    .dashboard-main {
      width: 100%;
      flex: 1 1 0%;
      min-width: 0;
      display: flex;
      flex-direction: column;
      margin-top: 48px;
    }
    .dashboard-graph-card,
    .dashboard-table-card {
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
      padding: 32px 32px 24px 32px;
      margin-bottom: 0;
      width: 100%;
      overflow: hidden;
    }
    .dashboard-graph-card {
      min-height: 340px;
    }
    .dashboard-table-card {
      width: 100%;
      margin: 0;
      padding: 0;
      box-shadow: none;
      background: none;
    }
    .analytics-card {
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
      padding: 24px 28px;
      margin-bottom: 0;
    }
    .analytics-label {
      color: #7b8a9a;
      font-size: 1em;
      font-weight: 600;
      letter-spacing: 1px;
    }
    .analytics-value {
      font-size: 2.5em;
      font-weight: 700;
      color: #222;
      margin-bottom: 8px;
    }
    .analytics-trend {
      font-size: 1em;
      font-weight: 500;
      margin-top: 2px;
    }
    .analytics-trend.up {
      color: #16c784;
    }
    .analytics-trend.down {
      color: #f87171;
    }
    .analytics-trend-label {
      color: #b0b8c1;
      font-size: 0.95em;
      margin-left: 6px;
    }
    .analytics-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 48px;
    }
    @media (max-width: 1100px) {
      .dashboard-flex-row {
        flex-direction: column;
        gap: 0;
      }
      .analytics-cards {
        max-width: 100%;
        margin-bottom: 24px;
        flex: 1 1 100%;
      }
      .dashboard-main {
        width: 100%;
      }
    }

    /* Supprimer les styles du graphique et de la légende (optionnel) */
    .project-overview-card, .project-legend, .project-legend-item, .project-legend-dot, .project-legend-label, .project-legend-value, .project-chart {
      display: none !important;
    }

    /* Analytics row au-dessus de la table */
    .analytics-row {
      width: 100%;
      display: flex;
      flex-wrap: nowrap;
      gap: 24px;
      margin-bottom: 32px;
      justify-content: flex-start;
      align-items: stretch;
      min-height: 170px;
    }
    .analytics-card {
      min-width: 260px;
      max-width: 340px;
      flex: 1 1 0;
      margin-bottom: 0 !important;
      display: flex;
      flex-direction: column;
      justify-content: stretch;
    }
    @media (max-width: 1100px) {
      .analytics-row {
        flex-wrap: wrap;
        min-height: unset;
      }
      .summary-card {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-top: 16px;
      }
    }
    .dashboard-table-card {
      width: 100%;
      margin: 0;
      padding: 0;
      box-shadow: none;
      background: none;
    }
    .table-modern-container {
      width: 100%;
      margin: 0;
      border-radius: 16px;
      box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
      background: #fff;
    }


    /* Carte Channels moderne */
    .channels-card {
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
      padding: 28px 24px 18px 24px;
      margin-bottom: 32px;
      min-width: 320px;
    }
    .channels-title {
      font-weight: 700;
      color: #7b8a9a;
      font-size: 1.1em;
      letter-spacing: 0.01em;
    }
    .channels-table-container {
      width: 100%;
      margin-top: 12px;
    }
    .channels-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      background: transparent;
    }
    .channels-table th, .channels-table td {
      border: none;
      padding: 14px 10px;
      background: transparent;
      vertical-align: middle;
      font-size: 1em;
    }
    .channels-table th {
      color: #7b8a9a;
      font-weight: 600;
      background: #f8fafc;
      border-bottom: 2px solid #f0f0f0;
    }
    .channels-table tr {
      border-bottom: 1px solid #f0f0f0;
    }
    .channels-table tr:last-child {
      border-bottom: none;
    }
    .channels-bar {
      height: 4px;
      border-radius: 4px;
      margin-left: 8px;
      background: #e5e7eb;
      transition: width 0.4s;
    }
    .bar-blue { background: #5b6ee1; }
    .bar-cyan { background: #1cc8c8; }
    .bar-yellow { background: #f7c948; }
    .bar-pink { background: #f87171; }
    #export-channels {
      font-weight: 500;
      border-radius: 8px;
      box-shadow: none;
      border: 1px solid #e5e7eb;
      background: #f8fafc;
      color: #333;
      transition: background 0.2s, color 0.2s;
    }
    #export-channels:hover {
      background: #e5e7eb;
      color: #222;
    }