/* Perfect-Aupair app notice: copied 1:1 from the former template CSS (.pa-app-prompt*). Only this component is styled; the notice exists only after the script adds it on Android below 768px. */
.pa-app-prompt {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  left: max(14px, env(safe-area-inset-left));
  z-index: 1090;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 42px;
  gap: 10px 12px;
  align-items: center;
  max-width: 460px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid #d4e5fb;
  border-radius: 20px;
  background: rgba(247, 251, 255, .98);
  box-shadow: 0 18px 48px rgba(20, 59, 112, .22);
  color: #172033;
}

.pa-app-prompt[hidden] {
  display: none;
}

.pa-app-prompt-logo {
  grid-row: 1 / span 2;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
}

.pa-app-prompt-copy {
  min-width: 0;
}

.pa-app-prompt-title,
.pa-app-prompt-text {
  margin: 0;
}

.pa-app-prompt-title {
  color: #173f75;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.pa-app-prompt-text {
  margin-top: 3px;
  color: #4f5b70;
  font-size: 13px;
  line-height: 1.35;
}

.pa-app-prompt-close {
  align-self: start;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #173f75;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.pa-app-prompt-close:hover,
.pa-app-prompt-close:focus-visible {
  background: #e7f1fd;
  outline: 2px solid #3973d3;
  outline-offset: 2px;
}

.pa-app-prompt-store {
  grid-column: 2 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2459c4, #168be4);
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
}

.pa-app-prompt-store:hover,
.pa-app-prompt-store:focus-visible {
  background: #173f9c;
  box-shadow: 0 0 0 3px rgba(57, 115, 211, .2);
  outline: none;
}

@media (min-width: 768px) {
  .pa-app-prompt {
    display: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .pa-app-prompt {
    animation: pa-app-prompt-in .28s ease-out both;
  }
}

@keyframes pa-app-prompt-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
