/* Mobile App Deep Link - front-end styles */

/* ---- footer badges ---- */
.ecmapp-footer {
  margin: 15px 0;
  text-align: center;
}

.ecmapp-footer__title {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 767px) {
  .ecmapp-footer__title {
    font-size: 11px;
    margin-bottom: 5px;
  }
}
.ecmapp-footer__badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.ecmapp-badge {
  display: inline-block;
  line-height: 0;
}
.ecmapp-badge img {
  height: 40px;
  width: auto;
}
.ecmapp-modal[hidden] {
  display: none;
}
.ecmapp-modal {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.ecmapp-modal__overlay {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}
.ecmapp-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 12px 12px 0 0;
  padding: 22px 20px 18px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation: ecmapp-slide-up 0.25s ease-out;
}
@keyframes ecmapp-slide-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.ecmapp-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: #888;
  cursor: pointer;
}
.ecmapp-modal__title {
  margin: 0 0 8px;
  font-size: 18px;
}
.ecmapp-modal__text {
  margin: 0 0 16px;
  color: #555;
  font-size: 14px;
}
.ecmapp-modal__actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
/* Layout for modal buttons. */
.ecmapp-modal__btn.ecmapp-modal__btn {
  flex: 1;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: normal;
  text-align: center;
}

.ecmapp-modal__btn--primary.ecmapp-modal__btn--primary {
  color: #f8f7f3;
  background: #215449;
  border: 1px solid #215449;
  min-height: 45px;
  transition: all 0.2s ease 0s;
}
.ecmapp-modal__btn--primary.ecmapp-modal__btn--primary:hover,
.ecmapp-modal__btn--primary.ecmapp-modal__btn--primary:focus {
  color: #f8f7f3;
  background: #3d7768;
  border-color: #215449;
}
.ecmapp-modal__remember {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
}
.ecmapp-modal__checkbox.ecmapp-modal__checkbox {
  position: static;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  appearance: auto;
  -webkit-transform: none;
  transform: none;
  left: auto;
  top: auto;
}
.ecmapp-modal__remember-text {
  line-height: 1.3;
}
.ecmapp-modal__later {
  border: 0;
  background: none;
  color: #888;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}
body.ecmapp-modal-open {
  overflow: hidden;
}
