html, body {
  height: 100%;
}

body {
  overflow: hidden;
  background-color: rgb(245,245,245);
  display: flex;
  align-items: center;
  justify-content: center;
}

::-webkit-scrollbar {
  display: none;
}

* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.clickable {
  cursor: pointer;
}

.width-4 {
  min-width: calc(100%/4.5);
}

.page-overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 10;
  background-color: rgb(0,0,0,0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-overlay.visible {
  display: flex;
}

.popups {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup {
  display: none;
  flex-direction: column;
  position: absolute;
  height: 90%;
  width: 580px;
  overflow: scroll;
  background-color: rgb(255,255,255);
  border-radius: 8px;
  z-index: 11;
}

.popup.visible {
  display: flex;
}

.popup-header {
  background-color: rgb(240,240,240);
  border-bottom: solid 1px rgb(200,200,200);
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
}

.popup-content-container {
  position: absolute;
  top: 48px;
  left: 0px;
  right: 0px;
  bottom: 8px;
  overflow: scroll;
  padding: 0px 8px;
}

.popup-content {
}

.flex-row {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.flex-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flex-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 12px;
  background-color: rgb(240,240,240);
  border-radius: 6px;
}

.sidebar {
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  width: 250px;
  background-color: rgb(255,255,255);
  display: flex;
  flex-direction: column;
  overflow: scroll;
  border-top: solid 1px rgb(235,235,235);
  transition: left 0.25s;
}

.sidebar-items {
  display: flex;
  flex-direction: column;
  padding: 12px;
}

.sidebar-button {
  font-size: 14px;
  padding: 3px 6px;
  border-radius: 5px;
  background-color: rgb(255,255,255);
  color: rgb(160,160,160);
  margin-bottom: 3px;
  cursor: pointer;
}

.sidebar-button:hover {
  color: rgb(30,30,30);
  background-color: rgb(240,240,240);
}

.sidebar-divider {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  padding-left: 6px;
  cursor: default;
  border-bottom: solid 1px rgb(240,240,240);
  margin-top: 12px;
  margin-bottom: 3px;
}

.sidebar-bottom-spacer {
  height: 50px;
}

.content-container {
  position: absolute;
  top: 0px;
  left: 250px;
  right: 0px;
  bottom: 0px;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.content {
  height: 100%;
  background-color: rgb(255,255,255);
  border-radius: 8px;
  overflow: scroll;
}

.content-items {
  display: none;
  flex-direction: column;
  padding: 16px 8px;
}

.content-items.visible {
  display: flex;
}

.statistic-row {
  display: flex;
}

.statistic {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100px;
  border-radius: 6px;
  background-color: rgb(240,240,240);
  margin-left: 8px;
  margin-right: 8px;
  padding: 8px;
  cursor: default;
}

.statistic-table-row {
  display: flex;
  cursor: default;
}

.statistic-table-row > * {
  margin-right: 24px;
}

.statistic-table-row-item {
  display: flex;
}

.name-label {
  width: 200px;
}

.email-label {
  width: 300px;
}

.mobile-label {
  width: 100px;
}

.card-covers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.card-cover {
  position: relative;
  height: 200px;
  width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  margin-left: 8px;
  margin-right: 8px;
  border-radius: 6px;
  overflow: hidden;
}

.card-cover > img {
  object-fit: cover;
}

.cover-delete-button {
  position: absolute;
  bottom: 4px;
  background-color: crimson;
  color: rgb(255,255,255);
  padding: 3px 6px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.delete-are-you-sure {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background-color: rgb(240,240,240,0.95);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.delete-are-you-sure.visible {
  display: flex;
}

.delete-are-you-sure > * {
  margin-bottom: 6px;
}

.are-you-sure-label {
  font-weight: 600;
}

.cover-delete-confirm-button {
  bottom: 4px;
  background-color: crimson;
  color: rgb(255,255,255);
  padding: 3px 6px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.cover-delete-cancel-button {
  position: absolute;
  bottom: 4px;
  background-color: rgb(20, 137, 220);
  color: rgb(255,255,255);
  padding: 3px 6px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0px;
  cursor: pointer;
}

.flex-center {
  display: flex;
  justify-content: center;
  height: 40.5px;
}

.flex-center > * {
  margin-top: 4px;
}

.purchase-row {
  font-size: 14px;
}

.view-purchase-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(20, 137, 220);
  color: rgb(255,255,255);
  padding: 3px 6px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0px;
  cursor: pointer;
}

.organisation-row {
  font-size: 14px;
}

.view-organisation-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(20, 137, 220);
  color: rgb(255,255,255);
  padding: 3px 6px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0px;
  cursor: pointer;
}

.card-row {
  font-size: 14px;
}

.view-card-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(20, 137, 220);
  color: rgb(255,255,255);
  padding: 3px 6px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0px;
  cursor: pointer;
}

.user-row {
  font-size: 14px;
}

.view-user-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(20, 137, 220);
  color: rgb(255,255,255);
  padding: 3px 6px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0px;
  cursor: pointer;
}

.stats-view-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(20, 137, 220);
  color: rgb(255,255,255);
  padding: 3px 8px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0px;
  cursor: pointer;
}

.file-info-row:hover {
  color: rgb(255,255,255);
  background-color: rgb(20, 137, 220, 0.7);
  border-radius: 25px;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

.file-info-row {
  padding: 3px;
}

.file-info-row-label {
  margin-left: 6px;
  font-size: 14px;
}

.sticky-top {
  position: sticky;
  top: 0px;
  background-color: rgb(255,255,255);
}

.button-mode {
  background: linear-gradient(-169deg, rgb(240,240,240), #d2d2d2);
  cursor: pointer;
  border: 1px solid rgb(200,200,200);
}

.flex-column-fill {
  display: flex;
  flex-direction: column !important;
}

.max-width {
  width: 100%;
}

.space-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

