.pxp-flip-reader {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 480px;
  background: #f5f7fb;
  border: 1px solid #dfe6f1;
  border-radius: 16px;
  overflow: hidden;
  font-family: Inter, 'Segoe UI', sans-serif;
  color: #162434;
}

.pxp-flip-reader__toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid #edf1f6;
}

.pxp-flip-reader__button {
  border: 1px solid #d9e2ef;
  background: #f9fbff;
  color: #1d2b3a;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 600;
}

.pxp-flip-reader__viewport {
  flex: 1;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(180deg, #eef3fb 0%, #f7f9fc 100%);
}

.pxp-flip-reader__page-surface {
  width: min(100%, 820px);
  min-height: 360px;
  background: white;
  border: 1px solid #dfe6f1;
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(16, 24, 40, 0.08);
  transition: transform 220ms ease, opacity 220ms ease;
}

.pxp-flip-reader__status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #ffffff;
  border-top: 1px solid #edf1f6;
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .pxp-flip-reader__toolbar {
    flex-wrap: wrap;
  }

  .pxp-flip-reader__viewport {
    min-height: 300px;
    padding: 12px;
  }
}
