/* ── AppLinker Card ─────────────────────────────────────────────────────────── */

.applinker-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 28px 0;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .07);
  max-width: 480px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  box-sizing: border-box;
}

/* App info row */
.applinker-app-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.applinker-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
  background: #e9e9eb;
}

.applinker-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.applinker-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.applinker-label {
  display: block;
  font-size: 12px;
  color: #6b7280;
}

/* Buttons row */
.applinker-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.applinker-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition: opacity .14s, transform .1s;
  border: none;
}

.applinker-btn:hover {
  opacity: .84;
  transform: translateY(-1px);
  text-decoration: none;
}

.applinker-btn:active {
  transform: translateY(0);
  opacity: .92;
}

.applinker-btn svg {
  flex-shrink: 0;
}

/* iOS (App Store) */
.applinker-btn--ios {
  background: #000;
  color: #fff !important;
}

/* Android (Google Play) */
.applinker-btn--android {
  background: #01875f;
  color: #fff !important;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 500px) {
  .applinker-card {
    padding: 14px 16px;
    border-radius: 12px;
    margin: 20px 0;
  }

  .applinker-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
  }

  .applinker-name {
    font-size: 15px;
  }

  .applinker-btn {
    flex: 1;
    justify-content: center;
  }
}
