* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  padding: 20px;
}

body {
  padding: 0;
  margin: 0 auto;
  background: #000000;
  color: #f4f4f4;
}

button {
  cursor: pointer;
}

h1 {
  font-size: 6rem;
}

h2 {
  font-size: 5rem;
}

h3 {
  font-size: 4rem;
}

h4 {
  font-size: 3rem;
}

h5 {
  font-size: 2.2rem;
}

h6 {
  font-size: 1.6rem;
}

p,
span {
  font-size: 1.6rem;
}

/* width */
::-webkit-scrollbar {
  display: none;
}

.welcome {
  text-align: center;
  margin: 100px 0;
  text-shadow: 15px 15px 7px #212121;
}

.all-data-container {
  display: flex;
  justify-content: space-evenly;
  gap: 30px;
  margin-bottom: 20px;
}

.data-container {
  background: #2c2b2f;
  padding: 40px 15px 15px 15px;
  border-radius: 5px;
  border: 1px solid #7e7d7d;
  width: 33.333%;
  min-height: fit-content;
  position: relative;
}

.blur {
  position: absolute;
  width: 100%;
  height: 65px;
  background: #2c2b2f;
  bottom: -5px;
  left: 0;
  right: 0;
  filter: blur(10px);
}

.number {
  position: absolute;
  text-align: center;
  top: -22px;
  right: 0;
  left: 0;
  width: fit-content;
  margin: auto;
  border: 1px solid #7e7d7d;
  background: #2c2b2f;
  padding: 3px 12px 3px 12px;
  z-index: 999;
}

.actual-number span {
  margin-top: 10px;
  font-size: 1.3rem;
  font-weight: 500;
}

.actual-number {
  display: flex;
  gap: 5px;
}

.number.active-users,
.number.second-users,
.number.percentage {
  position: relative;
  top: -2px;
}

.tooltip {
  position: absolute;
  right: -94px;
  width: 81%;
  top: -126px;
  text-align: center;
  font-size: 1.5rem;
  padding: 10px;
  background: #2c2b2f;
  border-radius: 7px;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  transform: translateY(-50px);
}

.tooltip.active {
  opacity: 1;
  transform: translateY(0px);
}

.number-container {
  position: absolute;
  top: -21px;
  left: 0;
  right: 0;
  height: 40px;
  width: 100%;
  display: flex;
}

.inner-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.data-header {
  display: flex;
  justify-content: space-between;
}

.date-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 35px;
  z-index: 9997;
}

input#date-range {
  padding: 5px;
  background: transparent;
  border: none;
  color: #f4f4f4;
  border: 1px solid #7e7d7d;
  border-radius: 4px;
  outline: none;
  width: 185px;
  text-align: center;
  padding: 10px;
}

.container.range-plugin.show {
  right: -208px !important;
}

::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

.daily-active-percentage {
  margin-bottom: 65px;
  text-align: center;
}

.daily-active-percentage span {
  font-size: 3rem;
  font-weight: bold;
  margin-left: 10px;
  padding: 10px;
  background: #2c2b2f;
  border-radius: 6px;
  border: 1px solid #7e7d7d;
}

.spacer {
  height: 1px;
  width: 100%;
  background: #7e7d7d;
  margin: 30px 0 20px 0;
}

.messages-data,
.referral-data,
.all-users-data {
  gap: 30px;
  display: flex;
  flex-direction: column;
  padding: 10px;
  overflow-y: scroll;
  max-height: 500px;
  overflow: scroll;
}

.individual-data-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 15px;
  border-radius: 5px;
  background: #26272b;
  box-shadow: 5px 5px 6px #171616;
  position: relative;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
}

.individual-data-container:last-of-type {
  margin-bottom: 45px;
}

.individual-data-container:hover {
  background: #313337;
}

.individual-data {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.entry {
  display: flex;
  justify-content: space-between;
}

.popup-container {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 75vw;
  height: 75vh;
  background: #26272b;
  margin: auto;
  z-index: -9999;
  border-radius: 5px;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.popup-container.open {
  opacity: 1;
}

.popup-content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0 30px 30px 15px;
  overflow-y: scroll;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  width: 100%;
  background: rgba(38, 39, 43, 0.7);
  top: 0;
  backdrop-filter: blur(2px);
  padding: 15px 0;
}

.header-left-size {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.popup-header h6 {
  margin-bottom: 6px;
  color: #9d9d9d;
}

.exit-button {
  font-size: 4rem;
  cursor: pointer;
}

.scrollable-content {
  margin-top: 10px;
}

.messages-popup {
  margin-bottom: 30px;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

th.index {
  width: 15%;
}

th.time {
  width: 15%;
}

th.messages {
  width: 70%;
}

th,
td {
  padding: 8px;
  text-align: left;
}

td {
  font-size: 1.3rem;
}

th {
  background-color: #464646;
  font-size: 1.5rem;
}

tr:hover {
  background: #737373;
}

tr:nth-child(even) {
  background-color: #333438;
}

.referrals-header,
.messages-header {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 10px;
}

.referrals-header p,
.messages-header p {
  font-size: 1.4rem;
  margin-bottom: 2px;
  color: #9d9d9d;
}

li {
  margin-left: 25px;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.blurry-overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: -9999;
  background: rgba(0, 0, 0, 0.6);
  /* backdrop-filter: blur(1px); */
  opacity: 0;
  transition: 0.3s ease-in-out;
}

.blurry-overlay.open {
  opacity: 1;
}
