/* AfiaỌru install popup (1.9.1). */

.afia-install {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 10000;
  padding: 16px 16px 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf8, #fbf8f0);
  border: 1px solid rgba(201, 162, 77, .35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 6px 10px rgba(30, 50, 62, .12), 0 24px 40px -16px rgba(30, 50, 62, .45);
  font-family: 'Lato', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #171b1d;
  animation: afia-install-up .5s ease both;
  background: linear-gradient(180deg,#fffdf8,#f9f3e3);
}

.afia-install-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.afia-install-seal {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(145deg, #547387, #1e323e);
  color: #c9a24d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  box-shadow: 0 8px 14px -6px rgba(30, 50, 62, .6), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.afia-install-body {
  flex: 1;
  min-width: 0;
}

.afia-install-title {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #1e323e;
  line-height: 1.1;
}

.afia-install-text {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #5b6b63;
}

.afia-install-hint {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  color: #6b4b00;
}

.afia-install-hint:empty {
  display: none;
}

.afia-install-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.afia-install-later,
.afia-install-go {
  flex: 1;
  height: 48px;
  border-radius: 14px;
  font-family: 'Lato', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.afia-install-later {
  background: #fff;
  color: #1e323e;
  border: 1px solid #e6dfcd;
  box-shadow: 0 2px 4px rgba(30, 50, 62, .08);
}

.afia-install-go {
  position: relative;
  overflow: hidden;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, #547387, #1e323e);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 12px 22px -8px rgba(30, 50, 62, .7);
}

.afia-install-go::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  animation: afia-install-shine 3.2s ease-in-out infinite;
}

@keyframes afia-install-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes afia-install-shine {
  0%, 60% { left: -60%; }
  100% { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  .afia-install,
  .afia-install-go::after {
    animation: none;
  }
}
