/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/* Page Specific Styles for Request Cover Page Initial Style */

main {
  text-align: center;
}

main h2 {
  margin-bottom: 20px;
}

main .lower {
  font-size: 25px;
  color: rgb(78, 77, 75);
  font-weight: bold;
  margin-bottom: 25px;
}

/* Specific button overrides */
button {
  border-radius: 10px;
  max-width: 200px;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}

main button a {
  color: white;
}

.clickable {
  border-radius: 10px;
  cursor: pointer;
  background-color: #9c9c9c38; /* Light gray background for clickable rows */
}

.clickable:hover {
  background-color: #5353533f; /* Darker gray background on hover */
}

.statName {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  float: left;
  position: relative;
  left: 15px;
}

.star {
  display: inline-block;
  color: gold;
  padding: 0 5px;
  margin: 0 5px;
  white-space: nowrap;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}

/* Spinner */
.spinner {
  width: 1.5rem;
  height: 1.5rem;
  border-top-color: #61daff;
  border-left-color: #61daff;
  text-align: center;
  margin: 10px auto;
  -webkit-animation: spinner 400ms linear infinite;
  animation: spinner 400ms linear infinite;
  border-bottom-color: transparent;
  border-right-color: transparent;
  border-style: solid;
  border-width: 2px;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
}

@-webkit-keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.stationery-counter-container {
  float: right;
  margin: 20px 0;
  margin-bottom: 0;
}

/* My Float Pulse Animation (Specific here) */
main .my-float {
  width: 55px;
  height: 55px;
  position: fixed;
  bottom: 100px;
  right: 45px;
  text-align: center;
  justify-content: center;
  cursor: pointer;
  -webkit-animation: pulse 0.3s ease-out infinite;
  animation: pulse 1.7s ease-out infinite;
}

@-webkit-keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Tooltip Notification */
[data-tooltip-notification] {
  --arrow-size: 5px;
  position: relative;
  z-index: 10;
}

[data-tooltip-notification]:before,
[data-tooltip-notification]:after {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  left: 50%;
  bottom: calc(100% + var(--arrow-size) + 45%);
  pointer-events: none;
  -webkit-transition: 0.15s;
  -o-transition: 0.15s;
  transition: 0.15s;
  will-change: transform;
  border: 3px solid var(--tooltip-border-color, transparent);
}

[data-tooltip-notification]:before {
  content: attr(data-tooltip-notification);
  padding: 10px 18px;
  min-width: 50px;
  max-width: 300px;
  width: -webkit-max-content;
  width: max-content;
  width: -moz-max-content;
  border-radius: 6px;
  font-size: 14px;
  background-color: rgba(59, 72, 80, 0.9);
  background-image: linear-gradient(
    30deg,
    rgba(59, 72, 80, 0.44),
    rgba(59, 68, 75, 0.44),
    rgba(60, 82, 88, 0.44)
  );
  box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.2);
  color: #fff;
  text-align: center;
  white-space: pre-wrap;
  transform: translate(-50%, calc(0px - var(--arrow-size))) scale(0.5);
}

[data-tooltip-notification]:after {
  content: "";
  border-style: solid;
  border-width: var(--arrow-size) var(--arrow-size) 0px var(--arrow-size);
  border-color: rgba(55, 64, 70, 0.9) transparent transparent transparent;
  transition-duration: 0s;
  transform-origin: top;
}

[data-tooltip-notification]:hover:before,
[data-tooltip-notification]:hover:after {
  visibility: visible;
  opacity: 1;
}

[data-tooltip-notification]:hover:before {
  transform: translate(-50%, calc(0px - var(--arrow-size))) scale(1);
}

[data-tooltip-notification]:hover:after {
  transform: translate(-50%, calc(0px - var(--arrow-size))) scale(1);
}
