/* Utility */

input[type="radio"]{
  visibility:hidden;
}

.mobile-only {
  display: none !important;
}

.desktop-only {
  display: flex !important;
}

.hidden {
  display: none !important; 
}

@media screen and (max-width: 768px) {
  .mobile-only {
    display: flex !important;
  }

  .desktop-only {
    display: none !important;
  }
}

.word-wrap-none {
  white-space: nowrap;
}

.info-content-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 0 20px;
  width: calc(100%);
  max-width: 800px;
  text-align: center;
}

/* Text block alignment toggle */

.toggle-alignment-radio-container {
  display: flex;
  width: 100%;
  background-color: #eceee8;
  border-radius: 8px;
  align-items: center;
  margin-top: 12px;
}

.toggle-alignment-radio-container label {
  margin: 0;
}

.text-alignment-radio {
  height: 40px;
  width: 100%;
  background-color: #eceee8;
  border-radius: 8px;
  font-weight: bold;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: invert(0%);
  padding-right: 12px;
  opacity: 1;
  border: 1px solid rgba(26, 26, 26, 0.0);
  transition: all 0.2s ease;
}

.text-alignment-radio:hover {
  cursor: pointer;
}

.text-alignment-radio.selected {
  height: 40px;
  width: 100%;
  background-color: #f6f7f2;
  color: #000;
  border-radius: 8px;
  border: 1px solid rgba(26, 26, 26, 0.35);
  opacity: 1;
  transition: all 0.2s ease;
}

.pricing-table {
  font-size: 12px;
  position: relative;
  overflow:visible;
  padding: 28px 0;
  margin-bottom: 20px;
  line-height: 16px;
  display: grid;
  grid-template-columns: 32% 36% 32%;
  grid-template-areas: 
    "free pro premium";
}

.pricing-free {
  grid-area: free;
  border-radius: 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  align-items: center;
  gap: 24px;
  padding: 20px 12px;
  border: solid 0.5px rgba(0, 0, 0, 0.1);
  background-color: rgba(236, 238, 232, 0.5);
}

.pricing-pro {
  grid-area: pro;
  flex-grow: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  padding: 32px 12px 20px 12px;
  border-radius: 8px;
  border: solid 0.5px rgba(0, 0, 0, 0.1);
  background-image: linear-gradient(to bottom, hsl(96, 60%, 90%) 50%, hsl(128, 60%, 91%) 100%);
  margin: -12px -6px;
  z-index: 3;
}

.free-plan-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 24px;
  padding: 4px;
  position: relative;
  border-radius: 4px;
  font-size: 14px;
}

.pro-plan-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 24px;
  padding: 4px;
  position: relative;
  background-color: #ccffd3;
  border-style: solid;
  border-width: 0.4px;
  border: solid 0.5px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  font-size: 14px;
}

.pricing-premium {
  grid-area: premium;
  border-radius: 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  align-items: center;
  gap: 24px;
  padding: 20px 8px;
  border: solid 0.5px rgba(0, 0, 0, 0.1);
  background-image: linear-gradient(to bottom, hsl(280, 50%, 90%), hsl(240, 50%, 91%));
}

.premium-plan-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 24px;
  padding: 4px;
  position: relative;
  background-color: #e7ccff;
  border-style: solid;
  border-width: 0.4px;
  border: solid 0.5px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  font-size: 14px;
}

.pricing-plan-icon {
  height: 20px;
  font-size: 14px;
}

/* Pricing toggle section */

.pricing-toggle-section {
  height: 200px;
  max-width: 400px;
  margin: 0 auto;
}

.months-toggle-container {
  width: 280px;
  margin: 0 auto;
}

.toggle-radio {
  position: relative;
}

.toggle-radio .percentage-discount {
  position: absolute;
  top: -20px;
  right: -20px;
  height: 30px;
  font-size: 12px;
  background: #A6FFB2;
  display: flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  color: #1A1A1A;
}

/* Pricing table section */

.pricing-table-section {

}

/* Text */

.text {
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 500;
}

.text.md {
  font-size: 12px;
}

.text.lg {
  font-size: 14px;
}

.text.gray {
  color: #1a1a1a;
  opacity: 0.5;
}

.text.emoji {
  font-size: 20px;
  width: 24px;
}

.text.opaque {
  opacity: 0.5;
}

.subtext {
  color: #1a1a1a;
  opacity: 0.5;
  font-size: 11px;
  width: 80px;
}

.title-container {
  position: relative;
  width: fit-content;
}

@media screen and (max-width: 500px) {
  .title-container {
    width: fit-content;
    max-width: 100px;
  }
}

.sparkle.top-right {
  position: absolute;
  top: -10px;
  right: -20px;
}

.sparkle.top-left {
  position: absolute;
  top: -10px;
  left: -20px;
}

.sparkle.bottom-left {
  position: absolute;
  bottom: -10px;
  left: -20px;
}

.sparkle.bottom-right {
  position: absolute;
  bottom: -10px;
  right: -20px;
}

.bold {
  font-weight: bold;
}

.semi-bold {
  font-weight: 500;
}

.strikethrough {
  text-decoration: line-through;
}

.analytics-plan {
  height: 40px;
  display: grid;
  place-items: center;
}

.price-container {
  display: grid;
  place-items: center;
}

.pricing-in-depth-analytics.pro {
  height: 28px;
  flex-grow: 0;
  background-image: linear-gradient(45deg, #000 1%, #00cc2f 101%);
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
  text-align: center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-in-depth-analytics.premium {
  height: 28px;
  flex-grow: 0;
  background-image: linear-gradient(45deg, #000 1%, #e066ff 101%);
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
  text-align: center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */

.pricing-button {
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  min-height: 40px;
  background: #1A1A1A;
  color: #f0f6d9;
  font-size: 12px;
  padding: 4px 16px;
  margin: 0 auto;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.pricing-button-outlined {
  border: solid 0.5px rgba(26, 26, 26, 0.15);
  background: transparent;
  color: rgba(26, 26, 26, 0.15);
  pointer-events: none;
}

.pricing-button:hover {
  opacity: 0.8;
  transition: all 0.3s ease;
}

.back-to-admin-button {
  background-color: #191919;
  color: #fff;
  border-radius: 42px;
  padding: 2px 8px;
  width: 132px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.get-started-button {
  width: 180px;
  height: 40px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background-color: #1a1a1a;
  font-size: 14px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #ccffd3;
  margin-bottom: 32px;
}

/* Coming soon section */

.coming-soon-list {
  width: 100%;
  max-width: 400px;
  margin: 0 auto  ;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.coming-soon-item {
  height: 48px;
  line-height: 12px;
  text-align: start;
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  border: solid 1px #e7e8e3;
}

/* Contact Sales Section */

.sales-content {
  height: 120px;
  width: 100%;
  max-width: 400px;
  padding: 0 20px;
  margin: 32px auto 0px auto;
  display: grid;
  grid-template-columns: 1fr 200px;
  grid-template-areas: "image contact";

}

.pricing-lady-image {
  grid-area: image;
  position: relative;
}

.pricing-lady-image img {
  position: absolute;
  bottom: 0;
  height: 140px;
}

.contact-sales-section {
  grid-area: contact;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  line-height: normal;
  width: 178px;
}

/* Footer */

.gradientsplit {
  height: 40px;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(26, 26, 26, 0)), to(rgba(26, 26, 26, 0.05)));
  background-image: linear-gradient(180deg, rgba(26, 26, 26, 0), rgba(26, 26, 26, 0.05));
  display: flex;
  position: relative;
  justify-content: center;
}

.gradientsplit.reverse {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(26, 26, 26, 0.05)), to(rgba(26, 26, 26, 0)));
  background-image: linear-gradient(180deg, rgba(26, 26, 26, 0.05), rgba(26, 26, 26, 0));
}

.text-block-footer {
  margin-left: 4px;
  font-family: 'DM Sans', "IBM Plex Sans Thai", sans-serif !important;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 768px;
  margin-bottom: 20px;
}


.text-block-footer-contact {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 20px;
}

.text-block-footer-contact a {
  text-decoration: none;
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
  padding-left: 8px;
}
