/* PAX Mail Center — Footer Subscribe (isolated, theme-proof) */
.paxmc-footer-subscribe {
  all: initial;
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.paxmc-footer-subscribe *,
.paxmc-footer-subscribe *::before,
.paxmc-footer-subscribe *::after {
  box-sizing: border-box;
}

.paxmc-footer-subscribe form {
  all: unset;
  display: block;
}

.paxmc-footer-subscribe .input-wrapper {
  width: fit-content;
  max-width: 100%;
  height: 45px;
  border-radius: 20px;
  padding: 5px;
  box-sizing: content-box !important;
  display: flex;
  align-items: center;
  background-color: #292524 !important;
  margin: 0;
  border: none !important;
  box-shadow: none !important;
}

.paxmc-footer-subscribe .icon {
  width: 30px;
  min-width: 30px;
  height: auto;
  fill: rgb(255, 255, 255) !important;
  margin-left: 8px;
  transition: all 0.3s;
  flex-shrink: 0;
}

.paxmc-footer-subscribe .input {
  max-width: 170px;
  min-width: 0;
  width: 170px;
  height: 100% !important;
  border: none !important;
  outline: none !important;
  padding: 0 0 0 15px !important;
  margin: 0 !important;
  background-color: #292524 !important;
  background-image: none !important;
  color: #ffffff !important;
  font-size: 1em !important;
  font-family: inherit !important;
  line-height: normal !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  appearance: none;
  -webkit-appearance: none;
}

.paxmc-footer-subscribe .input::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
  opacity: 1 !important;
}

.paxmc-footer-subscribe .input:-webkit-autofill,
.paxmc-footer-subscribe .input:-webkit-autofill:hover,
.paxmc-footer-subscribe .input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #292524 inset !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
}

.paxmc-footer-subscribe .Subscribe-btn {
  height: 100% !important;
  width: 95px;
  min-width: 95px;
  border: none !important;
  border-radius: 15px !important;
  color: rgb(0, 0, 0) !important;
  cursor: pointer;
  background-color: #ffffff !important;
  background-image: none !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  font-family: inherit !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1 !important;
}

.paxmc-footer-subscribe .arrow {
  position: absolute;
  margin-right: 150px;
  transition: all 0.3s;
  fill: currentColor;
}

.paxmc-footer-subscribe .input-wrapper:active .icon {
  transform: scale(1.3);
}

.paxmc-footer-subscribe .Subscribe-btn:hover {
  color: #ffffff !important;
  background-color: #ffffff !important;
}

.paxmc-footer-subscribe .Subscribe-btn:hover .arrow {
  margin-right: 0;
  animation: paxmc-jello-vertical 0.9s both;
  transform-origin: right;
}

.paxmc-footer-subscribe .Subscribe-btn:active {
  transform: scale(0.9);
}

.paxmc-footer-subscribe .Subscribe-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.paxmc-footer-subscribe .paxmc-fs-msg {
  display: none;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
  max-width: 320px;
}

.paxmc-footer-subscribe .paxmc-fs-msg.is-visible {
  display: block;
}

.paxmc-footer-subscribe .paxmc-fs-msg.is-success {
  color: #c2ff00 !important;
}

.paxmc-footer-subscribe .paxmc-fs-msg.is-error {
  color: #ff8888 !important;
}

@keyframes paxmc-jello-vertical {
  0% { transform: scale3d(1, 1, 1); }
  30% { transform: scale3d(0.75, 1.25, 1); }
  40% { transform: scale3d(1.25, 0.75, 1); }
  50% { transform: scale3d(0.85, 1.15, 1); }
  65% { transform: scale3d(1.05, 0.95, 1); }
  75% { transform: scale3d(0.95, 1.05, 1); }
  100% { transform: scale3d(1, 1, 1); }
}

@media (max-width: 480px) {
  .paxmc-footer-subscribe .input-wrapper {
    width: 100%;
    max-width: 100%;
  }
  .paxmc-footer-subscribe .input {
    max-width: none;
    flex: 1;
    width: auto;
  }
}
