:root {
  /* Blue */
  --blue-50: #F1F8FD;
  --blue-100: #E0F2FF;
  --blue-200: #CCE9FF;
  --blue-300: #A3D8FF;
  --blue-400: #61B0EA;
  --blue-500: #2C92DD;
  --blue-600: #0073C7;
  --blue-700: #005EA3;
  --blue-800: #004A80;
  --blue-900: #004180;
  /* Green */
  --green-600: #059669;
  /* Gray */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  /* Rounded */
  --rounded-sm: 0.125rem;
  --rounded-md: 0.375rem;
  --rounded-lg: 0.5rem;
  /* Box shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

button {
  cursor: pointer;
}

hr {
  height: 1px;
  width: 90%;
  margin: 3rem auto;
  background-color: #cccccc80;
}

/*** Utils begin ***/
.mobileapp {
  background: #fafafa;
  color: #222;
}

.mobile-nav {
  padding: 0.5rem;

  font-family: sans-serif;
  background: #0073c7;
  color: #fff;
}

strong,
.bold {
  font-weight: bold;
}

.text-center {
  text-align: center;
}

.text-underline {
  text-decoration: underline;
}

.f-100 {
  font-size: 1.0rem;
}

.f-133 {
  font-size: 1.333rem;
}

.f-167 {
  font-size: 1.667rem;
}

.lh-14 {
  line-height: 1.4;
}

.mv-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.mv-3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.mv-4 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.mv-5 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.m-3 {
  margin: 1rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mr-1 {
  margin-right: 0.25rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ph-1 {
  padding: 0 0.25rem;
}

.ph-4 {
  padding: 0 1.5rem;
}

.p-3 {
  padding: 1rem;
}

.pt-4 {
  padding-top: 1.5rem;
}

.pb-5 {
  padding-bottom: 3rem;
}

.pv-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.pv-3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pv-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.pv-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/*** Utils end ***/

/*** Plans begin ***/

.wrapper {
  max-width: inherit;
}

.wrapper.footerStuff {
  max-width: 1140px;
}

.upgrade-window {
  padding: 1rem 2rem;

  font-size: 1rem;
  line-height: 140%;

  text-align: center;

  background: #16a34a;
  color: #fff;
}

.upgrade-window-v2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background-color: #ECFDF5;
  color: #065F46;
  padding: 1rem 2rem;
  font-size: 1rem;
  line-height: 140%;
}

.plans-and-testimonials {
  display: flex;
  flex-direction: column;
}

.plans-and-testimonials.testimonials-first {
  flex-direction: column-reverse;
}

.plan-cards-wrapper {
  background: rgba(243, 244, 246, 1);
  color: black;
}

.plan-cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #000;
}


.plan-card.from-instantshare,
.plan-card-modal.from-instantshare {
  grid-template-rows: auto 1fr auto;
}

.plan-card:hover,
.plan-card-modal:hover {
  border-color: #0073C7;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.desktop-plan-cards-grid button {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.333rem;
  width: 100%;
  font-weight: bold;
  text-align: center;
  background: #0073c7;
  color: #fff;
}

.plan-card.disabled,
.plan-card-modal.disabled,
.plan-data-container.disabled {
  pointer-events: none;
}

.plan-card.disabled button,
.plan-card-modal.disabled button,
.plan-data-container.disabled button {
  background: #fff;
  color: rgba(0, 115, 199, 0.5);
  border: 1px solid rgba(0,115,199, 0.3);
}

.plan-card:not(.disabled),
.plan-card-modal:not(.disabled) {
  cursor: pointer;
}

.plan-card.current-plan button,
.plan-card-modal.current-plan button,
.plan-data-container.current-plan button {
  background: rgba(0,115,199, 0.1);
  border: 1px solid rgba(0,115,199, 0.1);
  color: rgba(0, 115, 199, 1.0);
}

.plan-data-container.downgrade button {
  background: var(--gray-100);
  color: var(--gray-700);
  border: none;
}

.plan-data-container.downgrade button:hover {
  background: var(--gray-100);
  color: var(--gray-700);
  filter: brightness(90%);
}

.plan-data-container.downgrade.current-plan button {
  background: rgba(0,115,199, 0.1);
  color: rgba(0, 115, 199, 1.0);
  border: 1px solid rgba(0,115,199, 0.1);
}

.instantshare-wrapper {
  padding: 0;
}

.instantshare-container {
  display: flex;
  margin-top: 20px;
  padding: 12px;
  border-radius: 6px;
  background-color: #F3F4F6;
}

.instantshare-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 24px;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 4px;
  background-color: #EA580C;
}

.instantshare-icon .fa-share {
  color: white;
}

.instantshare-copy p:first-child {
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 20px;
  font-weight: bold;
}

.instantshare-copy li {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  margin: 0.15rem 0;
}

.playlister-wrapper {
  padding: 0;
}

.plans-playlister-container {
  display: flex;
  flex-direction: row;
  align-items: start;
  gap: 4px;
  margin-top: 20px;
  padding: 12px;
  border-radius: 6px;
  background-color: #F3F4F6;
}

.plans-playlister-text-container {
  display: flex;
  flex-direction: column;
}

.plans-playlister-icon {
  border-radius: 4px;
  background: var(--cyan-500, #06B6D4);
  margin-right: 8px;
  padding: 3px 3px;
}

.plans-playlist-title {
  color: black;
  font-weight: 700;
}

.plans-playlist-subtitle {
  color: #4B5563;
  font-weight: 400;

}

.testimonials-container {
  display: flex;
  flex-direction: row;
  padding: 2.5rem 2.5rem 0 2.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.testimonials-preface {
  font-size: 24px;
  margin-bottom: 3rem;
  padding-right: 2rem;
}

.testimonial {
  font-size: 24px;
  margin-bottom: 2rem;
}

.testimonial-by {
  font-size: 16px;
  margin: 1.25rem 0;
}

.goodies-asterisk-container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
}

a.plan-scroll-link {
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 400;
}

/* SVG Spinner */
.spinner {
  animation: rotate 1s linear infinite;
  z-index: 2;
  width: 18px;
  height: auto;
  fill: #fff;
}

.path {
  stroke: #fff;
  stroke-linecap: round;
  animation: dash 1s ease-in-out infinite;
}

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

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}
/* End SVG Spinner */

/* IAP - Upgrade on device message */
.upgrade-on-device-container {
  background: var(--blue-800);
  display: block;
  padding: 18px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
.upgrade-on-device {
  max-width: 575px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-radius: 6px;
  margin: 0 auto;
  padding: 36px 24px;
  color: var(--gray-900);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.upgrade-on-device .icon-container {
  border-radius: 100px;
  background: #FFFBEB;
  padding: 18px 20px;
  margin: 0 auto 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.upgrade-on-device .icon-container svg {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(79%) sepia(84%) saturate(1959%) hue-rotate(334deg) brightness(97%) contrast(102%);
}
.upgrade-on-device h2 {
  display: block;
  margin: 0 0 6px 0;
  padding: 0;
  font-size: 19px;
  line-height: 1.4;
  text-align: center;
  font-weight: bold;
}
.upgrade-on-device .description {
  display: block;
  margin: 0 0 12px 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.4;
  text-align: center;
  color: var(--gray-500);
}
.upgrade-on-device hr {
  border-color: var(--gray-200);
  margin: 12px 0 24px;
  width: 100%;
}
.upgrade-on-device ol {
  line-height: 1.5;
  list-style-type: decimal;
  font-size: 17px;
  margin-left: 18px;
}
.upgrade-on-device ol li {
  margin-bottom: 18px;
}
.upgrade-on-device ol li:last-child {
  margin-bottom: 0;
}
.no-wrap {
  white-space: nowrap;
}

.iap-current-plan button {
  background: #0073C71A;
  color: #0073C7;
}

.label-plan-feature i {
  color: var(--blue-600);
  margin-right: 10px;
  width: 25px;
  align-self: flex-start; /* Align the <i> tag to the top */
  margin-top: 6px;
}

.free-user-continue-container.mobile {
  padding-top: 0;
  padding-bottom: 1.75rem;
  text-align: center;
}

.free-user-continue-container.mobile a {
  color: white;
  text-decoration: underline;
}

/* Styles for Free Plan Cards */

.plan-card,
.plan-card-modal {
  position: relative;
  margin: 1.333rem 0.888rem;
  padding: 1.111rem;
  background: #FFFFFF;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.10);
  border-radius: 0.444rem;
}

.plan-card-header {
  display: flex;
  justify-content: space-between;
}

.plan-name {
  font-weight: 800;
  font-size: 1.8rem;
}

.plan-pricing {
  font-weight: 800;
  font-size: 1.1rem;
  margin-top: 0.25rem;
}

.original-price {
  display: none;
  text-decoration: line-through;
  color: gray;
  font-weight: 600;
}

.discounted-plan-pricing .original-price {
    display: block;
}

.discounted-plan-pricing .discounted-price {
  color: var(--red-600);
}

.plan-pricing .billed-annually {
  margin-top: .222rem;
  margin-bottom: .888rem;
  font-weight: 400;
  font-size: 0.833rem;
  font-style: normal;
  line-height: 1.111rem;
}

.plan-features li {
  display: flex;
  column-gap: .444rem;
  font-size: .9444rem;
  font-weight: 400;
  font-style: normal;
  margin: 5px auto 20px;
  align-items: baseline;
  text-align: left;
}

.plan-features li i {
  color: var(--blue-600);
  font-size: .888rem;
  width: 1.222rem;
  line-height: 1;
  text-align: center;
}

.plan-card button,
.plan-card-modal button {
  font-size: 0.9444rem;
  line-height: 1.22;
  margin-top: 1rem;
  padding: .444rem .888rem;
  border-radius: 0.333rem;
  min-height: 48px;
  width: 100%;
  font-weight: 900;
  text-align: center;
  background: var(--blue-600);
  color: #FFF;
  cursor: pointer;
}

.ultimate-gradient {
  background: linear-gradient(90deg, var(--blue-600), var(--green-400));
}

.yellow-pill {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(253, 230, 138, 1);
  color: rgba(120, 53, 15, 1);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.plan-header-mobile {
  padding: 35px 70px 0 70px;
  text-align: center;
  margin-bottom: 13px;
}

.plan-header-main {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  font-family: Lato, sans-serif;
  margin-bottom: 10px;
  line-height: 25.2px;
}

.plan-header-sub {
  font-size: 16px;
  font-weight: 400;
  color: #4b5563;
  font-family: Lato, sans-serif;
  line-height: 24px;
}

.mobile-feature-wrapper {
  background-color: #fff;
  border-radius: 12px;
  padding: 16px;
  margin: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.feature-card-header {
  font-weight: 700;
  font-size: 16px;
  font-family: Lato, sans-serif;
  margin-bottom: 20px;
  color: #4B5563;
  font-style: normal;
  line-height: 24px;
  
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-card span {
  font-family: Lato; 
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  color: #1F2937;
  line-height: 24px;
  display: flex;
  align-items: center;
}

.feature-card span i {
  color: rgba(0, 115, 199, 1);
  margin-right: 8px;
  min-width: 18px;
}

/* End Styles for Free Plan Cards */


/* Styles for DC-31623 Tooltip experiment for Premium Features */
.experiment-tooltip {
  padding-left: 5px;
  color: #9CA3AF;
  display: inline-block;
  pointer-events: auto;
}

.experiment-tooltip-wrapper:hover .experiment-tooltip-container {
  display: block;
}

.experiment-tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.experiment-tooltip-container {
  display: none;
  position: absolute;
  z-index: 1000;
  visibility: visible;
  top: 25px;
  left: 145px;
  transform: translateX(-50%);
  padding: 12px;
  width: 275px;
  background-color: #F9FAFB;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.06);
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #374151;
  white-space: normal;
}
/* End styles for DC-31623 Tooltip experiment for Premium features */

/* End IAP - Upgrade on device message */
@media all and (min-width: 500px) {
  .upgrade-on-device-container {
    padding: 60px 18px;
  }
  .upgrade-on-device {
    padding: 42px;
  }
  .upgrade-on-device h2 {
    font-size: 19px;
  }
  .upgrade-on-device hr {
    margin: 24px 0 36px;
  }
}

/* tablet layout */

@media only screen and (max-width: 992px) {

  /* For downgrades */
  .button-selector {
    max-width:unset !important;
  }

  .button-selector-button {
      max-width:unset !important; 
      width:100% !important;
  }

  .btn-plan-downgrade {
      background:var(--gray-100) !important; 
      color:var(--gray-700) !important; 
      height:44px !important; 
      width: 100% !important; 
      padding:unset !important;
  }

  .btn-plan-downgrade.disabled {
      background:rgba(0,115,199, 0.1) !important; 
      color:rgba(0, 115, 199, 1.0) !important; 
      height:44px !important; 
      width: 100% !important;  
      padding:unset !important;
  }

  .plan-cards-downgrades .recommended-for-feature,
  .plan-features li.upgrade-only {
    display: none;
  }

  .plan-cards-upgrade .plan-features li.upgrade-only {
    display: flex;
  }

  /* End for downgrades */

  .feature-body .blurb {
    width: 100%;
  }

} /* (max-width: 992px) */


/* ? layout */


/* phone layout */

@media only screen and (max-width: 460px) {

  .testimonials-container {
    flex-direction: column;
  }

  .testimonials-preface {
    text-align: center;
    padding-right: unset;
  }
  
  .button-container {
    padding: 0 !important;
  }

  .instantshare-wrapper {
    padding: 0;
  }

  .playlister-wrapper {
    padding: 0;
  }

  /* For downgrades */
  .button-selector {
    max-width:unset !important;
  }

  .button-selector-button,
  .button-selector-button button {
      max-width:unset !important; 
      width:100% !important;
  }

  .btn-plan-downgrade {
      background:var(--gray-100) !important; 
      color:var(--gray-700) !important; 
      height:44px !important; 
      padding:unset !important;
  }

  .btn-plan-downgrade.disabled,
  .btn-plan-downgrade.disabled button {
      background: linear-gradient(90deg, #0174C7, #34D399) !important; 
      color:#ffffff !important; 
      height:44px !important; 
      width: 100% !important;  
      padding:unset !important;
  }

  /* End for downgrades */
}

/*** Plans end ***/
