html {
  background-color: #ffaa5a2e;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  margin: 0;
}

.accountBody {
  padding-top: 58px;
}

.accountHeader {
  padding: 0 34px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #8080801c;
  font-size: 30px;
}

#nameAndEmail {
  font-size: 20px;
  margin: 6px 0;
}

#nameAndEmail div {
  text-align: right;
}

.accountInfo {
  height: 650px;
  width: 80%;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
}

.updatePasswordContainer,
.accountPaymentInfoContainer,
.issuesContainer {
  height: 24%;
  width: 72%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 45px;
  background-color: #f1e3d6;
  border-radius: 10px;
  margin-bottom: 48px;
}

#creationDate {
  font-size: 12px;
  margin-top: 4px;
}

.updatePasswordButtonContainer,
.accountOptionsButtons {
  display: flex;
  justify-content: end;
}

.accountPaymentInfoHeader,
.passwordHeader {
  font-size: 24px;
  font-weight: bold;
}

input {
  width: 25%;
  min-width: 200px;
}

.blueButton {
  box-shadow: inset 0px 1px 0px 0px #a7ceff;
  background: linear-gradient(to bottom, #519dfb 5%, #0065e3 100%);
  background-color: #519dfb;
  border-radius: 6px;
  border: 1px solid #001734;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 24px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #145ab1;
  width: fit-content;
}

.blueButton:hover {
  background: linear-gradient(to bottom, #0065e3 5%, #519dfb 100%);
  background-color: #0065e3;
}

.blueButton.disabled {
  color: #999999;
  box-shadow: unset;
  background: unset;
  background-color: #d6d6d6;
  border: unset;
  cursor: not-allowed;
}

.closeAccountButton {
  box-shadow: inset 0px 1px 0px 0px #f5bebe;
  background: linear-gradient(to bottom, #e77b7b 5%, #f91515 100%);
  background-color: #e77b7b;
  border-radius: 6px;
  border: 1px solid #bb0000;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 24px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #b90e0e;
  width: fit-content;
  margin-left: 4px;
}

.closeAccountButton:hover {
  background: linear-gradient(to bottom, #f91515 5%, #e77b7b 100%);
  background-color: #f91515;
}

#spinnerWrapper {
  display: none;
}

#spinnerWrapper.active {
  display: block;
  width: 350px;
  height: 35px;
  position: absolute;
  top: 74px;
  width: 100%;
}

.loadingSpinnerRing {
  margin: 0 auto;
  height: 50px;
  width: 50px;
}

.loadingSpinnerRing div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 50px;
  height: 50px;
  margin: 8px 0;
  border: 4px solid #bd3b3b;
  border-radius: 50%;
  animation: loadingSpinnerRing 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #bd3b3b transparent transparent transparent;
}

.loadingSpinnerRing div:nth-child(1) {
  animation-delay: -0.45s;
}

.loadingSpinnerRing div:nth-child(2) {
  animation-delay: -0.3s;
}

.loadingSpinnerRing div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes loadingSpinnerRing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.accountError {
  display: none;
}

.accountError.active {
  display: block;
  position: absolute;
  top: 96px;
  width: 100%;
  text-align: center;
  color: red;
}

#closeAccountModal {
  display: none;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #0000003d;
  font-family: 'Inter', sans-serif;
}

#closeAccountModal.active {
  display: block;
}

#closeAccountModal .closeAccountModalContent {
  position: relative;
  margin: 25vh auto;
  max-width: 450px;
  max-height: 492px;
  overflow: auto;
  background-color: white;
  padding: 10px 15px 15px 15px;
  border-radius: 10px;
  box-shadow: 5px 5px 30px;
}

.closeAccountModalContentTitle {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 12px;
}

.actionButton {
  display: inline-block;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 24px;
  border-radius: 6px;
}

.actionButton.save {
  color: white;
  box-shadow: inset 0px 1px 0px 0px #c0c7f7;
  background: linear-gradient(to bottom, #5a85ff 5%, #8faaf7 100%);
  background-color: #5a85ff;
  border: 1px solid #002795;
}

.actionButton.cancel {
  color: black;
  margin-left: 10px;
  box-shadow: inset 0px 1px 0px 0px #e9e9e9;
  background: linear-gradient(to bottom, #cacaca 5%, #7e7e7e 100%);
  background-color: #cacaca;
  border: 1px solid #868686;
}

.actionButton.save:hover {
  background: linear-gradient(to bottom, #8faaf7 5%, #5a85ff 100%);
  background-color: #8faaf7;
}

.actionButton.cancel:hover {
  background: linear-gradient(to bottom, #7e7e7e 5%, #cacaca 100%);
  background-color: #7e7e7e;
}

.actionButtons {
  display: flex;
  justify-content: end;
}

.actionButton.disabled,
.actionButton.disabled:hover {
  color: #999999;
  box-shadow: unset;
  background: unset;
  background-color: #d6d6d6;
  border: unset;
  cursor: not-allowed;
}

.nameAndInput {
  margin: 32px 0;
}

.snackText {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #6db95f;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  font-size: 17px;
}

.snackText.failure {
  background-color: #bd3b3b;
}

.snackText.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}


/* loading spinner */

.loadingSpinner {
  position: fixed;
  top: 0;
  left: 0px;
  z-index: 1100;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: block;
  -webkit-transition: ease-in-out 0.1s;
  -moz-transition: ease-in-out 0.1s;
  -o-transition: ease-in-out 0.1s;
  -ms-transition: ease-in-out 0.1s;
  transition: ease-in-out 0.1s;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.loadingSpinner * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

body.loader .loadingSpinner span {
  top: 18%;
}

.loadingSpinner>span {
  display: block;
  width: 48px;
  height: 48px;
  padding: 4px;
  background-color: #ffffff;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  -o-border-radius: 100%;
  -ms-border-radius: 100%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  margin-left: -24px;
  top: -50px;
  -webkit-transition: ease-in-out 0.1s;
  -moz-transition: ease-in-out 0.1s;
  -o-transition: ease-in-out 0.1s;
  -ms-transition: ease-in-out 0.1s;
  transition: ease-in-out 0.1s;
  -webkit-box-shadow: #000 0px 5px 10px -5px;
  -moz-box-shadow: #000 0px 5px 10px -5px;
  -o-box-shadow: #000 0px 5px 10px -5px;
  -ms-box-shadow: #000 0px 5px 10px -5px;
  box-shadow: #000 0px 5px 10px -5px;
}

.loadingSpinner>span>svg {
  fill: transparent;
  stroke: #1a73e8;
  stroke-width: 5;
  animation: loader_dash 2s ease infinite, loader_rotate 2s linear infinite;
}

@keyframes loader_dash {
  0% {
    stroke-dasharray: 1, 95;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 85, 95;
    stroke-dashoffset: -25;
  }
  100% {
    stroke-dasharray: 85, 95;
    stroke-dashoffset: -93;
  }
}

@keyframes loader_rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#passwordsError {
  display: none;
  color: red;
  position: absolute;
  top: 28px;
}

#passwordsError.active {
  display: block;
  font-size: 12px;
  animation: shake 0.5s;
}

.newPasswordContainer {
  position: relative;
}

@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }
  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }
  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }
  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }
  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }
  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }
  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }
  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }
  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}