body {
  margin: 0;
  font-family: 'Madimi One';
  overscroll-behavior-y: none;
  opacity: 0;
}

.page-shown {
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}

.upload-product-btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.content {
  padding: 10px;
  flex: 1;
}

.header {
  background-color: #e0f2ff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 30px;
  margin-top:4px;
}

.sign-out-btn {
  padding: 4px 10px;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 4px;
  font-size: 16px;
  font-family: 'Madimi One';
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.sign-out-btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #ff6b6b, #ffa656);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.sign-out-btn:hover:before {
  opacity: 1;
}

.products-container {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

/* if the width is less than this amount the columns are stacked on top of each-other */
@media (min-width: 655px) {
  .products-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .purchases-box {
    width: 100%;
    margin-right: 10px;
  }

  .purchases-box:last-child {
    margin-right: 0;
  }
}

.purchases-box {
  background-color: #f0f0f0;
  padding-top: 3px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 6px;
  border-radius: 8px;
  margin-top: 60px;
}

#salesChart:not([style*="display: none"]) + .products-container .purchases-box {
  margin-top: 10px;
}

.purchase-item {
  background-color: #fff;
  padding: 5px;
  border-radius: 4px;
  margin-bottom: 10px;
  box-sizing: border-box;
  position: relative;
  word-wrap: break-word;
  word-break: normal;
}

.purchase-item:last-child {
  margin-bottom: 4px;
}

.product-name {
  font-size: 18px;
  text-decoration: none;
  color: #000;
  position: relative;
  transition: color 0.4s ease;
}

.product-name:hover {
  color: #1c7bff;
}

.product-name::after {
  content: '';
  display: block;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #b482ff9b, #ff5454a3);
  transition: width 0.3s ease;
  position: absolute;
  left: 0;
  bottom: 1px;
}

.product-name:hover::after {
  width: 100%;
}

.description-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.download-btn, .download-btn-purchased {
  padding: 2px 6px;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Madimi One', sans-serif;
  cursor: pointer;
  transition: background-color 0.4s ease;
}

.download-btn:hover, .download-btn-purchased:hover {
  background-color: #d9a5ff;
}

.dropdown {
  position: relative;
  display: inline-block;
  margin-right: 6px;
  margin-top: 3px;
}

.dropdown-content div {
  color: #000000;
  padding: 4px 6px;
  text-decoration: none;
  display: block;
  cursor: pointer;
  background-color: #ffd5ea;
  transition: background-color 0.4s ease;
  font-size: 14px;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
  border-bottom: 1px solid #ffffff;
}

.dropdown-content div:hover {
  background-color: #ff9dce;
}

.dropdown-content div:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.dropdown-content div:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border-bottom: none;
}

.dropdown-content {
  display: none;
  position: absolute;
  min-width: 160px;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.dropdown:hover .dropdown-content {
  display: block;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.dropdown:not(:hover) .dropdown-content {
  animation: fadeOut 0.4s ease forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.star {
  cursor: pointer;
  color: #ffa500;
}

.review-container {
  position: relative;
}

.review-input {
  width: 100%;
  padding: 5px;
  margin-top: 5px;
  border-radius: 7px;
  border-color: #000000;
  box-sizing: border-box;
  font-weight: 900;
  font-family: 'Lusitana', sans-serif;
  transition: padding-right 0.3s ease;
}

.review-input.has-save-button {
  padding-right: 54px;
}

.save-button {
  margin-top:2.5px;
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  padding: 3px 7px;
  background-color: #1c7bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.reset-button {
  margin-left: 5px;
  padding: 2px 5px;
  background-color: #1c7bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Madimi One'
}

.rating {
  margin-top: 6px;
}

.upload-product-container {
  margin-top: 10px;
}

.upload-product-btn {
  display: inline-block;
  padding: 4px 6px;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Madimi One', sans-serif;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: opacity 0.3s ease;
  margin-top:-4px;
  text-align: center;
}

.upload-product-btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #56ffa6, #56d3ff);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.upload-product-btn:hover:before {
  opacity: 1;
}

.upload-product-btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.latest-sales-container {
  margin-top: 0px;
  background-color: #f0f0f0;
  border-radius: 8px;
  padding: 10px;
  width: calc(100% - 20px);
}

.latest-sales-title {
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.latest-sales-title input[type="date"] {
  margin-left: 10px;
  margin-right: 10px;
}

.latest-sales-item {
  margin-bottom: 5px;
}

#salesChart {
  margin-top: 10px;
  background-color: #f0f0f0;
  border-radius: 8px;
}

.balance-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  background-color: #f0f0f0;
  border-radius: 8px;
  padding-top: 12px;
  padding-left: 7px;
  padding-right: 7px;
  padding-bottom: 10px;
  width: calc(50% - 18px);
  position: relative;
}

.email-container {
  position: absolute;
  top:-50.5px;
  right:calc(-50% - 6px);
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  background-color: #f0f0f0;
  border-radius: 8px;
  padding-top: 12px;
  padding-left: 7px;
  padding-right: 7px;
  padding-bottom: 10px;
  width: calc(50% - 20px);
  position: relative;
}

.email-label {
  margin-right: 4px;
  font-weight: bold;
}

.email-input {
  padding: 5px;
  border-radius: 7px;
  border-color: #f0f0f0;
  box-sizing: border-box;
  font-weight: 900;
  font-family: 'Lusitana', sans-serif;
  transition: padding-right 0.3s ease;
  width: calc(100% - 50px);
  transition: border-color 0.8s ease;
}

.email-input.has-save-button {
  padding-right: 54px;
}

.email-save-button {
  margin-top: 0px;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  padding: 3px 7px;
  background-color: #1c7bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.email-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  background-color: #f0f0f0;
  border-radius: 8px;
  padding-top: 5px;
  padding-left: 7px;
  padding-right: 5px;
  padding-bottom: 5px;
  width: calc(50% - 18px);
  position: relative;
}

input[type="text"],
input[type="email"],
textarea {
  outline: none;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.footer {
  background-color: #ffe0f6;
  padding: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  border-radius: 8px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#bugReportInput {
  width: 100%;
  height: 100px;
  margin-bottom: 10px;
  resize: none;
}

#submitBugReportButton {
  padding: 4px 10px;
  background: #1c7bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-family: 'Madimi One';
  cursor: pointer;
}

#momentumScrollingContainer {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#reportBugButton {
  border-width: 0px;
  border-radius: 4px;
  padding: 4px 4px;
  background-color: #ffedfa;
  color: #e1b7d6;
  font-family: 'Madimi One';
  transition: background-color 0.3s ease, color 0.3s ease;
}

#reportBugButton:hover {
  background-color: #ffc4ef;
  color: #de76c3;
  cursor: pointer;
}

#listedProductsList > :first-child {
  margin-top: 5px;
}

.username-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  background-color: #f0f0f0;
  border-radius: 8px;
  padding-top: 5px;
  padding-left: 7px;
  padding-right: 4px;
  padding-bottom: 5px;
  width: calc(50% - 18px);
  position: relative;
  margin-bottom:-3px;
  max-width:400px;
}

.username-label {
  margin-right: 4px;
  font-weight: bold;
}

.username-input {
  padding: 5px;
  border-radius: 7px;
  border: 2px solid #000;
  box-sizing: border-box;
  font-weight: 900;
  font-family: 'Lusitana', sans-serif;
  transition: padding-right 0.3s ease;
  width: calc(100% - 95px);
  color: #000;
}

.username-input.has-save-button {
  padding-right: 54px;
}

.username-save-button {
  margin-top: 0px;
  position: absolute;
  top: 50%;
  right: 11.5px;
  transform: translateY(-50%);
  padding: 3px 7px;
  background-color: #1c7bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.action-buttons {
  display: flex;
  align-items: center;
  margin-top: 3px;
}

.action-button {
  padding: 2px 6px;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Madimi One', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.4s ease;
}

.update-button {
  margin-left: 0px;
}

.edit-button {
  margin-left: 6px;
}

.update-button:hover.hover-colored {
  background-color: #a5d9ff;
}

.edit-button:hover.hover-colored {
  background-color: #d9ffa5;
}

.update-button.disabled {
  opacity: 0.5;
  cursor: default;
}

#profilePictureContainer {
  position: relative;
  display: inline-block;
  margin-left: 0.5%;
  cursor: pointer;
}

#profilePicture {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background-color: #ccc;
  background-size: cover;
  background-position: center;
  position: relative;
  border: solid 2px #ababab;
}

#profilePictureOverlay {
  padding: 2px 2px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 12px;
  text-align: center;
  padding: 5px;
  box-sizing: border-box;
}

#profilePictureContainer:hover #profilePictureOverlay {
  opacity: 1;
}

.remove-profile-picture-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 16px;
  height: 16px;
  background-color: #ff5252;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: left;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#profilePictureContainer:hover .remove-profile-picture-btn {
  opacity: 1;
}

.stripe-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  background-color: #f0f0f0;
  border-radius: 8px;
  padding-top: 6px;
  padding-left: 6px;
  padding-right: 6px;
  padding-bottom: 6px;
  width: calc(50% - 18px);
  position: relative;
}

.stripe-onboarding-btn {
  padding: 4px;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Madimi One';
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.stripe-onboarding-btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #56ff59, #ccff56);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.stripe-onboarding-btn:hover:before {
  opacity: 1;
}

#startDateInput,
#endDateInput {
  background-color: white;
  color: black;
  border: 1.5px solid black;
  font-family: 'Madimi One', sans-serif;
  width: 94px;
  border-radius: 4px;
}

#startDateInput:focus,
#endDateInput:focus {
  outline: none;
}

.my-data-btn {
  padding: 4px 10px;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 4px;
  font-size: 16px;
  font-family: 'Madimi One';
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-right: 10px;
}

.my-data-btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #56ffa6, #56d3ff);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.my-data-btn:hover:before {
  opacity: 1;
}

.powered-by {
  display: flex;
  align-items: center;
  margin-right: auto;
  font-size: 12px;
}

.powered-by span {
  margin-right: 5px;
}

.unrono-logo {
  height: 20px;
}

#chartTypeDropdown{
  background-color: white;
  color: black;
  border: 1.5px solid black;
  font-family: 'Madimi One', sans-serif;
  border-radius: 4px;
}

#chartTypeDropdown:focus{
  outline: none;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.delete-button {
  margin-left: 6px;
}

.delete-button:hover.hover-colored {
  background-color: #ffa5a5;
}

.purchase-item.delisted {
  opacity: 0.5;
  pointer-events: none;
}

.purchase-item.delisted .action-buttons {
  display: none;
}

.purchase-item.delisted .dropdown-wrapper {
  pointer-events: auto;
}

.purchase-item.delisted .dropdown-wrapper .download-btn {
  pointer-events: auto;
}

.purchase-item.delisted .dropdown-wrapper .dropdown-content {
  display: none;
}

.purchase-item.delisted .dropdown-wrapper:hover .dropdown-content {
  display: block;
  opacity: 1;
  animation: fadeIn 0.4s ease forwards;
}

.zip-code-container {
  position: absolute;
  display: flex;
  align-items: center;
  margin-top: -53px;
  background-color: #f0f0f0;
  border-radius: 7px;
  padding: 5px;
  width: calc(50% - 26px);
}

.zip-code-label {
  margin-right: 5px;
}

.zip-code-input {
  flex: 1;
  padding: 5px;
  border: 2px solid #000;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  font-family: 'Lusitana', sans-serif;
  width: 100%
}

.zip-code-note {
  position: absolute;
  right: 10px;
  margin-top: -52px;
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 4px;
  padding: 5px;
  font-size: 12px;
  width: calc(50% - 30px);
  text-align: center;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}