      :root {
        --primary-color: #3498db;
        --secondary-color: #2c3e50;
        --success-color: #2ecc71;
        --danger-color: #e74c3c;
        --warning-color: #f39c12;
        --light-bg: #f8f9fa;
        --dark-bg: #343a40;
      }

      body {
        background-color: #f5f5f5;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      }

      .sidebar {
        background-color: var(--secondary-color);
        color: white;
        height: 100vh;
        position: fixed;
        transition: all 0.3s;
      }

      .sidebar .nav-link {
        color: rgba(255, 255, 255, 0.8);
        padding: 15px 20px;
        border-radius: 5px;
        margin-bottom: 5px;
        transition: all 0.3s;
      }

      .sidebar .nav-link:hover,
      .sidebar .nav-link.active {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
      }

      .sidebar .nav-link i {
        margin-left: 10px;
      }

      .main-content {
        transition: all 0.3s;
      }

      .card {
        border: none;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
        transition: transform 0.3s;
      }

      .card:hover {
        transform: translateY(-5px);
      }

      .card-header {
        background-color: white;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-weight: 600;
        border-radius: 10px 10px 0 0 !important;
      }

      .btn-primary {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
      }

      .btn-success {
        background-color: var(--success-color);
        border-color: var(--success-color);
      }

      .btn-danger {
        background-color: var(--danger-color);
        border-color: var(--danger-color);
      }

      .Profil-header {
        background-color: var(--primary-color);
        color: white;
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 20px;
      }

      .Profil-img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 3px solid white;
        object-fit: cover;
      }

      .upload-area {
        border: 2px dashed #ccc;
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s;
      }

      .upload-area:hover {
        border-color: var(--primary-color);
      }

      .notification-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        background-color: var(--danger-color);
        color: white;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .dashboard-stat {
        padding: 20px;
        border-radius: 10px;
        color: white;
        margin-bottom: 20px;
      }

      .stat-primary {
        background-color: var(--primary-color);
      }

      .stat-success {
        background-color: var(--success-color);
      }

      .stat-warning {
        background-color: var(--warning-color);
      }

      .stat-danger {
        background-color: var(--danger-color);
      }

      .stat-icon {
        font-size: 3rem;
        opacity: 0.5;
      }

      /* Responsive adjustments */
      @media (max-width: 768px) {
        .sidebar {
          width: 100%;
          height: auto;
          position: relative;
        }

        .sidebar .nav {
          display: flex;
          flex-direction: row;
          overflow-x: auto;
          padding: 10px;
        }

        .sidebar .nav-link {
          padding: 10px;
          margin-left: 5px;
          white-space: nowrap;
        }

        .main-content {
          margin-right: 0 !important;
        }
      }
              .timeline {
                position: relative;
                padding-left: 30px;
              }

              .timeline-item {
                position: relative;
                padding-bottom: 20px;
                border-left: 2px solid #e9ecef;
                padding-left: 20px;
              }

              .timeline-item:last-child {
                padding-bottom: 0;
              }

              .timeline-item:before {
                content: '';
                position: absolute;
                left: -10px;
                top: 0;
                width: 18px;
                height: 18px;
                border-radius: 50%;
                background-color: #fff;
                border: 2px solid #3498db;
              }

              .timeline-date {
                font-size: 0.8rem;
                color: #6c757d;
                margin-bottom: 5px;
              }

              /* Activer les zones de glisser-d\xC3\xA9poser */
              .upload-area {
                border: 2px dashed #ccc;
                border-radius: 10px;
                padding: 30px;
                text-align: center;
                cursor: pointer;
                transition: all 0.3s;
              }

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: rgba(52, 152, 219, 0.05);
}

.notification-time {
  display: block;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  color: #6c757d;
}

.offers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  padding: 24px 8px 40px;
}

.card_box {
  width: 220px;
  height: 280px;
  border-radius: 20px;
  background: linear-gradient(170deg, rgba(58, 56, 56, 0.623) 0%, rgb(31, 31, 31) 100%);
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: all 0.3s;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #f8fafc;
}

.card_box:hover {
  transform: scale(0.95);
}

.dashboard-market-card {
  overflow: hidden;
}

.market-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8fafc;
}

.market-tab-btn {
  border: 1px solid rgba(52, 152, 219, 0.25);
  background: #ffffff;
  color: #2c3e50;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.market-tab-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.market-tab-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.market-widget-title {
  font-weight: 700;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.market-tv-host {
  height: calc(100vh - 320px);
  min-height: 620px;
}

.market-tv-host .tradingview-widget-container,
.market-tv-host .tradingview-widget-container__widget {
  height: 100% !important;
}

.market-tv-host .tradingview-widget-copyright {
  padding: 8px 12px;
  font-size: 12px;
  color: #6c757d;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8fafc;
  text-align: center;
}

.card_box span {
  position: absolute;
  overflow: hidden;
  width: 150px;
  height: 150px;
  top: -10px;
  left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card_box span::before {
  content: attr(data-label);
  position: absolute;
  width: 150%;
  height: 40px;
  background-image: linear-gradient(45deg, #ff6547 0%, #ffb144 51%, #ff7053 100%);
  transform: rotate(-45deg) translateY(-20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.23);
}

.card_box span::after {
  content: '';
  position: absolute;
  width: 10px;
  bottom: 0;
  left: 0;
  height: 10px;
  z-index: -1;
  box-shadow: 140px -140px #cc3f47;
  background-image: linear-gradient(45deg, #ff512f 0%, #f09819 51%, #ff512f 100%);
}

.offer-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.offer-price {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #06b6d4;
}

.offer-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  color: #94a3b8;
  font-size: 0.95rem;
}

.offer-list li {
  margin-bottom: 6px;
}

.offer-btn {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}

.offer-btn:hover {
  color: white;
  opacity: 0.9;
}

/* Dashboard offers compact layout */
#offers .offers-cards-row {
  align-items: stretch;
}

#offers .offers-cards-row > .col {
  min-width: 0;
}

#offers .card {
  border-radius: 12px;
  border: 0;
}

#offers .card-header {
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
}

#offers .offer-plan-card {
  background: #0f4fdc;
  color: #ffffff;
}

#offers .offer-plan-header {
  background: transparent;
  border-bottom: 0;
  padding: 1.2rem 1.2rem 0.1rem;
}

#offers .offer-plan-name {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.4px;
}

#offers .offer-plan-body {
  padding: 0.55rem 1.2rem 0.45rem;
}

#offers .offer-plan-price {
  color: #f0f6ff;
  font-size: 1.15rem;
}

#offers .offer-plan-subtitle {
  color: #d7e8ff;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 0.6rem;
}

#offers .offer-plan-list {
  background: transparent;
  padding-bottom: 0.7rem;
}

#offers .card-body {
  padding: 0.85rem;
}

#offers .display-6 {
  font-size: 1.55rem;
  line-height: 1.2;
}

#offers .card-body p {
  font-size: 0.84rem;
  line-height: 1.4;
}

#offers .list-group-item {
  background: transparent;
  color: #f5f9ff;
  border-color: transparent;
  padding: 0.34rem 1.2rem;
  font-size: 0.66rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}

#offers .list-group-item i {
  margin-top: 0.1rem;
  color: #8fd1ff;
  flex-shrink: 0;
}

@media (max-width: 1399.98px) {
  #offers .offer-plan-name {
    font-size: 1.9rem;
  }

  #offers .list-group-item {
    font-size: 0.62rem;
  }
}
