body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f5f5f5;
}

header {
  background: #ff6a00;
  color: white;
  padding: 16px;
  display: flex;
  justify-content: space-between;
}

.tabs {
  display: flex;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.tabs button {
  padding: 12px;
  border: none;
  background: none;
  cursor: pointer;
}

.tabs button:hover {
  background: #eee;
}

main {
  padding: 20px;
}

.tab {
  display: none;
}

.tab.active {
  display: block;
}

input, textarea {
  width: 100%;
  margin-bottom: 8px;
  padding: 6px;
}

button {
  padding: 8px 12px;
  margin-top: 8px;
  cursor: pointer;
}

#photoList li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

#app { display: none; }

.uploadBox {
  border: 2px dashed #ccc;
  padding: 14px;
  margin-bottom: 10px;
  background: #fff;
}
.uploadBox.dragover {
  border-color: #ff6a00;
}

/* Thumbnails */
.photo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.photo-thumb {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  padding: 24px;
  box-sizing: border-box;
}

.lightbox img {
  max-width: 95vw;
  max-height: 95vh;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  background: #fff;
}

.photo-item {
  cursor: grab;
}

.photo-item:active {
  cursor: grabbing;
  opacity: 0.7;
}
