body {
  font-family: sans-serif;
  background: #fceef3;
  text-align: center;
  margin: 0;
  padding: 0;
}

.mirror-container {
  position: relative;
  width: 350px;
  margin: 40px auto;
}

.mirror-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: white;
  border: 10px solid gold;
  border-radius: 12px; /* ← back to rectangular */
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

#mirror-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0; /* ← rectangular image */
}

.upload-overlay-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.upload-overlay {
  background: rgba(255, 255, 255, 0.85);
  color: #333;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  pointer-events: auto;
  z-index: 10;
}

#reset-button {
  margin-bottom: 10px;
  background: #fff;
  border: 2px solid gold;
  color: #333;
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

#reset-button:hover {
  background: gold;
  color: white;
}
