/* SECTION General */

/* ANCHOR Media Query */

@media (max-width: 1023px) {
  .profilePage  {
    overflow: hidden;
  }

  .profilePage .version {
    right: 50%;
    transform: translateX(50%);
  }

  .profilePage header {
    background-color: transparent;
  }

  .profilePage header .menuClick,
  .profilePage header .linksHolder.open {
    display: flex;
  }
}

.profile {
  width: calc(100vw - 40px);
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

/* ANCHOR Media Query */

@media (min-width: 1024px) {
  .profile {
    max-width: 1280px;
    align-items: center;
    padding: 120px 0 100px;
    height: var(--app-height);
  }
}

@media (min-width: 1660px) {
  .profile {
    max-width: 1440px;
  }
}

@media (min-height: 1081px) {
  .profile {
    padding: 240px 0 430px;
  }
}

@media (max-width: 1023px) {
  .profile {
    align-items: flex-start;
    padding-top: var(--header-height);
  }
}

.profile .wrapper {
  background-color: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  z-index: var(--index-modal);
}

/* ANCHOR Media Query */

@media (min-width: 1024px) {
  .profile .wrapper {
    border-radius: 30px;
    padding: 30px var(--spacing-x2);
    height: 100%;
    max-height: 750px;
  }
}

@media (max-width: 1023px) {
  .profile .wrapper {
    border-radius: 15px;
    padding: 10px var(--spacing-x1) var(--spacing-x1);
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 200px;
  }
}

.profile .title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: -10px;
}

.profile .title svg * {
  fill: var(--blue-med);
}

.profile .title h2 {
  font-size: var(--F16);
  font-weight: var(--black);
  text-transform: uppercase;
}

.profile .title h2 {
  font-size: var(--F16);
  font-weight: var(--black);
  text-transform: uppercase;
}

.profile .myProfile,
.profile .myTeam {
  flex: 1 1 0;
}

/* ANCHOR Media Query */

@media (min-width: 1024px) {
  .profile .wrapper > div + div {
    margin-left: 50px;
  }
}

@media (max-width: 1023px) {
  .profile .wrapper > div + div {
    margin-top: 50px;
  }

  .profile .myProfile,
  .profile .myTeam {
    width: 100%;
  }
}

/* !SECTION */

/* SECTION My Profile */

/* ANCHOR Media Query */

@media (min-width: 1024px) {
  .myProfile {
    height: 100%;
  }
}

.myProfile .titleWrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

.myProfile .field + .field {
  margin-top: 20px;
}

.myProfile .infoWrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* ANCHOR Media Query */

@media (min-width: 1024px) {
  .myProfile .infoWrapper {
    height: calc(100% - 70px);
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 15px;
    margin-right: -15px;
  }
}

.myProfile .infoWrapper form {
  width: 100%;
  margin-bottom: 20px;
}

.myProfile .inputWrapper {
  background-color: var(--grey-2);
}

.myProfile .inputWrapper input:read-only {
  pointer-events: none;
  color: var(--blue-darker);
}

.myProfile .inputWrapper select:disabled {
  pointer-events: none;
  opacity: 1;
  appearance: none;
  color: var(--blue-darker);
}

.myProfile .divider {
  margin: var(--spacing-x1) 0;
  display: inline-block;
  background-color: var(--grey-2);
}

.myProfile .infoWrapper form .roundedClick {
  margin: 20px auto 0;
}

.myProfile .actions {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.myProfile .actions .roundedClick {
  width: 100%;
}

.myProfile .actions .roundedClick + .roundedClick {
  margin-top: 10px;
}

/* ANCHOR Media Query */

@media (min-width: 1024px) {
  .myProfile .actions .bottom {
    margin-top: 50px;
  }
}

@media (max-width: 1023px) {
  .myProfile .actions .bottom {
    margin-top: 20px;
  }
}

/* !SECTION */

/* SECTION My Team */

/* ANCHOR Media Query */

@media (min-width: 1024px) {
  .myTeam {
    height: 100%;
  }
}

.myTeam .title {
  margin-bottom: 10px;
}

.myTeam .title h2 span {
  font-weight: var(--light);
  margin-left: 10px;
}

.myTeam h3 {
  font-size: var(--F16);
  font-weight: var(--black);
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  background-color: var(--blue-med);
  border-radius: 50px;
  padding: 0 20px;
  width: 100%;
  height: 35px;
  margin-bottom: 10px;
}

.myTeam .inviteLink {
  width: 100%;
}

.myTeam .teamMembers {
  list-style: none;
  margin-top: 10px;
}

/* ANCHOR Media Query */

@media (min-width: 1024px) {
  .myTeam h3 {
    justify-content: flex-start;
  }

  .myTeam .teamMembers {
    height: calc(100% - 160px);
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 15px;
    margin-right: -15px;
  }
}

@media (max-width: 1023px) {
  .myTeam h3 {
    justify-content: center;
  }
}

.myTeam .teamItem {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.myTeam .teamItem .infoWrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 35px;
  background-color: var(--grey-2);
  border-radius: 50px;
  padding: 5px 10px 5px 20px;
  user-select: none;
}

.myTeam .teamItem.isMe .infoWrapper {
  background-color: var(--blue-med);
  color: var(--white);
}

.myTeam .teamItem + .teamItem {
  margin-top: 10px;
}

.myTeam .teamItem .deleteUserConfirmation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 10px;
}

.myTeam .teamItem .deleteUserConfirmation .actions {
  display: flex;
  justify-content: center;
  align-items: center;
}

.myTeam .teamItem .deleteUserConfirmation .roundedClick + .roundedClick {
  margin-left: 10px;
}

.myTeam .teamItem.empty {
  background-color: var(--grey-3);
  width: 100%;
  border-radius: 50px;
  height: 35px;
}

/* !SECTION */

/* SECTION My Notifications */

.myNotifications {
  flex: 1 1 0;
}

/* ANCHOR Media Query */

@media (min-width: 1024px) {
  .myNotifications {
    max-width: calc((100% / 3) - 25px);
    height: 100%;
  }
}

@media (max-width: 1023px) {
  .myNotifications {
    width: 100%;
  }
}

.myNotifications .title {
  margin-bottom: 10px;
}

.myNotifications .notifications {
  list-style: none;
  width: 100%;
}

/* ANCHOR Media Query */

@media (min-width: 1024px) {
  .myNotifications .notifications {
    height: calc(100% - 70px);
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 15px;
    margin-right: -15px;
  }
}

.myNotifications .dayItem {
  width: 100%;
  margin-bottom: 10px;
}

.myNotifications .dayItem p {
  width: 100%;
  border-radius: 15px;
  background-color: var(--blue-med);
  padding: 5px 10px 5px 20px;
  user-select: none;
  color: var(--white);
}

.myNotifications .notificationItem {
  width: 100%;
}

.myNotifications .notificationItem + .notificationItem,
.myNotifications .notificationItem + .dayItem {
  margin-top: 10px;
}

.myNotifications .notificationItem .infoWrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: var(--grey-2);
  border-radius: 15px;
  padding: 5px 10px 5px 20px;
  height: 35px;
  user-select: none;
}

.myNotifications .notificationItem .infoWrapper > p {
  margin-right: 5px;
}

.myNotifications .notificationItem:not(.invitation) .infoWrapper > p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 0;
}

.myNotifications .notificationItem.invitation .infoWrapper {
  height: 75px;
}

.myNotifications .notificationItem.invitation .acceptButton {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  position: relative;
  margin-bottom: 15px;
}

.myNotifications .notificationItem.invitation .acceptButton span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background-color: var(--blue-med);
  position: relative;
}

.myNotifications .notificationItem.invitation .acceptButton span i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.myNotifications .notificationItem.invitation .acceptButton span svg * {
  fill: var(--white);
}

.myNotifications .notificationItem.invitation .acceptButton:hover span,
.myNotifications .notificationItem.invitation .acceptButton span.accepted {
  background-color: var(--green);
}

.myNotifications .notificationItem.invitation .acceptButton p {
  font-size: var(--F08);
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 0.5px;
  position: absolute;
  bottom: -15px;
}

.myNotifications .notificationItem.invitation .iconClick {
  align-self: flex-start;
  min-width: 18px;
  margin-top: 5px;
}

/* !SECTION */
