
/* AYMAN_REPORT_CARDS_UNIFIED_V10 */

/* UNIFIED REPORT GRID */

#reportsList,
#reportsList.reports-company-list {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

/* ALL REPORT CARDS */

#reportsList > button {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;

  height: 112px !important;
  min-height: 112px !important;
  max-height: 112px !important;

  grid-template-columns:
    60px minmax(0,1fr) auto 38px !important;

  grid-template-rows: 1fr !important;

  align-items: center !important;
  gap: 14px !important;

  padding: 18px 20px !important;

  background: #fff !important;
  border: 1px solid #e8e2ec !important;
  border-radius: 20px !important;

  box-shadow:
    0 8px 25px rgba(79,42,127,.05) !important;

  color: #4f2a7f !important;
  text-align: right !important;

  overflow: hidden !important;
  transition:
    transform .18s,
    box-shadow .18s,
    border-color .18s !important;
}

#reportsList > button:hover {
  transform: translateY(-2px);
  border-color: #d8cae3 !important;
  box-shadow:
    0 12px 30px rgba(79,42,127,.09) !important;
}

/* REPORT ICONS */

#reportsList > button > span:first-child {
  grid-column: 1 !important;
  grid-row: 1 !important;

  width: 60px !important;
  height: 60px !important;

  min-width: 60px !important;
  min-height: 60px !important;

  border-radius: 16px !important;
  display: grid !important;
  place-items: center !important;
  align-self: center !important;

  margin: 0 !important;
}

#reportsList > button > span:first-child svg {
  width: 32px !important;
  height: 32px !important;
}

/* REPORT TITLES */

#reportsList > button > span:nth-child(2) {
  grid-column: 2 !important;
  grid-row: 1 !important;

  min-width: 0 !important;

  display: flex !important;
  flex-direction: column !important;

  justify-content: center !important;
  align-items: flex-start !important;

  gap: 5px !important;
  align-self: center !important;

  text-align: right !important;
}

#reportsList > button > span:nth-child(2) strong {
  font-size: 20px !important;
  font-weight: 900 !important;

  line-height: 1.5 !important;
  color: #4f2a7f !important;
}

#reportsList > button > span:nth-child(2) small {
  font-size: 11px !important;
  line-height: 1.6 !important;
  color: #887c93 !important;
}

/* UNIFIED NAVIGATION ARROWS */

#reportsList > button > b:last-child {
  grid-column: 4 !important;
  grid-row: 1 !important;

  width: 38px !important;
  height: 38px !important;

  display: grid !important;
  place-items: center !important;

  align-self: center !important;
  justify-self: center !important;

  margin: 0 !important;
  padding: 0 !important;

  border-radius: 12px !important;
  background: #f2edf6 !important;
  color: #4f2a7f !important;

  font-size: 20px !important;
  font-weight: 700 !important;
}

/* BADGE POSITION */

#reportsList #pwCount,
#reportsList #nsaBadge {
  grid-column: 3 !important;
  grid-row: 1 !important;

  align-self: center !important;
  justify-self: center !important;

  margin: 0 !important;
}

/* LARGE PRICE WATCH COUNTER */

#reportsList #pwCount {
  box-sizing: border-box !important;

  min-width: 44px !important;
  min-height: 44px !important;

  width: auto !important;
  height: 44px !important;

  padding: 0 10px !important;

  border-radius: 14px !important;

  background: #4f2a7f !important;
  color: #fff !important;

  font-size: 19px !important;
  font-weight: 950 !important;

  display: grid !important;
  place-items: center !important;

  box-shadow:
    0 5px 14px rgba(79,42,127,.2) !important;
}

#reportsList #pwCount[hidden] {
  display: none !important;
}

/* MOBILE */

@media (max-width:750px) {

  #reportsList,
  #reportsList.reports-company-list {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  #reportsList > button {
    height: auto !important;
    min-height: 104px !important;
    max-height: none !important;

    grid-template-columns:
      52px minmax(0,1fr) auto 34px !important;

    gap: 9px !important;
    padding: 14px 12px !important;
  }

  #reportsList > button > span:first-child {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
  }

  #reportsList > button > span:nth-child(2) strong {
    font-size: 16px !important;
  }

  #reportsList > button > b:last-child {
    width: 34px !important;
    height: 34px !important;
  }

  #reportsList #pwCount {
    min-width: 38px !important;
    min-height: 38px !important;
    height: 38px !important;
    font-size: 17px !important;
    padding: 0 7px !important;
  }
}
