.passport-photo-preview {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.passport-photo-preview img {
  border: 1px solid #d9dee3;
  border-radius: 4px;
  height: 72px;
  object-fit: cover;
  width: 72px;
}

.passport-photo-edit {
  background: #0d6efd;
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  padding: 7px 12px;
}

.passport-photo-edit:hover {
  background: #0b5ed7;
}

.passport-photo-modal {
  align-items: center;
  background: rgba(15, 23, 42, 0.68);
  bottom: 0;
  display: none;
  justify-content: center;
  left: 0;
  padding: 16px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
}

.passport-photo-modal.is-open {
  display: flex;
}

.passport-photo-dialog {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
  max-width: 430px;
  padding: 16px;
  width: 100%;
}

.passport-photo-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
}

.passport-photo-canvas-wrap {
  background: #f1f5f9;
  border: 1px solid #d9dee3;
  border-radius: 6px;
  overflow: hidden;
  touch-action: none;
  width: 100%;
}

.passport-photo-canvas {
  cursor: move;
  display: block;
  height: auto;
  width: 100%;
}

.passport-photo-controls {
  margin-top: 14px;
}

.passport-photo-controls label {
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
}

.passport-photo-controls input {
  width: 100%;
}

.passport-photo-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
}

.passport-photo-actions button {
  border-radius: 4px;
  cursor: pointer;
  padding: 7px 14px;
}

.passport-photo-cancel {
  background: #fff;
  border: 1px solid #d9dee3;
  color: #334155;
}

.passport-photo-apply {
  background: #198754;
  border: 1px solid #198754;
  color: #fff;
}
