/* Phone-shaped preview of a customer's app, used on onboarding and the dashboard. */

.pp {
  --pp-width: 300px;
  --pp-height: 620px;
  width: var(--pp-width);
  max-width: 100%;
  margin: 0 auto;
  font-family: 'Inter', -apple-system, sans-serif;
}

.pp__device {
  position: relative;
  height: var(--pp-height);
  border-radius: 44px;
  padding: 10px;
  background: #1b1d1f;
  box-shadow: 0 0 0 2px #3a3d40, 0 24px 60px rgba(0, 0, 0, 0.25);
}

.pp__screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.pp__status {
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.pp__status--dark { color: #111111; }
.pp__status--light { color: #ffffff; }

.pp__island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  border-radius: 14px;
  background: #000000;
  z-index: 2;
}

.pp__frame {
  position: relative;
  flex: 1;
  min-height: 0;
}
.pp__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #ffffff;
}

.pp__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: #4a5a52;
  background: #ffffff;
}
.pp__placeholder img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: contain;
}

.pp__tabs {
  flex: 0 0 auto;
  display: flex;
  border-top: 1px solid #e5e5e5;
  background: #ffffff;
  padding: 6px 4px 18px;
}
.pp__tab {
  flex: 1;
  border: 0;
  background: none;
  font: inherit;
  font-size: 10px;
  font-weight: 500;
  color: #8a9389;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  padding: 4px 0;
}
.pp__tab svg { width: 20px; height: 20px; }
.pp__tab--active { color: var(--pp-brand, #1a3c2e); }

.pp__home {
  flex: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp__home::after {
  content: "";
  width: 110px;
  height: 4px;
  border-radius: 2px;
  background: #111111;
  opacity: 0.85;
}

.pp__caption {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: #8a9389;
}
