body {
    background: none !important;
  }

  .profil-public {
    max-width: 900px;
    margin: 100px auto;
    padding: 2rem;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.25);
    border-radius: 1.5rem;
  }

  .profil-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 107, 107, 0.3);
  }

  .profil-photo-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ff6b6b;
    flex-shrink: 0;
  }

  .profil-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .default-photo-large {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b6b, #ff8c42);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 700;
    color: white;
  }

  .profil-info-header {
    flex: 1;
  }

  .profil-info-header h1 {
    margin: 0 0 0.5rem 0;
    color: #ff6b6b;
    text-shadow: 2px 2px 4px rgba(255, 107, 107, 0.49);
  }

  .profil-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .badge {
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
  }

  .badge.admin {
    background: rgba(255, 193, 7, 0.3);
    color: #856404;
  }

  .badge.proprietaire {
    background: rgba(76, 175, 80, 0.3);
    color: #2e7d32;
  }

  .badge.client {
    background: rgba(33, 150, 243, 0.3);
    color: #1565c0;
  }

  .profil-description {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 0.8rem;
    color: rgba(0, 0, 0, 0.75);
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .profil-meta {
    display: flex;
    gap: 1.5rem;
    color: #666;
    font-size: 0.9rem;
  }

  .profil-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .stat-card {
    background: rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(15px);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.34);
  }

  .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }

  .stat-card h3 {
    margin: 0 0 0.5rem 0;
    color: #ff6b6b;
    font-size: 1.1rem;
  }

  .stat-card p {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
  }

  .profil-section {
    margin-bottom: 2rem;
  }

  .profil-section h2 {
    color: #ff6b6b;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(255, 107, 107, 0.49);
  }

  .avis-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .avis-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1.2rem;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
  }

  .avis-card:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.3);
  }

  .avis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
  }

  .restaurant-link {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
  }

  .restaurant-link:hover {
    color: #ff8c42;
  }

  .stars {
    display: flex;
    gap: 2px;
  }

  .star {
    color: #ddd;
    font-size: 1rem;
  }

  .star.filled {
    color: #ffd700;
  }

  .avis-commentaire {
    color: rgba(0, 0, 0, 0.75);
    line-height: 1.5;
    margin: 0.5rem 0;
  }

  .avis-date {
    color: #888;
    font-size: 0.85rem;
  }

  .restaurants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .restaurant-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.33);
  }

  .restaurant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }

  .restaurant-card h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.4rem;
  }

  .restaurant-category {
    color: #ff6b6b;
    font-weight: 600;
    margin: 0.3rem 0;
    font-size: 0.9rem;
  }

  .restaurant-address {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
  }

  .restaurant-rating {
    margin: 0.8rem 0;
  }

  .rating-text {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 0.3rem;
  }

  .btn-small {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ff6b6b, #ff8c42);
    color: white;
    text-decoration: none;
    border-radius: 0.6rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
  }

  .btn-small:hover {
    transform: translateY(-2px);
    color: rgba(225, 225, 225, 0.836);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
  }

  .back-link {
    display: inline-block;
    margin-top: 1rem;
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .back-link:hover {
    color: #ff8c42;
    transform: translateX(-5px);
  }

  @media (max-width: 768px) {
    .profil-header {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .profil-meta {
      flex-direction: column;
      gap: 0.5rem;
    }
  }

/* Indicateur dernière connexion */
.derniere-connexion {
    margin-top: -6px;
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    padding: 0.35rem 0.9rem;
    border-radius: 2rem;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.derniere-connexion:hover {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* État "en ligne" — badge vert */
.derniere-connexion.is-online {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.4);
    color: #2e7d32;
}

.derniere-connexion.is-online:hover {
    background: rgba(76, 175, 80, 0.22);
}

/* Point vert animé */
.derniere-connexion .online-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4CAF50;
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    animation: pulse-green 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-green {
    0%   { box-shadow: 0 0 0 0   rgba(94, 198, 98, 0.7); }
    70%  { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0);   }
    100% { box-shadow: 0 0 0 0   rgba(76, 175, 80, 0);   }
}