/* Profile Picture Cropper Styles */

/* Main container */
.profile-picture-container {
  display: none;
}

/* Crop area container */
.crop-container {
  margin-bottom: var(--wp--preset--spacing--sm-16-r);
  border: 2px dashed var(--wp--preset--color--border);
  border-radius: 8px;
  padding: var(--wp--preset--spacing--sm-16-r);
  background: var(--wp--preset--color--bg-2);
}

/* Instruction text */
.crop-instruction {
  font-size: var(--wp--preset--font-size--body-small);
  color: var(--wp--preset--color--muted);
  padding: var(--wp--preset--spacing--xs-12-r);
  background: var(--wp--preset--color--card-background);
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Preview container */
.preview-container {
  display: none;
  /* margin-top: 15px; */
  text-align: center;
  flex-direction: column;
  gap: var(--wp--preset--spacing--xs-12-r);
}

/* Preview image */
.preview-image {
  max-width: 150px;
  max-height: 150px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Preview label */
.preview-label {
  text-align: left;
  font-size: var(--wp--preset--font-size--body-small);
  font-weight: bold;
  /* margin-bottom: 10px; */
  color: var(--wp--preset--color--foreground);
}

/* Controls container */
.controls-container {
  display: flex;
  gap: var(--wp--preset--spacing--xs-12-r);
  flex-wrap: wrap;
  margin-top: var(--wp--preset--spacing--sm-16-r);
}

/* Buttons */
.btn-crop,
.btn-reset,
.btn-remove {
  font-family: var(--wp--preset--font-family--nunito);
  font-size: var(--wp--preset--font-size--body-small);
  border: none;
  padding: var(--wp--preset--spacing--xxs-6) var(--wp--preset--spacing--sm-24-r);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
}

/* Crop button */
.btn-crop {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--primary-foreground);
}

/* Reset button */
.btn-reset {
  background: var(--wp--preset--color--muted);
  color: var(--wp--preset--color--primary-foreground);
}

/* Remove button */
.btn-remove {
  background: var(--wp--preset--color--warning);
  color: var(--wp--preset--color--primary-foreground);
}

/* Cropper Canvas */
.cropper-canvas {
  display: block;
  max-width: 100%;
}
