.lalc-photo-upload {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #cbd5e1;
}

.lalc-photo-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.lalc-photo-upload-actions .button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.lalc-photo-crop-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.55);
}

.lalc-photo-crop-modal[hidden] {
  display: none;
}

.lalc-photo-crop-dialog {
  width: min(100%, 420px);
  padding: 1.25rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
}

.lalc-photo-crop-dialog h4 {
  margin: 0 0 0.35rem;
}

.lalc-photo-crop-hint {
  margin: 0 0 0.75rem;
  color: #64748b;
  font-size: 0.9rem;
}

.lalc-photo-crop-stage {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  overflow: hidden;
  background: #e2e8f0;
  width: 360px;
  height: 360px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  touch-action: none;
  cursor: grab;
}

.lalc-photo-crop-stage:active {
  cursor: grabbing;
}

.lalc-photo-crop-canvas {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 360px;
  border-radius: 50%;
}

.lalc-photo-zoom-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.lalc-photo-crop-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.lalc-social-card-page .lalc-photo-upload {
  max-width: 420px;
  margin: 1.5rem auto 0;
  padding: 1rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  text-align: left;
}
