.dynamic-data-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 16px 0 22px;
  padding: 20px 22px;
  border: 1px solid #b7dce2;
  border-left: 5px solid #238494;
  border-radius: 12px;
  background: linear-gradient(110deg, #eff9fa 0%, #f7fcfc 58%, #fff8fb 100%);
  box-shadow: 0 10px 24px rgba(13, 59, 99, 0.06);
}

.dynamic-data-panel h2 {
  margin: 4px 0 7px;
  color: #0d3b63;
  font-size: 18px;
}

.dynamic-data-panel p {
  margin: 0;
  color: #5e7788;
  font-size: 13px;
  line-height: 1.55;
}

.dynamic-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.dynamic-action,
.dynamic-upload {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid #b9d5db;
  border-radius: 8px;
  background: #fff;
  color: #0d3b63;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.dynamic-upload {
  border-color: #0d3b63;
  background: #0d3b63;
  color: #fff;
}

.dynamic-action:hover,
.dynamic-upload:hover {
  transform: translateY(-1px);
  border-color: #238494;
  box-shadow: 0 6px 14px rgba(13, 59, 99, 0.12);
}

.dynamic-action:focus-visible,
.dynamic-upload:focus-visible {
  outline: 3px solid rgba(237, 10, 87, 0.32);
  outline-offset: 2px;
}

.dynamic-upload input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.dynamic-status {
  grid-column: 1 / -1;
  min-height: 19px;
  padding-top: 12px;
  border-top: 1px solid rgba(35, 132, 148, 0.18);
  color: #456676;
  font-size: 12px;
  line-height: 1.5;
}

.dynamic-status.is-active {
  color: #0d6a75;
  font-weight: 700;
}

.dynamic-status.is-error {
  color: #a80b43;
  font-weight: 700;
}

@media (max-width: 850px) {
  .dynamic-data-panel {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 12px;
    padding: 17px;
  }

  .dynamic-actions {
    justify-content: flex-start;
  }
}
