.dynamic-upload.has-files {
  flex-direction: row;
  justify-content: center;
  min-height: 58px;
  padding: 11px 14px;
  border-style: solid;
  border-color: #ff55b75c;
  background: linear-gradient(135deg, #ff2ca70d, #171218);
}

.dynamic-upload.has-files .upload-icons {
  width: 34px;
  height: 34px;
  flex: none;
  color: #ff7bc8;
  border-color: #ff55b74d;
  background: #ff2ca712;
}

.dynamic-upload.has-files strong { font-size: 13px; }
.dynamic-upload.has-files small { display: none; }

.selected-files {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.selected-file {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #3b3038;
  border-radius: 14px;
  background: linear-gradient(120deg, #25131f, #17171a 62%);
  box-shadow: 0 12px 30px #0002;
}

.selected-file-preview {
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  background: #0b0b0d;
  color: #ff77c6;
}

.selected-file-preview img,
.selected-file-preview video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #09090a;
}

.selected-file-preview video { border: 0; }

.selected-files .selected-file-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #4b3443;
  border-radius: 50%;
  background: #ff2ca712;
}

.selected-file-icon svg { width: 22px; height: 22px; }

.selected-file-details {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
  text-align: left;
}

.selected-file-details strong {
  overflow: hidden;
  color: #f6f1f4;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-file-details small { color: #929098; font-size: 11px; }

.selected-file-details audio {
  width: 100%;
  height: 32px;
  margin-top: 4px;
  accent-color: #ff2ca7;
}

.selected-files .selected-file-status {
  width: max-content;
  border: 1px solid #ff65bd52;
  border-radius: 999px;
  padding: 3px 7px;
  background: #ff2ca714;
  color: #ff91d1;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.selected-file-remove {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #4b3944 !important;
  border-radius: 50%;
  background: #21171d !important;
  color: #ff91d1 !important;
  font-size: 20px !important;
  line-height: 1;
  transition: .2s;
}

.selected-file-remove:hover {
  border-color: #ff63bd !important;
  background: #ff2ca71c !important;
  color: #fff !important;
}

@media (max-width: 520px) {
  .selected-file {
    grid-template-columns: 78px minmax(0, 1fr) 32px;
    gap: 9px;
    padding: 8px;
  }

  .selected-file-preview { width: 78px; }
  .selected-file-details audio { max-width: 180px; }
  .dynamic-upload.has-files { justify-content: flex-start; }
}
