    .user-menu {
      position: relative;
    }

    .user-avatar {
      width: 35px;
      height: 35px;
      border-radius: 50%;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 600;
      font-size: 14px;
      cursor: pointer;
      transition: transform 0.2s;
    }

    .user-avatar:hover {
      transform: scale(1.1);
    }

    .user-dropdown {
      position: absolute;
      top: 100%;
      right: 0;
      margin-top: 10px;
      background: white;
      border-radius: 8px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
      min-width: 220px;
      display: none;
      z-index: 1000;
    }

    .user-dropdown.show {
      display: block;
      animation: slideDown 0.2s ease;
    }

    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .user-dropdown-header {
      padding: 15px;
      border-bottom: 1px solid #eee;
    }

    .user-dropdown-header strong {
      display: block;
      color: #333;
      font-size: 14px;
    }

    .user-dropdown-header small {
      color: #666;
      font-size: 12px;
    }

    .user-dropdown-item {
      display: block;
      padding: 12px 15px;
      color: #333;
      text-decoration: none;
      transition: background 0.2s;
      font-size: 14px;
    }

    .user-dropdown-item:hover {
      background: #f8f9fa;
      color: #667eea;
    }

    .user-dropdown-item i {
      margin-right: 8px;
      width: 18px;
      text-align: center;
    }

    .user-dropdown-divider {
      height: 1px;
      background: #eee;
      margin: 5px 0;
    }

    .badge-premium {
      background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
      color: #333;
      padding: 2px 8px;
      border-radius: 12px;
      font-size: 10px;
      font-weight: bold;
      margin-left: 5px;
    }

    .badge-verified {
      color: #4CAF50;
      margin-left: 3px;
    }

    .btn-auth {
      margin-left: 8px;
    }

    .logo-clair {
      display: block;
    }

    .logo-fonce {
      display: none;
    }

    .dark-mode .logo-clair {
      display: none;
    }

    .dark-mode .logo-fonce {
      display: block;
    }

    .dark-mode .user-dropdown {
      background: #2d2d2d;
      border: 1px solid #444;
    }

    .dark-mode .user-dropdown-header {
      border-bottom-color: #444;
    }

    .dark-mode .user-dropdown-header strong,
    .dark-mode .user-dropdown-item {
      color: #e0e0e0;
    }

    .dark-mode .user-dropdown-item:hover {
      background: #3a3a3a;
      color: #667eea;
    }

    .dark-mode .user-dropdown-divider {
      background: #444;
    }

    .flash-messages {
      position: fixed;
      top: 80px;
      right: 20px;
      z-index: 9999;
      max-width: 400px;
    }

    .flash-message {
      padding: 15px 20px;
      margin-bottom: 10px;
      border-radius: 8px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      animation: slideInRight 0.3s ease;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    @keyframes slideInRight {
      from {
        transform: translateX(400px);
        opacity: 0;
      }

      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    .flash-message.success {
      background: #d4edda;
      color: #155724;
      border-left: 4px solid #28a745;
    }

    .flash-message.danger {
      background: #f8d7da;
      color: #721c24;
      border-left: 4px solid #dc3545;
    }

    .flash-message.warning {
      background: #fff3cd;
      color: #856404;
      border-left: 4px solid #ffc107;
    }

    .flash-message.info {
      background: #d1ecf1;
      color: #0c5460;
      border-left: 4px solid #17a2b8;
    }

    .flash-close {
      margin-left: auto;
      cursor: pointer;
      opacity: 0.7;
      font-weight: bold;
    }

    .flash-close:hover {
      opacity: 1;
    }

    .notification-badge {
      position: absolute;
      top: 5px;
      right: 0px;
      font-size: 0.6em;
    }

    .notification-dropdown-menu {
      width: 380px;
      max-height: 400px;
      overflow-y: auto;
    }

    .notification-item.unread {
      background-color: #eef2fa;
    }

    .dark-mode .notification-item.unread {
      background-color: #3a4149;
    }

    .notification-text p {
      white-space: normal;
      margin-bottom: 0.25rem;
      font-size: 0.9rem;
    }

    .user-avatar-sm {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: linear-gradient(135deg, #8895f3 0%, #845bb4 100%);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 600;
      font-size: 14px;
      flex-shrink: 0;
    }

    @supports (padding-top: env(safe-area-inset-top)) {
      body {

        padding-top: calc(60px + env(safe-area-inset-top));
      }

      body.home-page {

        padding-top: 0;
      }
    }

    @media (max-width: 991px) {
      .navbar {
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
      }

      .navbar-brand svg {
        height: 36px !important;

      }

      @supports (padding-top: env(safe-area-inset-top)) {
        body {

          padding-top: calc(48px + env(safe-area-inset-top));
        }
      }
    }

    #safe-area-cover {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: env(safe-area-inset-top, 0px);
      background-color: #519D88;

      z-index: 1001;

      pointer-events: none;
    }

    body.dark-mode #safe-area-cover {
      background-color: #2D443C;

    }
