.blessing-original-upload-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.blessing-photo-source {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.blessing-photo-upload {
  --blessing-rose: #e7929f;
  --blessing-rose-deep: #cc7280;
  --blessing-ink: #3e4651;
  --blessing-muted: #777f88;
  --blessing-line: rgba(191, 128, 140, 0.24);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 42px 32px 34px;
  overflow: hidden;
  border: 1px solid var(--blessing-line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 14%, rgba(244, 194, 201, 0.26), transparent 31%),
    linear-gradient(145deg, #fff 0%, #fffafb 54%, #fff5f6 100%);
  box-shadow: 0 22px 60px rgba(96, 69, 74, 0.1);
  text-align: center;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.blessing-photo-upload.is-dragging {
  border-color: var(--blessing-rose);
  box-shadow: 0 28px 70px rgba(204, 114, 128, 0.2);
  transform: translateY(-2px);
}

.blessing-photo-upload__halo {
  position: absolute;
  z-index: -1;
  top: -90px;
  right: -70px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 146, 159, 0.18), rgba(231, 146, 159, 0));
}

.blessing-photo-upload__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(145deg, #efa6b1, var(--blessing-rose-deep));
  box-shadow: 0 14px 28px rgba(204, 114, 128, 0.28);
}

.blessing-photo-upload__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blessing-photo-upload__copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 640px;
}

.blessing-photo-upload__copy strong {
  color: var(--blessing-ink);
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.blessing-photo-upload__copy span {
  color: var(--blessing-muted);
  font-size: 14px;
  line-height: 1.65;
}

.blessing-photo-upload__button {
  min-width: 230px;
  margin-top: 22px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blessing-rose), var(--blessing-rose-deep));
  box-shadow: 0 12px 24px rgba(204, 114, 128, 0.25);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.blessing-photo-upload__button:hover,
.blessing-photo-upload__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 15px 30px rgba(204, 114, 128, 0.34);
  outline: none;
}

.blessing-photo-upload__button:disabled {
  cursor: wait;
  opacity: 0.55;
  transform: none;
}

.blessing-photo-upload__drop,
.blessing-photo-upload__limits {
  display: block;
  color: #9a8a8e;
  font-size: 12px;
  line-height: 1.6;
}

.blessing-photo-upload__drop {
  margin-top: 10px;
}

.blessing-photo-upload__limits {
  margin-top: 4px;
}

.blessing-photo-upload__notice {
  width: min(100%, 700px);
  margin-top: 20px;
  padding: 12px 16px;
  border: 1px solid rgba(190, 75, 84, 0.22);
  border-radius: 13px;
  color: #9d3f48;
  background: #fff1f2;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}

.blessing-photo-upload__progress {
  width: min(100%, 760px);
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(191, 128, 140, 0.17);
  text-align: left;
}

.blessing-photo-upload__progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--blessing-ink);
  font-size: 13px;
}

.blessing-photo-upload__progress-head strong {
  color: var(--blessing-rose-deep);
  font-variant-numeric: tabular-nums;
}

.blessing-photo-upload__bar,
.blessing-photo-upload__filebar {
  overflow: hidden;
  border-radius: 999px;
  background: rgba(219, 175, 183, 0.22);
}

.blessing-photo-upload__bar {
  height: 8px;
  margin-top: 9px;
}

.blessing-photo-upload__bar span,
.blessing-photo-upload__filebar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #efabb5, var(--blessing-rose-deep));
  transition: width 180ms ease;
}

.blessing-photo-upload__files {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.blessing-photo-upload__file {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(191, 128, 140, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.blessing-photo-upload__file-top {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.blessing-photo-upload__file-icon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e8a1ac;
  box-shadow: 0 0 0 4px rgba(232, 161, 172, 0.14);
}

.blessing-photo-upload__file-top strong {
  overflow: hidden;
  color: #525961;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blessing-photo-upload__file-top [data-status] {
  color: #8a7d80;
  font-size: 10px;
  white-space: nowrap;
}

.blessing-photo-upload__filebar {
  height: 4px;
  margin-top: 10px;
}

.blessing-photo-upload__file[data-state="done"] .blessing-photo-upload__file-icon {
  background: #4aab82;
  box-shadow: 0 0 0 4px rgba(74, 171, 130, 0.12);
}

.blessing-photo-upload__file[data-state="error"] .blessing-photo-upload__file-icon {
  background: #cb525c;
  box-shadow: 0 0 0 4px rgba(203, 82, 92, 0.12);
}

.blessing-photo-upload__file[data-state="error"] .blessing-photo-upload__filebar span {
  background: #cb525c;
}

@media (max-width: 700px) {
  .blessing-photo-upload {
    min-height: 260px;
    padding: 34px 18px 28px;
    border-radius: 20px;
  }

  .blessing-photo-upload__files {
    grid-template-columns: 1fr;
  }

  .blessing-photo-upload__file-top {
    grid-template-columns: 9px minmax(0, 1fr);
  }

  .blessing-photo-upload__file-top [data-status] {
    grid-column: 2;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blessing-photo-upload,
  .blessing-photo-upload__button,
  .blessing-photo-upload__bar span,
  .blessing-photo-upload__filebar span {
    transition: none;
  }
}
