.isd-photo-change {
  display: none;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(238, 62, 150, 0.45);
  background: transparent;
  color: #f9a8d4;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.isd-photo-change:hover {
  background: rgba(238, 62, 150, 0.12);
}

.isd-photo-block.isd-photo--ready .isd-photo-change {
  display: inline-block;
}

.isd-photo-block.isd-photo--ready .isd-photo-overlay {
  display: none !important;
}

.isd-photo-block.isd-photo--uploading .isd-photo-drop {
  pointer-events: none;
  opacity: 0.65;
}

.isd-crop-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.isd-crop-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.isd-crop-dialog {
  position: relative;
  width: min(100%, 380px);
  background: #111116;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.isd-crop-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.isd-crop-sub {
  margin: 0 0 14px;
  font-size: 12px;
  color: #94a3b8;
}

.isd-crop-viewport-wrap {
  position: relative;
  width: 320px;
  max-width: 100%;
  margin: 0 auto 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.isd-crop-canvas {
  display: block;
  width: 320px;
  height: 320px;
  max-width: 100%;
  cursor: grab;
  touch-action: none;
}

.isd-crop-canvas.isd-crop-canvas--drag {
  cursor: grabbing;
}

.isd-crop-zoom-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 6px;
}

.isd-crop-zoom {
  width: 100%;
  margin-bottom: 14px;
  accent-color: #ee3e96;
}

.isd-crop-actions {
  display: flex;
  gap: 10px;
}

.isd-crop-btn {
  flex: 1;
  height: 42px;
  border-radius: 12px;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.isd-crop-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.isd-crop-btn--primary {
  background: linear-gradient(135deg, #ee3e96, #f26e59);
  color: #fff;
}

.isd-photo-status--uploading {
  color: #fcd34d !important;
}

.isd-photo-status--err {
  color: #f87171 !important;
}
