.license-badge {
  width: 11.8rem;
  height: 8.2rem;
  flex-shrink: 0;

  overflow: hidden;
  border-radius: 0.4rem;

  background: #fff;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.08),
    0px 1px 3px 0px rgba(0, 0, 0, 0.24);
}

.license-badge.license-badge--floem {
  width: 15rem;
  height: 9.6rem;
}

.license-badge__graphic {
  width: 100%;
  height: 100%;

  user-select: none;
  pointer-events: none;
}

.license-plans {
  display: flex;
  padding: 0.2rem;
  gap: 1.2rem;

  max-height: calc(100vh - 28rem);
  overflow-y: auto;
}

.license-plan {
  font-size: 1.4rem;
  line-height: 2rem;

  display: flex;
  position: relative;

  width: 34rem;
  height: 100%;

  flex-direction: column;
  align-items: flex-start;

  overflow: hidden;
  border-radius: 0.7rem;

  border: 1px solid var(--color-neutral-light);
  background: white;
}

.license-plan--current {
  border-color: var(--color-primary-medium-blue);
  box-shadow: 0px 0px 0px 1px var(--color-primary-medium-blue);
}

.license-plan__current-label {
  position: absolute;
  right: 1.6rem;

  padding: 0.2rem 0.6rem;
  border-radius: 0.5rem;

  background: var(--color-primary-deep-blue);
  color: white;

  text-transform: uppercase;

  font-size: 1.3rem;
  font-weight: bold;
}

.license-plan__action {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
}

.license-plan__header {
  display: flex;
  flex-direction: column;

  padding: 2rem 1.6rem;
  gap: 2rem;

  align-items: flex-start;
  align-self: stretch;
}

.license-plan__details {
  display: flex;
  flex-direction: column;

  align-items: flex-start;
  align-self: stretch;
  flex-grow: 1;

  padding: 1.6rem;
  gap: 1.6rem;

  border-top: 1px solid var(--color-neutral-light);
  background: var(--color-neutral-surface);
  box-shadow: 0px 2px 5px -2px rgba(0, 0, 0, 0.1) inset;
}

.license-plan__depiction,
.license-plan__info,
.license-plan__pricing,
.license-plan__pricing-details {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.license-plan__depiction {
  gap: 2rem;
}

.license-plan__info {
  gap: 1.4rem;
}

.license-plan__pricing {
  gap: 1.4rem;
  color: var(--color-neutral-dark);
  font-size: 92.5%;
}

.license-plan__pricing-details {
  gap: 0.2rem;
  min-height: 4.2rem;
}

.license-plan__prices {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.license-plan__price.price--upfront {
  color: var(--color-primary-medium-blue);
  font-size: 1.2rem;
  line-height: normal;
}

.license-plan__limits {
  height: 3.8rem;
  align-self: stretch;

  color: var(--color-neutral-dark);
  font-weight: bold;
}

.choose-license-modal {
  max-width: 114.8rem;
}

.device-license {
  display: flex;
  padding: 1.6rem;
  align-items: flex-start;
  gap: 2rem;

  border-radius: 0.4rem;
  background: var(--color-neutral-surface);
}

.device-license__icon {
  flex-shrink: 0;
  padding: 0.6rem 0rem;
}

.device-license__depiction {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;

  flex-shrink: 0;
  flex-grow: 1;
}

.device-license__current {
  display: flex;
  align-items: center;
  align-self: stretch;
}

.device-license__current .label {
  color: var(--color-neutral-highlight);
  font-size: 1.3rem;
  line-height: 2rem;
  letter-spacing: 0.013rem;
}

.device-license__current-text {
  display: flex;
  flex-direction: column;
  margin-right: auto;
}

.device-license__usage p {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--color-neutral-dark);
}

.usage-bar {
  display: flex;
  height: 0.6rem;
  overflow: hidden;

  align-items: flex-start;
  align-self: stretch;

  border-radius: 0.6rem;
  background: var(--color-neutral-control);
}

.usage-bar--filled {
  height: 100%;
  align-self: stretch;
  background: var(--color-primary-deep-blue);
}

.choose-license-modal .modal-footer {
  padding-top: 0.8rem;
}

.choose-license-modal .modal-footer[data-hidden="true"] {
  display: none;
}

.choose-license-modal__support {
  display: flex;
  gap: 1.2rem;

  margin-right: auto;
  flex-grow: 1;
}

.license-wizard-step {
  display: none;
}

#license-modal-wizard[data-current-step="plans"] #license-modal-plans {
  display: block;
}
#license-modal-wizard[data-current-step="payment"] #license-modal-payment {
  display: block;
}

.license-purchasing {
  display: flex;
  gap: 3.2rem;
}

.license-purchasing__preview {
  border-radius: 0.4rem;
  background: var(--color-neutral-surface);
  width: 26rem;
  flex-shrink: 0;
}

.license-purchasing__preview-header {
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 3.6rem;
  height: 33.7rem;
}

.license-purchasing__preview-header .license__label {
  display: block;

  font-size: 1.3rem;
  font-weight: 700;

  line-height: 150%;
  letter-spacing: 0.0455rem;

  text-transform: uppercase;
  opacity: 0.6;
}

.license-purchasing__preview-header .license__name {
  text-align: center;
  font-size: 2.4rem;

  font-weight: 700;
  line-height: 180%;

  letter-spacing: 0.012rem;
  display: block;
}

.license-purchasing__preview-features {
  border-top: 0.1rem solid var(--colors-neutral-light);
  background: var(--colors-neutral-surface);

  box-shadow: 0px 2px 5px -2px rgba(0, 0, 0, 0.09) inset;
  padding: 1.8rem;

  line-height: 1.4;
  display: flex;

  flex-direction: column;
  gap: 2.4rem;
}

.license-purchasing__options {
  flex-grow: 1;
}

.license-purchasing__options .billing-component .component-title {
  padding: 0.4rem 0;
}

.license-purchasing__options .billing-component:first-child {
  margin-top: 0;
}

.license-purchasing__options .billing-component > .container-fluid {
  padding: 0;
}

.license-purchasing__summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 1.6rem;
  width: 27rem;

  align-self: stretch;
  flex-shrink: 0;
}

.license-purchasing__summary-section label {
  font-weight: bold;
}

.license-purchasing__summary-item {
  display: flex;
  gap: 0.8rem;
}

.license-purchasing__summary-item .label {
  flex-grow: 1;
}

.license-purchasing__summary-item .amount {
  width: 9rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.license-purchasing__summary-section {
  width: 100%;
}

.license-purchasing__summary-billing-info {
  font-size: 1.4rem;
  line-height: 1.2;
  opacity: 0.6;
  margin-top: 0 !important;
}

.license-purchasing__summary-downgrade-warning {
  font-weight: bold;
}

.license-coupons-input {
  text-transform: uppercase;
}

.license-coupons-btn {
  margin-left: 2rem;
  width: 50%;
}

.license-coupons-feedback {
  position: fixed;

  top: 1.6rem;
  z-index: 10000;

  left: 50%;
  width: 28rem;
  height: 4rem;
  margin-left: -14rem;
  margin-top: -0.75rem;

  background: var(--color-primary-text);
  color: white;

  background-image: none !important;

  padding: 0.6rem 0;
  border-radius: 0.3rem;
  font-size: 1.4rem;

  display: flex;
  justify-content: flex-start;
  align-items: center;

  box-shadow: 0 1rem 1.2rem rgba(0, 0, 0, 0.2);
  transition: 0.25s opacity;
}

.upsell-screen {
  display: flex;
  min-height: calc(100vh - 24rem);
  align-items: center;
}

.upsell-screen__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.upsell-screen__image {
  flex: 1;
  width: 100%;
  max-width: 440px;
}

.upsell-screen__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 0.8rem;
}

.upsell-screen__title {
  font-size: 1.9rem;
  margin-bottom: 15px;
}

.upsell-screen__description {
  font-size: 1.65rem;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #495057;
}

.upsell-screen__license {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  line-height: 1.5;

  background: #f4f7f9;
  padding: 2rem;
  border-radius: 0.8rem;
}

.upsell-screen .checklist-item {
  align-items: center;
}

@media screen and (max-width: 1300px) {
  .upsell-screen__image {
    max-width: 40%;
  }
}

@media screen and (max-width: 1100px) {
  .upsell-screen__image {
    max-width: 60%;
    margin-top: 2rem;
  }
  .upsell-screen__container {
    flex-direction: column;
  }
}
