
/* Dashboard Pages - left side menu */

.nav-sidepanel-container {
    background-color: #3b4150;
    width: 288px;
	height: 100vh;
	position: fixed;
    z-index: 10;
    top: 0;
    bottom: auto;
    padding: 12px 4px;
}

.nav-sidepanel {
    padding: 12px 0px 12px 16px;
    width: 280px;
	height: calc(100vh - 24px);
}

.nav-sidepanel .tabs_list {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 264px;
  height: calc(100vh - 48px);
  position: relative;
}

.dashboard-logo-header {
    align-self: stretch;
    height: 56px;
    width: 248px;
    position: relative;
}

.nav-sidepanel .items-container {
    height: calc(100vh);
    width: 264px;
}

.nav-sidepanel .items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  height: calc(100vh - 210px);
  padding: 16px 0px;
  overflow-x: hidden;
  overflow-y: auto;
	    
	&::-webkit-scrollbar { 
	   	width : 4px;
		transform: translateX(-10px);
	}
	
	&::-webkit-scrollbar-track {
		background: transparent;
		height: 100%;
	}
		
	&::-webkit-scrollbar-thumb {
       	background: #ffffff7a;
		border-radius: 2px;
	}
  
}

.nav-sidepanel .items-full-height {
	height: calc(100vh - 110px) !important;
}

.nav-sidepanel .tab-item {
  font-family: var(--font-family);
  font-size: var(--font-size-l);
  font-style: normal;
  font-weight: 400;
  align-items: center;
  align-self: stretch;
  display: flex;
  gap: 12px;
  opacity: 0.6;
  padding: 8px 12px;
  margin-right: 16px;
  position: relative;
  cursor: pointer;
  
	.tab-item-text {
		flex: 1;
		color: var(--alto);
		letter-spacing: 0;
		line-height: 20px;
		position: relative;
		white-space: nowrap;
	}
	
	&:hover {
		background-color: #ffffff14;
		border-radius: 8px;
		opacity: 1.0;
		
		.tab-item-text {
			color: var(--white);
			font-weight: 500;
		}
		
		svg > path[fill="#D8D9DC"] {
			fill: #ffffff;
		}
		
		svg > path[stroke="#D8D9DC"] {
			stroke: #ffffff;
		}
	}
}

.nav-sidepanel .tab-item-selected {
  color: var(--white);
  font-family: var(--font-family);
  font-size: var(--font-size-l);
  font-weight: 500;
  align-items: center;
  align-self: stretch;
  background-color: #ffffff14;
  border-color: var(--white);
  border-left-style: solid;
  border-left-width: 1px;
  border-radius: 0px 8px 8px 0px;
  display: flex;
  gap: 12px;
  padding: 8px 12px;
  margin-right: 16px;
  position: relative;
}

.nav-sidepanel .text-selected {
  flex: 1;
  letter-spacing: 0;
  line-height: 20px;
  position: relative;
  white-space: nowrap;
}

.nav-sidepanel .divider {
  align-self: stretch;
  background-color: #ffffff52;
  height: 1px;
  width: 248px;
  position: relative;
}

.nav-sidepanel .menu-title {
  align-items: center;
  align-self: stretch;
  border-radius: 6px;
  display: flex;
  gap: 12px;
  padding: 8px 12px;
  position: relative;
}

.nav-sidepanel .menu-title-text {
  color: #ffffff7a;
  flex: 1;
  font-family: var(--font-family);
  font-size: var(--font-size-m);
  font-weight: 500;
  letter-spacing: 0;
  line-height: normal;
  margin-top: -1.00px;
  position: relative;
  white-space: nowrap;
}

.nav-sidepanel .edit-survey-block {
	height: 60px;
}

.nav-sidepanel .edit-survey-button {
    align-items: center;
    border-radius: 6px;
    display: flex;
    gap: 4px;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid;
    border-color: var(--colorprimarylighter);
    height: 40px;
    margin-top: 16px;
    width: 100%;
    cursor: pointer;
}

.nav-sidepanel .edit-survey-button:hover {
    background-color: #ffffff14;
}

.nav-sidepanel .edit-survey-button-text {
    color: var(--colorprimarylighter);
    font-family: var(--font-family);
    font-size: var(--font-size-l);
    font-weight: 500;
    letter-spacing: 0;
    line-height: normal;
    position: relative;
    text-align: center;
    width: fit-content;
}




/* Profile Pages - left side menu */

.profile-menu {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 248px;
  margin-top: 72px;
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  overflow: hidden; /* Disable scroll */
}

.profile-menu .title {
  color: var(--black-2);
  font-family: var(--font-family);
  font-size: var(--font-size-28);
  font-weight: 500;
  letter-spacing: 0;
  line-height: normal;
  margin-left: 8px;
  margin-top: 40px;
  margin-bottom: 32px;
  height: 34px;
  width: 248px;
}

.profile-menu .nav-tab {
    display: flex;
    align-items: center;
	border-radius: 8px;
	gap: 12px;
	height: 48px;
	padding: 8px 12px;
	width: 248px;
	cursor: pointer;
	
	.nav-text {
		flex: 1;
		letter-spacing: 0;
		line-height: normal;
		position: relative;
		white-space: nowrap;
		color: var(--colorgreymain);
		font-family: var(--font-family);
		font-size: var(--font-size-l);
		font-style: normal;
		font-weight: 500;
	}

	&:hover {
		background-color: var(--bright-gray);
		opacity: 0.8;
		
		.nav-text {
			color: var(--white);
			font-weight: 500;
		}
		
		svg > path[fill="#626773"] {
			fill: #ffffff;
		}
		
		svg > path[stroke="#626773"] {
			stroke: #ffffff;
		}
		
		svg > g > path[stroke="#626773"] {
			stroke: #ffffff;
		}
	}
}

.profile-menu .nav-tab-selected {
  align-items: center;
  background-color: var(--bright-gray);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  height: 48px;
  padding: 8px 12px;
  position: relative;
  width: 248px;
}

.profile-menu .nav-text-selected {
  color: var(--white);
  flex: 1;
  font-family: var(--font-family);
  font-size: var(--font-size-l);
  font-weight: 500;
  letter-spacing: 0;
  line-height: normal;
  position: relative;
  white-space: nowrap;
}

.landing-nav-menu {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 32px;
  justify-content: flex-end;
  position: relative;

  a.link {
    border-radius: 0;
    gap: 12px;
    padding: 8px 12px;
    width: fit-content;
    align-items: center;
    display: flex;
    position: relative;

    &.active {
      border-bottom: 2px solid var(--mariner);

      span {
        color: var(--mariner);
      }
    }
  }

  span {
    color: var(--black-2);
    font-family: var(--font-family);
    font-size: var(--font-size-l);
    font-weight: 500;
    line-height: 20px;
    margin: 4px 0 0 0;
  }
}
