/* Avatar cropper modal */
.selfdoc-cropper-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.selfdoc-cropper-backing {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.selfdoc-cropper-panel {
  position: relative;
  z-index: 1;
  background: #fff;
  color: #111;
  border-radius: 12px;
  width: 90%;
  max-width: 460px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.selfdoc-cropper-title {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.selfdoc-cropper-body {
  max-height: 60vh;
  overflow: hidden;
}

.selfdoc-cropper-body img {
  max-width: 100%;
  display: block;
}

.selfdoc-cropper-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.selfdoc-cropper-actions button {
  flex: 1;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 600;
}

.selfdoc-cropper-cancel {
  background: #eee;
  color: #444;
}

.selfdoc-cropper-cancel:hover {
  background: #e0e0e0;
}

.selfdoc-cropper-confirm {
  background: #14b8a6;
  color: #fff;
}

.selfdoc-cropper-confirm:hover {
  background: #0d9488;
}
