.wpp-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.wpp-photo-thumb {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
.wpp-add-photo-btn {
  margin-top: 4px;
  font-size: 0.75rem;
  color: #1f6fd1;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  display: block;
}
.wpp-photo-form {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 220px;
}
.wpp-photo-form input[type="text"] {
  font-size: 0.78rem;
  padding: 4px 6px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  font-family: inherit;
}
.wpp-photo-form input[type="file"] {
  font-size: 0.74rem;
}
.wpp-photo-form-actions {
  display: flex;
  gap: 4px;
}
.wpp-photo-form-actions button {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  cursor: pointer;
}
.wpp-photo-form-actions button.primary {
  background: #1f6fd1;
  color: #fff;
  border-color: #1f6fd1;
}
.wpp-photo-form-actions button:disabled {
  opacity: 0.6;
  cursor: default;
}
.wpp-photo-error {
  font-size: 0.72rem;
  color: #c0392b;
}
.wpp-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}
.wpp-lightbox-overlay img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  display: block;
}
.wpp-lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 10px;
  font-size: 0.85rem;
  max-width: 480px;
}
