/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: #0F1623;
    color: #fff;
    min-height: 100vh;
  }
  
  /* Header styles */
  header {
    display: flex;
    height: 64px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #1f2937;
    padding: 0 16px;
    background-color: #0F1623;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
  }
  
  .header-left {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-decoration: none;
  }
  
  .nav-links {
    display: flex;
    gap: 24px;
  }
  
  .nav-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
  }
  
  .nav-links a:hover {
    color: white;
  }
  
  /* Buttons */
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
  }
  
  .button-primary {
    background-color: #7c3aed;
    color: white;
    border: none;
  }
  
  .button-primary:hover {
    background-color: #6d28d9;
  }
  
  .button-outline {
    background-color: transparent;
    border: 1px solid #374151;
    color: white;
  }
  
  .button-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Profile dropdown */
  .profile-dropdown {
    position: relative;
  }
  
  .profile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background-color: #1A1F2E;
    border-radius: 8px;
    min-width: 160px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
  
  .profile-menu.open {
    display: block;
  }
  
  .profile-menu a {
    display: block;
    padding: 12px 16px;
    color: white;
    text-decoration: none;
    font-size: 14px;
  }
  
  .profile-menu a:hover {
    background-color: #1E2436;
  }
  
  /* Sidebar */
  .sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 250px;
    height: 100%;
    background-color: #1A1F2E;
    padding: 80px 20px 20px;
    transition: left 0.3s ease;
    z-index: 40;
  }
  
  .sidebar.open {
    left: 0;
  }
  
  .sidebar-button {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 8px;
    background-color: #1E2436;
    border: 1px solid #374151;
    border-radius: 8px;
    color: white;
    text-align: left;
    cursor: pointer;
  }
  
  .sidebar-button:hover {
    background-color: #2d3748;
  }
  
  /* Hamburger menu */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 20px;
    cursor: pointer;
    margin-right: 16px;
  }
  
  .hamburger div {
    width: 100%;
    height: 2px;
    background-color: white;
    transition: 0.3s;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .nav-links {
      display: none;
    }
  }
    /* New styles for messages */
    .message-icon {
      position: relative;
      cursor: pointer;
      margin-right: 16px;
    }

    .message-count {
      position: absolute;
      top: -5px;
      right: -5px;
      background-color: red;
      color: white;
      border-radius: 50%;
      padding: 2px 5px;
      font-size: 12px;
    }

    .messages-container {
      display: none;
      position: absolute;
      top: 100%;
      right: 0;
      background-color: #1A1F2E;
      border-radius: 8px;
      min-width: 250px;
      max-width: 300px;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
      z-index: 100;
    }

    .message-box {
      padding: 10px;
      border-bottom: 1px solid #374151;
    }

    .message-box:last-child {
      border-bottom: none;
    }

    .message-text {
      margin-bottom: 5px;
    }

    .skip-message {
      background-color: #7c3aed;
      color: white;
      border: none;
      padding: 5px 10px;
      border-radius: 4px;
      cursor: pointer;
      font-size: 12px;
    }

    .skip-message:hover {
      background-color: #6d28d9;
    }

    /* New styles for messages */
    .message-icon {
      position: relative;
      cursor: pointer;
      margin-right: 16px;
    }

    .message-count {
      position: absolute;
      top: -5px;
      right: -5px;
      background-color: red;
      color: white;
      border-radius: 50%;
      padding: 2px 5px;
      font-size: 12px;
    }

    .messages-container {
      display: none;
      position: absolute;
      top: 100%;
      right: 0;
      background-color: #1A1F2E;
      border-radius: 8px;
      min-width: 250px;
      max-width: 300px;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
      z-index: 100;
    }

    .message-box {
      padding: 10px;
      border-bottom: 1px solid #374151;
    }

    .message-box:last-child {
      border-bottom: none;
    }

    .message-text {
      margin-bottom: 5px;
    }

    .skip-message {
      background-color: #7c3aed;
      color: white;
      border: none;
      padding: 5px 10px;
      border-radius: 4px;
      cursor: pointer;
      font-size: 12px;
    }

    .skip-message:hover {
      background-color: #6d28d9;
    }