.ll-native-file-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
}

.ll-drop-zone {
  display: grid;
  place-items: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 132px;
  margin: 0.8rem 0;
  padding: 1.25rem;
  border: 2px dashed rgba(139, 92, 246, 0.62);
  border-radius: 16px;
  background: rgba(139, 92, 246, 0.07);
  color: inherit;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.ll-drop-zone--existing {
  min-height: 96px;
}

.ll-drop-zone:hover,
.ll-drop-zone:focus-visible,
.ll-drop-zone.is-dragging {
  border-color: rgb(167, 139, 250);
  background: rgba(139, 92, 246, 0.16);
  outline: none;
  transform: translateY(-1px);
}

.ll-drop-zone.has-file {
  border-style: solid;
  background: rgba(34, 197, 94, 0.09);
  border-color: rgba(74, 222, 128, 0.65);
}

.ll-drop-zone__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.18);
  font-size: 1.5rem;
  font-weight: 800;
}

.ll-drop-zone__title {
  font-size: 1.05rem;
  font-weight: 750;
}

.ll-drop-zone__hint,
.ll-drop-zone__formats {
  opacity: 0.72;
  font-size: 0.88rem;
}

.ll-drop-zone__file {
  display: block;
  max-width: 100%;
  margin-top: 0.3rem;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
  font-weight: 650;
}

.ll-result-panel {
  display: none;
  margin: 1rem 0 1.4rem;
  padding: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(12px);
}

.ll-result-panel.is-visible {
  display: block;
}

.ll-result-panel__header,
.ll-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ll-result-panel__header > div,
.ll-result-row__content {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.ll-result-panel__header span,
.ll-result-row__content span {
  opacity: 0.75;
  overflow-wrap: anywhere;
}

.ll-result-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.ll-result-row {
  padding: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.ll-result-row--error {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(239, 68, 68, 0.08);
}

.ll-result-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  flex-shrink: 0;
}

.ll-action-button,
.ll-result-clear {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.58rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.ll-action-button:hover,
.ll-result-clear:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ll-action-button--primary {
  border-color: transparent;
  background: rgb(124, 58, 237);
  color: #fff;
}

.ll-action-button--primary:hover {
  background: rgb(109, 40, 217);
}

.ll-action-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.ll-result-clear {
  min-height: 34px;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
}

.ll-feedback-link {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100vw - 36px);
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(167, 139, 250, 0.5);
  border-radius: 999px;
  background: rgba(30, 27, 75, 0.96);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.ll-feedback-link:hover,
.ll-feedback-link:focus-visible {
  background: rgba(76, 29, 149, 0.98);
  outline: 2px solid rgba(196, 181, 253, 0.85);
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .ll-result-panel__header,
  .ll-result-row {
    align-items: stretch;
    flex-direction: column;
  }

  .ll-result-row__actions {
    width: 100%;
  }

  .ll-action-button {
    flex: 1 1 auto;
  }

  .ll-feedback-link {
    right: 12px;
    bottom: 12px;
    font-size: 0.82rem;
  }
}
