.pgw-admin-media {
  position: fixed;
  inset: auto 18px 18px auto;
  z-index: 999999;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pgw-admin-media-fab {
  min-height: 40px;
  border: 1px solid rgba(56, 189, 248, 0.55);
  border-radius: 8px;
  background: #38bdf8;
  color: #031018;
  padding: 0 15px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.pgw-admin-drawer {
  position: fixed;
  right: 18px;
  bottom: 68px;
  width: min(430px, calc(100vw - 36px));
  max-height: min(620px, calc(100vh - 96px));
  overflow: auto;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background: rgba(8, 8, 8, 0.98);
  color: #f8fafc;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  padding: 16px;
}

.pgw-admin-media.is-collapsed .pgw-admin-drawer {
  display: none;
}

.pgw-admin-media-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pgw-admin-media-head strong,
.pgw-admin-media-head span {
  display: block;
}

.pgw-admin-media-head span {
  margin-top: 2px;
  color: #a8b3c7;
  font-size: 12px;
}

.pgw-admin-media button {
  min-height: 34px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  padding: 0 10px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}

.pgw-admin-media label {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: #a8b3c7;
  font-size: 12px;
  font-weight: 800;
}

.pgw-admin-media input {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: #111;
  color: #f8fafc;
  padding: 8px 10px;
}

.pgw-admin-media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pgw-admin-media-result {
  margin-top: 10px;
  color: #a8b3c7;
  font-size: 12px;
  line-height: 1.5;
  word-break: break-word;
}
