.user-portal-block {
  display: flex;           /* Use flexbox */
  justify-content: center; /* Center items horizontally */
  width: 100%;             /* Ensure block takes full width for centering */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
}

.user-portal-container {
  display: flex;          /* Changed to flex to ensure proper wrapping */
  flex-wrap: wrap;        /* Allow items to wrap onto the next line */
  justify-content: center; /* Ensure items are centered horizontally */
  gap: 10px;              /* Add spacing between the wrapped items */
  text-align: center;
}

.user-portal-container ul {
  list-style-type: none;    /* Remove bullet points */
  margin: 0;                /* Remove default margin */
  padding: 0;               /* Remove default padding */
  display: flex;            /* Align items horizontally */
  flex-wrap: wrap;          /* Allow wrapping of items */
  justify-content: center;  /* Ensure items in the list are centered */
  gap: 5px;                 /* Add spacing between list items */
}

.user-portal-nav-item {
  font-size: 0.8rem;
  font-weight: 700;
  color: #343f52;
  margin-bottom: 10px;
  text-align: center; /* Center the text within the nav item */
}

.user-portal-nav-item a {
  color: inherit;           /* Inherit color from parent */
  text-decoration: none;    /* Remove underline */
}

.user-portal-nav-item a:hover {
  color: inherit;           /* Ensure hover color is also inherited */
}

.user-portal-nav-item:hover {
  color: #f6b11a;
}

.user-portal-nav-item-border {
  margin: 0px 2.5px 0px 2.5px;
  padding: 10px 15px 5px 15px;
  border-bottom: 2px solid #343f52;
}

.user-portal-nav-item-border:hover {
  border-bottom: 2px solid #f6b11a;
}