body {
  background-color: #F8F9FE;
  color: #2c3e50;
  font-family: Inter, sans-serif;
  line-height: 100%;
  letter-spacing: 0%;
}

.fade-in {
  animation: fadeIn 0.3s ease-in forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.navbar-public {
  background-color: #ffffff;
  height: 56px;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .navbar-public {
    height: 64px;
    padding: 0 2rem;
  }
}

.navbar-public__brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #000000;
  line-height: 1;
}

.navbar-public__label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: normal;
}

.navbar-logo {
  height: 1.8125rem;
  max-width: 7.5rem;
  object-fit: contain;
  display: block;
}

.qr-midnight {
  color: #151F6D;
}

.qr-green {
  color: #10C136;
}

.product-info {
  margin-top: 2.125rem;
  margin-bottom: 0.9375rem;
}

.product-entry-info {
  margin-top: 2.125rem;
  margin-bottom: 1.375rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #2C357B;
  margin-bottom: 0;
  line-height: 100%;
  letter-spacing: 0%;
}

.product-subtitle {
  font-size: 0.8125rem;
  color: #9093AB;
}

.language-section {
  background-color: transparent;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.language-section__header {
  background-color: #151F6D;
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.75rem 0.5625rem 0.75rem 1.1875rem;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.language-section__viewall {
    all: unset;
    color: #10C136;
    font-size: 0.563rem;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.language-section__viewall::before {
    content: "";
    position: absolute;
    top: -0.5rem;
    bottom: -0.5rem;
    left: -0.75rem;
    right: -0.75rem;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4375rem 0.9375rem;
  margin-top: 1.3125rem;
}

.language-btn {
  background-color: #ffffff;
  border: 1px solid #ECEFFC;
  padding: 0.5rem 0.75rem;
  border-radius: 5px;
  display: flex;
  align-items: center;
  font-size: 0.625rem;
  font-weight: 400;
  width: 100%;
  text-align: left;
  color: #151F6D;
  position: relative;
  justify-content: space-between;
}

.language-marker {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.marker-icon {
  width: 1rem;
  height: 1rem;
  display: block;
  fill: #10C136;
}

.flag-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-block;
  background-size: cover;
  background-position: center;
}

.language-content {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
}

.modal-dialog-bottom {
  position: fixed;
  bottom: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
  transform: none;
  padding: 0;
}

.modal-dialog-bottom .modal-content {
  border: none;
  border-radius: 1rem 1rem 0 0;
  width: 100%;
  padding: 1.5rem 1.3125rem;
  background-color: #fff;
  box-shadow: 0px 2px 20px 0px #0000000D;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-custom {
  background-color: #ffffff;
  padding: 0;
}

.modal-drag-handle {
  width: 2rem;
  height: 0.25rem;
  background: #E8E8E8;
  border-radius: 100px;
  margin-bottom: 1.1875rem;
}

.modal-title-custom {
  font-size: 1.25rem;
  font-weight: 500;
  color: #151F6D;
  margin-bottom: 0.625rem;
}

.modal-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  color: #9093AB;
  margin-bottom: 0.625rem;
  padding: 0 2rem;
}

.modal-form-email-custom {
  background-color: #F6F6F6;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #151F6D;
  width: 100%;
}

.modal-form-email-custom::placeholder {
  color: #BDBDBD;
}

.form-modal-buttons {
  gap: 0.75rem;
}

.btn-confirm,
.btn-cancel,
.btn-back,
.btn-open {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  border-radius: 100px;
  box-sizing: border-box;
  display: inline-block;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0%;
  line-height: 100%;
}

.btn-confirm {
  padding: 1rem;
  background-color: #10C136;
  color: #ffffff;
}

.btn-cancel {
  padding: 1rem;
  background-color: #F0F0F0;
  color: #9093AB;
}

.btn-back {
  padding: 0.625rem 2.5rem;
  background-color: #A7ABD1;
    color: #ffffff;
}

.btn-open {
  padding: 0.625rem 2rem;
  background-color: #10C136;
  color: #ffffff;
}

.btn-confirm:hover,
.btn-open:hover {
  background-color: #0da82f;
  color: #ffffff;
}

.btn-cancel:hover {
  background-color: #dcdcdc;
  color: #9093AB;
}

.btn-back:hover {
  background-color: #9195BE; 
  color: #ffffff;
}

.btn-cancel:focus,
.btn-cancel:active,
.btn-cancel:focus-visible {
  background-color: #F0F0F0 !important;
  color: #9093AB !important;
}

.btn-confirm:focus,
.btn-confirm:active,
.btn-confirm:focus-visible,
.btn-open:focus,
.btn-open:active,
.btn-open:focus-visible {
  background-color: #10C136 !important;
  color: #ffffff !important;
}

.btn-back:focus,
.btn-back:active,
.btn-back:focus-visible {
  background-color: #A7ABD1 !important;
  color: #ffffff !important;
}

.form-check-label {
  font-size: 0.875rem;
  font-weight: 400;
  color: #666666;
}

.form-check-label a {
  color: #10C136;
  text-decoration: none;
  font-size: inherit;
  font-weight: inherit;
}

.modal-backdrop {
  opacity: 0 !important;
  background-color: transparent !important;
  transition: none !important;
}

.custom-consent-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #F6F6F6;
  border: 1px solid #E8E8E8;
  border-radius: 4px;
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  margin-right: 0.25rem;
  padding: 0;
  box-shadow: none;
  position: relative;
}

.custom-consent-checkbox:checked {
  background-color: #10C136;
  border-color: #10C136;
}

.custom-consent-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 1px;
  width: 13px;
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg width='13' height='10' viewBox='0 0 13 10' xmlns='http://www.w3.org/2000/svg'><path d='M12.6979 0.322815C12.2957 -0.107741 11.6426 -0.107469 11.2398 0.322815L4.67723 7.3386L1.76045 4.22053C1.35769 3.78998 0.704826 3.78998 0.302068 4.22053C-0.100689 4.65109 -0.100689 5.34901 0.302068 5.77957L3.94789 9.67702C4.14914 9.89216 4.41303 10 4.67695 10C4.94087 10 5.20501 9.89243 5.40627 9.67702L12.6979 1.88182C13.1007 1.45156 13.1007 0.753343 12.6979 0.322815Z' fill='white'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

.link-entry-text {
  font-size: 0.625rem;
  font-weight: 600;
}

.btn-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-icon {
  width: 0.75rem;
  height: auto;
  display: block;
}

.entry-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.125rem 1.25rem 0.625rem;
  position: relative;
}

.entry-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: #ECEFFC;
}

.entry-row.no-divider {
  padding-bottom: 1.125rem;
}

.entry-row.no-divider::after {
  content: none;
}

/* RWD */

@media (min-width: 768px) {
  .language-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem 1rem;
  }

  .modal-dialog-bottom {
    position: relative !important;
    bottom: auto !important;
    margin: 2rem auto;
  }

  .modal-content {
    max-width: 500px;
    margin: 0 auto;
  }

  .product-title {
    font-size: 1.5rem;
  }

  .language-btn {
    font-size: 0.75rem;
  }

  .btn {
    font-size: 1.05rem;
  }

  .btn-icon {
    width: 1rem;
  }

  .language-section__viewall {
    font-size: 0.75rem;
  }
}

@media (min-width: 900px) {
  .link-entry-text {
    font-size: 0.75rem;
  }

  .entry-row {
    padding: 0.75rem;
  }
}

@media (min-width: 1200px) {
  .language-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem 1rem;
  }

  .product-title {
    font-size: 2rem;
  }

  .modal-custom {
    padding: 1rem;
  }

  #languageSelectionCard,
  .container {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }

  .btn {
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
  }

  .link-entry-text {
    font-size: 0.75rem;
  }

  .entry-row {
    padding: 0.75rem;
  }

  .btn-icon {
    width: 1rem;
  }

  .language-section__viewall {
    font-size: 0.7rem;
  }
}
