.ut {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Drop zone --------------------------------------------------------------- */

.ut__dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 2rem 1rem;
  background: var(--brand-pink-wash);
  border: 2px dashed var(--brand-pink);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
  outline: none;
}

.ut__dropzone:hover,
.ut__dropzone:focus-visible {
  background: var(--brand-pink-soft);
  border-color: var(--brand-pink-strong);
}

.ut__dropzone.is-dragging {
  background: var(--brand-pink-soft);
  border-color: var(--brand-pink-strong);
  transform: scale(1.01);
}

.ut__dropzone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-pink);
  margin-bottom: 0.25rem;
  box-shadow: 0 2px 6px rgba(236, 72, 153, 0.18);
}

.ut__dropzone-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.ut__dropzone-hint {
  font-size: 13px;
  color: var(--text-secondary);
}

.ut__browse {
  color: var(--brand-pink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ut__hidden-input {
  display: none;
}

/* Status ------------------------------------------------------------------ */

.ut__status {
  padding: 0.6rem 0.8rem;
  background: var(--brand-pink-soft);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--brand-pink-strong);
  text-align: center;
  font-weight: 600;
}

/* Recent Uploads ---------------------------------------------------------- */

.ut__recent {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ut__recent-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.ut__recent-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.ut__see-all {
  background: transparent;
  border: none;
  color: var(--brand-pink);
  font-size: 12px;
  font-weight: 600;
  padding: 0;
}

.ut__see-all:hover {
  color: var(--brand-pink-strong);
  text-decoration: underline;
}

.ut__recent-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

/* Card wrapper so the thumb and the delete bar read as a single unit.
 * Hover lifts and tints the whole card; the delete button still gets its
 * own red-tint hover on top of that so the destructive affordance is
 * obvious. */
.ut__recent-item {
  display: flex;
  flex-direction: column;
  transition: transform 0.12s ease;
}

.ut__recent-item:hover {
  transform: scale(1.04);
}

.ut__recent-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: var(--brand-pink-tint);
  cursor: pointer;
  transition: border-color 0.12s ease;
}

.ut__recent-item:hover .ut__recent-thumb,
.ut__recent-item:focus-within .ut__recent-thumb {
  border-color: var(--brand-pink);
}

.ut__recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ut__recent-delete {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.3rem 0.25rem;
  background: var(--brand-pink-soft);
  border: 2px solid transparent;
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.ut__recent-item:hover .ut__recent-delete,
.ut__recent-item:focus-within .ut__recent-delete {
  border-color: var(--brand-pink);
}

.ut__recent-delete:hover,
.ut__recent-delete:focus-visible {
  background: #fee2e2;
  color: #b91c1c;
}

@media (max-width: 480px) {
  .ut__recent-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .ut__dropzone {
    padding: 1.5rem 0.85rem;
  }
}
