@import "@/styles/window";

.container {
  padding: 20px;
  overflow: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1000px) {
  .container {
    padding: 20px;
    overflow: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.sel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px;
}

.title {
  font-size: 16px;
  font-weight: bolder;
}

.sub-title {
  font-size: 12px;
  font-weight: normal;
}

.pricing-item {
  border: var(--border-in-light);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  animation: slide-in ease 0.3s;
  width: 250px;
  display: flex;
  flex-direction: column;
  padding: 10px 20px 0px 20px;
  background-image: url("../../../icons/chatgpt.png");
  background-repeat: no-repeat;
  background-position: top -20px right -15px;
  margin-right: 20px;

  @media (max-width: 1000px) {
    &{
      margin-bottom: 20px;
    }
  }

  &-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 80px;
    animation: slide-in ease 0.6s;
  }

  &-price {
    color: #fe6401;
  }

  &-plan-feature {
    color: #a29da4;
    font-size: 12px;
    display: flex;
    align-items: center;
  }

}

.list .list-item:last-child {
  border: 0;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
  animation: slide-in ease 0.6s;
}

.list .list-item:last-child {
  border: 0;
}

.switch {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.switch button {
  padding: 10px 20px;
  border: 1px solid var(--border-in-light);
  background-color: #f1f1f1;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  margin: 0 5px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.switch button:hover {
  background-color: #e1e1e1;
}

.switch button.active {
  background-color: #39d1f7;
  color: #fff;
}

.discount-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  padding: 5px 10px;
  background-color: transparent;
  color: #ff6b6b;
  font-weight: bold;
  font-size: 12px;
  transform: rotate(30deg);
}

.button-with-badge {
  position: relative;
}

.purchase-wrapper {
  margin-left: -20px;
  margin-right: -20px;
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.purchase {
  background-color: var(--primary);
  color: white;
  width: 100%;
  margin-left: none;
  border-radius: 0 0 10px 10px;
  transition: background-color 0.3s;
  transform: scale(1);

  &:hover {
    background-color: var(--primary-hover-color);
  }

  &:active {
    transform: scale(1);
  }
}
