
    /* Profile Dropdown Styles */
    .profile-icon {
      position: relative;
      cursor: pointer;
    }

    .profile-dropdown {
      position: absolute;
      top: calc(100% + 12px);
      right: -63px;
      /* More to the right */
      width: 240px;
      /* Reduced from 280px */
      background: linear-gradient(358deg, #111111f0 0%, #202020 100%);
      border: 1px solid #2a35557a;
      border-radius: 12px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
      opacity: 0;
      visibility: hidden;
      transform: scale(0.95);
      transform-origin: top right;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 1000;
      overflow: hidden;
    }

    .profile-dropdown.show {
      opacity: 1;
      visibility: visible;
      transform: scale(1);
    }

    /* Arrow/Triangle pointing up */
    .profile-dropdown::before {
      content: '';
      position: absolute;
      top: -8px;
      right: 16px;
      /* Adjusted arrow position */
      width: 0;
      height: 0;
      border-left: 8px solid transparent;
      border-right: 8px solid transparent;
      border-bottom: 8px solid #2a3555;
    }

    /* Logged In User Section */
    .profile-user-section {
      padding: 16px;
      /* Reduced from 20px */
      border-bottom: 1px solid #2a3555;
      background: rgba(255, 107, 0, 0.05);
    }

    .profile-user-info {
      display: flex;
      align-items: center;
      gap: 10px;
      /* Reduced from 12px */
    }

    .profile-avatar {
      width: 42px;
      /* Reduced from 48px */
      height: 42px;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid #ff6b00;
      flex-shrink: 0;
    }

    .profile-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .profile-avatar-default {
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      /* Reduced from 20px */
      font-weight: 700;
      color: white;
    }

    .profile-user-details h3 {
      font-size: 15px;
      /* Reduced from 16px */
      font-weight: 700;
      color: #fff;
      margin: 0;
      margin-bottom: 4px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .profile-user-details p {
      font-size: 11px;
      /* Reduced from 12px */
      color: #aaa;
      margin: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    /* Menu Items */
    .profile-menu {
      padding: 6px 0;
      /* Reduced from 8px */
    }

    .profile-menu-item {
      display: flex;
      align-items: center;
      gap: 10px;
      /* Reduced from 12px */
      padding: 10px 16px;
      /* Reduced from 12px 20px */
      color: #ddd;
      text-decoration: none;
      transition: all 0.2s ease;
      cursor: pointer;
      font-size: 13px;
      /* Reduced from 14px */
    }

    .profile-menu-item:hover {
      background: rgba(255, 107, 0, 0.1);
      color: #ff6b00;
    }

    .profile-menu-item svg {
      width: 16px;
      /* Reduced from 18px */
      height: 16px;
      flex-shrink: 0;
    }

    .profile-menu-divider {
      height: 1px;
      background: #2a3555;
      margin: 6px 0;
      /* Reduced from 8px */
    }

    .profile-menu-logout {
      color: #ff4444;
      border-top: 1px solid #2a3555;
      margin-top: 6px;
      /* Reduced from 8px */
      padding-top: 12px;
      /* Reduced from 16px */
    }

    .profile-menu-logout:hover {
      background: rgba(255, 68, 68, 0.1);
      color: #ff6666;
    }

    /* Guest/Not Logged In Section */
    .profile-guest-section {
      padding: 20px 16px;
      /* Reduced horizontal padding */
      text-align: center;
    }

    .profile-guest-icon {
      width: 50px;
      /* Reduced from 60px */
      height: 50px;
      margin: 0 auto 14px;
      /* Reduced from 16px */
      background: linear-gradient(135deg, #2a3555 0%, #1a1f3a 100%);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 2px solid #3a4565;
    }

    .profile-guest-icon svg {
      width: 26px;
      /* Reduced from 30px */
      height: 26px;
      color: #aaa;
    }

    .profile-guest-section h3 {
      font-size: 15px;
      /* Reduced from 16px */
      font-weight: 700;
      color: #fff;
      margin: 0 0 6px 0;
      /* Reduced from 8px */
    }

    .profile-guest-section p {
      font-size: 12px;
      /* Reduced from 13px */
      color: #aaa;
      margin: 0 0 16px 0;
      /* Reduced from 20px */
      line-height: 1.4;
      /* Reduced from 1.5 */
    }

    .profile-auth-buttons {
      display: flex;
      flex-direction: column;
      gap: 20px;
      /* Reduced from 10px */
    }

    .profile-auth-btn {
      width: 85%;
      margin: auto;
      padding: 8px 18px;
      /* Reduced from 10px 20px */
      border-radius: 40px;
      font-size: 13px;
      /* Reduced from 14px */
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-block;
      text-align: center;
    }

    .profile-auth-btn-primary {
      background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
      color: white;
      border: none;
    }

    .profile-auth-btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
    }

    .profile-auth-btn-secondary {
      background: transparent;
      color: #fff;
      border: 2px solid #2a3555;
    }

    .profile-auth-btn-secondary:hover {
      border-color: #ff6b00;
      color: #ff6b00;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
      .profile-dropdown {
        width: 220px;
        /* Reduced from 260px */
        right: -12px;
        /* More to right on mobile */
      }

      .profile-dropdown::before {
        right: 20px;
        /* Adjusted arrow */
      }

      .profile-user-section {
        padding: 14px;
        /* Slightly more compact on mobile */
      }

      .profile-guest-section {
        padding: 18px 14px;
      }
    }

    /* Overlay for mobile */
    .profile-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 999;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .profile-overlay.show {
      display: block;
      opacity: 0;
    }

    @media (max-width: 768px) {
      .profile-overlay.show {
        display: block;
      }
    }
