/* Redemption code styles */
:root {
  --main-color: #428bca;
}

.redemption-code-breadcrumbs {
  padding: 0;
  list-style: none;
  background-color: transparent;
}

.redemption-code-breadcrumbs > li + li:before {
  margin-left: 4px;
  content: ">\00a0";
  color: #1A1A1A;
  font-weight: bold;
}

.redemption-code-breadcrumbs > .active {
  color: #1A1A1A;
}

.perks_info_banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 24px 0;
}

.perks_info_banner > img {
  width: 2.5rem;
  margin-right: 12px;
}

.btn-full {
  width: 100%;
}

.enter-redemption-code-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.enter-redemption-code-container > img {
  max-width: 350px;
  height: 100%;
  margin: 0 24px;
  border-radius: 16px;
}

.enter-redemption-code-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 225px;
}

.enter-redemption-code-info > * {
  margin: 0;
}

@media (max-width: 767px) {
  .enter-redemption-code-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .enter-redemption-code-container > img {
    width: 100%;
    margin: 24px 0;
    object-fit: cover;
  }
}

.redemption-code-perks-container {
  width: 100%;
}

.perk-container {
  display: flex;
  flex-direction: column;
  border: 1px solid #D8D8D8;
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
}

.perk-container h4, .perk-container form {
  margin: 0;
}

.perk-container > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.perk-container > div:not(:last-child) {
  border-bottom: 1px solid #D8D8D8;
}

.perk-container > div:not(:first-child) {
  margin: 12px 12px 0 12px;
}

.perk-title-bar {
  justify-content: start;
}

.perk-title-bar > h4 {
  margin-right: auto;
}

.perk-status {
  border-radius: 14px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: bold;
  margin-left: 12px;
}

.perk-unavailable {
  background-color: rgba(222, 27, 60, 0.3);
  color: #851024;
}

.perk-available {
  background-color: rgba(0, 133, 119, 0.3);
  color: #004F47;
}

.perk-attribute-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: end;
}

.perk-attribute-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: end;
  text-align: end;
  font-size: smaller;
}

.redeem-attribute {
  padding: 8px 12px;
  border: 2px solid var(--main-color);
  border-radius: 8px;
  color: var(--main-color);
  font-weight: bold;
  background-color: transparent;
  margin-left: 12px;
}

.redeem-attribute:hover {
  color: var(--main-color);
}

.redeem-attribute[disabled] {
  border: 2px solid #D8D8D8;
  color: #D8D8D8;
  background-color: transparent;
}

.redemption-code-no-perk {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  align-items: center;
  justify-items: center;
}
.perk-item-error-message {
    color: dimgray;
}

.perk-item-error-message:first-letter {
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .perk-attribute-right {
    flex-direction: column-reverse;
    align-items: end;
  }
}

@media (max-width: 500px) {
  .hide-when-mobile {
    display: none;
  }
}
