.buy_page {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 65px);
    color: white;
    background-image: url('../images/upgrade/background.png');;
    background-repeat: no-repeat;
    background-size: cover;
    animation: moveBackground 60s linear infinite alternate;
}

.faq-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

@keyframes moveBackground {
  0% {
    background-position: left;
  }
  50% {
    background-position: right;
  }
  100% {
    background-position: left;
  }
}

.center {
    display: flex;
    box-sizing: border-box;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 80%;
}

.buy_container {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  margin: 0 auto;
  width: 100%;
  max-width: 780px;
  border-radius: 10px;
  height: 73vh;
  overflow-y: auto;
  background-color: #333;
  align-items: center;
} 

.buy_container .header {
  background: linear-gradient(
                45deg,
                hsl(263, 67%, 29%),
                hsl(276, 62%, 80%)
              );
  width: 100%;
  font-size: 30px;
  padding: 10px;
}

.section {
  width: 90%;
  padding: 20px 20px;
  border-radius: 10px;
  margin: 0 auto;
  margin-top: 10px;
  background-color: rgba(0, 0, 0, 0.1);
}

.section.full {
  width: 100%;
  margin-bottom: 15px;
}

.section.first {
  margin-top: 20px;
}

.info-btn {
  background-color: transparent;
  color: white;
  border: solid 1px white;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  display: inline-flex;
  margin-left: 6px;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  text-align: center;
  vertical-align: middle; 
}

.plan-price {
  font-size: 20px;
}

.plan-status {
  font-size: 14px;
  line-height: 1.1;
}

.box {
  margin: 0 auto;
  border: solid 1px #666;
  border-radius: 5px;
  width: 100%;
  text-align: center;
  color: #cccccc;
  padding: 5px 20px;
}

.subtitle {
  font-size: 16px;
}

.feature-list {
  list-style: none;
  margin-top: 15px;
  padding: 0;
  text-align: left;
  font-weight: 700;
}

.feature-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.feature-text {
  display: flex;
}

.feature-list i {
  margin-right: 10px;
}

.feature-list img {
  width: 18px;
  margin: 0 auto; 
  margin-right: 8px;
  margin-bottom: -2px;
}

.feature-list li span {
  display: inline-block;
  font-size: 14px;
  margin: 0;
  padding: 0;
}

.bottom-section {
  position: sticky;
  bottom: 0;
  padding: 10px;
  border: none;
  display: flex;
  justify-content: space-between;
  text-align: center;
  width: 100%;
  background-color: #333;
}

.submit {
  
  background: linear-gradient(270deg, hsl(263, 48%, 42%), hsl(276, 44%, 66%));
  color: white;
  font-size: 28px;
  font-weight: 800;
  width: 90%;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  padding: 10px;

  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 10px;
  opacity: 1;

  display: none;
  transition: opacity 0.3s ease-in-out;

}

.submit.visible {
  display: block;
}

.submit i {
  font-size: 20px;
}

.submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

#image-bar-current {
  width: 0%;
}

#image-bar-new {
  width: 0%;
}

.heading {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin: 0 auto;
}

.heading h1 {
  font-size: 40px;
  color: white;
  margin-bottom: 25px;
  position: relative;
  margin-top: 70px;
}

.heading h1::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  display: block;
  margin: 0 auto;
  background-color: hsl(263, 58%, 44%);
}

.faq-section {
  font-size: 18px;
  padding: 20px;
  width: 90%;
  margin: 0 auto;
  color: white;
}

.faq-title {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 22px;
  color: white;
}

.faq-item {
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.faq-question {
  cursor: pointer;
  padding: 15px;
  font-weight: bold;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.faq-question::after {
  content: "?";
  font-size: 14px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  opacity: 0;
  padding: 0;
  height: 0;
  margin: 0;
  line-height: 1.5;
  font-size: 14px;
  transition: all 0.3s;
}

.faq-answer.visibile {
  padding: 15px;
  margin: 0px 15px 15px 15px;
  opacity: 1;
  height: auto;
}

.notify {
  font-family: 'Segoe UI', 'Apple Color Emoji', 'Noto Color Emoji';
  letter-spacing: 2px;
  padding: 5px;
  width: 90%;
  margin: 0 auto;
  margin-top: 20px;
  background: linear-gradient(
      45deg,
      hsl(263, 67%, 29%),
      hsl(276, 62%, 80%)
    );
  font-size: 15px;
  border-radius: 10px;
  text-align: center;
}

.notify h1 {
  letter-spacing: 8px;
}

.notify.visible {
  opacity: 1;
  transition: all 0.3s ease;
}

.notify.hidden {
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  margin-top: -10px;
}

@media screen and (min-width: 1200px) {
  .buy_page {
    min-height: 40vw;
  }
  .buy_container {
    min-height: 30vw;
  }
}

@media screen and (max-width: 1200px) {
  .buy_page {
    min-height: 50vw;
  }
  .buy_container {
    min-height: 40vw;
  }
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 85%;
    height: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    outline: none;
    opacity: 0.65;
    transition: opacity 0.2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: hsl(276, 71%, 70%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}

.slider-container {
    width: 100%;
    display: flex;
    align-items: center;
}

.slider-value {
    width: 100px;
    height: 50px;
    font-size: 22px;
    font-weight: 600;
    margin-right: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    border: solid 3px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    color: white;
    text-align: center;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.pricing-container {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.price {
  width: 22.5%;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.1);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.15s ease;
}

.price:hover, .price.selected {
  background: rgba(0, 0, 0, 0.5);
}

.credits-display-buy {
  text-align: left;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  padding: 12px 16px;
  background-color: #1e1e1f;
  font-weight: 800;
  margin-bottom: 15px;
}

.credits-display-buy .image-balance {
  line-height: 1;
}

.credits-display-buy .image-balance i {
  margin-right: 8px;
  line-height: 1;
  font-size: 15px;
}