/* Profile and Dropdown */
.profileContainer {
  display: flex;
  height: 44px;
  flex-direction: column;
  align-items: flex-end;
  cursor: pointer;
  position: relative;
}
.profileBadge {
  display: flex;
  padding: 6px 0 6px 8px;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
}
.profileBadge:hover {
  border-radius: 6px;
  background: #21232f;
  background: color(display-p3 0.1294 0.1373 0.1804);
}
.nameRole {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
}
.userName {
  align-self: stretch;
  color: #d2d3e1;
  text-align: right;
  leading-trim: both;
  text-edge: cap;
  font-family: Inter;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  /* line-height: 30px; 200% */
  line-height: 1;
  letter-spacing: -0.15px;
}
.userRole {
  align-self: stretch;
  color: #85869b;
  text-align: right;
  leading-trim: both;
  text-edge: cap;
  font-family: Inter;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  /* line-height: 30px; 230.769% */
  line-height: 0.5;
  letter-spacing: -0.26px;
}
.userImgContainer {
  display: flex;
  align-items: center;
  gap: 5px;
}
.userPic {
  width: 32px;
  height: 32px;
  aspect-ratio: 1/1;
  border-radius: 32px;
  background: url(/profile/PROFILE.svg) lightgray 50% / cover no-repeat;
}

.dropdownContainer {
  display: flex;
  padding: 6px;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  left: 0;
  border-radius: 6px;
  background: #2d3144;
  background: color(display-p3 0.1787 0.1913 0.2605);
  box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 15px 0 color(display-p3 0 0 0 / 0.25);
  cursor: pointer;
  position: absolute;
  z-index: 10;
  top: 100%;
  margin-top: 3px;
  animation-name: dropDownAnimation;
  animation-duration: 200ms;
}
@keyframes dropDownAnimation {
  0% {
    opacity: 0;
    transform: translateY(-10%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.actionButtons {
  display: flex;
  flex-direction: column;

  gap: 6px;
  width: 100%;
}
.settingsBtn,
.logoutBtn {
  display: flex;
  padding: 8px 12px;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  color: #acb0ff;
  border-radius: 4px;
}

.settingsBtn:hover {
  background: #3c4159;
  color: #d2d3e1;
}
.logoutBtn:hover {
  background: #3c4159;
  color: #d2d3e1;
}
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.settingsBtn > p {
  color: inherit;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.logoutBtn > p {
  color: inherit;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.rotated {
  transform: rotate(90deg);
}
.mobileEllipsis.active {
  color: #959aff;
}
/* Mobile */
@media (max-width: 768px) {
  .dropdownContainer {
    display: flex;
    width: 390px;
    padding: 16px;
    border-radius: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(0deg, #2d3143 0%, #191a24 100%);
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    margin-top: 0;
    box-shadow: none;
  }
  .mobileEllipsis {
    display: flex;
    height: 61px;
    align-items: center;
    gap: 10px;
    padding-right: 10px;
    cursor: pointer;
    color: #85869b;
  }

  .profileBadge {
    display: flex;
    padding: 12px 16px;
    align-items: center;
    gap: 24px;
  }
  .userImgContainer {
    width: 50px;
    height: 50px;
    aspect-ratio: 1/1;
  }
  .userPic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
  }

  .nameRole {
    align-items: flex-start;
    gap: 10px;
  }

  .userName {
    text-align: start;
    font-size: 18px;
    letter-spacing: -0.18px;
  }
  .userRole {
    font-size: 14px;
  }
  .divider {
    height: 1px;
    align-self: stretch;
    background: #393d53;
  }
  .actionButtons {
    border-radius: 6px;
    padding: 6px;
    align-items: center;
    gap: 6px;
    align-self: stretch;
  }
}
