@import url("../../../assets/media-workbench.css");

.avatar-preview-board {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  background:
    radial-gradient(circle at top left, rgba(47, 128, 237, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef5fd 100%);
}

.avatar-preview {
  width: min(340px, 72vw);
  height: min(340px, 72vw);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: #f7f9fc;
  box-shadow: 0 18px 38px rgba(18, 53, 99, 0.12);
}

.avatar-tool .suite-field-grid + .suite-actions {
  margin-top: 14px;
}

.avatar-tool .suite-field-grid {
  align-items: end;
}

.avatar-tool .suite-select {
  width: 100%;
}

.avatar-tool .suite-actions {
  align-items: center;
}

.avatar-tool .suite-actions .suite-btn {
  min-width: 102px;
}

.avatar-preview svg {
  width: 100%;
  height: 100%;
  display: block;
}

.avatar-preview-state {
  padding: 18px 24px;
  border-radius: 18px;
  border: 1px dashed rgba(32, 93, 170, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: #47637f;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  box-shadow: 0 10px 24px rgba(32, 93, 170, 0.08);
}

.avatar-tool .suite-status.warn {
  color: #b97708;
}

@media (max-width: 760px) {
  .avatar-preview-board {
    min-height: 320px;
  }

  .avatar-tool .suite-field-grid {
    align-items: stretch;
  }

  .avatar-tool .suite-actions .suite-btn {
    min-width: 0;
  }
}
