/* Dashboard Quick Links Navigation */

.dq-nav {
  margin-bottom: 8px;
}

.dq-nav__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.dq-nav__card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dq-nav__card,
.dq-nav__card:hover,
.dq-nav__card:focus,
.dq-nav__card:active,
.dq-nav__card * {
  text-decoration: none !important;
}

.dq-nav__card,
.dq-nav__card:visited,
.dq-nav__card:hover,
.dq-nav__card:focus,
.dq-nav__card:active {
  color: inherit;
}

.dq-nav__card:hover,
.dq-nav__card:focus {
  background-color: #f1f1f1;
}

.dq-nav__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 50%;
  border: 1px solid #820085;
  background-color: #ffffff;
}

.dq-nav__icon {
  width: 64px;
  height: 64px;
  padding: 12px;
  object-fit: contain;
  box-sizing: border-box;
}

.dq-nav__content {
  flex: 1;
}

.dq-nav__title {
  display: block;
  color: #444444;
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
}

.dq-nav__text {
  margin: 0;
  min-height: 40px;
  color: #444444;
  font-size: 14px;
  line-height: 20px;
}

@media only screen and (max-width: 1024px) {
  .dq-nav__card {
    padding: 16px;
  }
}

@media only screen and (max-width: 920px) {
  .dq-nav__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dq-nav__card {
    margin: 5px;
  }
}

@media only screen and (max-width: 768px) {
  .dq-nav__card {
    padding: 12px;
  }

  .dq-nav__icon-wrap {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .dq-nav__icon {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .dq-nav__title {
    font-size: 14px;
    line-height: 16px;
  }

  .dq-nav__text {
    min-height: 28px;
    font-size: 11px;
    line-height: 14px;
  }
}

@media only screen and (max-width: 540px) {
  .dq-nav__grid {
    grid-template-columns: 1fr;
  }
  
  .dq-nav__text {
    display: none;
  }

  .dq-nav__card {
    align-items: center;
    padding: 6px 12px;
  }

  .dq-nav__content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .dq-nav__title {
    width: 100%;
  }
}
