/* FilePond Vendor CSS - Core Styles */
.filepond--assistant {
  position: absolute;
  overflow: hidden;
  height: 1px;
  width: 1px;
  padding: 0;
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  white-space: nowrap;
}

.filepond--browser.filepond--browser {
  position: absolute;
  margin: 0;
  padding: 0;
  left: 1em;
  top: 1.75em;
  width: calc(100% - 2em);
  opacity: 0;
  font-size: 0;
}

.filepond--data {
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  border: none;
  visibility: hidden;
  pointer-events: none;
  contain: strict;
}

.filepond--drip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  opacity: 0.1;
  pointer-events: none;
  border-radius: 0.5em;
  background: rgba(0, 0, 0, 0.01);
}

.filepond--drip-blob {
  -webkit-transform-origin: center center;
  transform-origin: center center;
  width: 8em;
  height: 8em;
  margin-left: -4em;
  margin-top: -4em;
  background: #292625;
  border-radius: 50%;
}

.filepond--drop-label {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0;
  color: #4f4f4f;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.filepond--drop-label.filepond--drop-label label {
  display: block;
  margin: 0;
  padding: 0.5em;
}

.filepond--drop-label label {
  cursor: default;
  font-size: 0.875em;
  font-weight: normal;
  text-align: center;
  line-height: 1.5;
}

.filepond--label-action {
  text-decoration: underline;
  -webkit-text-decoration-skip: ink;
  text-decoration-skip-ink: auto;
  color: inherit;
  cursor: pointer;
}

.filepond--root[data-disabled] .filepond--drop-label label {
  opacity: 0.5;
}

.filepond--file-action-button.filepond--file-action-button {
  font-size: 1em;
  width: 1.625em;
  height: 1.625em;
  font-family: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  will-change: transform, opacity;
}

.filepond--file-action-button.filepond--file-action-button span {
  position: absolute;
  overflow: hidden;
  height: 1px;
  width: 1px;
  padding: 0;
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  white-space: nowrap;
}

.filepond--file-action-button.filepond--file-action-button svg {
  width: 100%;
  height: 100%;
}

.filepond--file-action-button.filepond--file-action-button::after {
  position: absolute;
  left: -0.75em;
  right: -0.75em;
  top: -0.75em;
  bottom: -0.75em;
  content: '';
}

.filepond--file-action-button {
  cursor: auto;
  color: #fff;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  background-image: none;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  transition: box-shadow 0.25s ease-in;
}

.filepond--file-action-button:hover,
.filepond--file-action-button:focus {
  box-shadow: 0 0 0 0.125em rgba(255, 255, 255, 0.9);
}

.filepond--file-action-button[disabled] {
  color: rgba(255, 255, 255, 0.5);
  background-color: rgba(0, 0, 0, 0.25);
}

.filepond--file-action-button[hidden] {
  display: none;
}

.filepond--file-info {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  margin: 0 0.5em 0 0;
  min-width: 0;
  will-change: transform, opacity;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.filepond--file-info * {
  margin: 0;
}

.filepond--file-info .filepond--file-info-main {
  font-size: 0.75em;
  line-height: 1.2;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.filepond--file-info .filepond--file-info-sub {
  font-size: 0.625em;
  opacity: 0.5;
  transition: opacity 0.25s ease-in-out;
  white-space: nowrap;
}

.filepond--file-info .filepond--file-info-sub:empty {
  display: none;
}

.filepond--file-status {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-grow: 0;
  flex-shrink: 0;
  margin: 0;
  min-width: 2.25em;
  text-align: right;
  will-change: transform, opacity;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.filepond--file-status * {
  margin: 0;
  white-space: nowrap;
}

.filepond--file-status .filepond--file-status-main {
  font-size: 0.75em;
  line-height: 1.2;
}

.filepond--file-status .filepond--file-status-sub {
  font-size: 0.625em;
  opacity: 0.5;
  transition: opacity 0.25s ease-in-out;
}

.filepond--file-wrapper.filepond--file-wrapper {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  height: 100%;
}

.filepond--file-wrapper.filepond--file-wrapper > legend {
  position: absolute;
  overflow: hidden;
  height: 1px;
  width: 1px;
  padding: 0;
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  white-space: nowrap;
}

.filepond--file {
  position: static;
  display: flex;
  height: 100%;
  align-items: flex-start;
  padding: 0.5625em;
  color: #fff;
  border-radius: 0.5em;
}

/* Avatar upload - transparent file background */
.avatar-upload-container .filepond--file {
  background-color: transparent !important;
}

.filepond--file .filepond--file-status {
  margin-left: auto;
  margin-right: 2.25em;
}

.filepond--file .filepond--processing-complete-indicator {
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 3;
}

.filepond--file .filepond--processing-complete-indicator,
.filepond--file .filepond--progress-indicator,
.filepond--file .filepond--file-action-button {
  position: absolute;
}

.filepond--file [data-align*='left'] {
  left: 0.5625em;
}

.filepond--file [data-align*='right'] {
  right: 0.5625em;
}

.filepond--file [data-align*='center'] {
  left: calc(50% - 0.8125em);
}

.filepond--file [data-align*='bottom'] {
  bottom: 1.125em;
}

.filepond--file [data-align='center'] {
  top: calc(50% - 0.8125em);
}

.filepond--file .filepond--progress-indicator {
  margin-top: 0.1875em;
}

.filepond--file .filepond--progress-indicator[data-align*='right'] {
  margin-right: 0.1875em;
}

.filepond--file .filepond--progress-indicator[data-align*='left'] {
  margin-left: 0.1875em;
}

.filepond--item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 0;
  margin: 0.25em;
  will-change: transform, opacity;
}

.filepond--item > .filepond--panel {
  z-index: -1;
}

.filepond--item > .filepond--panel .filepond--panel-bottom {
  box-shadow: 0 0.0625em 0.125em -0.0625em rgba(0, 0, 0, 0.25);
}

.filepond--item > .filepond--file-wrapper,
.filepond--item > .filepond--panel {
  transition: opacity 0.15s ease-out;
}

.filepond--item[data-drag-state] {
  cursor: grab;
}

.filepond--item[data-drag-state] > .filepond--panel {
  transition: box-shadow 0.125s ease-in-out;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.filepond--item[data-drag-state='drag'] {
  cursor: grabbing;
}

.filepond--item[data-drag-state='drag'] > .filepond--panel {
  box-shadow: 0 0.125em 0.35em rgba(0, 0, 0, 0.25);
}

.filepond--item[data-drag-state]:not([data-drag-state='idle']) {
  z-index: 2;
}

.filepond--item-panel {
  background-color: #64605e;
}

[data-filepond-item-state='processing-complete'] .filepond--item-panel {
  background-color: #369763;
}

[data-filepond-item-state*='invalid'] .filepond--item-panel,
[data-filepond-item-state*='error'] .filepond--item-panel {
  background-color: #c44e47;
}

.filepond--item-panel {
  border-radius: 0.5em;
}

/* Avatar upload - transparent item panel with outline */
.avatar-upload-container .filepond--item-panel {
  background-color: transparent !important;
}

.avatar-upload-container
  [data-filepond-item-state='processing-complete']
  .filepond--item-panel {
  background-color: transparent !important;
}

.avatar-upload-container
  [data-filepond-item-state*='invalid']
  .filepond--item-panel,
.avatar-upload-container
  [data-filepond-item-state*='error']
  .filepond--item-panel {
  background-color: transparent !important;
}

.filepond--list-scroller {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  will-change: transform;
}

.filepond--list-scroller[data-state='overflow'] .filepond--list {
  bottom: 0;
  right: 0;
}

.filepond--list-scroller[data-state='overflow'] {
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  -webkit-mask: linear-gradient(
    to bottom,
    #000 calc(100% - 0.5em),
    transparent 100%
  );
  mask: linear-gradient(to bottom, #000 calc(100% - 0.5em), transparent 100%);
}

.filepond--list-scroller::-webkit-scrollbar {
  background: transparent;
}

.filepond--list-scroller::-webkit-scrollbar:vertical {
  width: 1em;
}

.filepond--list-scroller::-webkit-scrollbar:horizontal {
  height: 0;
}

.filepond--list-scroller::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 99999px;
  border: 0.3125em solid transparent;
  background-clip: content-box;
}

.filepond--list.filepond--list {
  position: absolute;
  top: 0;
  margin: 0;
  padding: 0;
  list-style-type: none;
  will-change: transform;
}

.filepond--list {
  left: 0.75em;
  right: 0.75em;
}

.filepond--panel-root {
  border-radius: 0.5em;
  background-color: #f1f0ef;
}

.filepond--panel {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  margin: 0;
  height: 100% !important;
  pointer-events: none;
}

.filepond-panel:not([data-scalable='false']) {
  height: auto;
}

.filepond--panel[data-scalable='false'] > div {
  display: none;
}

.filepond--panel[data-scalable='true'] {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  background-color: transparent !important;
  border: none !important;
}

.filepond--panel-top,
.filepond--panel-bottom,
.filepond--panel-center {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
}

.filepond--panel-top,
.filepond--panel-bottom {
  height: 0.5em;
}

.filepond--panel-top {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-bottom: none !important;
}

.filepond--panel-top::after {
  content: '';
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  bottom: -1px;
  background-color: inherit;
}

.filepond--panel-center,
.filepond--panel-bottom {
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-origin: left top;
  transform-origin: left top;
  -webkit-transform: translate3d(0, 0.5em, 0);
  transform: translate3d(0, 0.5em, 0);
}

.filepond--panel-bottom {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-top: none !important;
}

.filepond--panel-bottom::before {
  content: '';
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  top: -1px;
  background-color: inherit;
}

.filepond--panel-center {
  height: 100px !important;
  border-top: none !important;
  border-bottom: none !important;
  border-radius: 0 !important;
}

.filepond--panel-center:not([style]) {
  visibility: hidden;
}

.filepond--progress-indicator {
  position: static;
  width: 1.25em;
  height: 1.25em;
  color: #fff;
  margin: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.filepond--progress-indicator svg {
  width: 100%;
  height: 100%;
  vertical-align: top;
  transform-box: fill-box;
}

.filepond--progress-indicator path {
  fill: none;
  stroke: currentColor;
}

.filepond--list-scroller {
  z-index: 6;
}

.filepond--drop-label {
  z-index: 5;
}

.filepond--drip {
  z-index: 3;
}

.filepond--root > .filepond--panel {
  z-index: 2;
}

.filepond--browser {
  z-index: 1;
}

.filepond--root {
  box-sizing: border-box;
  position: relative;
  margin-bottom: 1em;
  font-size: 1rem;
  line-height: normal;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  font-weight: 450;
  text-align: left;
  text-rendering: optimizeLegibility;
  direction: ltr;
  contain: layout style size;
}

.filepond--root * {
  box-sizing: inherit;
  line-height: inherit;
}

.filepond--root *:not(text) {
  font-size: inherit;
}

.filepond--root[data-disabled] {
  pointer-events: none;
}

.filepond--root[data-disabled] .filepond--list-scroller {
  pointer-events: all;
}

.filepond--root[data-disabled] .filepond--list {
  pointer-events: none;
}

.filepond--root .filepond--drop-label {
  min-height: 4.75em;
}

.filepond--root .filepond--list-scroller {
  margin-top: 1em;
  margin-bottom: 1em;
}

/* FilePond Image Preview Plugin */
.filepond--image-preview-markup {
  position: absolute;
  left: 0;
  top: 0;
}

.filepond--image-preview-wrapper {
  z-index: 2;
}

.filepond--image-preview-overlay {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  min-height: 5rem;
  max-height: 7rem;
  margin: 0;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.filepond--image-preview-overlay svg {
  width: 100%;
  height: auto;
  color: inherit;
  max-height: inherit;
}

.filepond--image-preview-overlay-idle {
  mix-blend-mode: multiply;
  color: rgba(40, 40, 40, 0.85);
}

.filepond--image-preview-overlay-success {
  mix-blend-mode: normal;
  color: rgba(54, 151, 99, 1);
}

.filepond--image-preview-overlay-failure {
  mix-blend-mode: normal;
  color: rgba(196, 78, 71, 1);
}

.filepond--image-preview-wrapper {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 100%;
  margin: 0;
  border-radius: 0.45em;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.01);
}

.filepond--image-preview {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  pointer-events: none;
  background: #222;
}

.filepond--image-clip {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.filepond--image-clip[data-transparency-indicator='grid'] img,
.filepond--image-clip[data-transparency-indicator='grid'] canvas {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' fill='%23eee'%3E%3Crect x='0' y='0' width='50' height='50'/%3E%3Crect x='50' y='50' width='50' height='50'/%3E%3C/svg%3E");
  background-size: 1.25em 1.25em;
}

.filepond--image-bitmap,
.filepond--image-vector {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
}

/* ===== Avatar-specific customizations ===== */

/* Circle layout for avatar */
.filepond--root[data-style-panel-layout~='circle'] {
  width: 8em;
  height: 8em;
}

.filepond--root[data-style-panel-layout~='circle'] .filepond--drop-label {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.filepond--root[data-style-panel-layout~='circle'] > .filepond--panel {
  border-radius: 50%;
}

.filepond--root[data-style-panel-layout~='circle'] > .filepond--panel > * {
  display: none;
}

.filepond--root[data-style-panel-layout~='circle'] .filepond--file-info {
  display: none;
}

.filepond--root[data-style-panel-layout~='circle'] .filepond--file-status {
  display: none;
}

.filepond--root[data-style-panel-layout~='circle']
  .filepond--image-preview-wrapper {
  border-radius: 50%;
}

.filepond--root[data-style-panel-layout~='circle'] .filepond--item {
  left: 0;
  right: 0;
  margin: 0;
}

.filepond--root[data-style-panel-layout~='circle']
  .filepond--item
  > .filepond--panel,
.filepond--root[data-style-panel-layout~='circle'] .filepond--file-wrapper {
  border-radius: 50%;
}

.filepond--root[data-style-panel-layout~='circle'] .filepond--item-panel {
  border-radius: 50%;
}

.filepond--root[data-style-panel-layout~='circle'] .filepond--image-preview {
  border-radius: 50%;
}

.filepond--root[data-style-panel-layout~='circle'] .filepond--list-scroller {
  overflow: visible;
  margin: 0;
}

.filepond--root[data-style-panel-layout~='circle'] .filepond--list {
  left: 0;
  right: 0;
}

/* ===== Avatar Upload Container ===== */
.avatar-upload-container {
  position: relative;
  width: 112px;
  height: 112px;
}

/* Placeholder - shows current avatar */
.avatar-upload-container .avatar-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: opacity 0.2s ease;
}

/* Background color for placeholder avatar */
.avatar-upload-container .avatar-placeholder .avatar > div {
  background-color: oklch(var(--b2, 0.9 0 0));
}

/* Hide placeholder when FilePond has a file */
.avatar-upload-container .avatar-placeholder.hidden {
  opacity: 0;
  pointer-events: none;
}

/* FilePond container */
.avatar-upload-container .filepond-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* FilePond root sizing */
.avatar-upload-container .filepond--root {
  width: 112px !important;
  height: 112px !important;
  margin: 0 !important;
  min-height: 112px !important;
}

/* Hide drop label */
.avatar-upload-container .filepond--drop-label {
  display: none !important;
}

/* Transparent background for all panels */
.avatar-upload-container .filepond--panel-root {
  background-color: transparent !important;
  border: none !important;
}

.avatar-upload-container .filepond--panel {
  background-color: transparent !important;
}

.avatar-upload-container .filepond--panel-top,
.avatar-upload-container .filepond--panel-center,
.avatar-upload-container .filepond--panel-bottom {
  background-color: transparent !important;
}

/* Make list scroller fit */
.avatar-upload-container .filepond--list-scroller {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

/* List positioning */
.avatar-upload-container .filepond--list {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}

/* Item sizing and positioning */
.avatar-upload-container .filepond--item {
  position: absolute !important;
  top: 4px !important;
  left: 4px !important;
  right: 4px !important;
  bottom: 4px !important;
  width: 104px !important;
  height: 104px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background-color: oklch(0.25 0 0) !important;
  outline: 3px solid #605dff !important;
  outline-offset: 0px !important;
}

/* Circular image preview */
.avatar-upload-container .filepond--image-preview-wrapper {
  border-radius: 50% !important;
  overflow: hidden !important;
}

.avatar-upload-container .filepond--image-preview {
  border-radius: 50% !important;
}

.avatar-upload-container .filepond--image-clip {
  border-radius: 50% !important;
}

/* File wrapper */
.avatar-upload-container .filepond--file-wrapper {
  height: 100% !important;
  border-radius: 50% !important;
}

/* Hide file info and status */
.avatar-upload-container .filepond--file-info,
.avatar-upload-container .filepond--file-status {
  display: none !important;
}

/* Item panel circular */
.avatar-upload-container .filepond--item-panel {
  border-radius: 50% !important;
}

.avatar-upload-container .filepond--item > .filepond--panel {
  border-radius: 50% !important;
}

/* Processing state */
.avatar-upload-container
  li[data-filepond-item-state~='processing']
  .filepond--item {
  outline-color: #605dff !important;
  animation: avatar-outline-pulse 1.5s ease-in-out infinite;
}

/* Success state */
.avatar-upload-container
  li[data-filepond-item-state='processing-complete']
  .filepond--item,
.avatar-upload-container
  li[data-filepond-item-state*='complete']
  .filepond--item,
.avatar-upload-container li[data-filepond-item-state='idle'] .filepond--item {
  outline-color: #605dff !important;
  animation: none !important;
}

/* Error state - red ring */
.avatar-upload-container li[data-filepond-item-state*='error'] .filepond--item,
.avatar-upload-container
  li[data-filepond-item-state*='invalid']
  .filepond--item {
  outline-color: oklch(0.65 0.2 25) !important;
  animation: none !important;
}

/* Image preview wrapper - circular */
.avatar-upload-container .filepond--image-preview-wrapper {
  border-radius: 50% !important;
  overflow: hidden !important;
}

@keyframes avatar-outline-pulse {
  0%,
  100% {
    outline-width: 3px;
    outline-offset: 0px;
  }
  50% {
    outline-width: 4px;
    outline-offset: 2px;
  }
}

/* Action button positioning */
.avatar-upload-container .filepond--file-action-button {
  cursor: pointer !important;
  z-index: 20 !important;
}

.avatar-upload-container .filepond--action-remove-item,
.avatar-upload-container .filepond--action-abort-item-load,
.avatar-upload-container .filepond--action-abort-item-processing,
.avatar-upload-container .filepond--action-revert-item-processing {
  position: absolute !important;
  bottom: 8px !important;
  right: 50% !important;
  transform: translateX(50%) !important;
  top: auto !important;
  left: auto !important;
  background-color: rgba(0, 0, 0, 0.7) !important;
  width: 26px !important;
  height: 26px !important;
  z-index: 20 !important;
}

.avatar-upload-container .filepond--action-remove-item:hover,
.avatar-upload-container .filepond--action-abort-item-processing:hover {
  background-color: rgba(196, 78, 71, 0.9) !important;
}

/* Image preview should be behind controls */
.avatar-upload-container .filepond--image-preview-wrapper {
  z-index: 1 !important;
}

.avatar-upload-container .filepond--image-preview {
  z-index: 1 !important;
}

/* Hide processing indicators we don't need */
.avatar-upload-container .filepond--processing-complete-indicator {
  display: none !important;
}

/* Ensure file wrapper is above image for buttons */
.avatar-upload-container .filepond--file {
  z-index: 10 !important;
  position: relative !important;
}

/* Hide overlays */
.avatar-upload-container .filepond--image-preview-overlay {
  display: none !important;
}

.avatar-upload-container .filepond--image-preview-overlay-idle,
.avatar-upload-container .filepond--image-preview-overlay-success,
.avatar-upload-container .filepond--image-preview-overlay-failure {
  display: none !important;
}

/* Progress indicator styling for avatar */
.avatar-upload-container .filepond--progress-indicator {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  z-index: 20 !important;
}

/* Remove button z-index */
.avatar-upload-container .filepond--action-remove-item,
.avatar-upload-container .filepond--action-abort-item-load,
.avatar-upload-container .filepond--action-abort-item-processing,
.avatar-upload-container .filepond--action-revert-item-processing {
  z-index: 20 !important;
}

/* Make image preview background transparent */
.avatar-upload-container .filepond--image-preview {
  background: transparent !important;
}
