@use "../../../../styles/font" as *;
@use "../../../../styles/variables" as *;

.main-content-wrapper {
  display: flex;
  width: 100%;
  margin-top: 36px;

  @media (max-width: $medium) {
    flex-wrap: wrap;
  }
}

.left-content-wrapper {
  width: 40%;
  padding-right: 18px;
  box-sizing: border-box;

  @media (max-width: $medium) {
    width: 100%;
    padding: 0;
  }
}

app-user-info,
app-user-files {
  display: block;
  height: 310px;
  min-height: 310px;

  @media (max-width: $medium) {
    height: auto;
    min-height: 0;
  }
}

.right-content-wrapper {
  width: 60%;
  padding-left: 18px;
  box-sizing: border-box;

  @media (max-width: $medium) {
    width: 100%;
    margin-top: 0;
    padding: 0;
  }

  @media (min-width: $medium) and (max-width: $large) {
    margin-top: 36px;
  }
}

.bottom-right-content-wrapper {
  display: flex;
  gap: 36px;
  height: fit-content;
  margin-top: 36px;

  @media (max-width: $medium) {
    flex-direction: column;
    height: fit-content;
  }
}

.user-tasks {
  width: auto;
  flex: 0 0 calc(60% - 18px);
  min-width: 0;

  @media (max-width: $medium) {
    width: 100%;
    flex: 1 1 auto;
  }
}

.right-bottom-right-content-wrapper {
  width: auto;
  flex: 0 0 calc(40% - 18px);
  min-width: 0;
  height: fit-content;

  @media (max-width: $medium) {
    width: 100%;
    flex: 1 1 auto;
    margin-top: 0;
  }
}

.inner-content-wrapper {
  display: flex;
  gap: 36px;
  width: 100%;
  margin-top: 36px;

  @media (max-width: $small) {
    flex-wrap: wrap;
    gap: 0;
  }

  @media (min-width: $medium) and (max-width: $normal) {
    gap: 16px;
  }
}

.user-media, .user-projects {
  width: auto;
  flex: 1 1 calc(50% - 18px);
  min-width: 0;

  @media (max-width: $medium) {
    width: 100%;
    flex: 1 1 100%;
    height: fit-content;
  }

  @media (min-width: $medium) and (max-width: $normal) {
    height: auto;
  }
}

.user-media {
  margin-right: 0;
}

.user-projects {
  margin-left: 0;
}

.calendar-wrapper {
  width: 100%;
}

.calendar-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

.calendar-array-wrapper {
  color: $gray-70;
  cursor: pointer;
  font-size: 20px;
}

.calendar-date-title {
  font-family: Fira Sans, sans-serif;
  font-weight: $fw-lighter;
  font-size: $fs-normal;
  line-height: 18px;
  color: $grey;
  text-align: center;
  margin: 0;
}

.views-wrapper {
  width: 100%;
  margin-top: 36px;
}

.views-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}

.views-title {
  font-family: Fira Sans, sans-serif;
  font-weight: $fw-normal;
  font-size: $fs-regular;
  line-height: 25px;
  color: $dark-grey;
  margin: 0;
}

.views-title-icon {
  color: $gray-70;
}

.views-content {
  display: flex;
  min-height: 100px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.views-info-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.views-stats-row {
  display: flex;
  align-items: flex-end;
  margin-bottom: 4px;
}

.views-value {
  font-family: Fira Sans, sans-serif;
  font-weight: $fw-normal;
  font-size: $fs-xxl;
  line-height: 42px;
  color: $dark-grey;
  margin: 0 6px 0 0;
}

.trending-up-icon {
  margin-right: 0;
  padding-bottom: 7px;
}

.views-percent {
  font-family: Fira Sans, sans-serif;
  font-weight: $fw-normal;
  font-size: $fs-normal;
  line-height: 20px;
  color: $green;
  margin: 0;
}

.views-button {
  font-size: 12px;
  border-color: $blue;
  box-shadow: none;
  margin-top: 12px;
}

.views-chart-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-left: 0;
  margin-top: 4px;
}

.update-wrapper {
  width: 100%;
  margin-top: 36px;
}

.update-card {
  background-color: #536DFE;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
}

.update-title-wrapper {
  display: flex;
  align-items: center;
}

.update-title {
  font-family: Fira Sans, sans-serif;
  font-weight: $fw-normal;
  font-size: $fs-regular;
  line-height: 23px;
  color: $white;
  margin: 0 0 0 12px;
}

.update-button {
  box-shadow: none;
  color: $white;
  border-color: $white !important;
}
