@import './common.css?v=5';

body.ll__modal-open {
  overflow: hidden;
}

.ll__modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.ll__modal.active {
  opacity: 1;
  visibility: visible;
}

.ll__modal-content {
  background-color: #fff;
  border-radius: var(--border-radius-standard);
  width: 90%;
  height: auto;
  max-width: 400px;
  max-height: 550px;
  padding: 10px;
  overflow-y: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.ll__modal .ll__header,
.ll__modal .ll__container {
  border-radius: var(--border-radius-standard);
  margin-bottom: 10px;
}

@media (max-width: 749px) {
  .ll__modal-content {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
  }
}

.ll__modal.active .ll__modal-content {
  transform: translateY(0);
  opacity: 1;
}

.ll__modal-page {
  position: relative;
  width: 100%;
  height: auto;
}

.ll__modal-page.ll__logged-out {
  text-align: center;
}

.ll__modal .ll__button {
  width: 100%;
}

.ll__button-secondary {
  margin-top: 10px;
}

.ll__button-group {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.ll__button-group .ll__button {
  flex: 1;
  padding: 12px 24px;
  font-size: var(--font-size-normal);
  color: #fff;
  border: 1px solid #fff;
  text-align: center;
  font-weight: 500;
}

.ll__button-group .ll__button:first-child {
  margin-right: 12px;
}

.ll__header button {
  background: none;
  border: none;
  border-radius: 50%;
  color: var(--color-text-light);
  font-size: var(--font-size-large);
  cursor: pointer;
  width: 40px;
  height: 40px;
  transition: background-color 0.1s ease;
}

.ll__header button:hover {
  background-color: var(--color-background-hover-dark);
}

.ll__page-content {
  max-height: 373px;
  overflow-y: auto;
}

.ll__modal-section-title {
  font-weight: bold;
}

.ll__rule-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.ll__rule-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--padding-standard);
  border: var(--border-standard);
  border-radius: var(--border-radius-standard);
  margin-bottom: 10px;
}

.ll__redeem-modal-ho4ed3 .ll__rule-list li {
  cursor: pointer;
  transition: background-color 0.1s ease;
}

.ll__redeem-modal-ho4ed3 .ll__rule-list li:hover {
  background-color: var(--color-background-hover-light);
}

.ll__rule-list li.disabled {
  opacity: 0.5;
  cursor: default;
}

.ll__rule-list li.disabled:hover {
  background-color: transparent;
}

.ll__rule-list .ll__button {
  width: 100px;
  margin-right: 0;
}

.ll__rule-title {
  font-weight: bold;
}

.ll__rule-description {
  display: block;
  font-size: var(--font-size-small);
  color: #666;
}

.ll__select-button {
  background: none;
  border: none;
  cursor: pointer;
}

li.disabled .ll__select-button {
  cursor: default;
}

.ll__modal .ll__illustrated-block {
  margin: var(--margin-standard);
  padding: var(--padding-standard);
}

.ll__selected-rule-title {
  font-weight: bold;
}

.ll__selected-rule-subtitle {
  font-size: var(--font-size-small);
  line-height: 20px;
}

.ll__modal .ll__description {
  margin: var(--margin-standard);
  margin-top: 0;
}

/* Update birthday page */

.ll__birthday-inputs {
  display: flex;
  margin: var(--margin-standard);
}

.ll__input-group {
  flex: 1;
}

.ll__input-group:first-child {
  margin-right: 8px;
}

.ll__input-group:last-child {
  margin-left: 8px;
}

.ll__input-group label {
  display: block;
  font-size: var(--font-size-small);
  margin-bottom: 8px;
}

.ll__input-group input,
.ll__input-group select {
  width: 100%;
  padding: var(--padding-standard);
  border: var(--border-standard);
  border-radius: var(--border-radius-standard);
  font-size: var(--font-size-normal);
  background-color: var(--color-background-light);
}

.ll__input-group input:focus,
.ll__input-group select:focus {
  outline: none;
  border-color: var(--color-background-dark);
}

.ll__variant-selector-container {
  display: block;
  margin: var(--margin-standard);
}

/* Set redeem amount page */

.ll__slider-container {
  padding: var(--padding-standard);
  padding-top: 0;
}

.ll__slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}

input[type='range'] {
  accent-color: var(--color-background-dark);
  width: 100%;
}

.ll__error {
  color: red;
  margin: var(--margin-standard);
  margin-top: 0;
  font-size: var(--font-size-small);
}

.ll__input-container {
  display: flex;
  margin: var(--margin-standard);
  border: var(--border-standard);
  border-radius: var(--border-radius-standard);
  background-color: var(--color-background-light);
  overflow: hidden;
}

.ll__input-icon-container {
  display: flex;
  padding: 10px;
}

.ll__input {
  flex-grow: 1;
  border: none;
  padding: 10px;
  font-size: var(--font-size-normal);
  background-color: var(--color-background-light);
}

.ll__copy-button {
  display: flex;
  align-items: center;
  background-color: var(--color-background-light);
  border: none;
  padding: 10px;
  cursor: pointer;
}

.ll__copied-message {
  margin-right: 10px;
}

.ll__expiration-date {
  font-size: var(--font-size-xsmall);
  margin-left: var(--margin-standard);
  color: var(--color-text);
  margin-bottom: var(--margin-standard);
}

.ll__current-tier {
  display: flex;
  background-color: var(--color-background-light);
  border-radius: var(--border-radius-standard);
  padding: var(--padding-standard);
  cursor: pointer;
}

.ll__current-tier .ll__illustrated-block {
  flex: 1 1 100%;
  margin: 5px;
  padding: 0;
}

.ll__current-tier-title {
  font-size: var(--font-size-normal);
  font-weight: bold;
  margin: 0;
}

.ll__vip-status {
  overflow-y: auto;
  max-height: 433px;
}

.ll__vip-status .ll__illustrated-block {
  margin: 5px;
  padding: 0;
}

.ll__vip-status-content {
  width: 100%;
}

.ll__progress-bar {
  width: 100%;
  background-color: #ddd;
  border-radius: var(--border-radius-standard);
  height: 8px;
  margin: 5px 0;
}

.ll__progress-fill {
  /* Needed because the style of some themes hides empty divs */
  display: block !important; /* Important is needed here otherwise the dawn theme CSS overrides and hides it*/
  background-color: var(--color-background-dark);
  height: 8px;
  border-radius: var(--border-radius-standard);
}

.ll__progress-text-container {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-small);
}

.ll__progress-text-container > div:last-child {
  font-weight: bold;
}

.ll__tier-item {
  background-color: var(--color-background-light);
  border-radius: var(--border-radius-standard);
  padding: var(--padding-standard);
  margin-bottom: var(--margin-standard);
}

.ll__tier-item:not(.ll__current-item) {
  max-height: 80px;
  overflow: hidden;
  cursor: pointer;
  transition: max-height 0.3s ease;
}

.ll__tier-item.expanded {
  max-height: 500px;
}

.ll__tier-item ul {
  padding: 0;
  font-size: var(--font-size-normal);
  list-style: none;
}

.ll__tier-item li {
  display: flex;
  align-items: center;
}

.ll__tier-item li svg {
  margin-right: 8px;
}

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

/* This should target the tier name, probably it should have a class */
.ll__tier-header .ll__illustrated-block > div > p:first-child {
  font-weight: bold;
}

/* This should target the points needed for the tier, probably it should have a class */
.ll__tier-header .ll__illustrated-block > div > p:last-child {
  font-size: var(--font-size-xsmall);
}
